Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Woof! post-14.5.0 merge #118

Draft
wants to merge 375 commits into
base: master
Choose a base branch
from
Draft

Woof! post-14.5.0 merge #118

wants to merge 375 commits into from

Conversation

MrAlaux
Copy link
Owner

@MrAlaux MrAlaux commented Sep 1, 2024

No description provided.

fabiangreffrath and others added 30 commits July 30, 2024 11:49
* Fix freelook toggles

* Ignore freelook input when centering view
Fixes fabiangreffrath#1821

This could as well be achieved by dynamically allocating the arrays,
but we'd have to restrict to 10 episodes anyway, because more won't
fit on the episode selection menu screen.
* Remove obsolete camera update check

No longer needed since mouse and gamepad "prep" were separated.

* Use `MIN_F` constant

* Rename "swap" to "southpaw"

* Reorganize gamepad settings and menu items

* Update defaults

* Use consistent gamepad naming

A few exceptions made for joystick names.

* Simplify `deltatics` calculation

* Simplify `I_CalcGamepadAxes()`

* Track axis update time

* Use axis update time for `CalcExtraScale()`

* Extra sensitivity improvements, refactoring

* Add flick stick feature

* Flush gamepad events on reset

* Add separate touchpad touch and press inputs

* Add `joy_flick_mode`

* Add `joy_flick_rotation_speed`

* Enable float data type for events

* Add gyro support

* Update README.md

* Add option to disable analog sticks

Rename setting to be more descriptive and force new default value. Analog sticks can always navigate menus, regardless of this setting.

* Don't scale flick stick by regular stick sensitivity

When in flick stick mode and holding strafe modifier, regular stick sensitivity still applies.

* Add local space turn/lean options

* Add player space turn/lean options

* Add calibration option

* Remove "clear calibration" menu item

* Fix DisableItem and DisableItemFunc checks

* Add back gyro "tightening" menu item

Set a recommended default. Power users will want to disable this.

* Add gyro "steadying" menu item to combine smoothing and tightening

* Combine gyro space/enable into one setting

* Load gyro calibration once

* Lower max steadying and use 0.1 increments

Also update default steadying threshold to 3.0 degrees/second.

* Cosmetic changes

* Use degrees/second for analog stick speed

A default of 240 degrees/second is an unofficial standard used in many FPS games.

* Disable menu items if joy_enable is set to 0

* Show raw value dot on thermos for deadzone and steadying

Similar to the concept featured in Ironwail. Also reduce scope for some variables.

* Fix opening/closing a gamepad multiple times

SDL_CONTROLLERDEVICEREMOVED events send the instance ID, not the index.

* Enable/disable menu items when gamepad is opened/closed

* Cosmetic change

* Use button names that match gamepad platform

Can be overridden with `joy_platform`. Config read/write always uses Xbox-centric naming, as before.

* Improve touchpad key binding response

* Use sensor state for gyro data instead of events

Read the sensor state instead of using SDL_CONTROLLERSENSORUPDATE events as a workaround for low update rate gyro devices (e.g. Switch controllers). When the menu is active, temporarily enable SDL_CONTROLLERSENSORUPDATE events to capture as many samples as possible for calibration.

* Allow more actions to confirm/cancel "restore defaults"

So that gamepad users can confirm/cancel.

* Let MENU_BACKSPACE back out of menu item selection

Except for binding an input. This allows gamepad users to press B/circle to back out of menu items.

* Reduce scope for `motion`

* Reduce scope for `flick`

* Cosmetic changes

* Change menu item dots to meters with color

* Add "invert" gyro button action

* Use separate gyro space/enable (again)

Let players toggle gyro aiming on/off quickly without affecting the desired gyro space, which is an abstract concept.
Unlike `MN_StringWidth`, `MN_GetPixelWidth` considers font kerning.
Some zip archives do not have separate entries for directories (hrs.zip).
fabiangreffrath#1843)

* allow to set gamedescription (and thus the window title) with DEHACKED

* check for lookfor

* comments
ceski-1 and others added 30 commits October 14, 2024 20:47
* Don't invert local lean by default

* Add gyro invert turn/look options
- Applied component intensity before saturation
- Simplified code
* Increase max gyro sensitivity to 20x

* Increase max gyro steadying to 50 degrees/second

* Increase max gyro acceleration to 20x

* Increase max gyro acceleration threshold to 300 degrees/second

* Expose gyro acceleration thresholds in menu

* Use gyro defaults that match Steam Input
Only possible with XGLN/ZGLN nodes. Silence a buch of clang-tidy warnings.
* demote some messages to debug verbosity

Fixes fabiangreffrath#1959

* report music lump format in S_ChangeMusic() messages

* apply patch by @rfomin, thanks

* remove some unneccessary includes
* "Count" option for secret-revealed message

* Rename "Simple" to "On", line break
* Reset midi volume every loop iteration

* Always update native midi volume
* Adjust item pickup rumble for Dualsense controllers

* Use default scale for origin type rumble
* Clean up action/state variables

* Fix "use" on intermission screen
* Revert "Add gyro invert turn/look options (fabiangreffrath#1963)"

This reverts commit 54fcbd4.

* Simplify gyro spaces

Combine local yaw/roll, drop player roll.

* Add config option for local roll

* Fix restore defaults for acceleration thresholds
* fix clang-tidy warnings

* don't do "blockmapfix" for MF2_RIP projectiles
* Level-stats format settings

* Various changes

- Use formatting function updated in `HU_Start()`
- Removed automap format setting
- Disable menu item when widget is disabled
- Moved and renamed menu item

* More changes

- Hardcoded parameters into formatting functions
- Made menu item call `HU_Start()`
- Renamed "Percentage" to "Percent"
- Fixed Clang-Tidy warning

* Simplify formatting functions (Fabian's patch)

Co-Authored-By: Fabian Greffrath <[email protected]>
More specifically: cancel the screen refresh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment