mirror of
https://github.com/glest/glest-source.git
synced 2025-08-14 12:23:59 +02:00
added some new lua methods to determine day or night and new event
This commit is contained in:
@@ -930,6 +930,13 @@ void LuaArguments::returnInt(int value){
|
||||
lua_pushinteger(luaState, value);
|
||||
}
|
||||
|
||||
void LuaArguments::returnFloat(float value){
|
||||
Lua_STREFLOP_Wrapper streflopWrapper;
|
||||
|
||||
++returnCount;
|
||||
lua_pushnumber(luaState, value);
|
||||
}
|
||||
|
||||
void LuaArguments::returnString(const string &value){
|
||||
Lua_STREFLOP_Wrapper streflopWrapper;
|
||||
|
||||
|
Reference in New Issue
Block a user