equal
deleted
inserted
replaced
20 // Physics resolution |
20 // Physics resolution |
21 const uint16_t MAP_WIDTH = 1000; |
21 const uint16_t MAP_WIDTH = 1000; |
22 const uint16_t MAP_HEIGHT = 800; |
22 const uint16_t MAP_HEIGHT = 800; |
23 const float MAP_SCALE = 1; // One "pixel" in "real" units |
23 const float MAP_SCALE = 1; // One "pixel" in "real" units |
24 |
24 |
25 // Simulation |
25 /** Engine timeout, this determines our minimum tick rate */ |
26 const uint16_t PHYSICS_TICK_MS = 10; |
26 const TimeMS ENGINE_TIMEOUT_MS = 10; |
|
27 |
|
28 /** Physics tick interval */ |
|
29 const TimeMS PHYSICS_TICK_MS = 10; |
27 |
30 |
28 /** Input handling keyboard poll interval */ |
31 /** Input handling keyboard poll interval */ |
29 const TimeMS INPUT_POLL_INTERVAL = 10; |
32 const TimeMS INPUT_POLL_INTERVAL = 10; |
30 |
33 |
31 /** How long to block INPUT_FLAG_NOREPEAT for */ |
34 /** How long to block INPUT_FLAG_NOREPEAT for */ |