10 lines
577 B
C++
10 lines
577 B
C++
#include "LevelConstants.h"
|
|
|
|
int LevelConstants::LEVEL_HEIGHT = 128;
|
|
int LevelConstants::CHUNK_CACHE_WIDTH = 16; // in chunks
|
|
int LevelConstants::CHUNK_WIDTH = 16; // in blocks
|
|
int LevelConstants::CHUNK_DEPTH = 16;
|
|
int LevelConstants::LEVEL_WIDTH = LevelConstants::CHUNK_CACHE_WIDTH * CHUNK_WIDTH;
|
|
int LevelConstants::LEVEL_DEPTH = LevelConstants::CHUNK_CACHE_WIDTH * CHUNK_DEPTH;
|
|
int LevelConstants::CHUNK_COLUMNS = LevelConstants::CHUNK_WIDTH * LevelConstants::CHUNK_DEPTH;
|
|
int LevelConstants::CHUNK_BLOCK_COUNT = LevelConstants::CHUNK_COLUMNS * LevelConstants::LEVEL_HEIGHT; |