GameEngine/source/debug.c
2026-01-31 18:35:26 +01:00

52 lines
774 B
C

#include <engine.h>
#include <pthread.h>
/*
Time Manipulation
// base tick = 0.4;
// *2 = 0.2;
// *0.5 = 0.8;
*/
#define BASE_TICK 0.4
void TimeManipulation(float *tick) {
if (1) {
*tick = BASE_TICK;
}
if (2) {
*tick = BASE_TICK * 2;
}
if (3) {
*tick = BASE_TICK * 0.5;
}
}
/*
Toggle Show Debug (hitbox, scanray, scan cone, vision cone, interactrion range, overlay)
*/
void DebugRender() {
}
/*
State Machine (Game over, Quest Complete, Reset, StartGame, Reload)
*/
void StateMachine(ENGINE_STATE *state) {
(state);
}
/*
Live Data Inspector (UI Panel)
current state of a selected NPC or Item
*/
void DataInspector() {
}
/*
Debug Console
*/
void DebugConsol() {
__thread static char user_input[256];//need to be allocated for thread safety
}