My sentiment is: If `v_lightest_color` is plain white, then this color
translated to gold may result in a very desaturated color, which then
gets shaded. I'd prefer if we translate a light shade of gray to gold
instead. Also, the colors in the HUD font are in general not full
bright, so translating from a moderate gray to gold may fit better.
* Use-button timer
* Add 1 when storing time
* Fix conditions in `HU_widget_build_sttime()`
* Different rebuilding approach
* Reset `btuse_tics` in `G_PlayerFinishLevel()`
* Add comment
* Tabs instead of spaces
* Move tab
* Change format string
* Combine time and use-time
---------
Co-authored-by: Roman Fomin <rfomin@gmail.com>
* Use m_array in m_input, cleanup and formatting.
* M_Responder refactoring, mouse cursor in the menu.
* Windows console exit message.
* Highlight menu patches/strings.
* Convert v_trans.c to double (there were auto conversions due to double
constants anyway).
* Implement resolution scale thermo.
* Menu items with different heights.
* Mouse support in save/load and volume menu.
* Remove S_STRING, cleanup.
* Remove dynamic help screen.
* Rearrange menus using Ceski's layout.
* Add `static` everywhere.
* Improve help messages.
* Hide mouse cursor when keys or pad buttons are pressed.
* Disable complevel menu item if COMPLVL lump is present.
* Enable mouse capture for exclusive fullscreen.
* Adjust resolution scale thermo:
- First step is from 100% to 200%
- 50px steps
- Last value is native resolution height
* Remove "Mouse Treshhold" from the menu.
* Add autostrafe50 to compat menu.
* Implement S_ONOFF (alias for S_YESNO).
* Remove S_NEXT/S_PREV, implementation of tabs for page switching (thanks Ceski!)
* Add LB/RB for menu Left/Right keys.
* Add color codes support to M_DrawStringCR.
* Shaded help string.
* Cycle pages in Save/Load screen using mouse.
* Reformat and fix M_ResetDefaults function, don't reset MIDI device
---------
Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
* Always use sidemove speed for gamepad
It's more conservative to use sidemove by default outside of strict mode.
* Prevent `ticcmd` overflow when using `-turbo`
* Simplify side speed rounding
* Add auto "strafe50" option
* Fix SDL_Net shutdown.
* Remove some demos/netgame warnings from the menu. We disable all relevant
options anyway, so there is nothing to warn about.
* remobe bootstrap
* Gamepad improvements
* Prep event handler for frequent gamepad updates
* Prep responder for frequent gamepad updates
* Prep mouse for frequent gamepad updates
* Move raw input setting to config only
* Add interpolation helper functions
* Add fast gamepad polling
* Restrict side movement in strict mode or net games
* Don't use SDL_FLT_EPSILON
* Remove redundant calculation
* Menu adjustments
Remove "enable/disable gamepad" and add "extra turn sensitivity".
* Tune defaults
* Skip controller updates if not found
* Introduce drs_skip_frame flag, skip DRS after resolution switch, wipe, save
game, window event.
* Move V_InitFlexTranTable to R_Init (don't want to skip DRS for it).
* Disable DRS when menu is active.
* Tweak DRS parameters.
* Use 1:1 turn/look response
* Use pitch directly for 3d audio
Since pitch is now an angle in BAM units, the related helper function can be simplified.
* Adjust recoil and centering angles
A bit closer to the exact height-to-angle calculations.