diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actiondef.h | 5 | ||||
-rw-r--r-- | src/actions/actions.h | 2 | ||||
-rw-r--r-- | src/actions/chat.h | 2 | ||||
-rw-r--r-- | src/actions/move.h | 2 | ||||
-rw-r--r-- | src/actions/statusbar.h | 2 | ||||
-rw-r--r-- | src/actions/tabs.h | 2 | ||||
-rw-r--r-- | src/actions/target.h | 2 | ||||
-rw-r--r-- | src/actions/windows.h | 2 |
8 files changed, 9 insertions, 10 deletions
diff --git a/src/actions/actiondef.h b/src/actions/actiondef.h index 70e44f794..a192fc4c1 100644 --- a/src/actions/actiondef.h +++ b/src/actions/actiondef.h @@ -26,9 +26,8 @@ #include "input/inputmanager.h" -#define decHandler(name) bool name(const InputEvent &event) -#define impHandler(name) bool name(const InputEvent &event) -#define impHandler0(name) bool name(const InputEvent &event A_UNUSED) +#define impHandler(name) bool name(InputEvent &event) +#define impHandler0(name) bool name(InputEvent &event A_UNUSED) #define callYellowBar(name) \ GameModifiers::name(!inputManager.isActionActive( \ diff --git a/src/actions/actions.h b/src/actions/actions.h index b88fefc7d..6fb4fa01c 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_ACTIONS_H #define ACTIONS_ACTIONS_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; diff --git a/src/actions/chat.h b/src/actions/chat.h index f57362b0e..ed7ef97ed 100644 --- a/src/actions/chat.h +++ b/src/actions/chat.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_CHAT_H #define ACTIONS_CHAT_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; diff --git a/src/actions/move.h b/src/actions/move.h index 4ca760400..3e126baea 100644 --- a/src/actions/move.h +++ b/src/actions/move.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_MOVE_H #define ACTIONS_MOVE_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; diff --git a/src/actions/statusbar.h b/src/actions/statusbar.h index 68e1d6217..e532e4d6f 100644 --- a/src/actions/statusbar.h +++ b/src/actions/statusbar.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_STATUSBAR_H #define ACTIONS_STATUSBAR_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; diff --git a/src/actions/tabs.h b/src/actions/tabs.h index c0bb49c86..89468d67f 100644 --- a/src/actions/tabs.h +++ b/src/actions/tabs.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_TABS_H #define ACTIONS_TABS_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; diff --git a/src/actions/target.h b/src/actions/target.h index 0b4bea943..529f339ce 100644 --- a/src/actions/target.h +++ b/src/actions/target.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_TARGET_H #define ACTIONS_TARGET_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; diff --git a/src/actions/windows.h b/src/actions/windows.h index 97f1b85e7..9b0184feb 100644 --- a/src/actions/windows.h +++ b/src/actions/windows.h @@ -21,7 +21,7 @@ #ifndef ACTIONS_WINDOWS_H #define ACTIONS_WINDOWS_H -#define decHandler(name) bool name(const InputEvent &event) +#define decHandler(name) bool name(InputEvent &event) struct InputEvent; |