src/Config.hh
changeset 408 e6cfc44266af
parent 398 306825786fba
child 412 721c60072091
equal deleted inserted replaced
407:443f6f7abcfb 408:e6cfc44266af
    14 /**
    14 /**
    15  * The value of pi used in physics/graphics calculations
    15  * The value of pi used in physics/graphics calculations
    16  */
    16  */
    17 const float KG_PI = 3.14159265;
    17 const float KG_PI = 3.14159265;
    18 
    18 
    19 // Physics simulation
    19 /**
    20 // Physics resolution
    20  * Random generator seed to use for terrain generator
    21 const uint16_t MAP_WIDTH = 1000;
    21  */
    22 const uint16_t MAP_HEIGHT = 800;
    22 const int TERRAIN_RANDOM_SEED = 1337;
    23 const float MAP_SCALE = 1; // One "pixel" in "real" units
    23 
       
    24 /**
       
    25  * Terrain size, equal to physics simulation size
       
    26  */
       
    27 const PixelDimension TERRAIN_WIDTH = 1000;
       
    28 const PixelDimension TERRAIN_HEIGHT = 800;
    24 
    29 
    25 /** Engine timeout, this determines our minimum tick rate */
    30 /** Engine timeout, this determines our minimum tick rate */
    26 const TimeMS ENGINE_TIMEOUT_MS = 10;
    31 const TimeMS ENGINE_TIMEOUT_MS = 10;
    27 
    32 
    28 /** Physics tick interval */
    33 /** Physics tick interval */