#include "global.hpp"
#include "display_context.hpp"
#include "team.hpp"
#include "terrain/type_data.hpp"
#include "units/map.hpp"
#include "units/id.hpp"
#include <boost/optional.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <set>
#include <vector>
Go to the source code of this file.
Classes | |
class | game_board |
Game board class. More... | |
struct | temporary_unit_placer |
This object is used to temporary place a unit in the unit map, swapping out any unit that is already there. More... | |
struct | temporary_unit_remover |
This object is used to temporary remove a unit from the unit map. More... | |
struct | temporary_unit_mover |
This object is used to temporary move a unit in the unit map, swapping out any unit that is already there. More... | |
Namespaces | |
events | |
Handling of system events. | |
Functions | |
void | swap (game_board &one, game_board &other) |
void swap | ( | game_board & | one, |
game_board & | other | ||
) |
Definition at line 56 of file game_board.cpp.
References game_board::map_, swap(), game_board::teams_, game_board::unit_id_manager_, and game_board::units_.
Referenced by flip_surface(), flop_surface(), mp::create::layout_children(), mp::configure::layout_children(), mp::connect::layout_children(), rotate_180_surface(), terrain_builder::set_terrain_rules_cfg(), utils::smart_list< Data >::sort(), replay_recorder_base::swap(), fake_unit_ptr::swap(), saved_game::swap(), shared_object< T, node >::swap(), editor::editor_palette< Item >::swap(), unit::swap(), swap(), simple_wml::document::swap(), unit_map::swap(), and gui2::teditor_resize_map::update_expand_direction().