summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs')
-rw-r--r--apps/plugins/sdl/progs/duke3d/Engine/src/filesystem.h1
-rw-r--r--apps/plugins/sdl/progs/duke3d/Game/src/global.h5
-rw-r--r--apps/plugins/sdl/progs/wolf3d/wl_def.h2
3 files changed, 8 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
43int32_t TCkopen4load(const char *filename, int32_t readfromGRP); 43int32_t TCkopen4load(const char *filename, int32_t readfromGRP);
44 44
45#define filelength rb_filelength
45int32_t filelength(int32_t fd); 46int32_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
16void FixFilePath(char *filename); 21void FixFilePath(char *filename);
17int FindDistance3D(int ix, int iy, int iz); 22int FindDistance3D(int ix, int iy, int iz);
diff --git a/apps/plugins/sdl/progs/wolf3d/wl_def.h b/apps/plugins/sdl/progs/wolf3d/wl_def.h
index 13ec77cf70..af74a5315c 100644
--- a/apps/plugins/sdl/progs/wolf3d/wl_def.h
+++ b/apps/plugins/sdl/progs/wolf3d/wl_def.h
@@ -17,6 +17,8 @@
17#define read(a, b, c) rb->read((a), (b), (c)) 17#define read(a, b, c) rb->read((a), (b), (c))
18#define write(a, b, c) rb->write((a), (b), (c)) 18#define write(a, b, c) rb->write((a), (b), (c))
19#define close(a) rb->close(a) 19#define close(a) rb->close(a)
20#define itoa wolf3d_itoa
21#define ltoa wolf3d_ltoa
20 22
21#if !defined O_BINARY 23#if !defined O_BINARY
22# define O_BINARY 0 24# define O_BINARY 0