Added game files
This commit is contained in:
parent
704637d45e
commit
340b9b6900
31 changed files with 5427 additions and 0 deletions
19
source/MapGen.h
Normal file
19
source/MapGen.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <3ds.h>
|
||||
|
||||
#include "Globals.h"
|
||||
|
||||
float nextFloat();
|
||||
double sample(double * values, int x, int y);
|
||||
double * Noise(int w, int h, int featureSize);
|
||||
void newSeed();
|
||||
void createAndValidateTopMap(int w, int h, u8 * map, u8 * data);
|
||||
void createTopMap(int w, int h, u8 * map, u8 * data);
|
||||
void createAndValidateUndergroundMap(int w, int h,int depthLevel, u8 * map, u8 * data);
|
||||
void createUndergroundMap(int w, int h,int depthLevel, u8 * map, u8 * data);
|
||||
void createAndValidateSkyMap(int w, int h, u8 * map, u8 * data);
|
||||
void createSkyMap(int w, int h, u8 * map, u8 * data);
|
Loading…
Add table
Add a link
Reference in a new issue