feat(world): add CWorld::LoadMap

This commit is contained in:
fallenoak committed 2025-10-08 16:49:49 -05:00
1 parent 1e362b0c6e
commit 0a77888154
2 files changed
+12

No files matched your search

+9
View File
@@ -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
}
+3
View File
@@ -1,6 +1,8 @@
#ifndef WORLD_C_WORLD_HPP
#define WORLD_C_WORLD_HPP
#include <tempest/Vector.hpp>
#include <cstdint>
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