- afegits comandos de GameControl per activar trucos o canviar de habitacio
- modificat el comando debug, ja no activa el overlay sino el mode debug - nou alias show info i hide info
This commit is contained in:
14
source/game/game_control.hpp
Normal file
14
source/game/game_control.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#ifdef _DEBUG
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
namespace GameControl {
|
||||
// Registrada por Game::Game() — cambia la habitación activa
|
||||
inline std::function<bool(const std::string&)> change_room;
|
||||
// Registrada por Game::Game() — refresca el color del jugador según cheats
|
||||
inline std::function<void()> refresh_player_color;
|
||||
// Registrada por Game::Game() — hace toggle del modo debug (equivale a tecla 0)
|
||||
inline std::function<void()> toggle_debug_mode;
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user