diff options
Diffstat (limited to 'apps/plugins/sdl/progs/duke3d')
-rw-r--r-- | apps/plugins/sdl/progs/duke3d/Engine/src/filesystem.h | 1 | ||||
-rw-r--r-- | apps/plugins/sdl/progs/duke3d/Game/src/global.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/duke3d/Engine/src/filesystem.h b/apps/plugins/sdl/progs/duke3d/Engine/src/filesystem.h index fe172072b5..72dac7ff65 100644 --- a/apps/plugins/sdl/progs/duke3d/Engine/src/filesystem.h +++ b/apps/plugins/sdl/progs/duke3d/Engine/src/filesystem.h | |||
@@ -42,6 +42,7 @@ void setGameDir(char* gameDir); | |||
42 | 42 | ||
43 | int32_t TCkopen4load(const char *filename, int32_t readfromGRP); | 43 | int32_t TCkopen4load(const char *filename, int32_t readfromGRP); |
44 | 44 | ||
45 | #define filelength rb_filelength | ||
45 | int32_t filelength(int32_t fd); | 46 | int32_t filelength(int32_t fd); |
46 | 47 | ||
47 | #endif | 48 | #endif |
diff --git a/apps/plugins/sdl/progs/duke3d/Game/src/global.h b/apps/plugins/sdl/progs/duke3d/Game/src/global.h index ab7d6eb634..a9a00002f0 100644 --- a/apps/plugins/sdl/progs/duke3d/Game/src/global.h +++ b/apps/plugins/sdl/progs/duke3d/Game/src/global.h | |||
@@ -12,6 +12,11 @@ | |||
12 | #include "SDL.h" | 12 | #include "SDL.h" |
13 | 13 | ||
14 | #define open rb->open | 14 | #define open rb->open |
15 | #define strlwr duke_strlwr | ||
16 | #define strupr duke_strupr | ||
17 | #define itoa duke_itoa | ||
18 | #define ltoa duke_ltoa | ||
19 | #define ultoa duke_ultoa | ||
15 | 20 | ||
16 | void FixFilePath(char *filename); | 21 | void FixFilePath(char *filename); |
17 | int FindDistance3D(int ix, int iy, int iz); | 22 | int FindDistance3D(int ix, int iy, int iz); |