feat(world): add CWorld::LoadMap

This commit is contained in:
fallenoak 2025-10-08 16:48:34 -05:00
parent 1e362b0c6e
commit 0a77888154
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 12 additions and 0 deletions

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
}

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