Constants.h 479 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 MIN_AIR_LEVEL 50
  8. #define MAX_AIR_LEVEL 450
  9. #define NUM_TICK_WORKERS 4
  10. #define ITEM_CACHE_SIZE 256
  11. #define DEFAULT_VIEW_DISTANCE 5
  12. #define MAX_SURFACE_HEIGHT 50
  13. #define VARIABLE_SURFACE_PART 0.5f
  14. #define MAX_TICKS_PER_SECOND 20