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