Comments (3)
Worked for me. I've set '0.3' as a sensitivity setting afterwards and happy with it
diff --git a/src/game/options.cc b/src/game/options.cc
index f9a6a7b..737590f 100644
--- a/src/game/options.cc
+++ b/src/game/options.cc
@@ -64,7 +64,7 @@ typedef enum Preference {
PREF_SFX_VOLUME,
PREF_SPEECH_VOLUME,
PREF_BRIGHTNESS,
- PREF_MOUSE_SENSITIVIY,
+ PREF_MOUSE_SENSITIVITY,
PREF_COUNT,
FIRST_PRIMARY_PREF = PREF_GAME_DIFFICULTY,
LAST_PRIMARY_PREF = PREF_RUNNING_BURNING_GUY,
@@ -73,7 +73,7 @@ typedef enum Preference {
LAST_SECONDARY_PREF = PREF_ITEM_HIGHLIGHT,
SECONDARY_PREF_COUNT = LAST_SECONDARY_PREF - FIRST_SECONDARY_PREF + 1,
FIRST_RANGE_PREF = PREF_COMBAT_SPEED,
- LAST_RANGE_PREF = PREF_MOUSE_SENSITIVIY,
+ LAST_RANGE_PREF = PREF_MOUSE_SENSITIVITY,
RANGE_PREF_COUNT = LAST_RANGE_PREF - FIRST_RANGE_PREF + 1,
} Preference;
@@ -374,7 +374,7 @@ static PreferenceDescription btndat[PREF_COUNT] = {
{ 4, 0, 374, 298, 0, 0, { 202, 221, 209, 222 }, 0, GAME_CONFIG_SNDFX_VOLUME_KEY, 0, 32767.0, &sndfx_volume },
{ 4, 0, 374, 349, 0, 0, { 202, 221, 209, 222 }, 0, GAME_CONFIG_SPEECH_VOLUME_KEY, 0, 32767.0, &speech_volume },
{ 2, 0, 374, 400, 0, 0, { 207, 223, 0, 0 }, 0, GAME_CONFIG_BRIGHTNESS_KEY, 1.0, 1.17999267578125, NULL },
- { 2, 0, 374, 451, 0, 0, { 207, 218, 0, 0 }, 0, GAME_CONFIG_MOUSE_SENSITIVITY_KEY, 1.0, 2.5, NULL },
+ { 2, 0, 374, 451, 0, 0, { 207, 218, 0, 0 }, 0, GAME_CONFIG_MOUSE_SENSITIVITY_KEY, 0.1, 2.5, NULL },
};
// 0x481328
@@ -1251,7 +1251,7 @@ static void DoThing(int eventCode)
case PREF_BRIGHTNESS:
value = gamma_value;
break;
- case PREF_MOUSE_SENSITIVIY:
+ case PREF_MOUSE_SENSITIVITY:
value = mouse_sens;
break;
default:
@@ -1347,7 +1347,7 @@ static void DoThing(int eventCode)
gamma_value = newValue;
colorGamma(newValue);
break;
- case PREF_MOUSE_SENSITIVIY:
+ case PREF_MOUSE_SENSITIVITY:
mouse_sens = newValue;
break;
}
@@ -1589,9 +1589,9 @@ static void UpdateThing(int index)
colorGamma(gamma_value);
}
break;
- case PREF_MOUSE_SENSITIVIY:
+ case PREF_MOUSE_SENSITIVITY:
if (1) {
- mouse_sens = std::clamp(mouse_sens, 1.0, 2.5);
+ mouse_sens = std::clamp(mouse_sens, 0.1, 2.5);
int x = (int)((mouse_sens - meta->minValue) * (219.0 / (meta->maxValue - meta->minValue)) + 384.0);
trans_buf_to_buf(prfbmp[PREFERENCES_WINDOW_FRM_KNOB_OFF], 21, 12, 21, prefbuf + 640 * meta->knobY + x, 640);
@@ -1918,7 +1918,7 @@ static void JustUpdate()
sndfx_volume = std::clamp(sndfx_volume, 0, VOLUME_MAX);
speech_volume = std::clamp(speech_volume, 0, VOLUME_MAX);
gamma_value = std::clamp(gamma_value, 1.0, 1.17999267578125);
- mouse_sens = std::clamp(mouse_sens, 1.0, 2.5);
+ mouse_sens = std::clamp(mouse_sens, 0.1, 2.5);
text_object_set_base_delay(text_delay);
gmouse_3d_synch_item_highlight();
from fallout1-ce.
yeah this fixes the issue π but I personally use
mouse_sensitivity=0.010000
so if you were to make a pull request you should probably use 0.0 as the min
from fallout1-ce.
Would you like to create it? I'm not sure how to do it )
from fallout1-ce.
Related Issues (20)
- [Android] While in combat, character moves without manual input.
- Can't get the iOS version to use the entire width of the screen HOT 1
- [Mac M1] Switch screens dont work when game run at fullscreen HOT 1
- IOS won't Save Game HOT 2
- [Android] Interface problem
- [Android] Mouse incompatible?
- (IOS) Unable to save game HOT 2
- [Linux] Touchscreen issue, cursor jumping after movement HOT 5
- Crash when injured?
- Π€ΠΎΠ»ΡΡ
- IOS Cursor will repeatedly press end turn
- Blackscreen when using 'First aid' on my character.
- [iPadOS] Enhancement Request: Touch Mode for iPad Version β Streamlining User Experience
- Fallout
- "Failure initializing input devices" issue occurs on older ipad mini (IOS 12.5)
- build for arm64 linux HOT 2
- Mouse does not work in ChromeBook
- IPA file for IOS installation missing HOT 5
- Control loop during combat
- Please make it possible to reenable original v1.0 invasion timers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fallout1-ce.