DarkflameServer/dVisualDebugger/dVisualDebugger.h
2022-09-04 11:47:53 +01:00

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;
};