summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-29 13:38:37 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-29 13:38:37 +0200
commit9b5392d3a13e00d880e895522c19ef1e453804b0 (patch)
tree9c807c08baa487aa9c65d06489ef363ddf8491ff /src/World.h
parentChanged to actual crimes names (diff)
downloadre3-9b5392d3a13e00d880e895522c19ef1e453804b0.tar
re3-9b5392d3a13e00d880e895522c19ef1e453804b0.tar.gz
re3-9b5392d3a13e00d880e895522c19ef1e453804b0.tar.bz2
re3-9b5392d3a13e00d880e895522c19ef1e453804b0.tar.lz
re3-9b5392d3a13e00d880e895522c19ef1e453804b0.tar.xz
re3-9b5392d3a13e00d880e895522c19ef1e453804b0.tar.zst
re3-9b5392d3a13e00d880e895522c19ef1e453804b0.zip
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;