30 #define ODATA_PTR_SIZE -1
31 #define ODATA_SIG_TYPE uint //WMC - Please don't touch.
32 #define ODATA_SIG_DEFAULT 0
72 #define ADE_INDEX(ate) (ate - &Ade_table_entries[0])
125 ade_table_entry() : Name(NULL), ShortName(NULL), ParentIdx(UINT_MAX), DerivatorIdx(UINT_MAX), Instanced(
false),
126 Size(0), Arguments(NULL), Description(NULL), ReturnType(NULL), ReturnDescription(NULL), Num_subentries(0)
129 memset(Subentries, 0,
sizeof(Subentries));
140 Ade_table_entries.push_back(ate);
141 uint new_idx = Ade_table_entries.size()-1;
151 int SetTable(lua_State *L,
int p_amt_ldx,
int p_mtb_ldx);
194 Ade_table_entries.push_back(ate);
195 LibIdx = Ade_table_entries.size() - 1;
203 od.
buf = (
void*)&obj;
204 od.
size =
sizeof(StoreType);
214 od.
size =
sizeof(StoreType);
226 od.
buf = (
void**)ptr;
SCP_vector< class ade_table_entry > Ade_table_entries
uint AddSubentry(ade_table_entry &n_ate)
ade_obj< object_h > l_Debris
void ade_stackdump(lua_State *L, char *stackdump)
int ade_friendly_error(lua_State *L)
ade_obj(char *in_name, char *in_desc, ade_lib_handle *in_deriv=NULL)
ade_obj< object_h > l_Object
union ade_table_entry::@260 Value
ade_odata Set(const StoreType &obj, ODATA_SIG_TYPE n_sig=ODATA_SIG_DEFAULT)
ade_odata Get(StoreType *ptr, uint *n_sig=NULL)
ade_obj< object_h > l_Ship
ade_obj< object_h > l_Asteroid
bool Ade_get_args_lfunction
int ade_set_args(lua_State *L, const char *fmt,...)
void OutputMeta(FILE *fp)
ade_odata GetPtr(StoreType **ptr)
int ade_get_args(lua_State *L, const char *fmt,...)
int SetTable(lua_State *L, int p_amt_ldx, int p_mtb_ldx)
#define ODATA_SIG_DEFAULT
GLsizei GLsizei GLuint * obj
ade_obj< object_h > l_Weapon