Rename the _MD macro to D_METHOD

This new name also makes its purpose a little clearer

This is a step towards fixing #56
This commit is contained in:
Hein-Pieter van Braam
2017-02-13 12:47:24 +01:00
parent bf64df4427
commit 411ee71b4d
297 changed files with 5445 additions and 5443 deletions

View File

@ -35,19 +35,19 @@ InputMap *InputMap::singleton=NULL;
void InputMap::_bind_methods() {
ClassDB::bind_method(_MD("has_action","action"),&InputMap::has_action);
ClassDB::bind_method(_MD("get_action_id","action"),&InputMap::get_action_id);
ClassDB::bind_method(_MD("get_action_from_id","id"),&InputMap::get_action_from_id);
ClassDB::bind_method(_MD("get_actions"),&InputMap::_get_actions);
ClassDB::bind_method(_MD("add_action","action"),&InputMap::add_action);
ClassDB::bind_method(_MD("erase_action","action"),&InputMap::erase_action);
ClassDB::bind_method(D_METHOD("has_action","action"),&InputMap::has_action);
ClassDB::bind_method(D_METHOD("get_action_id","action"),&InputMap::get_action_id);
ClassDB::bind_method(D_METHOD("get_action_from_id","id"),&InputMap::get_action_from_id);
ClassDB::bind_method(D_METHOD("get_actions"),&InputMap::_get_actions);
ClassDB::bind_method(D_METHOD("add_action","action"),&InputMap::add_action);
ClassDB::bind_method(D_METHOD("erase_action","action"),&InputMap::erase_action);
ClassDB::bind_method(_MD("action_add_event","action","event"),&InputMap::action_add_event);
ClassDB::bind_method(_MD("action_has_event","action","event"),&InputMap::action_has_event);
ClassDB::bind_method(_MD("action_erase_event","action","event"),&InputMap::action_erase_event);
ClassDB::bind_method(_MD("get_action_list","action"),&InputMap::_get_action_list);
ClassDB::bind_method(_MD("event_is_action","event","action"),&InputMap::event_is_action);
ClassDB::bind_method(_MD("load_from_globals"),&InputMap::load_from_globals);
ClassDB::bind_method(D_METHOD("action_add_event","action","event"),&InputMap::action_add_event);
ClassDB::bind_method(D_METHOD("action_has_event","action","event"),&InputMap::action_has_event);
ClassDB::bind_method(D_METHOD("action_erase_event","action","event"),&InputMap::action_erase_event);
ClassDB::bind_method(D_METHOD("get_action_list","action"),&InputMap::_get_action_list);
ClassDB::bind_method(D_METHOD("event_is_action","event","action"),&InputMap::event_is_action);
ClassDB::bind_method(D_METHOD("load_from_globals"),&InputMap::load_from_globals);
}