Files
thepool/source/debug.cpp
Raimon Zamora 1251ef5110 - [NEW] Nova debug info: flags
- [NEW] Só de caminar i botar funcionant
- [NEW] Só de enemics rebotant
- [NEW] Menus amb só (MOC MOC!)
- [FIX] El so de caminar ja no continua durant el menu ingame
2024-10-03 16:27:43 +02:00

21 lines
342 B
C++

#include "debug.h"
namespace debug
{
bool debug_info[3] {false, false, false};
void enable(int info_type)
{
debug_info[info_type] = true;
}
void disable(int info_type)
{
debug_info[info_type] = false;
}
const bool isEnabled(int info_type)
{
return debug_info[info_type];
}
}