mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-28 00:17:23 +00:00
34 lines
614 B
C++
34 lines
614 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
class Camera3D;
|
|
class dpEntity;
|
|
class RawFile;
|
|
|
|
class dVisualDebugger {
|
|
public:
|
|
dVisualDebugger(std::string zoneName);
|
|
~dVisualDebugger();
|
|
|
|
void Step(float delta);
|
|
|
|
void RenderEntities(std::vector<dpEntity*>* entities, bool dynamic);
|
|
void RenderTerrainMesh();
|
|
void AttachToCharacter();
|
|
private:
|
|
Camera3D* m_Camera;
|
|
RawFile* m_Terrain;
|
|
uint64_t m_CameraObjid;
|
|
bool m_BindToGM = false;
|
|
|
|
void CreateCamera();
|
|
void CreateInGameCamera();
|
|
|
|
const int32_t m_Width = 800;
|
|
const int32_t m_Height = 450;
|
|
const int32_t m_CameraID = 2181;
|
|
};
|