forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
14
src/world/level/LevelConstants.h
Executable file
14
src/world/level/LevelConstants.h
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef _MINECRAFT_WORLD_LEVELCONSTANTS_H_
|
||||
#define _MINECRAFT_WORLD_LEVELCONSTANTS_H_
|
||||
|
||||
|
||||
const int LEVEL_HEIGHT = 128;
|
||||
const int CHUNK_CACHE_WIDTH = 16; // in chunks
|
||||
const int CHUNK_WIDTH = 16; // in blocks
|
||||
const int CHUNK_DEPTH = 16;
|
||||
const int LEVEL_WIDTH = CHUNK_CACHE_WIDTH * CHUNK_WIDTH;
|
||||
const int LEVEL_DEPTH = CHUNK_CACHE_WIDTH * CHUNK_DEPTH;
|
||||
const int CHUNK_COLUMNS = CHUNK_WIDTH * CHUNK_DEPTH;
|
||||
const int CHUNK_BLOCK_COUNT = CHUNK_COLUMNS * LEVEL_HEIGHT;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue