2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
2022-08-02 05:30:19 +00:00
|
|
|
|
2024-01-19 21:12:05 +00:00
|
|
|
#include <cstdint>
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2024-01-19 21:12:05 +00:00
|
|
|
class dNavMesh;
|
2021-12-05 17:54:36 +00:00
|
|
|
class dpEntity;
|
|
|
|
|
2024-01-19 21:12:05 +00:00
|
|
|
namespace dpWorld {
|
|
|
|
void Initialize(uint32_t zoneID, bool generateNewNavMesh = true);
|
|
|
|
void Shutdown();
|
2022-12-04 22:25:58 +00:00
|
|
|
void Reload();
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2024-01-19 21:12:05 +00:00
|
|
|
bool ShouldUseSP(uint32_t zoneID);
|
|
|
|
bool IsLoaded();
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
void StepWorld(float deltaTime);
|
|
|
|
|
|
|
|
void AddEntity(dpEntity* entity);
|
|
|
|
void RemoveEntity(dpEntity* entity);
|
|
|
|
|
2024-01-19 21:12:05 +00:00
|
|
|
dNavMesh* GetNavMesh();
|
2021-12-05 17:54:36 +00:00
|
|
|
};
|