mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(world): add skeleton for DayNight system
This commit is contained in:
parent
4418c789f9
commit
35e44e0976
14 changed files with 197 additions and 18 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue