Define actions for the game's events mechanism. More...
Go to the source code of this file.
Classes | |
class | game_events::wml_action |
Namespaces | |
t_translation | |
game_events | |
Domain specific events. | |
Functions | |
void | game_events::change_terrain (const map_location &loc, const t_translation::t_terrain &t, terrain_type_data::tmerge_mode mode, bool replace_if_failed) |
Changes a terrain location. More... | |
Define actions for the game's events 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 implementing some of those actions (i.e. Action WML). The actions not implemented in this module are implemented in Lua.
Definition in file action_wml.hpp.