Constants.h 480 B

123456789101112131415
  1. #pragma once
  2. // needs to be an even number
  3. #define CHUNK_SIZE 16
  4. #define WORLD_HEIGHT 500
  5. #define BIOM_GENERATION_Z_OFFSET 100
  6. #define AIR_LEVEL_Z_OFFSET 99
  7. #define WATER_LEVEL 200
  8. #define MIN_AIR_LEVEL 50
  9. #define MAX_AIR_LEVEL 450
  10. #define NUM_TICK_WORKERS 4
  11. #define ITEM_CACHE_SIZE 256
  12. #define DEFAULT_VIEW_DISTANCE 5
  13. #define MAX_SURFACE_HEIGHT 50
  14. #define VARIABLE_SURFACE_PART 0.5f