mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
Add files via upload
This commit is contained in:
parent
549b392871
commit
a5087cf221
11 changed files with 410 additions and 254 deletions
|
|
@ -2,11 +2,13 @@
|
|||
#define VOXELS_WORLDGENERATOR_H_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include <string>
|
||||
|
||||
struct voxel;
|
||||
class Content;
|
||||
|
||||
class WorldGenerator {
|
||||
protected:
|
||||
blockid_t const idStone;
|
||||
blockid_t const idDirt;
|
||||
blockid_t const idGrassBlock;
|
||||
|
|
@ -19,7 +21,8 @@ class WorldGenerator {
|
|||
blockid_t const idBazalt;
|
||||
public:
|
||||
WorldGenerator(const Content* content);
|
||||
void generate(voxel* voxels, int x, int z, int seed);
|
||||
|
||||
virtual void generate(voxel* voxels, int x, int z, int seed);
|
||||
};
|
||||
|
||||
#endif /* VOXELS_WORLDGENERATOR_H_ */
|
||||
#endif /* VOXELS_WORLDGENERATOR_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue