wesnoth/wesnoth-old — pull request #58 by gfgtdf (2013-08-12 19:54:15+00:00)
Title: add hotkeys for wml menu items and some changed to compile it with msvc2...

added hotkeys for wml menu items, by adding a vector for hotkey_commands so i can add them dynamicly, and chaning the (can)execute_command interface to "const hotkey_command& command, int index"

to make it compile with msvc 2010 i renamed HELP_INDEX and TOKEN_TYPE, and added a cast to (const unit_type*) in those files:
formula_tokenizer.hpp
formula_tokenizer.cpp
formula.cpp
unit_types.cpp
menu_events.cpp
help.cpp
gui\dialogs\unit_create.cpp
ai\testing\ca.cpp
ai\default\ai.cpp
unit_types.hpp
menu_events.cpp