mail[Wesnoth-commits] r27076 - /trunk/src/game_events.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by paniemin on June 09, 2008 - 21:56:
Author: suokko
Date: Mon Jun  9 21:56:01 2008
New Revision: 27076

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27076&view=rev
Log:
Added command,allow_undo and heal_unit commands to handler map

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=27076&r1=27075&r2=27076&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Mon Jun  9 21:56:01 2008
@@ -3000,6 +3000,9 @@
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("redraw", &wml_func_redraw));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("animate_unit", &wml_func_animate_unit));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("label", &wml_func_label));
+               function_call_map.insert(std::pair<std::string, 
wml_handler_function>("heal_unit", &wml_func_heal_unit));
+               function_call_map.insert(std::pair<std::string, 
wml_handler_function>("command", &wml_func_command));
+               function_call_map.insert(std::pair<std::string, 
wml_handler_function>("allow_undo", &wml_func_allow_undo));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("if", &wml_func_if));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("while", &wml_func_while));
                function_call_map.insert(std::pair<std::string, 
wml_handler_function>("switch", &wml_func_switch));




Related Messages


Powered by MHonArc, Updated Mon Jun 09 22:21:16 2008