diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-02 12:38:36 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-02 12:38:36 +0000 |
| commit | 1fe3202f0b7e2f52e50c430caa744b029fd5bcef (patch) | |
| tree | e238b0f211badb35fecdc3f87fe32978fd512b5e /src/game/g_mapitems.h | |
| parent | 307c2cfae8fd678b10235bdc0c1a8cfc7da6adae (diff) | |
| download | zcatch-1fe3202f0b7e2f52e50c430caa744b029fd5bcef.tar.gz zcatch-1fe3202f0b7e2f52e50c430caa744b029fd5bcef.zip | |
cleaned up the console code. added the ability to tune the game in runtime.
Diffstat (limited to 'src/game/g_mapitems.h')
| -rw-r--r-- | src/game/g_mapitems.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/g_mapitems.h b/src/game/g_mapitems.h index 8b4455ec..53561beb 100644 --- a/src/game/g_mapitems.h +++ b/src/game/g_mapitems.h @@ -158,9 +158,4 @@ typedef struct int name; } MAPITEM_ENVELOPE; -// float to fixed -inline int f2fx(float v) { return (int)(v*(float)(1<<10)); } -inline float fx2f(int v) { return v*(1.0f/(1<<10)); } - - #endif |