mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
Rename PALDOWN macro to TICKS
This commit is contained in:
1 parent
960baf33a8
commit
f9fbf288f8
49 files changed
+350
-350
No files matched your search
@@ -56,13 +56,13 @@
|
||||
(p[2] - g_Vars.currentplayer->eraserpos.f[2]) * (p[2] - g_Vars.currentplayer->eraserpos.f[2]))
|
||||
|
||||
#if PAL
|
||||
#define PALDOWN(val) ((val) * 50 / 60)
|
||||
#define TICKS(val) ((val) * 50 / 60)
|
||||
#define PALUP(val) ((val) * 60 / 50)
|
||||
#define PALUPF(val) ((val) * 1.2f)
|
||||
#define FRAMEDURATION (1 / 50.0f)
|
||||
#else
|
||||
#define TICKS(val) (val)
|
||||
#define PALUP(val) (val)
|
||||
#define PALDOWN(val) (val)
|
||||
#define PALUPF(val) (val)
|
||||
#define FRAMEDURATION (1 / 60.0f)
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user