The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
resources.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2016 by Guillaume Melquiond <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
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,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #include "resources.hpp"
16 #include <cstddef>
17 
18 namespace resources
19 {
20  game_board *gameboard = nullptr;
22  game_data *gamedata = nullptr;
27  game_display *screen = nullptr;
29  std::vector<team> *teams = nullptr;
30  replay *recorder = nullptr;
35  unit_map *units = nullptr;
38  const mp_game_settings *mp_settings = nullptr;
39  bool simulation_ = false;
40 }
play_controller * controller
Definition: resources.cpp:21
Game board class.
Definition: game_board.hpp:55
game_classification * classification
Definition: resources.cpp:37
const mp_game_settings * mp_settings
Definition: resources.cpp:38
game_display * screen
Definition: resources.cpp:27
Manages a list of fake units for the display object.
persist_manager * persist
Definition: resources.cpp:26
game_data * gamedata
Definition: resources.cpp:22
std::vector< team > * teams
Definition: resources.cpp:29
filter_context * filter_con
Definition: resources.cpp:23
game_board * gameboard
Definition: resources.cpp:20
fake_unit_manager * fake_units
Definition: resources.cpp:32
replay * recorder
Definition: resources.cpp:30
Domain specific events.
Definition: action_wml.cpp:93
soundsource::manager * soundsources
Definition: resources.cpp:28
bool simulation_
Definition: resources.cpp:39
The game event manager loads the scenario configuration object, and ensures that events are handled a...
Definition: manager.hpp:47
Class to store the actions that a player can undo and redo.
Definition: undo.hpp:38
Container associating units to locations.
Definition: map.hpp:90
game_lua_kernel * lua_kernel
Definition: resources.cpp:25
boost::shared_ptr< wb::manager > whiteboard
Definition: resources.cpp:36
actions::undo_list * undo_stack
Definition: resources.cpp:34
pathfind::manager * tunnels
Definition: resources.cpp:33
unit_map * units
Definition: resources.cpp:35