1 /*
2    Copyright (C) 2009 - 2018 by Guillaume Melquiond <guillaume.melquiond@gmail.com>
3    Part of the Battle for Wesnoth Project https://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;
21 	play_controller      *controller = nullptr;
22 	game_data            *gamedata = nullptr;
23 	filter_context	     *filter_con = nullptr;
24 	game_events::manager *game_events = nullptr;
25 	game_lua_kernel            *lua_kernel = nullptr;
26 	persist_manager      *persist = nullptr;
27 	soundsource::manager *soundsources = nullptr;
28 	replay               *recorder = nullptr;
29 	::tod_manager        *tod_manager = nullptr;
30 	fake_unit_manager    *fake_units = nullptr;
31 	pathfind::manager    *tunnels = nullptr;
32 	actions::undo_list   *undo_stack = nullptr;
33 	std::shared_ptr<wb::manager> whiteboard = std::shared_ptr<wb::manager>();
34 	game_classification  *classification = nullptr;
35 	bool                 simulation_ = false;
36 }
37