|
UFO: Alien Invasion
|
Header for lua script functions. More...

Go to the source code of this file.
Typedefs | |
| typedef int | LUA_FUNCTION |
| callback signatures for functions defined in Lua | |
| typedef int | LUA_EVENT |
| holds a reference to a lua event handler | |
| typedef int | LUA_METHOD |
| holds a reference to a lua event handler | |
| typedef int | LUA_INSTANCE |
| holds a reference to a lua table instance, so we can perform calls to table methods in our callback mechanism | |
Enumerations | |
| enum | nodeCreateFlags_t { STATIC_CONTROL = 0x0000 , DYNAMIC_CONTROL = 0x0001 } |
| enumeration to define flags for the creation of node. More... | |
Functions | |
| void * | UI_SWIG_TypeQuery (const char *name) |
| queries the SWIG type table for a type information structure that can be used to create objects of a specific type in lua | |
| const char * | UI_SWIG_NodeTypeName (void *node) |
| returns the lua typename of the node. | |
| int | Com_LuaIsNilOrTable (lua_State *L, int index) |
| linkedList_t * | Com_LuaTableToStringList (lua_State *L, int index) |
| Convert a lua table to a linkedList of character strings. | |
Header for lua script functions.
Definition in file scripts_lua.h.
holds a reference to a lua event handler
Definition at line 49 of file scripts_lua.h.
| typedef int LUA_FUNCTION |
callback signatures for functions defined in Lua
holds a reference to a lua global function
Definition at line 45 of file scripts_lua.h.
| typedef int LUA_INSTANCE |
holds a reference to a lua table instance, so we can perform calls to table methods in our callback mechanism
Definition at line 59 of file scripts_lua.h.
| typedef int LUA_METHOD |
holds a reference to a lua event handler
Definition at line 53 of file scripts_lua.h.
| enum nodeCreateFlags_t |
enumeration to define flags for the creation of node.
| Enumerator | |
|---|---|
| STATIC_CONTROL | |
| DYNAMIC_CONTROL | |
Definition at line 76 of file scripts_lua.h.
| linkedList_t * Com_LuaTableToStringList | ( | lua_State * | L, |
| int | index ) |
Convert a lua table to a linkedList of character strings.
Definition at line 36 of file scripts_lua.cpp.
References index, LIST_AddString(), and v.
Referenced by _wrap_push_window().
|
extern |
returns the lua typename of the node.
This function returns the SWIG typename for the given node.
returns the lua typename of the node.
Definition at line 2915 of file ui_lua_shared.cpp.
References swig_dycast_func::str.
|
extern |
queries the SWIG type table for a type information structure that can be used to create objects of a specific type in lua
This function queries the SWIG type table for a type information structure. It is used in combination with the typemap for converting return values that specify uiNode_t*.
queries the SWIG type table for a type information structure that can be used to create objects of a specific type in lua
Definition at line 2903 of file ui_lua_shared.cpp.
References name, and SWIG_TypeQuery.
Referenced by UI_RegisterAbstractNode(), UI_RegisterAbstractOptionNode(), UI_RegisterAbstractScrollableNode(), UI_RegisterAbstractScrollbarNode(), UI_RegisterAbstractValueNode(), UI_RegisterBarNode(), UI_RegisterBaseInventoryNode(), UI_RegisterBaseLayoutNode(), UI_RegisterBattlescapeNode(), UI_RegisterButtonNode(), UI_RegisterCheckBoxNode(), UI_RegisterConFuncNode(), UI_RegisterContainerNode(), UI_RegisterControlsNode(), UI_RegisterCvarFuncNode(), UI_RegisterDataNode(), UI_RegisterEditorNode(), UI_RegisterFuncNode(), UI_RegisterGeoscapeNode(), UI_RegisterImageNode(), UI_RegisterItemNode(), UI_RegisterLineChartNode(), UI_RegisterMaterialEditorNode(), UI_RegisterMessageListNode(), UI_RegisterModelNode(), UI_RegisterNullNode(), UI_RegisterOptionListNode(), UI_RegisterOptionNode(), UI_RegisterOptionTreeNode(), UI_RegisterPanelNode(), UI_RegisterRadarNode(), UI_RegisterRadioButtonNode(), UI_RegisterRowsNode(), UI_RegisterSelectBoxNode(), UI_RegisterSequenceNode(), UI_RegisterSpinnerNode(), UI_RegisterStringNode(), UI_RegisterTabNode(), UI_RegisterTBarNode(), UI_RegisterText2Node(), UI_RegisterTextEntryNode(), UI_RegisterTextListNode(), UI_RegisterTextNode(), UI_RegisterTextureNode(), UI_RegisterTimerNode(), UI_RegisterVideoNode(), UI_RegisterVScrollbarNode(), UI_RegisterWindowNode(), and UI_RegisterZoneNode().