UFO: Alien Invasion
|
Header for lua script functions. More...
#include "../libs/lua/lua.h"
#include "../libs/lua/lualib.h"
#include "../libs/lua/lauxlib.h"
#include "list.h"
Go to the source code of this file.
Typedefs | |
typedef int | LUA_FUNCTION |
callback signatures for functions defined in Lua More... | |
typedef int | LUA_EVENT |
holds a reference to a lua event handler More... | |
typedef int | LUA_METHOD |
holds a reference to a lua event handler More... | |
typedef int | LUA_INSTANCE |
holds a reference to a lua table instance, so we can perform calls to table methods in our callback mechanism More... | |
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 More... | |
const char * | UI_SWIG_NodeTypeName (void *node) |
returns the lua typename of the node. More... | |
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. More... | |
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.
Definition at line 29 of file scripts_lua.cpp.
Referenced by _wrap_push_window().
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 LIST_AddString(), and v.
Referenced by _wrap_push_window().
const char* UI_SWIG_NodeTypeName | ( | void * | node | ) |
returns the lua typename of the node.
returns the lua typename of the node.
Definition at line 2892 of file ui_lua_shared.cpp.
References swig_type_info::str.
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
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 2880 of file ui_lua_shared.cpp.
References 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().