diff --git a/src/world/CWorld.cpp b/src/world/CWorld.cpp index 7da5185..e2c1096 100644 --- a/src/world/CWorld.cpp +++ b/src/world/CWorld.cpp @@ -2,6 +2,7 @@ #include "gx/Gx.hpp" #include "gx/Shader.hpp" #include "model/Model2.hpp" +#include "world/Map.hpp" uint32_t CWorld::s_enables; uint32_t CWorld::s_enables2; @@ -42,3 +43,11 @@ void CWorld::Initialize() { // TODO } + +void CWorld::LoadMap(const char* mapName, const C3Vector& position, int32_t zoneID) { + // TODO + + CMap::Load(mapName, zoneID); + + // TODO +} diff --git a/src/world/CWorld.hpp b/src/world/CWorld.hpp index de170eb..0ca2b96 100644 --- a/src/world/CWorld.hpp +++ b/src/world/CWorld.hpp @@ -1,6 +1,8 @@ #ifndef WORLD_C_WORLD_HPP #define WORLD_C_WORLD_HPP +#include + #include class CWorld { @@ -47,6 +49,7 @@ class CWorld { // Static functions static void Initialize(void); + static void LoadMap(const char* mapName, const C3Vector& position, int32_t zoneID); }; #endif