diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 13:48:56 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-07 19:45:37 -0700 |
commit | a3859a9078b07865597332ba2d2f274a635b1180 (patch) | |
tree | 07a679c17fc61c706c574261126ce6f8e917ea14 | |
parent | 3aca1f5b4f11a3bb90ecacfb43346a1e2832397d (diff) | |
download | mana-a3859a9078b07865597332ba2d2f274a635b1180.tar.gz mana-a3859a9078b07865597332ba2d2f274a635b1180.tar.bz2 mana-a3859a9078b07865597332ba2d2f274a635b1180.tar.xz mana-a3859a9078b07865597332ba2d2f274a635b1180.zip |
Tweaked some configuration defaults
Scrolling is now a bit less lazy and the scroll radius is 0. In my
opinion this is a better default.
Framerate limiter is now off by default, since it makes the game appear
a bit choppy. It's basically only useful for laptops anyway, and not too
hard to find.
-rw-r--r-- | src/gui/setup_video.cpp | 14 | ||||
-rw-r--r-- | src/gui/viewport.cpp | 4 | ||||
-rw-r--r-- | src/main.cpp | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 15841615..2a7d6855 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -106,8 +106,8 @@ Setup_Video::Setup_Video(): mParticleEffectsEnabled(config.getValue("particleeffects", 1)), mSpeechBubbleEnabled(config.getValue("speechbubble", 1)), mOpacity(config.getValue("guialpha", 0.8)), - mFps((int)config.getValue("fpslimit", 60)), - mModeListModel(new ModeListModel()), + mFps((int) config.getValue("fpslimit", 0)), + mModeListModel(new ModeListModel), mModeList(new ListBox(mModeListModel)), mFsCheckBox(new CheckBox("Full screen", mFullScreenEnabled)), mOpenGLCheckBox(new CheckBox("OpenGL", mOpenGLEnabled)), @@ -117,13 +117,13 @@ Setup_Video::Setup_Video(): mAlphaSlider(new Slider(0.2, 1.0)), mFpsCheckBox(new CheckBox("FPS Limit: ")), mFpsSlider(new Slider(10, 200)), - mFpsField(new TextField()), - mOriginalScrollLaziness((int) config.getValue("ScrollLaziness", 32)), + mFpsField(new TextField), + mOriginalScrollLaziness((int) config.getValue("ScrollLaziness", 16)), mScrollLazinessSlider(new Slider(1, 64)), - mScrollLazinessField(new TextField()), - mOriginalScrollRadius((int) config.getValue("ScrollRadius", 32)), + mScrollLazinessField(new TextField), + mOriginalScrollRadius((int) config.getValue("ScrollRadius", 0)), mScrollRadiusSlider(new Slider(0, 128)), - mScrollRadiusField(new TextField()), + mScrollRadiusField(new TextField), mOverlayDetail((int) config.getValue("OverlayDetail", 2)), mOverlayDetailSlider(new Slider(0, 2)), mOverlayDetailField(new gcn::Label("")), diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index e50903b6..8ef0b500 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -63,8 +63,8 @@ Viewport::Viewport(): setOpaque(false); addMouseListener(this); - mScrollLaziness = (int) config.getValue("ScrollLaziness", 32); - mScrollRadius = (int) config.getValue("ScrollRadius", 32); + mScrollLaziness = (int) config.getValue("ScrollLaziness", 16); + mScrollRadius = (int) config.getValue("ScrollRadius", 0); mScrollCenterOffsetX = (int) config.getValue("ScrollCenterOffsetX", 0); mScrollCenterOffsetY = (int) config.getValue("ScrollCenterOffsetY", 0); diff --git a/src/main.cpp b/src/main.cpp index 4049aa78..e9ec365f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -319,7 +319,7 @@ void init_engine(const Options &options) config.setValue("remember", 1); config.setValue("sfxVolume", 100); config.setValue("musicVolume", 60); - config.setValue("fpslimit", 60); + config.setValue("fpslimit", 0); config.setValue("updatehost", "http://www.aethyra.org/updates"); config.setValue("customcursor", 1); config.setValue("ChatLogLength", 128); |