1946 Commits

Author SHA1 Message Date
Fabian Greffrath
5b832c021b
do not apply weapon centering in strict mode (#1121)
* do not apply weapon centering in strict mode

* checkfor psp->state only once
2023-07-02 15:54:37 +02:00
Roman Fomin
17ab98a864
separate oldgametics counters for floors and ceilings (#1120)
* force T_MoveFloor interpolation

* don't fail fast at CI

* separate oldgametic fields for floors and ceilings

* cosmetic change
2023-07-02 15:41:35 +07:00
Fabian Greffrath
c86904de68
make direct aiming slope range symmetrical, so it matches autoaim slope range (#1117) 2023-06-26 06:22:31 +02:00
Fabian Greffrath
b131d5ff12
change player slope denominator to 160 (#1116)
* change player slope denominator to 160

* improve wording
2023-06-25 16:44:12 +02:00
Fabian Greffrath
2622133154
do not highlight crosshair when shotting over/under target with direct aiming (#1115) 2023-06-24 17:21:52 +02:00
Roman Fomin
8d2fcdbad0
win midi: refactor pause state booleans into enum (#1114)
* make pause states enum

* flush buffer immediately, cosmetic changes

* sync with Chocolate Doom version
2023-06-24 21:13:38 +07:00
Fabian Greffrath
4b631e7944
avoid unnecessary bit-shifts in ds_xstep/ds_ystep calculation (#1111)
* de-obfuscate numerical constants

* avoid unnecessary bit shifts in ds_xstep/ds_ystep calculation

* add comment
2023-06-19 14:42:34 +02:00
Roman Fomin
40f508d2aa win midi: more initialization checks 2023-06-19 13:34:04 +07:00
Roman Fomin
af60bcad49 add missed checks to i_winmusc and i_flmusic 2023-06-19 12:47:23 +07:00
Roman Fomin
2d296deeb0
win midi: increase BUFFER_INITIAL_SIZE, wait no more than 3 seconds (#1109)
Avoid midiOutUnprepareHeader() which contains use after free (tested with
ASan).

* manually unset `MHDR_INQUEUE` flag

* never delete buffer

* prepare header for new handle
2023-06-19 10:39:27 +07:00
Fabian Greffrath
01d31eb495
only reset visible parts of visplane rendering arrays (#1110) 2023-06-18 17:08:45 +02:00
Fabian Greffrath
990dde6b68 fix spelling error 2023-06-16 10:33:35 +02:00
Roman Fomin
fcd26e812a
keep ceilings mapping with ceilings, and floors mapping with floors (#1108)
Taken from Eternity Engine.
2023-06-16 13:36:46 +07:00
Fabian Greffrath
d92b18bac4 convert visplane_t.top/bottom to unsigned short 2023-06-14 21:42:03 +02:00
Fabian Greffrath
ecd30c9605 remove unused basexscale, baseyscale from r_plane.c 2023-06-14 21:33:45 +02:00
Fabian Greffrath
abae3c2a8e
check for features first, restrictive conditions second (#1106)
* check for features first, restrictive conditions second

* fix missing parenthesis

* revert macros
2023-06-14 09:17:14 +02:00
Fabian Greffrath
8bc2c4ed39
add direct vertical aiming (from Crispy Doom) (#1105)
* add direct vertical aiming (from Crispy Doom)

* add comment
2023-06-13 14:22:52 +02:00
Fabian Greffrath
a9bb88c212 release Woof! 11.2.0 woof_11.2.0 2023-06-13 13:13:59 +02:00
Roman Fomin
70856dc8cf
update CHANGELOG.md (#1104)
* update CHANGELOG.md

* mention UMAPINFO fix
2023-06-13 13:12:03 +02:00
Roman Fomin
89e5ab3678
umapinfo: fix intertext field for Doom 1 (#1103) 2023-06-13 16:33:54 +07:00
Roman Fomin
14e55738d9 fix complevel 3 in demo footer, whitespace 2023-06-13 10:00:32 +07:00
Roman Fomin
4cfe6a4d69 don't check homebrew dependencies (speed up macOS CI) 2023-06-12 16:50:20 +07:00
Fabian Greffrath
0c8e524e3d
force interpolation in second call to T_MovePlane() (#1101)
* Revert "fix door interpolation in Doom2 MAP19 (#1100)"

This reverts commit 9b1ec60e3c1e69f26174f82b1b44f6245702a322.

* fix door interpolation in Doom2 MAP19

* force interpolation in second call to T_MovePlane()

---------

Co-authored-by: Roman Fomin <rfomin@gmail.com>
2023-06-12 11:34:59 +02:00
Roman Fomin
9b1ec60e3c
fix door interpolation in Doom2 MAP19 (#1100)
* fix Boom elevators
2023-06-12 14:17:04 +07:00
tomas7770
51274c1c83
Fix P_RadiusAttack dist depending on damage (#1099)
Fix variable "dist" in P_RadiusAttack depending on damage (like vanilla Doom), which causes attack radius to actually depend on damage. Now depends on distance arg (like dsda-doom).
2023-06-12 08:48:41 +02:00
Fabian Greffrath
cdb9a57545 fix cheat key menu ordering 2023-06-12 08:46:34 +02:00
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