summaryrefslogtreecommitdiff
path: root/src/World.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-29 14:38:37 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-29 14:38:37 +0300
commit9b5392d3a13e00d880e895522c19ef1e453804b0 (patch)
tree9c807c08baa487aa9c65d06489ef363ddf8491ff /src/World.h
parent4c2f74c3133acdbf2c7cdff960368ee83c9c926d (diff)
ProcessPedUpdate
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index e3a6a8f2..d88448fb 100644
--- a/src/World.h
+++ b/src/World.h
@@ -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;