From 7d7b9324f1f0db14648fb9fe32256d7942af77b9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Mar 2008 14:51:37 +0000 Subject: somewhat smoother network play, player assets, client pif updates --- src/client/client.cc | 4 ++-- src/client/input.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client') diff --git a/src/client/client.cc b/src/client/client.cc index c93a0dc..99bd41f 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -90,8 +90,8 @@ void Client::init() core::Application::init(); // client variables - core::Cvar::get("cl_name", "Player", core::Cvar::Archive); - core::Cvar::get("cl_color", "1.0 1.0 1.0", core::Cvar::Archive); + core::Cvar::get("cl_name", "Player", core::Cvar::Archive | core::Cvar::Info); + core::Cvar::get("cl_color", "1.0 1.0 1.0", core::Cvar::Archive | core::Cvar::Info); cl_framerate = core::Cvar::get("cl_framerate", "120", core::Cvar::Archive); // initialize SDL, but do not initialize any subsystems diff --git a/src/client/input.cc b/src/client/input.cc index 3b2db09..4d0f54b 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -70,13 +70,13 @@ void keypressed(const SDL_keysym &keysym) break; case SDLK_KP_PLUS: // TODO set core entity params - local_thrust += 0.08f; + local_thrust += 0.02f; if (local_thrust > 1.0f) local_thrust = 1.0f; break; case SDLK_KP_MINUS: // TODO set core entity params - local_thrust -= 0.1f; + local_thrust -= 0.025f; if (local_thrust < 0.0f) local_thrust = 0.0f; break; -- cgit v1.2.3