diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 19:06:52 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 19:06:52 +0200 |
commit | 607175f02a3f89665c953d09c603183f909cc15b (patch) | |
tree | 92ccd56fd97daad6a97d8a348b2d6fc564370059 /src/core | |
parent | fixed script (diff) | |
download | re3-607175f02a3f89665c953d09c603183f909cc15b.tar re3-607175f02a3f89665c953d09c603183f909cc15b.tar.gz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.bz2 re3-607175f02a3f89665c953d09c603183f909cc15b.tar.lz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.xz re3-607175f02a3f89665c953d09c603183f909cc15b.tar.zst re3-607175f02a3f89665c953d09c603183f909cc15b.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Game.cpp | 4 | ||||
-rw-r--r-- | src/core/config.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 437bd5ec..02648b27 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -64,6 +64,7 @@ #include "Script.h" #include "Shadows.h" #include "Skidmarks.h" +#include "SetPieces.h" #include "SpecialFX.h" #include "Sprite2d.h" #include "Stats.h" @@ -275,6 +276,7 @@ bool CGame::Initialise(const char* datFile) CCullZones::Init(); COcclusion::Init(); CCollision::Init(); + CSetPieces::Init(); CTheZones::Init(); CUserDisplay::Init(); CMessages::Init(); @@ -529,6 +531,7 @@ void CGame::ShutDownForRestart(void) CRadar::RemoveRadarSections(); FrontEndMenuManager.UnloadTextures(); CParticleObject::RemoveAllParticleObjects(); + CSetPieces::Init(); CPedType::Shutdown(); CSpecialFX::Shutdown(); TidyUpMemory(true, false); @@ -622,6 +625,7 @@ void CGame::Process(void) CAntennas::Update(); CGlass::Update(); CSceneEdit::Update(); + CSetPieces::Update(); CEventList::Update(); CParticle::Update(); gFireManager.Update(); diff --git a/src/core/config.h b/src/core/config.h index f0025dfa..4d1a5996 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -135,6 +135,8 @@ enum Config { NUM_CRANES = 8, NUM_EXPLOSIONS = 48, + + NUM_SETPIECES = 96 }; // We'll use this once we're ready to become independent of the game |