resources.hpp

Go to the documentation of this file.
00001 /* $Id: resources.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2009 - 2012 by Guillaume Melquiond <guillaume.melquiond@gmail.com>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 #ifndef RESOURCES_H_
00017 #define RESOURCES_H_
00018 
00019 #include <vector>
00020 
00021 class game_display;
00022 class gamemap;
00023 class game_state;
00024 class LuaKernel;
00025 class play_controller;
00026 class team;
00027 class tod_manager;
00028 class unit_map;
00029 class persist_manager;
00030 struct undo_action;
00031 
00032 namespace soundsource { class manager; }
00033 
00034 namespace pathfind { class manager; }
00035 
00036 namespace wb { class manager; } //whiteboard manager
00037 
00038 namespace resources
00039 {
00040     extern game_display *screen;
00041     extern soundsource::manager *soundsources;
00042     extern gamemap *game_map;
00043     extern unit_map *units;
00044     extern std::vector<team> *teams;
00045     extern game_state *state_of_game;
00046     extern LuaKernel *lua_kernel;
00047     extern play_controller *controller;
00048     extern tod_manager *tod_manager;
00049     extern pathfind::manager *tunnels;
00050     extern wb::manager *whiteboard;
00051     extern std::vector<undo_action> *undo_stack;
00052     extern std::vector<undo_action> *redo_stack;
00053     extern persist_manager *persist;
00054 }
00055 
00056 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:08 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs