[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-cvs] enigma/src enigma-lua.cc, 1.25, 1.26 enigma-lua.hh, 1.24, 1
From: |
Ralf Westram <address@hidden> |
Subject: |
[Enigma-cvs] enigma/src enigma-lua.cc, 1.25, 1.26 enigma-lua.hh, 1.24, 1.25 enigma-lua.pkg, 1.20, 1.21 |
Date: |
Sun, 09 Nov 2003 11:49:25 +0000 |
Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv32470/src
Modified Files:
enigma-lua.cc enigma-lua.hh enigma-lua.pkg
Log Message:
- added TimeHunting
Index: enigma-lua.pkg
===================================================================
RCS file: /cvsroot/enigma/enigma/src/enigma-lua.pkg,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** enigma-lua.pkg 18 Oct 2003 13:49:07 -0000 1.20
--- enigma-lua.pkg 9 Nov 2003 11:49:22 -0000 1.21
***************
*** 123,126 ****
--- 123,127 ----
extern int SoundSet;
extern int SkipSolvedLevels;
+ extern int TimeHunting;
extern int Difficulty;
extern int VideoMode;
Index: enigma-lua.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/enigma-lua.cc,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** enigma-lua.cc 20 Oct 2003 08:05:45 -0000 1.25
--- enigma-lua.cc 9 Nov 2003 11:49:22 -0000 1.26
***************
*** 1,5 ****
/*
** Lua binding: enigma
! ** Generated automatically by tolua 4.0a on Sat Oct 18 19:17:59 2003.
*/
--- 1,5 ----
/*
** Lua binding: enigma
! ** Generated automatically by tolua 4.0a on Fri Nov 7 12:07:29 2003.
*/
***************
*** 803,806 ****
--- 803,822 ----
}
+ /* get function: TimeHunting */
+ static int toluaI_get_enigma_options_TimeHunting(lua_State* tolua_S)
+ {
+ tolua_pushnumber(tolua_S,(double)TimeHunting);
+ return 1;
+ }
+
+ /* set function: TimeHunting */
+ static int toluaI_set_enigma_options_TimeHunting(lua_State* tolua_S)
+ {
+ if (!tolua_istype(tolua_S,1,LUA_TNUMBER,0))
+ tolua_error(tolua_S,"#vinvalid type in variable assignment.");
+ TimeHunting = ((int) tolua_getnumber(tolua_S,1,0));
+ return 0;
+ }
+
/* get function: Difficulty */
static int toluaI_get_enigma_options_Difficulty(lua_State* tolua_S)
***************
*** 982,985 ****
--- 998,1002 ----
tolua_tablevar(tolua_S,"options","SoundSet",toluaI_get_enigma_options_SoundSet,toluaI_set_enigma_options_SoundSet);
tolua_tablevar(tolua_S,"options","SkipSolvedLevels",toluaI_get_enigma_options_SkipSolvedLevels,toluaI_set_enigma_options_SkipSolvedLevels);
+
tolua_tablevar(tolua_S,"options","TimeHunting",toluaI_get_enigma_options_TimeHunting,toluaI_set_enigma_options_TimeHunting);
tolua_tablevar(tolua_S,"options","Difficulty",toluaI_get_enigma_options_Difficulty,toluaI_set_enigma_options_Difficulty);
tolua_tablevar(tolua_S,"options","VideoMode",toluaI_get_enigma_options_VideoMode,toluaI_set_enigma_options_VideoMode);
Index: enigma-lua.hh
===================================================================
RCS file: /cvsroot/enigma/enigma/src/enigma-lua.hh,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** enigma-lua.hh 20 Oct 2003 08:05:45 -0000 1.24
--- enigma-lua.hh 9 Nov 2003 11:49:22 -0000 1.25
***************
*** 1,5 ****
/*
** Lua binding: enigma
! ** Generated automatically by tolua 4.0a on Sat Oct 18 19:17:59 2003.
*/
--- 1,5 ----
/*
** Lua binding: enigma
! ** Generated automatically by tolua 4.0a on Fri Nov 7 12:07:29 2003.
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Enigma-cvs] enigma/src enigma-lua.cc, 1.25, 1.26 enigma-lua.hh, 1.24, 1.25 enigma-lua.pkg, 1.20, 1.21,
Ralf Westram <address@hidden> <=