2332 Commits

Author SHA1 Message Date
ceski
cfc207f108
Misc. menu formatting improvements (#1519)
* Fix crosshair preview with wide fonts

e.g. Eviternity II RC5.wad

* Add percent sign to deadzones

* Add On/Off tooltip

* Rename Crosshair None to Off

* Replace Yes/No with On/Off

* Rename Translucency to Translucency Filter

* Increase mouse thermo range to 50
2024-02-20 16:47:42 -08:00
Roman Fomin
a6836b314f
header cleanup using IWYU tool (#1467)
* Forward declaration of structures in headers where possible

* Use M_snprinf instead of sprintf

* Remove D_INTMAX D_INTMIN

* Don't change libtextscreen files

* Add miniz and win32 include directories
2024-02-20 19:26:28 +07:00
Roman Fomin
cdc3d11fff
draw crosshair in the menu (#1516) 2024-02-20 18:11:28 +07:00
Fabian Greffrath
808b3e0e11 fix translucent columns drawing
Fixes #1513
2024-02-20 12:04:32 +01:00
Roman Fomin
95f7313add rename S_THRM_PCT->S_PCT, show % sign for S_NUM items 2024-02-20 16:11:51 +07:00
Roman Fomin
ab2d35ba75
redo translucency options (#1496)
* Rename "Enable Translucency"->"Sprite Translucency"

* Instantly enable/disable translucency for things

* Make a thermo for the translucency percentage

* Remove unnecessary macros

* Remove predefined translucency check

* add S_THRM_PCT flag to show % sign
2024-02-20 14:20:39 +07:00
Fabian Greffrath
30db850d43
disable menu item by config key (instead of enum) (#1473)
* disable menu item by config key (instead of enum)

* remove all setup menu enums

* search through whole setup menus

* apply patch by @rfomin

* remove setup_menu_t.inited
2024-02-20 08:14:00 +01:00
Roman Fomin
91eb1ad834
restore vanilla "Read This" screens (#1509) 2024-02-20 14:09:34 +07:00
Roman Fomin
928311a574 fix drawing UL thermo values 2024-02-20 14:00:03 +07:00
ceski
5fbdf0264b
Add shorttics config key (#1514) 2024-02-19 22:55:29 -08:00
Roman Fomin
8bb438e016
"back" also works in main menu (#1512) 2024-02-20 13:50:21 +07:00
Roman Fomin
29687d96a6
fix HOM cheat crash (#1495)
* Bring back vrect_t clipping

* Fix V_DrawBlock
2024-02-19 17:46:46 +07:00
Roman Fomin
cb37d10a61
fix menu title patch for Options (#1506) 2024-02-19 15:35:47 +07:00
Julia Nechaevskaya
0d33954f9b
Prevent on-death-action reloads from activating specials (#1507) 2024-02-19 11:21:42 +03:00
Julia Nechaevskaya
ebf3bd6a6e Prevent on-death-action reloads from activating specials
Co-Authored-By: Roman Fomin <rfomin@gmail.com>
2024-02-19 11:09:29 +03:00
Roman Fomin
97c344b28a
bring back intercepts overflow to the menu (#1497) 2024-02-19 14:57:43 +07:00
ceski
a81690cf4b
Increase thread priority when window is visible and focused (#1505) 2024-02-18 21:00:24 -08:00
ceski
e579152602
Fix HOM line at non-standard FOV values (#1498)
* Refactor light index calculations

* Use descriptive variable name for linear sky calcs

* Fix HOM line at non-standard FOV values

Separate the light and general focal length calculations.
2024-02-18 20:51:58 -08:00
ceski
c3a424bf16
Apply free look toggle to current input type only (#1499)
* Apply free look toggle to current input type only

* R_SetupMouselook --> R_SetupFreelook

* M_UpdateMouseLook --> M_UpdateFreeLook

* input_mouselook --> input_freelook
2024-02-18 20:50:28 -08:00
Roman Fomin
d9e54a97cd
use SDL_GetWindowSize instead of SDL_GetRendererOutputSize (#1493) 2024-02-18 20:08:33 +07:00
Roman Fomin
d99e1e3be8
improve frame times, attempt to fix capped mode issue (#1492)
* apply patch by Ceski (don't use frame limiter for capped mode)

* Revert "add ability to set SDL render driver (#1359)"

This reverts commit 801c93872b74da35ab829c59e7c7eb096d25e73c.

* fix comment, bring back render info
2024-02-18 16:22:03 +07:00
ceski
f6b0d73867
Rename "Forward Sensitivity" to "Move Sensitivity" (#1491) 2024-02-18 00:08:30 -08:00
ceski
1cb799331b
Remove conditional disabling of HUD menu items (#1490)
* Remove conditional disabling of HUD menu items

Crispy HUD shares the "Colored Numbers" and "Gray Percent Sign" settings with the vanilla status bar, so they should always be available to toggle.

* Remove the rest of the conditional disabling
2024-02-18 00:00:16 -08:00
Roman Fomin
dfb4c9ae11
remove redundant warning (#1487)
In the original MBF it was mainly used for Doom Compatibility options.
2024-02-18 08:43:03 +07:00
Roman Fomin
27f1a65c60
restore original fix for "garbage lines at the top of weapon sprites" (#1485)
* Revert "fix garbage lines at the top of weapon sprites (#1377)"

This reverts commit 6cccb751849b83d0f5e12b9c85f139f085d62db1.

* restore original fix
2024-02-17 23:38:08 +07:00
Fabian Greffrath
2744c8a141
fix status bar height calculation endianess issue (#1484)
* fix status bar height calculation endianess issue

Fixes #1482

* fix endianess issue in V_DrawPatchInt()
2024-02-17 17:32:19 +01:00
Roman Fomin
9682f562c8 fix disabling dynamic resolution menu item 2024-02-17 22:07:24 +07:00
Fabian Greffrath
cf23b4b2fb 13 is bad luck number, release Woof! 14.0.0 woof_14.0.0 2024-02-16 12:03:50 +01:00
Fabian Greffrath
05b69a5d6f release Woof! 13.0.0 2024-02-16 11:29:30 +01:00
Fabian Greffrath
8048019e72
update README.md with the newest additions (#1466)
* update README.md with the newest additions

* further overhaul

* fixes

* bump copyright year for all recent contributors

* add Usage section with Cheat Codes and CLI

* there will be no Woof! 12.1.0 --> 13.0.0

* document CMake requirement

* v_video.c takes code from Eternity Engine -> GPL-3
2024-02-16 11:25:45 +01:00
Roman Fomin
6701bafcc3
update changelog (#1442)
* update changelog

* credit Eternity Engine, mention `raw_input` config setting

* mention "Use" button timer

* Change some wording

* Mouse wording

* Gamepad wording

* Misc. wording

* Add Odamex credit

* Grammar

* Andrew Apted code -> code by Andrew Apted

* mention "Blink Missing Keys" feature, minor corrections

---------

Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2024-02-16 11:25:21 +01:00
Roman Fomin
af1f3e6b54 fix cycle logic in V_DrawMaskedColumn 2024-02-16 16:53:08 +07:00
ceski
d3db71a12e
Add screen size thermo (#1479)
* Change `sts_always_red` to `sts_colored_numbers`

* Conditionally show/hide HUD menu items

* Add screen size thermo to HUD menu

* Cosmetic changes
2024-02-16 00:00:52 -08:00
Roman Fomin
721f28cfc4
fix obituaries erasing (#1478)
* Always erase Doom widgets

* Call HU_Erase from D_Display (restore vanilla code)
2024-02-16 14:09:48 +07:00
Roman Fomin
f76409d68f
don't call AM_LevelInit when screen size/resolution is changed (#1464) 2024-02-16 14:02:13 +07:00
Roman Fomin
5aed42c18e
deactivate thermo if input deactivated not in active range (#1477)
* fix all thermos on the page are activated don't release the button

* remove redundant check
2024-02-16 14:01:46 +07:00
ceski
bdd1deef59
FOV adjustments for skies (#1474)
* Refactor FOV (again)

* FOV affects `linearskyangle` calculations

* FOV affects sky scale calculations

* Apply fade to color for stretched skies

To prevent tiling at a large FOV.
2024-02-14 21:43:55 -08:00
ceski
0c8600b07c Rename "Widescreen" to "Widescreen Alignment" 2024-02-14 20:49:07 -08:00
Roman Fomin
aa3425522d
lightning calculation from PrBoom+ (#1469)
* apply Ceski patch
2024-02-14 10:26:30 +07:00
Roman Fomin
99bb2f1d83 fix enum for "Weapons" menu 2024-02-14 10:13:54 +07:00
ceski
37bed431e9
Ignore game controller events until needed (#1465) 2024-02-11 23:23:12 -08:00
Roman Fomin
c42ec4e63e fix reset relative mouse state inconsistency 2024-02-11 21:02:08 +07:00
Alaux
6d3c3930ff
Blink missing keys (#1438)
* Blink missing keys

* Keep all cancel conditions in `ST_updateWidgets()`

* Reformat blinking code

* Cosmetic tweaks

* Change conditions, disable by default

Due to the change in conditions, the feature now applies to the classic Status Bar, and doesn't apply to `hud_active == 0`, therefore assuming that `hud_active != 0` means that the key widget is being displayed.

* Add menu item

* Implement Crispy's `st_keyorskull[]`

* Use `st_keyorskull[]` for Boom HUD too

* Factor blinking code out

* Change CVAR description

* Blink keys after possessed keys in Boom HUD

Additionally, some reformatting.

* Add comment
2024-02-11 06:26:18 -03:00
Roman Fomin
f3b9f69ba5
don't send ev_joystick and ev_mouse if menu is open (#1460) 2024-02-11 16:04:26 +07:00
ceski
f3c4e29e9a
Refactor turn angle calculations (#1461) 2024-02-11 00:59:10 -08:00
ceski
9c21ed7669
Clear input on menu open/close (#1462) 2024-02-11 00:55:33 -08:00
Roman Fomin
f3439f70e2
fix ASAN report (#1463)
`GetTargetForAddr` can invalidate pointers since it uses `realloc`. Get element
from array again.
2024-02-11 15:35:57 +07:00
Roman Fomin
35f7dd822a
don't reset uncapped until new frame (#1455)
* skip DRS

* set `targetrefresh` after FPS limiter
2024-02-10 14:26:53 +07:00
Roman Fomin
1da8be9fdb
fix exclusive fullscreen (#1456) 2024-02-10 12:12:51 +07:00
Roman Fomin
95c8ddedd1
replace fb with I_VideoBuffer (#1453) 2024-02-09 16:12:44 +07:00