* Add FixedMul64
* Skip xscale calculation if not needed
* Improve sprite/voxel culling at screen edges
Calculates an ideal limit instead of using vanilla Doom's fixed value, which was only intended for an FOV of 90. Reduces missing sprites/voxels at edges with high aspect ratios and FOVs.
Co-authored-by: Julia Nechaevskaya <julia.nechaevskaya@live.com>
* Bring back 32:9 aspect ratio
* Fix borders
Co-authored-by: Roman Fomin <rfomin@gmail.com>
* Center save/load menus
Co-authored-by: Roman Fomin <rfomin@gmail.com>
---------
Co-authored-by: Julia Nechaevskaya <julia.nechaevskaya@live.com>
Co-authored-by: Roman Fomin <rfomin@gmail.com>
* factor crosshair code out into its own source file
Fixes#1764
* comments
* initialize the plr pointer
* HU_ prefix for non-static function ColorByHealth()
* check if crosshair patch lump is from a PWAD
* run clang-format over hu_crosshair.\*
* add 4-band equalizer based on the OpenAL extension (config only)
* add comment
* another comment
* expose equalizer settings to config
* remove EQUALIZER_DEFAULT string
* allow to toggle "Apply Equalizer" in the menu
* implement Equalizer presets
The presets are exemplary for now and need some fine-tuning.
* remove header
* back to gain percent scale, dB scale is not fine-grained enough
* apply patch by @ceski-1 (thank you!)
* shorten preset names for now
* Revert "back to gain percent scale, dB scale is not fine-grained enough"
This reverts commit 3210cb07d67f71c4025e73b8b56387e45a0dc995.
* a little clean-up
* declare SetEqualizer as static
* Expose center and bandwidth settings
* Increase gain for temporary presets
* Add preamp
* Add placeholder EQ menu
* Use an alternate set of presets
* disable EQ tab in the General menu
* give equalizer presets less abstract names
* adjust equalizer preset preamp gains
@ceski-1 I will need your confirmation here
* Use safer dB ranges
* Simplify
* Formatting
---------
Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
* add a compact widget showing only health, armor and ammo information
* wording fixes
* do not restrict the w_compact widget to hud_active == 0
* add forgotten woofhud.lmp changes
* draw labels in gray
* fixed width
* Fix alt+tab and Windows key when using exclusive fullscreen
* Fix OpenGL exclusive fullscreen
Ignore window events during initialization.
* Raise priority at launch, remove redundant calls
* Get SDL events in batches
* Clean up `I_StartTic()`
* Clean up `I_ReadMouse()`
* Ignore unused controller events
Triggers are now based on their state, like other axes.
* Combine controller update functions
* Separate mouse and gamepad ticcmd prep
* Simplify "store demo" check and disable it
From Chocolate Doom, but commented out.
* Cosmetic changes
* Remove "store demo" check
* fade out 8-bit mono sound samples
Fixes#1730
* apply to FadeInOutMono16() and FadeInOutMonoFloat32()
* Fix crash
* Check fade in and fade out separately
---------
Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>