feat(world): add skeleton for DayNight system

This commit is contained in:
VDm 2025-07-16 01:21:26 +04:00
parent 4418c789f9
commit 35e44e0976
14 changed files with 197 additions and 18 deletions

View file

@ -2,6 +2,8 @@
#include "gx/Device.hpp"
#include "gx/Shader.hpp"
#include "model/Model2.hpp"
#include "world/map/CMap.hpp"
#include "world/daynight/DayNight.hpp"
uint32_t CWorld::s_enables;
uint32_t CWorld::s_enables2;
@ -42,3 +44,11 @@ void CWorld::Initialize() {
// TODO
}
void CWorld::LoadMap(const char* mapName, const C3Vector& position, int32_t zoneID) {
CMap::Load(mapName, zoneID);
}
void CWorld::Render() {
DayNight::RenderSky();
}