stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/game game.c loadgame.c


From: Jimmy Salmon
Subject: [Stratagus-CVS] stratagus/src/game game.c loadgame.c
Date: Tue, 02 Dec 2003 21:01:10 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Jimmy Salmon <address@hidden>   03/12/02 21:01:09

Modified files:
        src/game       : game.c loadgame.c 

Log message:
        Added LuaLoadFile

Patches:
Index: stratagus/src/game/game.c
diff -u stratagus/src/game/game.c:1.116 stratagus/src/game/game.c:1.117
--- stratagus/src/game/game.c:1.116     Fri Nov 28 17:34:48 2003
+++ stratagus/src/game/game.c   Tue Dec  2 21:01:08 2003
@@ -27,7 +27,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: game.c,v 1.116 2003/11/28 22:34:48 nehalmistry Exp $
+//     $Id: game.c,v 1.117 2003/12/03 02:01:08 jsalmon3 Exp $
 
 //@{
 
@@ -101,6 +101,7 @@
 #if defined(USE_GUILE) || defined(USE_SIOD)
     gh_load((char*)filename);
 #elif defined(USE_LUA)
+    LuaLoadFile(filename);
 #endif
     LcmPreventRecurse = 0;
 
Index: stratagus/src/game/loadgame.c
diff -u stratagus/src/game/loadgame.c:1.72 stratagus/src/game/loadgame.c:1.73
--- stratagus/src/game/loadgame.c:1.72  Thu Nov 20 02:59:44 2003
+++ stratagus/src/game/loadgame.c       Tue Dec  2 21:01:09 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: loadgame.c,v 1.72 2003/11/20 07:59:44 nehalmistry Exp $
+//     $Id: loadgame.c,v 1.73 2003/12/03 02:01:09 jsalmon3 Exp $
 
 //@{
 
@@ -251,6 +251,7 @@
     gh_load(filename);
     CclGarbageCollect(0);
 #elif defined(USE_LUA)
+    LuaLoadFile(filename);
 #endif
 
     game_cycle = GameCycle;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]