1870 Commits

Author SHA1 Message Date
Roman Fomin
9b26d8d805
fix pickup messages in multiplayer (#1098)
* add `togglemsg()`, macronize and simplify `doomprintf()`

* fix whitespace

* rename playermsg->doomprintf, doomprintf->displaymsg
2023-06-11 17:51:44 +07:00
Fabian Greffrath
b347ca9aba
prefer IDDT cheat key over IDBEHOLDA (#1096)
* prefer IDDT cheat key over IDBEHOLDA

* improve description
2023-06-10 08:45:02 +02:00
Roman Fomin
91ba98d18d
fix weapon switching animation in multiplayer (#1097) 2023-06-09 14:48:26 +02:00
Roman Fomin
31b1e31bbf don't use ilammy/msvc-dev-cmd
Windows-2022 image now contains two installations of vcpkg, see:
https://github.com/microsoft/vcpkg/issues/31808 Don't use Visual Studio
version, switch to MSBuild.
2023-06-08 09:51:21 +07:00
Fabian Greffrath
68b6c34c59
DEH: check value passed as dropped item (#1095) 2023-06-07 12:21:02 +02:00
Roman Fomin
92ccae60cc update vcpkg 2023-06-04 21:41:20 +07:00
Roman Fomin
3d3c376ca3 try to fix vcpkg 2023-06-04 21:22:53 +07:00
Roman Fomin
e1e1f8cc90 update vcpkg 2023-06-04 18:38:21 +07:00
ceski
975370200d
Allow direct toggle between windowed and exclusive fullscreen modes (#1089)
* Allow direct toggle between windowed/exclusive FS

* Remove redundant destroy/free calls

* Fix secondary display window position

* Simplify window position update on shutdown
2023-05-31 17:37:44 +07:00
Alaux
0384971f82
Always color Chainsaw number green in Boom HUD (#1091) 2023-05-31 12:03:11 +02:00
Alaux
3330f9c7a5
Fix screenshot cropping with use_aspect == 0 (#1090) 2023-05-31 12:02:16 +02:00
Alaux
4e7ad58a2a
Fix weapon lowering upon death (#1086) 2023-05-30 05:09:50 -03:00
kraflab
43b47a8cb0 Fix blockmap limits
Co-Authored-By: andrey-budko <6490190+andrey-budko@users.noreply.github.com>
2023-05-29 21:58:07 +02:00
Fabian Greffrath
411f934292
only set quicksaveslot upon successful load/save completion (#1085)
Fixes #1083
2023-05-29 12:26:45 +02:00
Alaux
a2c40bbd2a
Fix stutter in weapon switching animation (#1082)
* Weapon switching fix proof-of-concept

* Fix switching anim with bobbing disabled

* Use enum
2023-05-28 03:31:37 -03:00
Fabian Greffrath
6dafe9b7b0
clean-up am_map.c (#1080) 2023-05-26 10:13:48 +02:00
Fabian Greffrath
f3e9ebbe07
document IDCLEV00 in cheats.md 2023-05-25 11:27:21 +02:00
Alaux
126a4f5269
Make IDCLEV00 restart the current map (#1079)
* Make IDCLEV00 restart the current map

* Brace on next line
2023-05-25 06:01:20 -03:00
Alaux
c5bb0a91f1
Don't snap Automap to player upon opening it with Follow Mode off (#1078)
* Don't always snap Automap to player upon opening

* Set `automapfirststart = true` in `AM_LevelInit()`

* Make `automapfirststart` static
2023-05-25 04:56:20 -03:00
Roman Fomin
9c361a0043
don't run SDL_RenderPresent in I_UpdateRender (#1077)
SDL's rendering functions operate on a backbuffer, the backbuffer should be
considered invalidated after each present; do not assume that previous contents
will exist between frames. Documentation:
https://wiki.libsdl.org/SDL2/SDL_RenderPresent
2023-05-25 12:56:56 +07:00
Alaux
38d6d21751
Remove unused/useless st_stuff.c/h code` (#1075) 2023-05-24 18:08:08 +07:00
Roman Fomin
bf1c0694e6
add half pixel correction to fix distortion (#1074) 2023-05-24 15:18:11 +07:00
Fabian Greffrath
097fa6a951 release Woof! 11.1.4 woof_11.1.4 2023-05-23 14:39:17 +02:00
Fabian Greffrath
5987722d5c didn't we say continue? 2023-05-23 14:38:32 +02:00
Fabian Greffrath
f3284e4ecd release Woof! 11.1.3 woof_11.1.3 2023-05-23 14:23:34 +02:00
Fabian Greffrath
153dd9f650 more fixes for DSDHacked sprites and sounds
Fixes #1072
2023-05-23 14:22:09 +02:00
Fabian Greffrath
626e5629bc release Woof! 11.1.2 woof_11.1.2 2023-05-23 10:25:21 +02:00
Roman Fomin
f6e3c01f1a
make cheat restrictions consistent for menu and player input (#1071)
* disable cheats in strictmode
2023-05-23 07:31:39 +07:00
Fabian Greffrath
6167d92086
avoid collisions between very long left/right aligned widgets (#1070)
* avoid collisions between very long left/right aligned widgets

* text widget with a cursor (i.e. chat widget) gets a line on its own

* build fix

* draw chat widget before messages

* add an align_topleft_exclusive mode for the chat and message widgets, which will always reserve a whole line for them
2023-05-22 11:59:08 +02:00
Fabian Greffrath
118d192ae6
implement centered widgets, avoid collisions with left/right aligned widgets (#1067) 2023-05-22 09:08:48 +02:00
ceski
e053e04331
winmidi: Prevent hanging notes when pausing game (#1069) 2023-05-22 13:54:59 +07:00
Roman Fomin
e89612a0c9
fix DSDHacked crash (#1066)
* fix sounds crash

* same issue with sprites
2023-05-21 15:46:22 +07:00
Roman Fomin
8a6e81ac29
fix automap overlay reset (#1064) 2023-05-20 09:04:08 +02:00
Roman Fomin
79bfb2b932 cmake: little clean up 2023-05-19 15:19:51 +07:00
Roman Fomin
9acc84de85 memio: init reset_eof field 2023-05-19 15:19:02 +07:00
Fabian Greffrath
d912403233 macroize the weapon state checks in P_MovePsprites() 2023-05-18 15:31:21 +02:00
Fabian Greffrath
6721c93497 release Woof! 11.1.1 woof_11.1.1 2023-05-17 22:21:01 +02:00
Roman Fomin
112fa537b2
set display resolution when toggle exclusive fullscreen (#1061)
If the game is started in windowed mode, when switching to exclusive fullscreen
mode, the the size of the window is applied to renderer instead of the size of
fullscreen. Tested on Win10.
2023-05-17 20:24:26 +02:00
Roman Fomin
cc058df7e0 remove disable widescreen mode menu item 2023-05-18 01:21:49 +07:00
ceski
fb03087079
winmidi: Sync with Chocolate Doom (#1060)
* Clean up `SendNullRPN()`

* Use GM as default case

* Use explicit casting for `MAKE_EVT` macro

* Limit max channel volume

* Rename `ConvertWideToUtf8()` to `M_ConvertWideToUtf8()`

Maintain consistency with other `M_*` functions.
2023-05-17 20:18:02 +02:00
Roman Fomin
feb602580e
fix setting EOF in memio (#1059) 2023-05-17 20:17:51 +02:00
Fabian Greffrath
3483ac7a96 release Woof! 11.1 woof_11.1.0 2023-05-17 10:13:23 +02:00
Fabian Greffrath
daabc909f0 fix 2023-05-17 08:22:07 +02:00
Fabian Greffrath
17bc0fb2c5 simplify invalid patch check on a per-patch base (instead of per-texture)
Also, improve PNG signature check, thanks @kraflab!
2023-05-17 08:18:56 +02:00
Fabian Greffrath
046a4bb83c
detect invalid patches, substitute dummy patch (#1058)
* add map announcements

* detect invalid patches, substitute dummy patch

Fixes crashes with WADs that use a PNG patch as sky, e.g. egregor.wad

* rename function to better reflect its, well, function

* Revert "add map announcements"

This reverts commit b285211727b55567a72d37aa0efdb0babd34f430.

* improve logging
2023-05-16 15:02:23 +02:00
Roman Fomin
c8b0b80545
Changelog update (#1057)
* update CHANGELOG.md

* fix formatting

* fix typos, add missed credit

* Update CHANGELOG.md

---------

Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2023-05-16 12:39:41 +02:00
Fabian Greffrath
3fd2db56ad
distinguish exit with message on error and on success (#1055) 2023-05-14 16:09:57 +02:00
Joan Bruguera
53024044fd
fix initialization with invalid video_display setting (#1054)
If the `video_display` setting is invalid (for example, due to a
disconnected monitor), it was reset on `I_GetWindowPosition`, which
is called during video initialization.

However, commit dc4182d6d81f ("add exclusive fullscreen to the menu")
reordered the initialization logic. As a result, an invalid
`video_display` can be passed to `SDL_GetCurrentDisplayMode`, causing
Woof to exit before the `video_display` reset logic is run.

Commit cab179594848 ("i_video.c refactor, resize upscaled texture on
window resize") somewhat mitigates the problem, but an exit still
happens when `fullscreen = 1` and `exclusive_fullscreen = 1`.

Fix this by moving the `video_display` reset logic to a separate
function which is called at the very start of video initialization.
2023-05-14 13:00:52 +02:00
Roman Fomin
2754a5d505
Merge pull request #1053 from ceski-1/winmidi-update
winmidi: Compatibility update
2023-05-14 16:17:49 +07:00
ceski
2c327067ea Use stdio.h instead of m_io.h 2023-05-13 14:17:21 -07:00