2200 Commits

Author SHA1 Message Date
Roman Fomin
da1afa32fb
update changelog (#1527)
* Small changes to wording, spelling

* fix Color Keyed Doors choices order

* Update CHANGELOG.md

* priority of the main thread changes only on Windows

---------

Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2024-02-25 10:27:38 +07:00
Fabian Greffrath
4458fe897f voxel: consider colormap changes when caching blood translation tables 2024-02-24 14:07:04 +01:00
Fabian Greffrath
a36b1233e6 Merge branch 'master' of github.com:fabiangreffrath/woof 2024-02-23 16:15:05 +01:00
Fabian Greffrath
e5cb9fc650 fix some new compiler warnings 2024-02-23 14:58:05 +01:00
Julia Nechaevskaya
cdbdfca73f
Do not reset chosen player view across levels in multiplayer demo playback (#1530) 2024-02-23 16:37:11 +03:00
Fabian Greffrath
00d4fdab39
in deathmatch show frags widget instead of level stats (#1529)
* in deathmatch show frags widget instead of level stats

* prevent a widget being built twice during a single tic

* no need to check each tic
2024-02-23 13:49:02 +01:00
Roman Fomin
cd613a48e5 tweak SAVE_LOAD_RECT coordinates 2024-02-23 11:50:15 +07:00
Fabian Greffrath
697151cdb9 fix bottom-aligned widgets being drawn one pixel too high
Fixes #1528
2024-02-22 17:51:26 +01:00
Roman Fomin
46870f5b98
set mrect_t for main menu items (#1522)
* Fix hr2final.wad (the patches for the main menu are empty there)
2024-02-22 14:29:45 +07:00
Roman Fomin
f81dffc0c8
attempt to fix the HOM column appearing on some resolutions (#1523)
* More accurate `centery`/`centeryfrac` calculation in R_SetupFreelook
  (for consistency)

* Add check for minimum aspect ratio

* Apply patch from Ceski
2024-02-22 09:48:39 +07:00
Roman Fomin
f268426d30 ignore warning C4090 for now 2024-02-22 09:33:39 +07:00
Roman Fomin
6c0ad23739 try windows-2019 and macos-14 (ARM) 2024-02-22 08:51:02 +07:00
ceski
d31ce8e2c7
Limit auto aspect ratio to 21:9 (#1521) 2024-02-21 17:38:22 -08:00
Fabian Greffrath
0d2a61a897
change "flashing keyed doors" to "color keyed doors" (#1526)
Fixes #1502
2024-02-21 15:40:50 +01:00
Roman Fomin
4b0f729d52
bring back clipping to v_video functions (#1518)
* add clipping to V_FillRect

* add clipping to V_CopyRect
2024-02-21 17:43:35 +07:00
ceski
81ebfeffaa
Don't use two-stage gamepad turn speed (#1524) 2024-02-20 23:42:50 -08:00
Roman Fomin
07206637eb fix ENDOOM crash 2024-02-21 11:17:06 +07:00
ceski
0c2e248f8b
Use more accurate light index (#1520) 2024-02-20 16:49:38 -08:00
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