| 7 |
|
#include "Oni_Character.h" |
| 8 |
|
#include "BFW_ScriptLang.h" |
| 9 |
|
|
| 10 |
+ |
#include "patches/objt.h" |
| 11 |
|
|
| 12 |
|
//Define variables of Oni: #define VARNAME (*((TYPE*)ADDRESS)) |
| 13 |
|
|
| 165 |
|
// Original cheat function |
| 166 |
|
DefFunc(uint8_t, ONrCheater, ONICALL, (uint32_t cheat), 0x004f5c30); |
| 167 |
|
|
| 168 |
+ |
DefFunc(int16_t, ONrMechanics_Register, ONICALL, (uint32_t inObjectType, uint32_t inObjectTypeIndex, char* inGroupName, |
| 169 |
+ |
uint32_t inSizeInMemory, OBJtMethods* inObjectMethods, uint32_t inFlags, void* inMechanicsMethods), 0x00507450); |
| 170 |
+ |
DefFunc(int16_t, OBJrTriggerVolume_IntersectsCharacter, ONICALL, (const OBJtObject* inObject, uint32_t inMask, const void* inCharacter), 0x004cc680); |
| 171 |
+ |
|
| 172 |
+ |
|
| 173 |
|
// ? |
| 174 |
|
DefFunc(int, AUrMessageBox, __cdecl, (int Buttons, char *Message, ...), 0x004378c0); |
| 175 |
|
DefFunc(char*, SSrMessage_Find, ONICALL, (char* message_key), 0x0047F550); |
| 232 |
|
DefFunc(uint32_t, M3rTextureMap_New, ONICALL, (short width, short height, int type, int allocated, int flags, char* name, void** output), 0x0041EB00); |
| 233 |
|
DefFunc(void, M3rDraw_BigBitmap, ONICALL, (M3tTextureMap_Big* inBigBitmap, const M3tPointScreen *inDestPoint, UUtUns16 inWidth, UUtUns16 inHeight, UUtUns32 inShade, UUtUns16 inAlpha), 0x0041f6e0); |
| 234 |
|
DefFunc(void, M3rDraw_Bitmap, ONICALL, (void* inBitmap, const M3tPointScreen* inDestPoint, UUtUns16 inWidth, UUtUns16 inHeight, UUtUns32 inShade, UUtUns16 inAlpha), 0x0041f4a0); |
| 235 |
+ |
|
| 236 |
+ |
DefFunc(void, M3rGeom_Line_Light, ONICALL, (const M3tPoint3D *point1, const M3tPoint3D *point2, uint32_t shade), 0x0041f440); |
| 237 |
|
/* |
| 238 |
|
DefFunc(void, M3rGeom_Line_Light, ONICALL, (), 0x0041f440); |
| 239 |
|
DefFunc(void, M3rMatrixStack_Push, ONICALL, (), 0x0041baa0); |