From 284009baa79293be34ecb63f80c40261ceba3c95 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 22 Mar 2016 07:58:37 +1100 Subject: [PATCH] Config tweaks for linux --- client/scenes/world.cpp | 1 + rsc/root_config_linux.cfg | 8 ++++++++ rsc/root_config_win.cfg | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 rsc/root_config_linux.cfg diff --git a/client/scenes/world.cpp b/client/scenes/world.cpp index 96c1a4b..1f9f338 100644 --- a/client/scenes/world.cpp +++ b/client/scenes/world.cpp @@ -250,6 +250,7 @@ void World::MouseWheel(SDL_MouseWheelEvent const& event) { } void World::KeyDown(SDL_KeyboardEvent const& event) { + //TODO: Sliding against walls controls //BUGFIX: SDL2 introduced key repeats, so I need to ignore it if (event.repeat) { return; diff --git a/rsc/root_config_linux.cfg b/rsc/root_config_linux.cfg new file mode 100644 index 0000000..7e70f97 --- /dev/null +++ b/rsc/root_config_linux.cfg @@ -0,0 +1,8 @@ +config.next = rsc/config.cfg + +#debugging +server.name = LinuxDEV + +client.username = LinuxUser +client.handle = Male Character +client.avatar = character1.png diff --git a/rsc/root_config_win.cfg b/rsc/root_config_win.cfg index 23f8eff..755ee69 100644 --- a/rsc/root_config_win.cfg +++ b/rsc/root_config_win.cfg @@ -1,4 +1,4 @@ -config.next = rsc\config.cfg +config.next = rsc/config.cfg #debugging server.name = DEV