Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.cc4
-rw-r--r--src/client/input.cc4
2 files changed, 4 insertions, 4 deletions
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;