mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
36f7b8a928
Removes the singleton inheritance from dpWorld. Tested that crux prime, nimbus station, avant gardens and nexus tower still use navmeshes and physics and that physics volumes are still collided with.
23 lines
381 B
C++
23 lines
381 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
class dNavMesh;
|
|
class dpEntity;
|
|
|
|
namespace dpWorld {
|
|
void Initialize(uint32_t zoneID, bool generateNewNavMesh = true);
|
|
void Shutdown();
|
|
void Reload();
|
|
|
|
bool ShouldUseSP(uint32_t zoneID);
|
|
bool IsLoaded();
|
|
|
|
void StepWorld(float deltaTime);
|
|
|
|
void AddEntity(dpEntity* entity);
|
|
void RemoveEntity(dpEntity* entity);
|
|
|
|
dNavMesh* GetNavMesh();
|
|
};
|