Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 13 May 2017 09:05:16 +0000 (11:05 +0200)
committerGitHub <noreply@github.com>
Sat, 13 May 2017 09:05:16 +0000 (11:05 +0200)
commit9b8ca3a746cdb9478a46939d36c30484a97255e1
treec754605c7c955440a1d66d413a80f994d6b83006
parent5cb7f6a9b7268ee6bfa5eae4f8af9613403f9965
Move KeyList & InputHandler from game.h to client/inputhandler.h (#5752)

* Move KeyList & InputHandler from game.h to client/inputhandler.h

We have a header for inputs, move inputhandler class & related keylist object to it

Also introduce a cpp file for MyEventReceiver::OnEvent function in inputhandler.h because a so huge function doesn't needs to be inlined

* Pass clang-format on inputhandler.{cpp,h} (compatible)
build/android/jni/Android.mk
src/client/CMakeLists.txt
src/client/clientlauncher.cpp
src/client/inputhandler.cpp [new file with mode: 0644]
src/client/inputhandler.h
src/game.cpp
src/game.h
src/mainmenumanager.h
util/travis/clang-format-whitelist.txt