summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-11 23:46:27 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-11 23:46:28 +0100
commitd829c88460b4d60ecc3a9f339dd57113c764cf80 (patch)
tree70857f09a01b3570c9c53960d49797007983a7dd /src/script.c
parentbdfb7e6170baeceb3b79bcd8dad3b15f1a90051f (diff)
Remove obsolete platforms/frontends.
Removed platforms/systems: - OS/2 - RiscOS - SVGALib - IBM DOS - VM/ESA (Vax) - Amiga - Acorn - Dummy - VMS - Macintosh (non-Carbon)
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/script.c b/src/script.c
index 1d3278d4..44bb935a 100644
--- a/src/script.c
+++ b/src/script.c
@@ -17,11 +17,6 @@
#include "lauxlib.h"
#include "tolua.h"
-#ifdef RISCOS
-extern char *riscosify_name(const char *path);
-#endif
-
-
int tolua_monster_open (lua_State *L);
int tolua_player_open (lua_State *L);
int tolua_player_c_open (lua_State *L);
@@ -363,15 +358,7 @@ bool tome_dofile(char *file)
}
}
-#ifdef RISCOS
- {
- char *realname = riscosify_name(buf);
- lua_dofile(L, realname);
- }
-#else /* RISCOS */
lua_dofile(L, buf);
-#endif /* RISCOS */
-
lua_settop(L, oldtop);
return (TRUE);
@@ -402,15 +389,7 @@ bool tome_dofile_anywhere(cptr dir, char *file, bool test_exist)
}
}
-#ifdef RISCOS
- {
- char *realname = riscosify_name(buf);
- lua_dofile(L, realname);
- }
-#else /* RISCOS */
lua_dofile(L, buf);
-#endif /* RISCOS */
-
lua_settop(L, oldtop);
return (TRUE);