mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(world): add CWorld::LoadMap
This commit is contained in:
parent
1e362b0c6e
commit
0a77888154
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user