2217 Commits

Author SHA1 Message Date
Fabian Greffrath
9aa4ddd7f8 Merge branch 'master' of github.com:fabiangreffrath/woof 2024-03-01 14:25:08 +01:00
Fabian Greffrath
f62de182a4 fix a compiler warning 2024-03-01 14:24:59 +01:00
Fabian Greffrath
467ec719d1
render linedef texture instead of sky if flat is missing (#1543)
Fixes #1540
2024-03-01 14:24:00 +01:00
Fabian Greffrath
029045e034
fast blockmap-based line-of-sight calculation (#1539)
* WIP: fast blockmap-based line-of-sight calculation

* fix crash with invalid blockmap coordinates

Cosmogenesis.wad MAP04

* move declarations to p_maputl.h header

* add config key and menu item

* fix

* add comment giving credit and clearifying code origin
2024-03-01 12:27:38 +01:00
Roman Fomin
7bc4f24c7c
fix Thread Sanitizer warnings, music modules refactoring (#1531)
* Fix TSan warnings with Fluidsynth backend

* Convert Fluidsynth and OPL modules to stream_module_t interface

* Remove mutexes from OPL module

* Remove I_OAL_HookMusic/callback

* Move extern declarations to headers
2024-03-01 18:22:04 +07:00
Fabian Greffrath
b3147857e2 release Woof! 14.1.0 woof_14.1.0 2024-02-29 21:59:40 +01:00
Roman Fomin
8372e26027 remove suppression of C4090 warning 2024-02-28 15:15:37 +07:00
Roman Fomin
05aebb3d59 attempt to fix windows-2022 build 2024-02-28 14:44:13 +07:00
Roman Fomin
ea7eb2e1dd update CHANGELOG.md 2024-02-28 09:59:58 +07:00
Roman Fomin
ace32557a9 update CHANGELOG.md 2024-02-28 09:58:46 +07:00
Roman Fomin
f8906440eb update FPS counter every second, don't show DRS frame skip 2024-02-28 09:03:17 +07:00
Alaux
1d128eca75
Add missing parenthesis to hud_type description (#1538) 2024-02-27 03:20:31 -03:00
ceski
040c730c1a Fix line spacing 2024-02-26 14:15:54 -08:00
Roman Fomin
2200937637
move "Level Brightness" to "Video" (#1536) 2024-02-27 02:38:17 +07:00
Alaux
584f09ec62
View/weapon bobbing percentages (#1535)
* Move bobbing thermos to "Weapons"

* Switch "Cosmetic"/"Preferences" pages in "Weapons"

---------

Co-authored-by: Roman Fomin <rfomin@gmail.com>
2024-02-27 01:56:37 +07:00
Roman Fomin
d7b7ed9a68
fix automap center after aspect ratio change (#1534) 2024-02-25 16:52:58 +07:00
Roman Fomin
3239194e32 fix CHANGELOG 2024-02-25 10:30:30 +07:00
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