DarkflameServer/dVisualDebugger/dVisualDebugger.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
677 B
C
Raw Permalink Normal View History

2022-09-04 10:47:53 +00:00
#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);
private:
Camera3D* m_Camera;
RawFile* m_Terrain;
uint64_t m_CameraObjid;
bool m_BindToGM = false;
void CreateCamera();
void CreateInGameCamera();
void UpdateCameraPosition();
void UpdateInGameCameraPosition();
void HandleInputs();
void RenderEntities(std::vector<dpEntity*>* entities, bool dynamic);
void RenderTerrainMesh();
2022-09-04 10:47:53 +00:00
const int32_t m_Width = 800;
const int32_t m_Height = 450;
const int32_t m_CameraID = 5204;
2022-09-04 10:47:53 +00:00
};