mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 15:19:53 +03:00
feat(world): add CWorld::LoadMap
This commit is contained in:
2 files changed
+12
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user