ProcessPedUpdate

This commit is contained in:
Nikolay Korolev
2019-06-29 14:38:37 +03:00
parent 4c2f74c313
commit 9b5392d3a1
7 changed files with 73 additions and 6 deletions

View File

@@ -67,6 +67,7 @@ public:
static bool &bForceProcessControl;
static bool &bProcessCutsceneOnly;
static void Remove(CEntity *entity);
static void Add(CEntity *entity);
static CSector *GetSector(int x, int y) { return &ms_aSectors[y][x]; }
@@ -103,6 +104,8 @@ public:
static int GetSectorIndexY(float f) { return (int)GetSectorY(f); }
static float GetWorldX(int x) { return x*SECTOR_SIZE_X + WORLD_MIN_X; }
static float GetWorldY(int y) { return y*SECTOR_SIZE_Y + WORLD_MIN_Y; }
static void Remove(void);
};
class CPlayerPed;