Commit graph

20069 commits

Author SHA1 Message Date
Christoph Oelckers
69a7715a02 - added all the prerequisites for the cutscene system from Raze:
* libvpx library
* libsmackerdec
* playmve
* MoviePlayer class.
* ScreenJob engine core.
2022-04-26 20:50:34 +02:00
Christoph Oelckers
339419240c - added compat_nombf21 for cchest2.wad, map 19. 2022-04-25 20:52:24 +02:00
Kevin Caccamo
ecc0afd2f2 Fix usage of -1 as OBJ model FrameIndex
So that what is said on the ZDoom Wiki (see https://zdoom.org/wiki/MODELDEF#Notes) holds true for OBJ models.
2022-04-24 19:40:08 +02:00
Christoph Oelckers
4aa04f11ce - zip64 handling 2022-04-22 11:10:25 +02:00
Christoph Oelckers
6cb035b7b2 - added workaround to Dehacked so that „Doom“ only replaces the music name
Of all these short strings this is the only one that occurs elsewhere as well.
2022-04-22 00:53:27 +02:00
Rachael Alexanderson
0fa830ddd7 Revert "- change cvars gl_custompost and gl_customshader to archive and save to .ini since there are uses for these shaders beyond mere debugging."
This reverts commit 2420371c46.
2022-04-21 02:49:39 -04:00
Rachael Alexanderson
991b4725dd Revert "- don't modify gl_customshader cvar in GLES backend; the backend will not show custom shaders anyhow"
This reverts commit ab27d1dd33.
2022-04-21 02:48:07 -04:00
Christoph Oelckers
40e50f07e9 - fixed some incorrect array allocation sizes in polyobj code 2022-04-19 10:25:14 +02:00
Christoph Oelckers
11b1a2ef7b - revert. accidental change in polyobject code 2022-04-19 10:21:45 +02:00
Christoph Oelckers
a491085822 - added missing range check for scrolling down an option menu with the mouse wheel. 2022-04-18 00:09:38 +02:00
Christoph Oelckers
760bffbf06 - do not clamp warped textures. 2022-04-17 23:41:20 +02:00
alexey.lysiuk
201652bb36 - removed useless linker flags set by Discord RPC for macOS
This fixes lots of 'object file was built for newer macOS version than being linked' warnings
2022-04-17 16:52:00 +03:00
Christoph Oelckers
346cae04be - disabled deletion of previous event handlers when using 'eventhandler' keyword in MAPINFO. 2022-04-17 13:25:07 +02:00
Christoph Oelckers
1c4d48f5f2 - added some fudging so that the Dehacked parser can properly deal with ConsumeAmmo.
This is a parameterized code pointer, so checking state functions for names won't work. Additionally, the handling was not correct for weapons with an ammo use other than 1.
2022-04-17 08:53:52 +02:00
Christoph Oelckers
525351c695 - fixed: decal things failed to spawn their decals on 3D floors.
The value wasn't passed on to StaticCreate.
2022-04-16 22:49:13 +02:00
Christoph Oelckers
2f90f49931 - validate the index argument for GetSavegame and abort if out of range. 2022-04-16 22:27:59 +02:00
Christoph Oelckers
05260d8e8a - don't let "give weapons" hand out abstract weapons. 2022-04-16 22:19:38 +02:00
Rachael Alexanderson
43a419b318 - lock cvar shader uniforms behind a command line parameter for now 2022-04-16 12:12:40 -04:00
Christoph Oelckers
1ba4dfbfa8 - fixed setup of PolyBSPs when the software renderer is active.
Some needed initialization was still in the hardware renderer and not the data creator.
2022-04-15 23:59:43 +02:00
Christoph Oelckers
d24f41a595 - Remain 3, MAP11 also needs compat_nombf21. 2022-04-15 23:20:37 +02:00
Christoph Oelckers
bdab9c2d9d - fixed Dehacked drop items. 2022-04-15 23:10:53 +02:00
Christoph Oelckers
446a24d095 - added nombf21 compat setting for Heroes Tales MAP31 2022-04-15 23:01:58 +02:00
Christoph Oelckers
3fa7fb7158 - fixed: The alt HUD's draw call did not use the virtual interface. 2022-04-15 22:54:26 +02:00
Christoph Oelckers
a40b1f1934 - fixed: group teleporters must always preserve orientation. 2022-04-15 22:49:23 +02:00
Christoph Oelckers
a25ba16755 - don't move bad polyobjects in the savegame loader. 2022-04-15 22:41:55 +02:00
Christoph Oelckers
c8296f0d7c - cast arguments for fastcos/sinbam
Use xs_Float to ensure proper wraparound which is important here.
2022-04-15 22:31:12 +02:00
Christoph Oelckers
a669d3718f - copy size info from defaults when starting a list menu block. 2022-04-15 22:30:11 +02:00
Christoph Oelckers
e7f78ce911 - handle cases of empty state labels in ZScript.
Sadly this cannot print a full error message because it got no context for it when it is detected.
2022-04-15 22:25:04 +02:00
Emile Belanger
3724f8a67c GLES: Fix blend flags 2022-04-15 21:06:27 +02:00
Christoph Oelckers
9c5b284d72 - fixed bad color range check in ACS HudMessage code. 2022-04-14 14:04:26 +02:00
Christoph Oelckers
d0e1aea273 - fixed Dehacked check for A_ConsumeAmmo.
This must use the internal function name.
2022-04-14 12:21:24 +02:00
Christoph Oelckers
8b1d671f6b - fixed y-offsets of bal7scr* decal images. 2022-04-13 08:10:20 +02:00
Christoph Oelckers
8b20c69a76 - removed duplicate light definition 2022-04-12 01:11:04 +02:00
Christoph Oelckers
29d1739371 - let A_SpawnParticle respect the float bob offset 2022-04-12 00:52:11 +02:00
Christoph Oelckers
18ebc9986e - separate message for disabling noclip2 2022-04-12 00:51:34 +02:00
Christoph Oelckers
7c2d315479 - added a nullptr check for StatusBar when drawing „Paused“
It looks like some edge cases can trigger this.
2022-04-12 00:37:15 +02:00
Christoph Oelckers
c4408d8536 - added a bit of hackery so that compatmode CVAR can be set up on startup 2022-04-12 00:31:31 +02:00
Christoph Oelckers
dfdf330722 - make menu scale adjustments for ultra-wide aspect ratios. 2022-04-12 00:30:43 +02:00
Christoph Oelckers
bc566fac4e - treat PSP layer ID 0 as invalid
No PSprites with this ID may ever be created, as there is no means to find them again.
2022-04-12 00:17:25 +02:00
Christoph Oelckers
f3d557bcf5 - fixed: The skill menu did not remember its last selection. 2022-04-12 00:04:45 +02:00
Rachael Alexanderson
36245ae598 - allow artifacts that do not automatically activate to be given by the 'give artifacts' cheat 2022-04-11 15:59:20 -04:00
Christoph Oelckers
a97a2ec133 - backend sync with Raze
Nothing really useful here…
2022-04-11 00:26:50 +02:00
Christoph Oelckers
45e7badb71 - avoid passing game structs to common backend code
InitLightmap was using a „FLevelLocals“ pointer, better pass the needed elements separately instead.
2022-04-11 00:01:30 +02:00
Lippeth
af957b438a reverted language change 2022-04-09 22:46:20 +02:00
Lippeth
9de7721e62 reverted language change 2022-04-09 22:46:20 +02:00
Lippeth
7830033722 - added vertical bullet spread relative to ssg 2022-04-09 22:46:20 +02:00
Emanuele Disco
71dedf6c87 Fixed GUS Emulation with DMXGUS(C) lump conf.
- changed default value for midi_config to empty string since gus is not working with sf2 file
- fixed SetupDMXGUS not loading lump correctly, wrong use of CheckNumForFullName
- midi_config default to empty string, since lzdoom.sf2 doesn't seem supported (distorted sound)
- added absolute paths to FZipPatReader so we can add custom patches to resource files by using gus_patchdir and/or ULTRADIR variable (some custom maps has custom patches that can be added this way without putting them inside the resource file or in the same folder of the configuration file)
- set timidity_reverb_level min value to 0 in menudef.txt, set to 9 by mistake?
2022-04-09 22:45:31 +02:00
inkoalawetrust
3d1ddbc80e
Toggleable player following. (#1583)
* Added MF8_DONTFOLLOWPLAYERS.

Added the MF8_DONTFOLLOWPLAYERS flag, which allows friendly monsters to not follow their FriendPlayer when they have no target or goal left to head to.

* Changed the order that the DONTFOLLOWPLAYERS check runs in.

This is done to not produce unnecessary overhead on hostile monsters.
2022-04-07 23:32:16 -04:00
Christoph Oelckers
e0289eb0ac - fixed Font struct export and removed the duplicate handler. 2022-04-07 15:11:50 +02:00
Rachael Alexanderson
049124ed21 - fix spacing in udmf-zdoom specs document 2022-04-06 04:06:20 -04:00