mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 21:30:34 +00:00
Partial RunningScript part2
This commit is contained in:
parent
51c71fffeb
commit
41dbd754de
16 changed files with 584 additions and 6 deletions
|
@ -26,6 +26,8 @@ bool &CWorld::bSecondShift = *(bool*)0x95CD54;
|
|||
bool &CWorld::bForceProcessControl = *(bool*)0x95CD6C;
|
||||
bool &CWorld::bProcessCutsceneOnly = *(bool*)0x95CD8B;
|
||||
|
||||
WRAPPER void CWorld::RemoveReferencesToDeletedObject(CEntity*) { EAXJMP(0x4B3BF0); }
|
||||
|
||||
void
|
||||
CWorld::Add(CEntity *ent)
|
||||
{
|
||||
|
|
|
@ -99,6 +99,7 @@ public:
|
|||
static float FindGroundZForCoord(float x, float y);
|
||||
static float FindGroundZFor3DCoord(float x, float y, float z, bool *found);
|
||||
static float FindRoofZFor3DCoord(float x, float y, float z, bool *found);
|
||||
static void RemoveReferencesToDeletedObject(CEntity*);
|
||||
|
||||
static float GetSectorX(float f) { return ((f - WORLD_MIN_X)/SECTOR_SIZE_X); }
|
||||
static float GetSectorY(float f) { return ((f - WORLD_MIN_Y)/SECTOR_SIZE_Y); }
|
||||
|
|
|
@ -178,3 +178,4 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con
|
|||
|
||||
#define max(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#define min(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#define abs(a) (((a) < 0) ? (-a) : (a))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue