____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include "stratagus.h"
#include "unittype.h"
#include "iolib.h"
#include "iocompat.h"
#include "script.h"
#include "missile.h"
#include "upgrade.h"
#include "construct.h"
#include "map.h"
#include "ui.h"
#include "interface.h"
#include "ai.h"
#include "trigger.h"
#include "editor.h"
#include "sound.h"
#include "netconnect.h"
#include "network.h"
#include "spells.h"
#include "actions.h"
#include "video.h"
#include "upgrade_structs.h"
#include "player.h"
#include "replay.h"
Go to the source code of this file.
Functions | |
| static void | lstop (lua_State *l, lua_Debug *ar) |
| static void | laction (int i) |
| static void | l_message (const char *pname, const char *msg, bool exit) |
| static int | report (int status, bool exitOnError) |
| static int | luatraceback (lua_State *L) |
| int | LuaCall (int narg, int clear, bool exitOnError) |
| static void | LuaLoadBuffer (const std::string &file, std::string &buffer) |
| int | LuaLoadFile (const std::string &file) |
| static int | CclGetCurrentLuaPath (lua_State *l) |
| static int | CclSavePreferences (lua_State *l) |
| static int | CclLoad (lua_State *l) |
| static int | CclLoadBuffer (lua_State *l) |
| static int | CclSavedGameInfo (lua_State *l) |
| const char * | LuaToString (lua_State *l, int narg) |
| int | LuaToNumber (lua_State *l, int narg) |
| bool | LuaToBoolean (lua_State *l, int narg) |
| void | CclGarbageCollect (int fast) |
| Perform garbage collection. | |
| static int | CclStratagusLibraryPath (lua_State *l) |
| static int | CclFilteredListDirectory (lua_State *l, int type, int mask) |
| static int | CclListDirectory (lua_State *l) |
| static int | CclListFilesInDirectory (lua_State *l) |
| static int | CclListDirsInDirectory (lua_State *l) |
| static int | CclSetLocalPlayerName (lua_State *l) |
| static int | CclGetLocalPlayerName (lua_State *l) |
| static int | CclNoRandomPlacementMultiplayer (lua_State *l) |
| static int | CclSetGodMode (lua_State *l) |
| static int | CclGetGodMode (lua_State *l) |
| static int | CclSetSpeedBuild (lua_State *l) |
| static int | CclGetSpeedBuild (lua_State *l) |
| static int | CclSetSpeedTrain (lua_State *l) |
| static int | CclGetSpeedTrain (lua_State *l) |
| static int | CclSetSpeeds (lua_State *l) |
| static int | CclDefineDefaultResourceNames (lua_State *l) |
| static int | CclGetCompileFeature (lua_State *l) |
| int | CclCommand (const std::string &command, bool exitOnError) |
| Execute a ccl command. | |
| int | tolua_stratagus_open (lua_State *tolua_S) |
| static void | InitLua () |
| void | InitCcl (void) |
| Initialise ccl. | |
| static char * | LuaEscape (const char *str) |
| char * | SaveGlobal (lua_State *l, bool is_root) |
| For saving lua state. | |
| void | CreateUserDirectories (void) |
| void | SavePreferences (void) |
| Save user preferences. | |
| void | LoadCcl (void) |
| Load ccl config file. | |
| void | SaveCcl (CFile *file) |
| Save CCL module. | |
Variables | |
| lua_State * | Lua |
| Structure to work with lua files. | |
| std::string | CclStartFile |
| CCL start file. | |
| std::string | UserDirectory |
| Directory containing user settings and data. | |
| int | CclInConfigFile |
| True while config file parsing. | |
| bool | SaveGameLoading |
| If a Saved Game is Loading. | |
| std::string | CurrentLuaFile |
| Lua file currently being interpreted. | |
| int | NoRandomPlacementMultiplayer = 0 |
| Disable the random placement of players in muliplayer mode. | |
Definition in file script.cpp.
| int CclCommand | ( | const std::string & | command, | |
| bool | exitOnError | |||
| ) |
Execute a ccl command.
Send command to ccl.
| command | Zero terminated command string. | |
| exitOnError | Exit if an error occurs. |
Definition at line 716 of file script.cpp.
References Lua, LuaCall(), and report().
Referenced by DoNextReplay(), GameMainLoop(), and InputKey().
| static int CclDefineDefaultResourceNames | ( | lua_State * | l | ) | [static] |
Define default names for the resources.
| l | Lua state. |
Definition at line 670 of file script.cpp.
References DefaultResourceNames, LuaToString(), and MaxCosts.
Referenced by InitCcl().
| static int CclFilteredListDirectory | ( | lua_State * | l, | |
| int | type, | |||
| int | mask | |||
| ) | [static] |
Return a table with the filtered items found in the subdirectory.
Definition at line 468 of file script.cpp.
References LuaCheckArgs, LuaError, ReadDataDirectory(), sprintf_s(), StratagusLibPath, and UserDirectory.
Referenced by CclListDirectory(), CclListDirsInDirectory(), and CclListFilesInDirectory().
| void CclGarbageCollect | ( | int | fast | ) |
Perform garbage collection.
Perform CCL garbage collection
| fast | set this flag to disable slow GC (during game) |
Definition at line 437 of file script.cpp.
References _C_, DebugPrint, and Lua.
Referenced by CEditor::Init(), LoadCcl(), and LoadGame().
| static int CclGetCompileFeature | ( | lua_State * | l | ) | [static] |
Compiled with sound.
| l | Lua state. |
Definition at line 690 of file script.cpp.
References CompileOptions, LuaCheckArgs, and LuaToString().
Referenced by InitCcl().
| static int CclGetCurrentLuaPath | ( | lua_State * | l | ) | [static] |
Get the directory of the current lua file
Definition at line 275 of file script.cpp.
References CurrentLuaFile, and LuaCheckArgs.
Referenced by InitCcl().
| static int CclGetGodMode | ( | lua_State * | l | ) | [static] |
Get God mode.
| l | Lua state. |
Definition at line 594 of file script.cpp.
References GodMode, and LuaCheckArgs.
Referenced by InitCcl().
| static int CclGetLocalPlayerName | ( | lua_State * | l | ) | [static] |
Get the local player name
| l | Lua state. |
Definition at line 556 of file script.cpp.
References LocalPlayerName, and LuaCheckArgs.
Referenced by InitCcl().
| static int CclGetSpeedBuild | ( | lua_State * | l | ) | [static] |
Get building speed.
| l | Lua state. |
Definition at line 620 of file script.cpp.
References LuaCheckArgs, and SpeedBuild.
Referenced by InitCcl().
| static int CclGetSpeedTrain | ( | lua_State * | l | ) | [static] |
Get training speed.
| l | Lua state. |
Definition at line 646 of file script.cpp.
References LuaCheckArgs, and SpeedTrain.
Referenced by InitCcl().
| static int CclListDirectory | ( | lua_State * | l | ) | [static] |
Return a table with the files or directories found in the subdirectory.
Definition at line 518 of file script.cpp.
References CclFilteredListDirectory().
Referenced by InitCcl().
| static int CclListDirsInDirectory | ( | lua_State * | l | ) | [static] |
Return a table with the files found in the subdirectory.
Definition at line 534 of file script.cpp.
References CclFilteredListDirectory().
Referenced by InitCcl().
| static int CclListFilesInDirectory | ( | lua_State * | l | ) | [static] |
Return a table with the files found in the subdirectory.
Definition at line 526 of file script.cpp.
References CclFilteredListDirectory().
Referenced by InitCcl().
| static int CclLoad | ( | lua_State * | l | ) | [static] |
Load a file and execute it.
| l | Lua state. |
Definition at line 310 of file script.cpp.
References _C_, DebugPrint, LibraryFileName(), LuaCheckArgs, LuaLoadFile(), and LuaToString().
Referenced by InitCcl().
| static int CclLoadBuffer | ( | lua_State * | l | ) | [static] |
Load a file into a buffer and return it.
| l | Lua state. |
Definition at line 329 of file script.cpp.
References LibraryFileName(), LuaCheckArgs, LuaLoadBuffer(), and LuaToString().
Referenced by InitCcl().
| static int CclNoRandomPlacementMultiplayer | ( | lua_State * | l | ) | [static] |
Removes Randomization of Player position in Multiplayer mode
| l | Lua state. |
Definition at line 568 of file script.cpp.
References LuaCheckArgs, and NoRandomPlacementMultiplayer.
Referenced by InitCcl().
| static int CclSavedGameInfo | ( | lua_State * | l | ) | [static] |
Load the SavedGameInfo Header
| l | Lua state. |
Definition at line 349 of file script.cpp.
References _C_, CurrentMapPath, DebugPrint, LuaCheckArgs, LuaError, LuaLoadFile(), LuaToNumber(), LuaToString(), StratagusLibPath, strcpy_s(), SyncHash, and SyncRandSeed.
Referenced by InitCcl().
| static int CclSavePreferences | ( | lua_State * | l | ) | [static] |
Save preferences
| l | Lua state. |
Definition at line 296 of file script.cpp.
References LuaCheckArgs, and SavePreferences().
Referenced by InitCcl().
| static int CclSetGodMode | ( | lua_State * | l | ) | [static] |
Set God mode.
| l | Lua state. |
Definition at line 580 of file script.cpp.
References GodMode, LuaCheckArgs, and LuaToBoolean().
Referenced by InitCcl().
| static int CclSetLocalPlayerName | ( | lua_State * | l | ) | [static] |
Set the local player name
| l | Lua state. |
Definition at line 544 of file script.cpp.
References LocalPlayerName, LuaCheckArgs, and LuaToString().
Referenced by InitCcl().
| static int CclSetSpeedBuild | ( | lua_State * | l | ) | [static] |
Set building speed.
| l | Lua state. |
Definition at line 606 of file script.cpp.
References LuaCheckArgs, LuaToNumber(), and SpeedBuild.
Referenced by InitCcl().
| static int CclSetSpeeds | ( | lua_State * | l | ) | [static] |
For debug increase all speeds.
| l | Lua state. |
Definition at line 658 of file script.cpp.
References LuaCheckArgs, LuaToNumber(), SpeedBuild, and SpeedTrain.
Referenced by InitCcl().
| static int CclSetSpeedTrain | ( | lua_State * | l | ) | [static] |
Set training speed.
| l | Lua state. |
Definition at line 632 of file script.cpp.
References LuaCheckArgs, LuaToNumber(), and SpeedTrain.
Referenced by InitCcl().
| static int CclStratagusLibraryPath | ( | lua_State * | l | ) | [static] |
Return the stratagus library path.
| l | Lua state. |
Definition at line 459 of file script.cpp.
References StratagusLibPath.
Referenced by InitCcl().
| void CreateUserDirectories | ( | void | ) |
Create directories containing user settings and data.
More specifically: logs, saved games, preferences
Definition at line 1013 of file script.cpp.
References STRATAGUS_HOME_PATH, and UserDirectory.
Referenced by main().
| void InitCcl | ( | void | ) |
Initialise ccl.
Initialize ccl and load the config file(s).
Definition at line 767 of file script.cpp.
References AiCclRegister(), CclDefineDefaultResourceNames(), CclGetCompileFeature(), CclGetCurrentLuaPath(), CclGetGodMode(), CclGetLocalPlayerName(), CclGetSpeedBuild(), CclGetSpeedTrain(), CclListDirectory(), CclListDirsInDirectory(), CclListFilesInDirectory(), CclLoad(), CclLoadBuffer(), CclNoRandomPlacementMultiplayer(), CclSavedGameInfo(), CclSavePreferences(), CclSetGodMode(), CclSetLocalPlayerName(), CclSetSpeedBuild(), CclSetSpeeds(), CclSetSpeedTrain(), CclStratagusLibraryPath(), ConstructionCclRegister(), DecorationCclRegister(), GroupCclRegister(), IconCclRegister(), InitLua(), Lua, MapCclRegister(), MissileCclRegister(), PlayerCclRegister(), ReplayCclRegister(), SelectionCclRegister(), SoundCclRegister(), SpellCclRegister(), TriggerCclRegister(), UnitCclRegister(), UnitTypeCclRegister(), UpgradesCclRegister(), and UserInterfaceCclRegister().
Referenced by main().
| static void InitLua | ( | ) | [static] |
Initialize Lua
Definition at line 737 of file script.cpp.
References Lua, and tolua_stratagus_open().
Referenced by InitCcl().
| static void l_message | ( | const char * | pname, | |
| const char * | msg, | |||
| bool | exit | |||
| ) | [static] |
Print error message and possibly exit.
| pname | Source of the error. | |
| msg | error message to print. | |
| exit | exit the program |
Definition at line 110 of file script.cpp.
Referenced by report().
| static void laction | ( | int | i | ) | [static] |
| void LoadCcl | ( | void | ) |
Load ccl config file.
Load stratagus config file.
Definition at line 1067 of file script.cpp.
References CclGarbageCollect(), CclInConfigFile, CclStartFile, ExitFatal(), LibraryFileName(), LuaLoadFile(), and ShowLoadProgress().
Referenced by EditorMainLoop(), and main().
| static void lstop | ( | lua_State * | l, | |
| lua_Debug * | ar | |||
| ) | [static] |
| int LuaCall | ( | int | narg, | |
| int | clear, | |||
| bool | exitOnError | |||
| ) |
Call a lua function
| narg | Number of arguments | |
| clear | Clear the return value(s) | |
| exitOnError | Exit the program when an error occurs |
Definition at line 174 of file script.cpp.
References laction(), Lua, luatraceback(), and report().
Referenced by AiExecuteScript(), CallHandler(), CclCommand(), CheckMusicFinished(), HandleCheats(), HandleCommandKey(), InitTriggers(), LuaLoadFile(), TriggerExecuteAction(), and TriggersEachCycle().
| static char* LuaEscape | ( | const char * | str | ) | [static] |
| static void LuaLoadBuffer | ( | const std::string & | file, | |
| std::string & | buffer | |||
| ) | [static] |
Load a file into a buffer
Definition at line 193 of file script.cpp.
References CL_OPEN_READ, CFile::close(), ExitFatal(), CFile::open(), and CFile::read().
Referenced by CclLoadBuffer(), and LuaLoadFile().
| int LuaLoadFile | ( | const std::string & | file | ) |
Load a file and execute it
| file | File to load and execute |
Definition at line 248 of file script.cpp.
References CurrentLuaFile, Lua, LuaCall(), LuaLoadBuffer(), and report().
Referenced by CclLoad(), CclSavedGameInfo(), CreateGame(), CEditor::Init(), LoadCcl(), LoadGame(), LoadReplay(), LoadStratagusMap(), LoadStratagusMapInfo(), and MenuLoop().
| bool LuaToBoolean | ( | lua_State * | l, | |
| int | narg | |||
| ) |
Convert lua boolean to bool. It also checks type and exits in case of error.
| l | Lua state. | |
| narg | Argument number. |
Definition at line 426 of file script.cpp.
Referenced by CclAiDebug(), CclDefineAiPlayer(), CclDefineDecorations(), CclDefineMissileType(), CclDefineUnitType(), CclReplayLog(), CclSetActiveTriggers(), CclSetBuildingCapture(), CclSetFogOfWar(), CclSetGodMode(), CclSetMinimapTerrain(), CclSetSharedVision(), CclSetTitleScreens(), CclSetVideoFullScreen(), CclSpellAction(), CclSpellCondition(), DefineVariableField(), HandleCheats(), HandleCommandKey(), and ParseBuildingRules().
| int LuaToNumber | ( | lua_State * | l, | |
| int | narg | |||
| ) |
Convert lua number in C number. It checks also type and exit in case of error.
| l | Lua state. | |
| narg | Argument number. |
Definition at line 411 of file script.cpp.
Referenced by CclAiAttackWithForce(), CclAiCheckForce(), CclAiDebugPlayer(), CclAiForce(), CclAiForceRole(), CclAiSet(), CclAiSleep(), CclAiWaitForce(), CclCenterMap(), CclChangeUnitsOwner(), CclCreateUnit(), CclDefineAiPlayer(), CclDefineBurningBuilding(), CclDefineButton(), CclDefineButtonStyle(), CclDefineConstruction(), CclDefineCursor(), CclDefineDecorations(), CclDefineMissileType(), CclDefinePlayerColorIndex(), CclDefinePlayerColors(), CclDefineSpell(), CclDefineSprites(), CclDefineUnitAllow(), CclDefineUnitType(), CclDefineViewports(), CclGetNumUnitsAt(), CclGetUnit(), CclGroup(), CclIfNearUnit(), CclIfRescuedNearUnit(), CclKillUnitAt(), CclLog(), CclMissile(), CclMoveUnit(), CclOrderUnit(), CclParseBuilt(), CclParseHarvest(), CclParseMove(), CclParseOrder(), CclParseTrain(), CclPlayer(), CclPresentMap(), CclReplayLog(), CclSavedGameInfo(), CclSelection(), CclSetAllPlayersBuildingLimit(), CclSetAllPlayersTotalUnitLimit(), CclSetAllPlayersUnitLimit(), CclSetDiplomacy(), CclSetGlobalSoundRange(), CclSetGroupId(), CclSetMaxSelectable(), CclSetMouseScrollSpeedControl(), CclSetMouseScrollSpeedDefault(), CclSetResourcesHeld(), CclSetSharedVision(), CclSetSoundRange(), CclSetSpeedBuild(), CclSetSpeeds(), CclSetSpeedTrain(), CclSetTitleScreens(), CclSetUnitVariable(), CclSetVideoResolution(), CclSlotUsage(), CclSpellAction(), CclSpellAutocast(), CclSpellCondition(), CclSpellMissileLocation(), CclStratagusMap(), CclUnit(), DefineVariableField(), ParseBuildingRules(), ParseButtonStyleProperties(), and TriggerGetPlayer().
| const char* LuaToString | ( | lua_State * | l, | |
| int | narg | |||
| ) |
Convert lua string in char*. It checks also type and exit in case of error.
| l | Lua state. | |
| narg | Argument number. |
Definition at line 396 of file script.cpp.
Referenced by CclAddMessage(), CclAiDebugPlayer(), CclAiForceRole(), CclDefineAi(), CclDefineAiHelper(), CclDefineAiPlayer(), CclDefineAllow(), CclDefineAnimations(), CclDefineBurningBuilding(), CclDefineButton(), CclDefineButtonStyle(), CclDefineConstruction(), CclDefineCursor(), CclDefineDecorations(), CclDefineDefaultResourceNames(), CclDefineGameSounds(), CclDefineMapSetup(), CclDefineMissileType(), CclDefinePlayerColors(), CclDefinePlayerTypes(), CclDefineSpell(), CclDefineSprites(), CclDefineUnitAllow(), CclDefineUnitType(), CclDefineVariables(), CclDefineViewports(), CclGetCompileFeature(), CclGetResourceByName(), CclGetUnitType(), CclGetUnitVariable(), CclGroup(), CclIfNearUnit(), CclIfRescuedNearUnit(), CclLoad(), CclLoadBuffer(), CclLog(), CclMakeSound(), CclMakeSoundGroup(), CclMapSound(), CclMissile(), CclOrderUnit(), CclParseBuilt(), CclParseHarvest(), CclParseMove(), CclParseOrder(), CclParseTrain(), CclPlayer(), CclPresentMap(), CclReplayLog(), CclSavedGameInfo(), CclSelection(), CclSetDiplomacy(), CclSetFogOfWarGraphics(), CclSetGameCursor(), CclSetGroupKeys(), CclSetLocalPlayerName(), CclSetTitleScreens(), CclSetUnitVariable(), CclSlotUsage(), CclSoundForName(), CclSpellAction(), CclSpellAutocast(), CclSpellCondition(), CclSpellMissileLocation(), CclStratagusMap(), CclUnit(), DefineVariableField(), ParseAnimation(), ParseBuildingRules(), ParseButtonStyleProperties(), LuaListModel::setList(), TriggerGetPlayer(), and TriggerGetUnitType().
| static int luatraceback | ( | lua_State * | L | ) | [static] |
| static int report | ( | int | status, | |
| bool | exitOnError | |||
| ) | [static] |
Check error status, and print error message and exit if status is different of 0.
| status | status of the last lua call. (0: success) | |
| exitOnError | exit the program on error |
Definition at line 130 of file script.cpp.
References l_message(), and Lua.
Referenced by CclCommand(), LuaCall(), and LuaLoadFile().
| void SaveCcl | ( | CFile * | file | ) |
Save CCL module.
Save CCL Module.
| file | Save file. |
Definition at line 1092 of file script.cpp.
References GodMode, CFile::printf(), SpeedBuild, and SpeedTrain.
Referenced by SaveGame().
| char* SaveGlobal | ( | lua_State * | l, | |
| bool | is_root | |||
| ) |
For saving lua state.
For saving lua state (table, number, string, bool, not function).
| l | lua_State to save. | |
| is_root | true for the main call, 0 for recursif call. |
Definition at line 860 of file script.cpp.
References Assert, LuaEscape(), new_strdup(), SaveGlobal(), and strdcat3().
Referenced by SaveGame(), SaveGlobal(), and SavePreferences().
| void SavePreferences | ( | void | ) |
Save user preferences.
Save user preferences
Definition at line 1041 of file script.cpp.
References Lua, SaveGlobal(), and UserDirectory.
Referenced by CclSavePreferences(), and CommandKey().
| TOLUA_API int tolua_stratagus_open | ( | lua_State * | tolua_S | ) |
Definition at line 19238 of file tolua.cpp.
References MultiLineLabel::BOTTOM, MultiLineLabel::CENTER, DownButton, EditorCommandLine, EditorEditing, EditorNotRunning, EditorStarted, EnergyCost, GameDefeat, GameDraw, GameNoResult, GameQuitToMenu, GameRestart, GameVictory, MultiLineLabel::LEFT, LeftButton, MagmaCost, MaxCosts, MaxFontColors, MiddleButton, NoButton, PlayerComputer, PlayerMax, PlayerNeutral, PlayerNobody, PlayerNumNeutral, PlayerPerson, PlayerRescueActive, PlayerRescuePassive, MultiLineLabel::RIGHT, RightButton, SettingsGameTypeFreeForAll, SettingsGameTypeLeftVsRight, SettingsGameTypeManTeamVsMachine, SettingsGameTypeManVsMachine, SettingsGameTypeMapDefault, SettingsGameTypeMelee, SettingsGameTypeTopVsBottom, SettingsPresetMapDefault, tolua_array(), tolua_beginmodule(), tolua_cclass(), tolua_constant(), tolua_dobuffer(), tolua_endmodule(), tolua_function(), tolua_get_AStarFixedUnitCrossingCost(), tolua_get_AStarKnowUnseenTerrain(), tolua_get_AStarMovingUnitCrossingCost(), tolua_get_AStarUnknownTerrainCost(), tolua_get_CButtonPanel_AutoCastBorderColorRGB(), tolua_get_CButtonPanel_Buttons(), tolua_get_CButtonPanel_ShowCommandKey(), tolua_get_CButtonPanel_X(), tolua_get_CButtonPanel_Y(), tolua_get_CColor_unsigned_A(), tolua_get_CColor_unsigned_B(), tolua_get_CColor_unsigned_G(), tolua_get_CColor_unsigned_R(), tolua_get_CEditor_Running(), tolua_get_CEditor_StartUnit_ptr(), tolua_get_CEditor_UnitTypes(), tolua_get_CFiller_G_ptr(), tolua_get_CFiller_X(), tolua_get_CFiller_Y(), tolua_get_CIcon_Frame(), tolua_get_CIcon_G_ptr(), tolua_get_CIcon_Ident(), tolua_get_CInfoPanel_X(), tolua_get_CInfoPanel_Y(), tolua_get_CliMapName(), tolua_get_CMap_Info(), tolua_get_CMap_PatchManager(), tolua_get_CMapArea_EndX(), tolua_get_CMapArea_EndY(), tolua_get_CMapArea_ScrollPaddingBottom(), tolua_get_CMapArea_ScrollPaddingLeft(), tolua_get_CMapArea_ScrollPaddingRight(), tolua_get_CMapArea_ScrollPaddingTop(), tolua_get_CMapArea_X(), tolua_get_CMapArea_Y(), tolua_get_CMapInfo_Description(), tolua_get_CMapInfo_MapHeight(), tolua_get_CMapInfo_MapWidth(), tolua_get_CMinimap_H(), tolua_get_CMinimap_ShowSelected(), tolua_get_CMinimap_Transparent(), tolua_get_CMinimap_W(), tolua_get_CMinimap_WithTerrain(), tolua_get_CMinimap_X(), tolua_get_CMinimap_Y(), tolua_get_CNetworkHost_PlyName(), tolua_get_CNetworkHost_unsigned_Host(), tolua_get_CNetworkHost_unsigned_PlyNr(), tolua_get_CNetworkHost_unsigned_Port(), tolua_get_Color_a(), tolua_get_Color_b(), tolua_get_Color_g(), tolua_get_Color_r(), tolua_get_CPieMenu_G_ptr(), tolua_get_CPieMenu_MouseButton(), tolua_get_CPlayer_AiEnabled(), tolua_get_CPlayer_AiName(), tolua_get_CPlayer_BuildingLimit(), tolua_get_CPlayer_EnergyProductionRate(), tolua_get_CPlayer_EnergyStorageCapacity(), tolua_get_CPlayer_EnergyStored(), tolua_get_CPlayer_Index(), tolua_get_CPlayer_MagmaProductionRate(), tolua_get_CPlayer_MagmaStorageCapacity(), tolua_get_CPlayer_MagmaStored(), tolua_get_CPlayer_Name(), tolua_get_CPlayer_NumBuildings(), tolua_get_CPlayer_Score(), tolua_get_CPlayer_StartX(), tolua_get_CPlayer_StartY(), tolua_get_CPlayer_TotalBuildings(), tolua_get_CPlayer_TotalEnergy(), tolua_get_CPlayer_TotalKills(), tolua_get_CPlayer_TotalMagma(), tolua_get_CPlayer_TotalNumUnits(), tolua_get_CPlayer_TotalRazings(), tolua_get_CPlayer_TotalUnitLimit(), tolua_get_CPlayer_TotalUnits(), tolua_get_CPlayer_Type(), tolua_get_CPlayer_UnitLimit(), tolua_get_CPosition_x(), tolua_get_CPosition_y(), tolua_get_CPreference_ShowAttackRange(), tolua_get_CPreference_ShowReactionRange(), tolua_get_CPreference_ShowSightRange(), tolua_get_CPreference_unsigned_ShowOrders(), tolua_get_CResourceInfo_G_ptr(), tolua_get_CResourceInfo_IconFrame(), tolua_get_CResourceInfo_IconX(), tolua_get_CResourceInfo_IconY(), tolua_get_CResourceInfo_TextX(), tolua_get_CResourceInfo_TextY(), tolua_get_CServerSetup_unsigned_Difficulty(), tolua_get_CServerSetup_unsigned_FogOfWar(), tolua_get_CServerSetup_unsigned_GameTypeOption(), tolua_get_CServerSetup_unsigned_MapRichness(), tolua_get_CServerSetup_unsigned_ResourcesOption(), tolua_get_CServerSetup_unsigned_RevealMap(), tolua_get_CServerSetup_unsigned_UnitsOption(), tolua_get_CStatusLine_Font_ptr(), tolua_get_CStatusLine_TextX(), tolua_get_CStatusLine_TextY(), tolua_get_CStatusLine_Width(), tolua_get_CUIButton_Callback_ptr(), tolua_get_CUIButton_Style_ptr(), tolua_get_CUIButton_Text(), tolua_get_CUIButton_X(), tolua_get_CUIButton_Y(), tolua_get_CUITimer_Font_ptr(), tolua_get_CUITimer_X(), tolua_get_CUITimer_Y(), tolua_get_CUnit_Player_ptr(), tolua_get_CUnit_Slot(), tolua_get_CUnit_Type_ptr(), tolua_get_CUnit_X(), tolua_get_CUnit_Y(), tolua_get_CUnitType_EnergyProductionRate(), tolua_get_CUnitType_EnergyStorageCapacity(), tolua_get_CUnitType_EnergyValue(), tolua_get_CUnitType_Ident(), tolua_get_CUnitType_MagmaProductionRate(), tolua_get_CUnitType_MagmaStorageCapacity(), tolua_get_CUnitType_MagmaValue(), tolua_get_CUnitType_MaxEnergyUtilizationRate(), tolua_get_CUnitType_MaxMagmaUtilizationRate(), tolua_get_CUnitType_MinAttackRange(), tolua_get_CUnitType_Name(), tolua_get_CUnitType_Slot(), tolua_get_CursorX(), tolua_get_CursorY(), tolua_get_CUserInterface_ButtonPanel(), tolua_get_CUserInterface_CompletedBarColorRGB(), tolua_get_CUserInterface_CompletedBarShadow(), tolua_get_CUserInterface_Fillers(), tolua_get_CUserInterface_InfoPanel(), tolua_get_CUserInterface_MapArea(), tolua_get_CUserInterface_MaxSelectedFont_ptr(), tolua_get_CUserInterface_MaxSelectedTextX(), tolua_get_CUserInterface_MaxSelectedTextY(), tolua_get_CUserInterface_MenuButton(), tolua_get_CUserInterface_MessageFont_ptr(), tolua_get_CUserInterface_MessageScrollSpeed(), tolua_get_CUserInterface_Minimap(), tolua_get_CUserInterface_MouseViewport_ptr(), tolua_get_CUserInterface_NetworkDiplomacyButton(), tolua_get_CUserInterface_NetworkMenuButton(), tolua_get_CUserInterface_NormalFontColor(), tolua_get_CUserInterface_PieMenu(), tolua_get_CUserInterface_ReverseFontColor(), tolua_get_CUserInterface_SelectedButtons(), tolua_get_CUserInterface_SingleSelectedButton_ptr(), tolua_get_CUserInterface_SingleTrainingButton_ptr(), tolua_get_CUserInterface_StatusLine(), tolua_get_CUserInterface_Timer(), tolua_get_CUserInterface_TrainingButtons(), tolua_get_CUserInterface_TransportingButtons(), tolua_get_CVideo_Depth(), tolua_get_CVideo_FullScreen(), tolua_get_CVideo_Height(), tolua_get_CVideo_Width(), tolua_get_Editor(), tolua_get_GameObserve(), tolua_get_GamePaused(), tolua_get_GameResult(), tolua_get_GameRunning(), tolua_get_GameSettings(), tolua_get_GameSpeed(), tolua_get_GameTranslation(), tolua_get_LocalSetupState(), tolua_get_Map(), tolua_get_NetLocalHostsSlot(), tolua_get_NetworkMapName(), tolua_get_ParticleManager(), tolua_get_Preference(), tolua_get_ServerSetupState(), tolua_get_Settings_Difficulty(), tolua_get_Settings_GameType(), tolua_get_Settings_MapRichness(), tolua_get_Settings_NetGameType(), tolua_get_Settings_NoFogOfWar(), tolua_get_Settings_NumUnits(), tolua_get_Settings_Opponents(), tolua_get_Settings_Resources(), tolua_get_Settings_RevealMap(), tolua_get_SettingsPresets_Team(), tolua_get_SettingsPresets_Type(), tolua_get_stratagus_AlliedUnitRecyclingEfficiency(), tolua_get_stratagus_CFontColor_Colors(), tolua_get_stratagus_CMapInfo_PlayerType(), tolua_get_stratagus_CPieMenu_X(), tolua_get_stratagus_CPieMenu_Y(), tolua_get_stratagus_CPlayer_Units(), tolua_get_stratagus_CPlayer_UnitTypesCount(), tolua_get_stratagus_CServerSetup_CompOpt(), tolua_get_stratagus_CServerSetup_LastFrame(), tolua_get_stratagus_CServerSetup_Ready(), tolua_get_stratagus_CUserInterface_Resources(), tolua_get_stratagus_EnemyUnitRecyclingEfficiency(), tolua_get_stratagus_Hosts(), tolua_get_stratagus_Players(), tolua_get_stratagus_Settings_Presets(), tolua_get_StratagusTranslation(), tolua_get_ThisPlayer_ptr(), tolua_get_UI(), tolua_get_unsigned_GameCycle(), tolua_get_UseGLTextureCompression(), tolua_get_UseOpenGL(), tolua_get_Video(), tolua_module(), tolua_open(), tolua_reg_types(), tolua_set_AStarFixedUnitCrossingCost(), tolua_set_AStarKnowUnseenTerrain(), tolua_set_AStarMovingUnitCrossingCost(), tolua_set_AStarUnknownTerrainCost(), tolua_set_CButtonPanel_AutoCastBorderColorRGB(), tolua_set_CButtonPanel_Buttons(), tolua_set_CButtonPanel_ShowCommandKey(), tolua_set_CButtonPanel_X(), tolua_set_CButtonPanel_Y(), tolua_set_CColor_unsigned_A(), tolua_set_CColor_unsigned_B(), tolua_set_CColor_unsigned_G(), tolua_set_CColor_unsigned_R(), tolua_set_CEditor_Running(), tolua_set_CEditor_UnitTypes(), tolua_set_CFiller_G_ptr(), tolua_set_CFiller_X(), tolua_set_CFiller_Y(), tolua_set_CIcon_Frame(), tolua_set_CIcon_G_ptr(), tolua_set_CInfoPanel_X(), tolua_set_CInfoPanel_Y(), tolua_set_CliMapName(), tolua_set_CMap_Info(), tolua_set_CMap_PatchManager(), tolua_set_CMapArea_EndX(), tolua_set_CMapArea_EndY(), tolua_set_CMapArea_ScrollPaddingBottom(), tolua_set_CMapArea_ScrollPaddingLeft(), tolua_set_CMapArea_ScrollPaddingRight(), tolua_set_CMapArea_ScrollPaddingTop(), tolua_set_CMapArea_X(), tolua_set_CMapArea_Y(), tolua_set_CMapInfo_Description(), tolua_set_CMapInfo_MapHeight(), tolua_set_CMapInfo_MapWidth(), tolua_set_CMinimap_H(), tolua_set_CMinimap_ShowSelected(), tolua_set_CMinimap_Transparent(), tolua_set_CMinimap_W(), tolua_set_CMinimap_WithTerrain(), tolua_set_CMinimap_X(), tolua_set_CMinimap_Y(), tolua_set_CNetworkHost_PlyName(), tolua_set_CNetworkHost_unsigned_Host(), tolua_set_CNetworkHost_unsigned_PlyNr(), tolua_set_CNetworkHost_unsigned_Port(), tolua_set_Color_a(), tolua_set_Color_b(), tolua_set_Color_g(), tolua_set_Color_r(), tolua_set_CPieMenu_G_ptr(), tolua_set_CPieMenu_MouseButton(), tolua_set_CPlayer_AiEnabled(), tolua_set_CPlayer_AiName(), tolua_set_CPlayer_BuildingLimit(), tolua_set_CPlayer_EnergyProductionRate(), tolua_set_CPlayer_EnergyStorageCapacity(), tolua_set_CPlayer_EnergyStored(), tolua_set_CPlayer_Index(), tolua_set_CPlayer_MagmaProductionRate(), tolua_set_CPlayer_MagmaStorageCapacity(), tolua_set_CPlayer_MagmaStored(), tolua_set_CPlayer_Name(), tolua_set_CPlayer_NumBuildings(), tolua_set_CPlayer_Score(), tolua_set_CPlayer_StartX(), tolua_set_CPlayer_StartY(), tolua_set_CPlayer_TotalBuildings(), tolua_set_CPlayer_TotalEnergy(), tolua_set_CPlayer_TotalKills(), tolua_set_CPlayer_TotalMagma(), tolua_set_CPlayer_TotalNumUnits(), tolua_set_CPlayer_TotalRazings(), tolua_set_CPlayer_TotalUnitLimit(), tolua_set_CPlayer_TotalUnits(), tolua_set_CPlayer_Type(), tolua_set_CPlayer_UnitLimit(), tolua_set_CPosition_x(), tolua_set_CPosition_y(), tolua_set_CPreference_ShowAttackRange(), tolua_set_CPreference_ShowReactionRange(), tolua_set_CPreference_ShowSightRange(), tolua_set_CPreference_unsigned_ShowOrders(), tolua_set_CResourceInfo_G_ptr(), tolua_set_CResourceInfo_IconFrame(), tolua_set_CResourceInfo_IconX(), tolua_set_CResourceInfo_IconY(), tolua_set_CResourceInfo_TextX(), tolua_set_CResourceInfo_TextY(), tolua_set_CServerSetup_unsigned_Difficulty(), tolua_set_CServerSetup_unsigned_FogOfWar(), tolua_set_CServerSetup_unsigned_GameTypeOption(), tolua_set_CServerSetup_unsigned_MapRichness(), tolua_set_CServerSetup_unsigned_ResourcesOption(), tolua_set_CServerSetup_unsigned_RevealMap(), tolua_set_CServerSetup_unsigned_UnitsOption(), tolua_set_CStatusLine_Font_ptr(), tolua_set_CStatusLine_TextX(), tolua_set_CStatusLine_TextY(), tolua_set_CStatusLine_Width(), tolua_set_CUIButton_Callback_ptr(), tolua_set_CUIButton_Style_ptr(), tolua_set_CUIButton_Text(), tolua_set_CUIButton_X(), tolua_set_CUIButton_Y(), tolua_set_CUITimer_Font_ptr(), tolua_set_CUITimer_X(), tolua_set_CUITimer_Y(), tolua_set_CUnit_Player_ptr(), tolua_set_CUnit_Type_ptr(), tolua_set_CUnit_X(), tolua_set_CUnit_Y(), tolua_set_CUnitType_EnergyProductionRate(), tolua_set_CUnitType_EnergyStorageCapacity(), tolua_set_CUnitType_EnergyValue(), tolua_set_CUnitType_Ident(), tolua_set_CUnitType_MagmaProductionRate(), tolua_set_CUnitType_MagmaStorageCapacity(), tolua_set_CUnitType_MagmaValue(), tolua_set_CUnitType_MaxEnergyUtilizationRate(), tolua_set_CUnitType_MaxMagmaUtilizationRate(), tolua_set_CUnitType_MinAttackRange(), tolua_set_CUnitType_Name(), tolua_set_CursorX(), tolua_set_CursorY(), tolua_set_CUserInterface_ButtonPanel(), tolua_set_CUserInterface_CompletedBarColorRGB(), tolua_set_CUserInterface_CompletedBarShadow(), tolua_set_CUserInterface_Fillers(), tolua_set_CUserInterface_InfoPanel(), tolua_set_CUserInterface_MapArea(), tolua_set_CUserInterface_MaxSelectedFont_ptr(), tolua_set_CUserInterface_MaxSelectedTextX(), tolua_set_CUserInterface_MaxSelectedTextY(), tolua_set_CUserInterface_MenuButton(), tolua_set_CUserInterface_MessageFont_ptr(), tolua_set_CUserInterface_MessageScrollSpeed(), tolua_set_CUserInterface_Minimap(), tolua_set_CUserInterface_MouseViewport_ptr(), tolua_set_CUserInterface_NetworkDiplomacyButton(), tolua_set_CUserInterface_NetworkMenuButton(), tolua_set_CUserInterface_NormalFontColor(), tolua_set_CUserInterface_PieMenu(), tolua_set_CUserInterface_ReverseFontColor(), tolua_set_CUserInterface_SelectedButtons(), tolua_set_CUserInterface_SingleSelectedButton_ptr(), tolua_set_CUserInterface_SingleTrainingButton_ptr(), tolua_set_CUserInterface_StatusLine(), tolua_set_CUserInterface_Timer(), tolua_set_CUserInterface_TrainingButtons(), tolua_set_CUserInterface_TransportingButtons(), tolua_set_CVideo_Depth(), tolua_set_CVideo_FullScreen(), tolua_set_CVideo_Height(), tolua_set_CVideo_Width(), tolua_set_Editor(), tolua_set_GameObserve(), tolua_set_GamePaused(), tolua_set_GameResult(), tolua_set_GameRunning(), tolua_set_GameSettings(), tolua_set_GameSpeed(), tolua_set_GameTranslation(), tolua_set_LocalSetupState(), tolua_set_Map(), tolua_set_NetLocalHostsSlot(), tolua_set_NetworkMapName(), tolua_set_ParticleManager(), tolua_set_Preference(), tolua_set_ServerSetupState(), tolua_set_Settings_Difficulty(), tolua_set_Settings_GameType(), tolua_set_Settings_MapRichness(), tolua_set_Settings_NetGameType(), tolua_set_Settings_NoFogOfWar(), tolua_set_Settings_NumUnits(), tolua_set_Settings_Opponents(), tolua_set_Settings_Resources(), tolua_set_Settings_RevealMap(), tolua_set_SettingsPresets_Team(), tolua_set_SettingsPresets_Type(), tolua_set_stratagus_AlliedUnitRecyclingEfficiency(), tolua_set_stratagus_CFontColor_Colors(), tolua_set_stratagus_CMapInfo_PlayerType(), tolua_set_stratagus_CPieMenu_X(), tolua_set_stratagus_CPieMenu_Y(), tolua_set_stratagus_CPlayer_Units(), tolua_set_stratagus_CServerSetup_CompOpt(), tolua_set_stratagus_CServerSetup_LastFrame(), tolua_set_stratagus_CServerSetup_Ready(), tolua_set_stratagus_CUserInterface_Resources(), tolua_set_stratagus_EnemyUnitRecyclingEfficiency(), tolua_set_stratagus_Hosts(), tolua_set_stratagus_Players(), tolua_set_stratagus_Settings_Presets(), tolua_set_StratagusTranslation(), tolua_set_ThisPlayer_ptr(), tolua_set_UI(), tolua_set_unsigned_GameCycle(), tolua_set_UseGLTextureCompression(), tolua_set_UseOpenGL(), tolua_set_Video(), tolua_stratagus__00(), tolua_stratagus_ActionDefeat00(), tolua_stratagus_ActionDraw00(), tolua_stratagus_ActionSetTimer00(), tolua_stratagus_ActionStartTimer00(), tolua_stratagus_ActionStopTimer00(), tolua_stratagus_ActionVictory00(), tolua_stratagus_AddTranslation00(), tolua_stratagus_ButtonWidget_adjustSize00(), tolua_stratagus_ButtonWidget_getCaption00(), tolua_stratagus_ButtonWidget_new00(), tolua_stratagus_ButtonWidget_new00_local(), tolua_stratagus_ButtonWidget_setCaption00(), tolua_stratagus_CChunkParticle_new00(), tolua_stratagus_CChunkParticle_new00_local(), tolua_stratagus_CColor_new00(), tolua_stratagus_CColor_new00_local(), tolua_stratagus_CFiller_new00(), tolua_stratagus_CFiller_new00_local(), tolua_stratagus_CFont_Get00(), tolua_stratagus_CFont_Height00(), tolua_stratagus_CFont_New00(), tolua_stratagus_CFont_Width00(), tolua_stratagus_CFontColor_Get00(), tolua_stratagus_CFontColor_New00(), tolua_stratagus_CGraphic_Free00(), tolua_stratagus_CGraphic_Load00(), tolua_stratagus_CGraphic_New00(), tolua_stratagus_CGraphic_Resize00(), tolua_stratagus_CheckBox_adjustSize00(), tolua_stratagus_CheckBox_getCaption00(), tolua_stratagus_CheckBox_isMarked00(), tolua_stratagus_CheckBox_new00(), tolua_stratagus_CheckBox_new00_local(), tolua_stratagus_CheckBox_new01(), tolua_stratagus_CheckBox_new01_local(), tolua_stratagus_CheckBox_setCaption00(), tolua_stratagus_CheckBox_setMarked00(), tolua_stratagus_CIcon_Get00(), tolua_stratagus_CIcon_New00(), tolua_stratagus_CMenuScreen_addLogicCallback00(), tolua_stratagus_CMenuScreen_getDrawMenusUnder00(), tolua_stratagus_CMenuScreen_new00(), tolua_stratagus_CMenuScreen_new00_local(), tolua_stratagus_CMenuScreen_run00(), tolua_stratagus_CMenuScreen_setDrawMenusUnder00(), tolua_stratagus_CMenuScreen_stop00(), tolua_stratagus_CMenuScreen_stopAll00(), tolua_stratagus_Color_new00(), tolua_stratagus_Color_new00_local(), tolua_stratagus_Container_add00(), tolua_stratagus_Container_clear00(), tolua_stratagus_Container_isOpaque00(), tolua_stratagus_Container_new00(), tolua_stratagus_Container_new00_local(), tolua_stratagus_Container_remove00(), tolua_stratagus_Container_setOpaque00(), tolua_stratagus_CParticle_clone00(), tolua_stratagus_CParticleManager_add00(), tolua_stratagus_CParticleManager_delete00(), tolua_stratagus_CParticleManager_new00(), tolua_stratagus_CParticleManager_new00_local(), tolua_stratagus_CPatch_getType00(), tolua_stratagus_CPatch_getX00(), tolua_stratagus_CPatch_getY00(), tolua_stratagus_CPatch_setPos00(), tolua_stratagus_CPatch_setX00(), tolua_stratagus_CPatch_setY00(), tolua_stratagus_CPatchManager_add00(), tolua_stratagus_CPatchManager_getPatch00(), tolua_stratagus_CPatchManager_getPatchTypeNames00(), tolua_stratagus_CPatchManager_moveToBottom00(), tolua_stratagus_CPatchManager_moveToTop00(), tolua_stratagus_CPatchManager_newPatchType00(), tolua_stratagus_CPatchType_getFlag00(), tolua_stratagus_CPatchType_getGraphic00(), tolua_stratagus_CPatchType_getTileHeight00(), tolua_stratagus_CPatchType_getTileWidth00(), tolua_stratagus_CPieMenu_SetRadius00(), tolua_stratagus_CPlayer_IsAllied00(), tolua_stratagus_CPlayer_IsAllied01(), tolua_stratagus_CPlayer_IsBothSharedVision00(), tolua_stratagus_CPlayer_IsBothSharedVision01(), tolua_stratagus_CPlayer_IsEnemy00(), tolua_stratagus_CPlayer_IsEnemy01(), tolua_stratagus_CPlayer_IsSharedVision00(), tolua_stratagus_CPlayer_IsSharedVision01(), tolua_stratagus_CPlayer_IsTeamed00(), tolua_stratagus_CPlayer_IsTeamed01(), tolua_stratagus_CPlayer_SetStartView00(), tolua_stratagus_CPlayerColorGraphic_New00(), tolua_stratagus_CPosition_new00(), tolua_stratagus_CPosition_new00_local(), tolua_stratagus_CStatusLine_Clear00(), tolua_stratagus_CStatusLine_Get00(), tolua_stratagus_CStatusLine_Set00(), tolua_stratagus_CUIButton_delete00(), tolua_stratagus_CUIButton_new00(), tolua_stratagus_CUIButton_new00_local(), tolua_stratagus_CVideo_ResizeScreen00(), tolua_stratagus_CViewport_Viewport2MapX00(), tolua_stratagus_CViewport_Viewport2MapY00(), tolua_stratagus_DropDown_getListBox00(), tolua_stratagus_DropDown_getScrollArea00(), tolua_stratagus_DropDown_getSelected00(), tolua_stratagus_DropDown_setListBox00(), tolua_stratagus_DropDown_setScrollArea00(), tolua_stratagus_DropDown_setSelected00(), tolua_stratagus_DropDownWidget_getListBox00(), tolua_stratagus_DropDownWidget_new00(), tolua_stratagus_DropDownWidget_new00_local(), tolua_stratagus_DropDownWidget_setList00(), tolua_stratagus_DropDownWidget_setSize00(), tolua_stratagus_EditorSaveMap00(), tolua_stratagus_Exit00(), tolua_stratagus_ExitNetwork100(), tolua_stratagus_FindButtonStyle00(), tolua_stratagus_GetDoubleClickDelay00(), tolua_stratagus_GetEffectsVolume00(), tolua_stratagus_GetGamePaused00(), tolua_stratagus_GetGameSpeed00(), tolua_stratagus_GetGrabMouse00(), tolua_stratagus_GetHoldClickDelay00(), tolua_stratagus_GetKeyScroll00(), tolua_stratagus_GetLeaveStops00(), tolua_stratagus_GetMouseScroll00(), tolua_stratagus_GetMusicVolume00(), tolua_stratagus_GetNetworkState00(), tolua_stratagus_GetNumOpponents00(), tolua_stratagus_GetTimer00(), tolua_stratagus_GraphicAnimation_clone00(), tolua_stratagus_GraphicAnimation_new00(), tolua_stratagus_GraphicAnimation_new00_local(), tolua_stratagus_ImageButton_new00(), tolua_stratagus_ImageButton_new00_local(), tolua_stratagus_ImageButton_new01(), tolua_stratagus_ImageButton_new01_local(), tolua_stratagus_ImageButton_setDisabledImage00(), tolua_stratagus_ImageButton_setNormalImage00(), tolua_stratagus_ImageButton_setPressedImage00(), tolua_stratagus_ImageCheckBox_new00(), tolua_stratagus_ImageCheckBox_new00_local(), tolua_stratagus_ImageCheckBox_new01(), tolua_stratagus_ImageCheckBox_new01_local(), tolua_stratagus_ImageCheckBox_setCheckedNormalImage00(), tolua_stratagus_ImageCheckBox_setCheckedPressedImage00(), tolua_stratagus_ImageCheckBox_setUncheckedNormalImage00(), tolua_stratagus_ImageCheckBox_setUncheckedPressedImage00(), tolua_stratagus_ImageRadioButton_new00(), tolua_stratagus_ImageRadioButton_new00_local(), tolua_stratagus_ImageRadioButton_new01(), tolua_stratagus_ImageRadioButton_new01_local(), tolua_stratagus_ImageRadioButton_setCheckedNormalImage00(), tolua_stratagus_ImageRadioButton_setCheckedPressedImage00(), tolua_stratagus_ImageRadioButton_setUncheckedNormalImage00(), tolua_stratagus_ImageRadioButton_setUncheckedPressedImage00(), tolua_stratagus_ImageSlider_new00(), tolua_stratagus_ImageSlider_new00_local(), tolua_stratagus_ImageSlider_new01(), tolua_stratagus_ImageSlider_new01_local(), tolua_stratagus_ImageSlider_setBackgroundImage00(), tolua_stratagus_ImageSlider_setMarkerImage00(), tolua_stratagus_ImageWidget_new00(), tolua_stratagus_ImageWidget_new00_local(), tolua_stratagus_InitNetwork100(), tolua_stratagus_InitVideo00(), tolua_stratagus_IsEffectsEnabled00(), tolua_stratagus_IsMusicEnabled00(), tolua_stratagus_IsNetworkGame00(), tolua_stratagus_IsReplayGame00(), tolua_stratagus_Label_adjustSize00(), tolua_stratagus_Label_getAlignment00(), tolua_stratagus_Label_getCaption00(), tolua_stratagus_Label_new00(), tolua_stratagus_Label_new00_local(), tolua_stratagus_Label_setAlignment00(), tolua_stratagus_Label_setCaption00(), tolua_stratagus_ListBoxWidget_getSelected00(), tolua_stratagus_ListBoxWidget_new00(), tolua_stratagus_ListBoxWidget_new00_local(), tolua_stratagus_ListBoxWidget_setList00(), tolua_stratagus_ListBoxWidget_setSelected00(), tolua_stratagus_LoadPO00(), tolua_stratagus_LuaActionListener_new00(), tolua_stratagus_LuaActionListener_new00_local(), tolua_stratagus_MultiLineLabel_adjustSize00(), tolua_stratagus_MultiLineLabel_draw00(), tolua_stratagus_MultiLineLabel_getAlignment00(), tolua_stratagus_MultiLineLabel_getCaption00(), tolua_stratagus_MultiLineLabel_getLineWidth00(), tolua_stratagus_MultiLineLabel_getVerticalAlignment00(), tolua_stratagus_MultiLineLabel_new00(), tolua_stratagus_MultiLineLabel_new00_local(), tolua_stratagus_MultiLineLabel_new01(), tolua_stratagus_MultiLineLabel_new01_local(), tolua_stratagus_MultiLineLabel_setAlignment00(), tolua_stratagus_MultiLineLabel_setCaption00(), tolua_stratagus_MultiLineLabel_setLineWidth00(), tolua_stratagus_MultiLineLabel_setVerticalAlignment00(), tolua_stratagus_NetworkDetachFromServer00(), tolua_stratagus_NetworkGamePrepareGameSettings00(), tolua_stratagus_NetworkInitClientConnect00(), tolua_stratagus_NetworkInitServerConnect00(), tolua_stratagus_NetworkProcessClientRequest00(), tolua_stratagus_NetworkServerResyncClients00(), tolua_stratagus_NetworkServerStartGame00(), tolua_stratagus_NetworkSetupServerAddress00(), tolua_stratagus_PlayFile00(), tolua_stratagus_PlayMusic00(), tolua_stratagus_RadioButton_adjustSize00(), tolua_stratagus_RadioButton_getCaption00(), tolua_stratagus_RadioButton_getGroup00(), tolua_stratagus_RadioButton_isMarked00(), tolua_stratagus_RadioButton_new00(), tolua_stratagus_RadioButton_new00_local(), tolua_stratagus_RadioButton_new01(), tolua_stratagus_RadioButton_new01_local(), tolua_stratagus_RadioButton_setCaption00(), tolua_stratagus_RadioButton_setGroup00(), tolua_stratagus_RadioButton_setMarked00(), tolua_stratagus_SaveGame00(), tolua_stratagus_SaveReplay00(), tolua_stratagus_ScrollArea_getContent00(), tolua_stratagus_ScrollArea_getScrollbarWidth00(), tolua_stratagus_ScrollArea_new00(), tolua_stratagus_ScrollArea_new00_local(), tolua_stratagus_ScrollArea_setContent00(), tolua_stratagus_ScrollArea_setScrollbarWidth00(), tolua_stratagus_ScrollingWidget_add00(), tolua_stratagus_ScrollingWidget_getSpeed00(), tolua_stratagus_ScrollingWidget_new00(), tolua_stratagus_ScrollingWidget_new00_local(), tolua_stratagus_ScrollingWidget_restart00(), tolua_stratagus_ScrollingWidget_setSpeed00(), tolua_stratagus_SetChannelStereo00(), tolua_stratagus_SetChannelVolume00(), tolua_stratagus_SetDoubleClickDelay00(), tolua_stratagus_SetEditorPatchIcon00(), tolua_stratagus_SetEditorSelectIcon00(), tolua_stratagus_SetEditorStartUnit00(), tolua_stratagus_SetEditorUnitsIcon00(), tolua_stratagus_SetEffectsEnabled00(), tolua_stratagus_SetEffectsVolume00(), tolua_stratagus_SetGamePaused00(), tolua_stratagus_SetGameSpeed00(), tolua_stratagus_SetGrabMouse00(), tolua_stratagus_SetHoldClickDelay00(), tolua_stratagus_SetKeyScroll00(), tolua_stratagus_SetLeaveStops00(), tolua_stratagus_SetMouseScroll00(), tolua_stratagus_SetMusicEnabled00(), tolua_stratagus_SetMusicVolume00(), tolua_stratagus_SetTranslationsFiles00(), tolua_stratagus_SetTrigger00(), tolua_stratagus_Slider_getMarkerLength00(), tolua_stratagus_Slider_getOrientation00(), tolua_stratagus_Slider_getScaleEnd00(), tolua_stratagus_Slider_getScaleStart00(), tolua_stratagus_Slider_getStepLength00(), tolua_stratagus_Slider_getValue00(), tolua_stratagus_Slider_new00(), tolua_stratagus_Slider_new00_local(), tolua_stratagus_Slider_new01(), tolua_stratagus_Slider_new01_local(), tolua_stratagus_Slider_setMarkerLength00(), tolua_stratagus_Slider_setOrientation00(), tolua_stratagus_Slider_setScale00(), tolua_stratagus_Slider_setScaleEnd00(), tolua_stratagus_Slider_setScaleStart00(), tolua_stratagus_Slider_setStepLength00(), tolua_stratagus_Slider_setValue00(), tolua_stratagus_StartEditor00(), tolua_stratagus_StartMap00(), tolua_stratagus_StartPatchEditor00(), tolua_stratagus_StartReplay00(), tolua_stratagus_StartSavedGame00(), tolua_stratagus_StatBoxWidget_getCaption00(), tolua_stratagus_StatBoxWidget_getPercent00(), tolua_stratagus_StatBoxWidget_new00(), tolua_stratagus_StatBoxWidget_new00_local(), tolua_stratagus_StatBoxWidget_setCaption00(), tolua_stratagus_StatBoxWidget_setPercent00(), tolua_stratagus_StaticParticle_new00(), tolua_stratagus_StaticParticle_new00_local(), tolua_stratagus_StopAllChannels00(), tolua_stratagus_StopChannel00(), tolua_stratagus_StopGame00(), tolua_stratagus_StopMusic00(), tolua_stratagus_SyncRand00(), tolua_stratagus_SyncRand01(), tolua_stratagus_TextField_getText00(), tolua_stratagus_TextField_new00(), tolua_stratagus_TextField_new00_local(), tolua_stratagus_TextField_setText00(), tolua_stratagus_ToggleFullScreen00(), tolua_stratagus_Translate00(), tolua_stratagus_UnitTypeByIdent00(), tolua_stratagus_vector_CFiller___geti00(), tolua_stratagus_vector_CFiller___geti01(), tolua_stratagus_vector_CFiller___seti00(), tolua_stratagus_vector_CFiller__assign00(), tolua_stratagus_vector_CFiller__at00(), tolua_stratagus_vector_CFiller__at01(), tolua_stratagus_vector_CFiller__back00(), tolua_stratagus_vector_CFiller__back01(), tolua_stratagus_vector_CFiller__clear00(), tolua_stratagus_vector_CFiller__delete00(), tolua_stratagus_vector_CFiller__empty00(), tolua_stratagus_vector_CFiller__front00(), tolua_stratagus_vector_CFiller__front01(), tolua_stratagus_vector_CFiller__new00(), tolua_stratagus_vector_CFiller__new00_local(), tolua_stratagus_vector_CFiller__pop_back00(), tolua_stratagus_vector_CFiller__push_back00(), tolua_stratagus_vector_CFiller__size00(), tolua_stratagus_vector_CUIButton___geti00(), tolua_stratagus_vector_CUIButton___geti01(), tolua_stratagus_vector_CUIButton___seti00(), tolua_stratagus_vector_CUIButton__assign00(), tolua_stratagus_vector_CUIButton__at00(), tolua_stratagus_vector_CUIButton__at01(), tolua_stratagus_vector_CUIButton__back00(), tolua_stratagus_vector_CUIButton__back01(), tolua_stratagus_vector_CUIButton__clear00(), tolua_stratagus_vector_CUIButton__delete00(), tolua_stratagus_vector_CUIButton__empty00(), tolua_stratagus_vector_CUIButton__front00(), tolua_stratagus_vector_CUIButton__front01(), tolua_stratagus_vector_CUIButton__new00(), tolua_stratagus_vector_CUIButton__new00_local(), tolua_stratagus_vector_CUIButton__pop_back00(), tolua_stratagus_vector_CUIButton__push_back00(), tolua_stratagus_vector_CUIButton__size00(), tolua_stratagus_vector_string___geti00(), tolua_stratagus_vector_string___geti01(), tolua_stratagus_vector_string___seti00(), tolua_stratagus_vector_string__assign00(), tolua_stratagus_vector_string__at00(), tolua_stratagus_vector_string__at01(), tolua_stratagus_vector_string__back00(), tolua_stratagus_vector_string__back01(), tolua_stratagus_vector_string__clear00(), tolua_stratagus_vector_string__delete00(), tolua_stratagus_vector_string__empty00(), tolua_stratagus_vector_string__front00(), tolua_stratagus_vector_string__front01(), tolua_stratagus_vector_string__new00(), tolua_stratagus_vector_string__new00_local(), tolua_stratagus_vector_string__pop_back00(), tolua_stratagus_vector_string__push_back00(), tolua_stratagus_vector_string__size00(), tolua_stratagus_Widget_addActionListener00(), tolua_stratagus_Widget_getBackgroundColor00(), tolua_stratagus_Widget_getBaseColor00(), tolua_stratagus_Widget_getBorderSize00(), tolua_stratagus_Widget_getDisabledColor00(), tolua_stratagus_Widget_getForegroundColor00(), tolua_stratagus_Widget_getHeight00(), tolua_stratagus_Widget_getHotKey00(), tolua_stratagus_Widget_getWidth00(), tolua_stratagus_Widget_getX00(), tolua_stratagus_Widget_getY00(), tolua_stratagus_Widget_isEnabled00(), tolua_stratagus_Widget_isVisible00(), tolua_stratagus_Widget_setBackgroundColor00(), tolua_stratagus_Widget_setBaseColor00(), tolua_stratagus_Widget_setBorderSize00(), tolua_stratagus_Widget_setDisabledColor00(), tolua_stratagus_Widget_setEnabled00(), tolua_stratagus_Widget_setFont00(), tolua_stratagus_Widget_setForegroundColor00(), tolua_stratagus_Widget_setGlobalFont00(), tolua_stratagus_Widget_setHeight00(), tolua_stratagus_Widget_setHotKey00(), tolua_stratagus_Widget_setHotKey01(), tolua_stratagus_Widget_setPosition00(), tolua_stratagus_Widget_setSize00(), tolua_stratagus_Widget_setVisible00(), tolua_stratagus_Widget_setWidth00(), tolua_stratagus_Widget_setX00(), tolua_stratagus_Widget_setY00(), tolua_stratagus_Window_getAlignment00(), tolua_stratagus_Window_getCaption00(), tolua_stratagus_Window_getContent00(), tolua_stratagus_Window_getPadding00(), tolua_stratagus_Window_getTitleBarHeight00(), tolua_stratagus_Window_isMovable00(), tolua_stratagus_Window_isOpaque00(), tolua_stratagus_Window_new00(), tolua_stratagus_Window_new00_local(), tolua_stratagus_Window_new01(), tolua_stratagus_Window_new01_local(), tolua_stratagus_Window_new02(), tolua_stratagus_Window_new02_local(), tolua_stratagus_Window_resizeToContent00(), tolua_stratagus_Window_setAlignment00(), tolua_stratagus_Window_setCaption00(), tolua_stratagus_Window_setContent00(), tolua_stratagus_Window_setMovable00(), tolua_stratagus_Window_setOpaque00(), tolua_stratagus_Window_setPadding00(), tolua_stratagus_Window_setTitleBarHeight00(), tolua_stratagus_Windows_add00(), tolua_stratagus_Windows_new00(), tolua_stratagus_Windows_new00_local(), tolua_variable(), MultiLineLabel::TOP, UnitMax, and UpButton.
Referenced by InitLua().
| int CclInConfigFile |
True while config file parsing.
Definition at line 72 of file script.cpp.
Referenced by CclRevealMap(), CclSetFogOfWar(), CclSetVideoFullScreen(), CclSetVideoResolution(), and LoadCcl().
| std::string CclStartFile |
| std::string CurrentLuaFile |
Lua file currently being interpreted.
Definition at line 74 of file script.cpp.
Referenced by CclGetCurrentLuaPath(), and LuaLoadFile().
| lua_State* Lua |
Structure to work with lua files.
Definition at line 68 of file script.cpp.
Referenced by AiCclRegister(), AiExecuteScript(), CallHandler(), CclCommand(), CclGarbageCollect(), CheckMusicFinished(), CleanTriggers(), ConstructionCclRegister(), DecorationCclRegister(), Exit(), GroupCclRegister(), HandleCheats(), HandleCommandKey(), InitCcl(), InitLua(), InitTriggers(), laction(), LuaCall(), LuaLoadFile(), MapCclRegister(), MissileCclRegister(), PlayerCclRegister(), ReplayCclRegister(), report(), SaveGame(), SavePreferences(), SaveTriggers(), SelectionCclRegister(), SoundCclRegister(), SpellCclRegister(), TriggerCclRegister(), TriggerExecuteAction(), TriggerRemoveTrigger(), TriggersEachCycle(), UnitCclRegister(), UnitTypeCclRegister(), UpgradesCclRegister(), and UserInterfaceCclRegister().
| int NoRandomPlacementMultiplayer = 0 |
Disable the random placement of players in muliplayer mode.
Removes randomization of player placements.
Definition at line 76 of file script.cpp.
Referenced by CclNoRandomPlacementMultiplayer(), and NetworkServerStartGame().
| bool SaveGameLoading |
If a Saved Game is Loading.
Save game is in progress of loading.
Definition at line 73 of file script.cpp.
Referenced by CUnit::AssignToPlayer(), CclReplayLog(), CreateGame(), GameMainLoop(), InitUnits(), LoadGame(), CUnit::Place(), CUnit::RefsDecrease(), CUnit::RefsIncrease(), StartSavedGame(), and UpdateUnitSightRange().
| std::string UserDirectory |
Directory containing user settings and data.
Definition at line 71 of file script.cpp.
Referenced by PatchSaveButtonListener::action(), CclFilteredListDirectory(), CommandLog(), CreateUserDirectories(), ExpandPath(), GetSaveDir(), LibraryFileName(), SavePreferences(), and SaveReplay().
1.5.6