Files
jaildoctors_dilemma/source/game/game_control.hpp
Sergio Valor 145bab037f - eliminats accents en titols d'habitacions
- corregits fitxers .fnt (falta aseprite)
- corregint font_gent.py
- revisades algunes traduccions
2026-03-29 09:48:58 +02:00

19 lines
884 B
C++

#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;
// Registrada por Game::Game() — guarda la habitación actual como habitación de inicio en debug.yaml
inline std::function<std::string()> set_initial_room;
// Registrada por Game::Game() — guarda la posición/flip actuales del jugador como posición de inicio en debug.yaml
inline std::function<std::string()> set_initial_pos;
} // namespace GameControl
#endif