The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces
pump.hpp File Reference

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

#include "game_events/fwd.hpp"
#include "game_events/entity_location.hpp"
#include "game_events/handlers.hpp"
#include "game_events/manager.hpp"
#include "config.hpp"
#include <sstream>
#include <string>
Include dependency graph for pump.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  game_events::queued_event
class  game_events::wml_event_pump


 Domain specific events.

Detailed Description

Define the game's event mechanism.

Events might be units moving or fighting, or when victory or defeat occurs. A scenario's configuration file will define actions to take when certain events occur. This module is responsible for the processing of events.

Note that game events have nothing to do with SDL events, like mouse movement, keyboard events, etc. See events.hpp for how they are handled.

Definition in file pump.hpp.