25 #ifndef GAME_EVENTS_ACTION_WML_H_INCLUDED
26 #define GAME_EVENTS_ACTION_WML_H_INCLUDED
52 typedef std::map<std::string, handler>
map;
77 #endif // GAME_EVENTS_ACTION_WML_H_INCLUDED
std::map< std::string, handler > map
static map::const_iterator begin()
The first registered action.
void(* handler)(const queued_event &, const vconfig &)
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
wml_action(const std::string &tag, handler function)
Using this constructor for a static object outside action_wml.cpp will likely lead to a static initia...
static map::const_iterator end()
One past the last registered action.
void 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.
A terrain string which is converted to a terrain is a string with 1 or 2 layers the layers are separa...
Encapsulates the map of the game.
static map registry_
Tracks the known action handlers.
A variable-expanding proxy for the config class.
static const map & registry()
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string