/[enigma]/enigma/src/enigma-lua.cc
ViewVC logotype

Diff of /enigma/src/enigma-lua.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by dheck, Sun Feb 9 21:37:35 2003 UTC revision 1.9 by mhawlisch, Wed Feb 26 16:15:44 2003 UTC
# Line 1  Line 1 
1  /*  /*
2  ** Lua binding: enigma  ** Lua binding: enigma
3  ** Generated automatically by tolua 4.0a on Sat Feb  8 12:25:05 2003.  ** Generated automatically by tolua 4.0a on Wed Feb 26 16:58:42 2003.
4  */  */
5    
6  #include "tolua.h"  #include "tolua.h"
# Line 869  static int toluaI_set_enigma_options_Ste Line 869  static int toluaI_set_enigma_options_Ste
869   return 0;   return 0;
870  }  }
871    
872    /* get function: SkipSolvedLevels */
873    static int toluaI_get_enigma_options_SkipSolvedLevels(lua_State* tolua_S)
874    {
875     tolua_pushnumber(tolua_S,(double)SkipSolvedLevels);
876     return 1;
877    }
878    
879    /* set function: SkipSolvedLevels */
880    static int toluaI_set_enigma_options_SkipSolvedLevels(lua_State* tolua_S)
881    {
882     if (!tolua_istype(tolua_S,1,LUA_TNUMBER,0))
883     tolua_error(tolua_S,"#vinvalid type in variable assignment.");
884      SkipSolvedLevels = ((int)  tolua_getnumber(tolua_S,1,0));
885     return 0;
886    }
887    
888  /* method: new of class  LevelStatus */  /* method: new of class  LevelStatus */
889  static int toluaI_enigma_options_LevelStatus_new00(lua_State* tolua_S)  static int toluaI_enigma_options_LevelStatus_new00(lua_State* tolua_S)
890  {  {
# Line 998  int tolua_enigma_open (lua_State* tolua_ Line 1014  int tolua_enigma_open (lua_State* tolua_
1014   tolua_tablevar(tolua_S,"options","SoundVolume",toluaI_get_enigma_options_SoundVolume,toluaI_set_enigma_options_SoundVolume);   tolua_tablevar(tolua_S,"options","SoundVolume",toluaI_get_enigma_options_SoundVolume,toluaI_set_enigma_options_SoundVolume);
1015   tolua_tablevar(tolua_S,"options","MusicVolume",toluaI_get_enigma_options_MusicVolume,toluaI_set_enigma_options_MusicVolume);   tolua_tablevar(tolua_S,"options","MusicVolume",toluaI_get_enigma_options_MusicVolume,toluaI_set_enigma_options_MusicVolume);
1016   tolua_tablevar(tolua_S,"options","StereoSeparation",toluaI_get_enigma_options_StereoSeparation,toluaI_set_enigma_options_StereoSeparation);   tolua_tablevar(tolua_S,"options","StereoSeparation",toluaI_get_enigma_options_StereoSeparation,toluaI_set_enigma_options_StereoSeparation);
1017     tolua_tablevar(tolua_S,"options","SkipSolvedLevels",toluaI_get_enigma_options_SkipSolvedLevels,toluaI_set_enigma_options_SkipSolvedLevels);
1018   tolua_cclass(tolua_S,"LevelStatus","");   tolua_cclass(tolua_S,"LevelStatus","");
1019   tolua_function(tolua_S,"LevelStatus","new",toluaI_enigma_options_LevelStatus_new00);   tolua_function(tolua_S,"LevelStatus","new",toluaI_enigma_options_LevelStatus_new00);
1020   tolua_function(tolua_S,"LevelStatus","delete",toluaI_enigma_options_LevelStatus_delete00);   tolua_function(tolua_S,"LevelStatus","delete",toluaI_enigma_options_LevelStatus_delete00);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26