game_events.hpp File Reference

Define the game's events mechanism. More...

#include "config.hpp"
#include "map.hpp"
#include "soundsource.hpp"
#include "variable.hpp"
#include "unit_map.hpp"
#include <vector>
#include <map>

Include dependency graph for game_events.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  game_events

Classes

struct  game_events::manager
struct  game_events::entity_location

Functions

game_stategame_events::get_state_of_game ()
void game_events::write_events (config &cfg)
void game_events::add_events (const config::child_list &cfgs, const std::string &id)
bool game_events::unit_matches_filter (unit_map::const_iterator itor, const vconfig filter)
bool game_events::fire (const std::string &event, const entity_location &loc1=gamemap::location::null_location, const entity_location &loc2=gamemap::location::null_location, const config &data=config())
 Function to fire an event.
void game_events::raise (const std::string &event, const entity_location &loc1, const entity_location &loc2, const config &data)
bool game_events::conditional_passed (const unit_map *units, const vconfig cond, bool backwards_compat)
bool game_events::pump ()
Uint32 game_events::mutations ()


Detailed Description

Define the game's events mechanism.

Definition in file game_events.hpp.


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs