12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /* License Notice:
- **
- ** This program is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- ** This program is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- ** You should have received a copy of the GNU General Public License
- ** along with this program. If not, see <https://www.gnu.org/licenses/>.
- */
- /**
- * @file global.hpp
- * @author TooOld2Rock'nRoll
- * @date 2024/12/03
- * @brief Holds generic information about the game.
- * @remarks What a terrible file name!
- */
- #ifndef _GLOBAL_HPP_
- #define _GLOBAL_HPP_
- /*---- Includes ----*/
- #include "event_manager.hpp"
- /*---- Enumerations ----*/
- extern "C" {
- /**
- * @brief These are the extended in game events list.
- */
- typedef enum _extended_game_event_id_e_
- {
- EV_CHARACTER_WALK_STEP = game_event_id_e::_game_event_id_max, ///<Signals (to the level) to play a stepping sound.
- EV_CHARACTER_RUN_STEP, ///<Signals (to the level) to play a running sound.
- EV_CHARACTER_LANDED, ///<Signals (to the level) to play a landing sound.
- _ex_game_event_id_max ///<Keeps track of the enum size
- } ex_game_event_id_e;//end game_event_id
- }//end extern "C"
- #endif //_GLOBAL_HPP_
|