78 |
|
// Option "findsounds" ... but what does it do? |
79 |
|
#define SSgSearchOnDisk (*((bool*)0x005eb758)) |
80 |
|
|
81 |
+ |
// OBJgTriggerVolume_Visible - bsl var to show trigger volumes |
82 |
+ |
#define OBJgTriggerVolume_Visible (*((bool*)0x005ec6c4)) |
83 |
+ |
|
84 |
|
|
85 |
|
// Method signature for script (BSL) functions |
86 |
|
typedef uint16_t ( ONICALL *sl_func)(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret); |
168 |
|
DefFunc(uint16_t, SLrScript_Command_Register_Void, ONICALL, (char* name, char* desc, char* argfmt, sl_func callback), 0x00477b40); |
169 |
|
|
170 |
|
// Register a global BSL variable |
171 |
+ |
DefFunc(uint16_t, SLrGlobalVariable_Register_Bool, ONICALL, (char* name, char* desc, UUtBool* data), 0x00477f50); |
172 |
|
DefFunc(uint16_t, SLrGlobalVariable_Register_Int32, ONICALL, (char* name, char* desc, int32_t* data), 0x00477e30); |
173 |
|
DefFunc(uint16_t, SLrGlobalVariable_Register_Float, ONICALL, (char* name, char* desc, float* data), 0x00477ec0); |
174 |
|
DefFunc(uint16_t, SLrGlobalVariable_Register_String, ONICALL, (char* name, char* desc, char* data), 0x00477fe0); |