The Battle for Wesnoth  1.17.10+dev
resources.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2022
3  by Guillaume Melquiond <guillaume.melquiond@gmail.com>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 #include "resources.hpp"
17 #include <cstddef>
18 
19 namespace resources
20 {
21  game_board *gameboard = nullptr;
23  game_data *gamedata = nullptr;
29  replay *recorder = nullptr;
34  std::shared_ptr<wb::manager> whiteboard = std::shared_ptr<wb::manager>();
36  bool simulation_ = false;
37 }
play_controller * controller
Definition: resources.cpp:22
Game board class.
Definition: game_board.hpp:52
game_classification * classification
Definition: resources.cpp:35
Manages a list of fake units for the display object.
persist_manager * persist
Definition: resources.cpp:27
game_data * gamedata
Definition: resources.cpp:23
filter_context * filter_con
Definition: resources.cpp:24
game_board * gameboard
Definition: resources.cpp:21
fake_unit_manager * fake_units
Definition: resources.cpp:31
replay * recorder
Definition: resources.cpp:29
Domain specific events.
std::shared_ptr< wb::manager > whiteboard
Definition: resources.cpp:34
soundsource::manager * soundsources
Definition: resources.cpp:28
bool simulation_
Definition: resources.cpp:36
The game event manager loads the scenario configuration object, and ensures that events are handled a...
Definition: manager.hpp:46
Class to store the actions that a player can undo and redo.
Definition: undo.hpp:34
game_lua_kernel * lua_kernel
Definition: resources.cpp:26
actions::undo_list * undo_stack
Definition: resources.cpp:33
pathfind::manager * tunnels
Definition: resources.cpp:32