The Battle for Wesnoth  1.13.4+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/entity_location.hpp"
#include "game_events/handlers.hpp"
#include "config.hpp"
#include <string>
#include <sstream>
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.

Classes

struct  game_events::queued_event
 
class  game_events::t_pump
 

Namespaces

 lg
 
 game_events
 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.