pkgsrc/games/gltron/patches/patch-ac
cube 554c77a7b7 Update to version 0.70.
- booster
- wall acceleration
- better handling of .ini file (versioning & protection against partly
  written files)
- simplified GUI
- new bot AI
2004-01-18 13:58:57 +00:00

24 lines
688 B
Text

$NetBSD: patch-ac,v 1.1 2004/01/18 13:58:57 cube Exp $
--- nebu/scripting/scripting.c.orig 2003-12-12 10:05:55.000000000 +0100
+++ nebu/scripting/scripting.c
@@ -169,16 +169,16 @@ int scripting_CopyStringResult(char *s,
return status;
}
-void scripting_RunFile(char *name) {
+void scripting_RunFile(const char *name) {
lua_dofile(L, name);
}
-void scripting_Run(char *command) {
+void scripting_Run(const char *command) {
/* fprintf(stderr, "[command] %s\n", command); */
lua_dostring(L, command);
}
-void scripting_RunFormat(char *format, ... ) {
+void scripting_RunFormat(const char *format, ... ) {
char buf[4096];
va_list ap;
va_start(ap, format);