81 |
|
// OBJgTriggerVolume_Visible - bsl var to show trigger volumes |
82 |
|
#define OBJgTriggerVolume_Visible (*((bool*)0x005ec6c4)) |
83 |
|
|
84 |
+ |
//#define OBJgFlag_DrawFlags (*((void*)0x005ec624)) |
85 |
+ |
//#define OBJgFlag_ViewPrefix (*((void*)0x005ec650)) |
86 |
+ |
//#define OBJgFlag_DrawNameDistance (*((void*)0x005ec634)) |
87 |
|
|
88 |
|
// Method signature for script (BSL) functions |
89 |
|
typedef uint16_t ( ONICALL *sl_func)(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret); |
208 |
|
//NOT USED: DefFunc(int, OBJiObjectGroup_GetNumObjects, ONICALL, (void *inObjectGroup), ); |
209 |
|
|
210 |
|
DefFunc(int, OBJrObjectType_EnumerateObjects, ONICALL, (int inObjectType, OBJtEnumCallback_Object inEnumCallback, int inUserData), 0x004D0080); |
211 |
+ |
//DefFunc(void, OBJrTriggerVolume_IntersectsCharacter, ONICALL, (), 0x004cc680); |
212 |
|
|
213 |
|
DefFunc(void, OBJrDoor_Open, ONICALL, (DoorObject *inObject, Character *inCharacter), 0x004C26C0); |
214 |
|
DefFunc(void, OBJrDoor_ForceOpen, ONICALL, (short id), 0x004C1EE0); |
218 |
|
|
219 |
|
DefFunc(void, ONiDrawWeaponSight, ONICALL, (Character* Char), 0x004E1900); |
220 |
|
DefFunc(void, AI2rDisplayDebuggingInfo, ONICALL, (Character* Char), 0x0048C5F0); |
221 |
< |
DefFunc(uint32_t, M3rTextureMap_New, ONICALL, (short width, short height, int type, int allocated, int flags, char* name, void** output), 0x041EB00); |
221 |
> |
DefFunc(uint32_t, M3rTextureMap_New, ONICALL, (short width, short height, int type, int allocated, int flags, char* name, void** output), 0x0041EB00); |
222 |
> |
/* |
223 |
> |
DefFunc(void, M3rGeom_Line_Light, ONICALL, (), 0x0041f440); |
224 |
> |
DefFunc(void, M3rMatrixStack_Push, ONICALL, (), 0x0041baa0); |
225 |
> |
DefFunc(void, M3rMatrixStack_Get, ONICALL, (), 0x0041bb20); |
226 |
> |
DefFunc(void, M3rMatrixStack_Pop, ONICALL, (), 0x0041bb30); |
227 |
> |
DefFunc(void, M3rMatrixStack_Identity, ONICALL, (), 0x0041bba0); |
228 |
> |
DefFunc(void, M3rMatrixStack_Rotate, ONICALL, (), 0x0041bbe0); |
229 |
> |
DefFunc(void, M3rMatrixStack_UniformScale, ONICALL, (), 0x0041bc20); |
230 |
> |
DefFunc(void, M3rMatrixStack_Translate, ONICALL, (), 0x0041bc40); |
231 |
> |
DefFunc(void, M3rMatrixStack_Multiply, ONICALL, (), 0x0041bc70); |
232 |
> |
DefFunc(void, M3rGeom_State_Commit, ONICALL, (), 0x0041e870); |
233 |
> |
|
234 |
> |
DefFunc(void, MUrPoint_Distance, ONICALL, (), 0x00433270); |
235 |
> |
*/ |
236 |
|
|
237 |
|
// Make a dialog element (in)visible and change its position |
238 |
|
DefFunc(void, WMrWindow_SetVisible, ONICALL, (WMtWindow* window, int visibility), 0x00475a10); |