mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-24 08:18:52 -05:00
Add time multiplier
This commit is contained in:
parent
841fcfc40c
commit
0c738d814c
8
TODO.txt
8
TODO.txt
@ -1,15 +1,15 @@
|
||||
general:
|
||||
|
||||
- Refactor.
|
||||
- Polish controls (bindings, mouse sensitivity etc.).
|
||||
- Polish weapon switching, maybe add a key to switch to previous weapon?
|
||||
- Port to OpenDingux.
|
||||
- Rewrite python scripts to C (faster, less bloat).
|
||||
- Try to recolor textures and give them a bit more of variety.
|
||||
- Rewrite python scripts to C (faster, less bloat, fewer dependencies).
|
||||
- automatic tests: a frontend that will play the game, check the state, rendered
|
||||
frames etc.
|
||||
- try to remove the debug flag (-g1) from compiler and see if it decreases size
|
||||
- compile on BSD and WinShit
|
||||
- make SFML frontend
|
||||
- add time slowdown constant
|
||||
- Port to some fantasy console?
|
||||
- run on raspbery pi
|
||||
|
||||
@ -124,6 +124,7 @@ level ideas:
|
||||
over a hole, leading to an easter egg
|
||||
- start of level: a corner blocked by an invisible wall, to indicate entrance DONE
|
||||
- small pyramid from diffetently elevated floor tiles
|
||||
- add time slowdown constant
|
||||
|
||||
bugs:
|
||||
|
||||
@ -204,6 +205,7 @@ done:
|
||||
- Player can be thrown inside a wall (by an explosion it seems), seems to happen
|
||||
near door. If this can't be prevented completely, automatically unstuck the
|
||||
player into a playable area.
|
||||
- Try to recolor textures and give them a bit more of variety.
|
||||
|
||||
scratched:
|
||||
- option for disabling wall transparency, for performance?
|
||||
|
@ -31,6 +31,8 @@
|
||||
// #define SFG_REVEAL_MAP 1
|
||||
#define SFG_INFINITE_AMMO 1
|
||||
|
||||
// #define SFG_TIME_MULTIPLIER 512
|
||||
|
||||
// uncomment for perfomance debug
|
||||
//#define SFG_CPU_LOAD(percent) printf("CPU load: %d%\n",percent);
|
||||
|
||||
|
@ -21,7 +21,9 @@
|
||||
|
||||
/**
|
||||
Time multiplier in SFG_Units (1.0 == 1024). This can be used to slow down or
|
||||
speed up the game.
|
||||
speed up the game. Note that this also changes the rendering FPS accordingly
|
||||
(e.g. half FPS at half speed), so if you want to keep the FPS, divide it by
|
||||
the multiplier value.
|
||||
*/
|
||||
|
||||
#ifndef SFG_TIME_MULTIPLIER
|
||||
|
Loading…
Reference in New Issue
Block a user