Commit graph

20750 commits

Author SHA1 Message Date
Ricardo Luís Vaz Silva
43880bbbe1 Expose StripLeft and StripLeftRight to ZScript 2022-12-19 14:00:09 +01:00
Ricardo Luís Vaz Silva
3ffbda5526 Fix StripLeftRight 2022-12-19 14:00:09 +01:00
Ricardo Luís Vaz Silva
fb33a29400 Error out instead of crashing for vector out variables 2022-12-18 19:46:22 +01:00
Christoph Oelckers
941c0850ba - Backend update from Raze.
Mainly optimizations for the sound system and texture manager.
2022-12-18 16:19:18 +01:00
Christoph Oelckers
79a38f1f3a Merge branch 'master' of https://github.com/coelckers/gzdoom 2022-12-18 15:21:42 +01:00
Boondorl
0d4d5587b5 Added FOV Interpolation 2022-12-18 08:23:19 +01:00
Rachael Alexanderson
a0cd1ba04a - move flight viewbob to misc menu 2022-12-17 01:23:22 -05:00
Rachael Alexanderson
b08295e7e1 - fix spacing 2022-12-16 20:40:05 -05:00
CandiceJoy
0fdb740ac7
Added toggle control for weapon bob while flying 2022-12-16 17:12:03 -06:00
Ricardo Luís Vaz Silva
de65d1b96f Misc Fixes for BobWeapon3D
- Fix inverted Y axis for offset/old BobWeapon
- finish adding PSPF_MIRROR
- fix missing pivot
2022-12-12 15:23:12 +01:00
Christoph Oelckers
e17e6868e6 - removed bogus errno check from Dehacked parser.
This checked errno without first confirming that there has been an error, it is also pointless because the value range check will automatically catch the error case as well.
2022-12-11 21:08:22 +01:00
alexey.lysiuk
561bce40fc
- removed clangformat from discord-rpc 2022-12-11 17:15:09 +02:00
Ricardo Luís Vaz Silva
46d36cf5c7 add BobWeapon3D 2022-12-09 21:49:38 +01:00
Boondorl
9a1e666303 Exposed Box and PointOnLineSide 2022-12-08 20:33:11 +01:00
Ricardo Luís Vaz Silva
dce456783d Add support for Vector types as properties 2022-12-08 18:12:27 +01:00
Christoph Oelckers
68f48f3830 - removed bogus errno check from Dehacked parser.
This checked errno without first confirming that there has been an error, it is also pointless because the value range check will automatically catch the error case as well.
2022-12-08 09:50:06 +01:00
Boondorl
b1cb044a15 Fixed IsActorPlayingSound's default argument
Now properly passes the invalid sound id.
2022-12-06 12:16:29 +01:00
Ricardo Luís Vaz Silva
b610f4206f Fix wrong assumptions about actor initialization in Map/MapIterator 2022-12-05 19:23:42 +01:00
Rachael Alexanderson
911d27148b g4.11pre 2022-12-05 10:31:11 -05:00
Christoph Oelckers
aedf0e3ce5 - fixed GC::FullGC not collecting everything anymore.
With the delayed handling of internal references of destroyed objects the function now returned without making sure that it really got everything.
Repeating until it cannot delete anything new anymore makes it work again as intended.
2022-12-05 12:29:03 +01:00
Christoph Oelckers
2ed8e6780e - fixed some bad character offsets in Doom's and Raven's small fonts and deleted an incomplete character. 2022-12-05 12:05:26 +01:00
Magnus Norddahl
449501c75b Fix compile error on macOS 2022-12-05 07:49:43 +01:00
Magnus Norddahl
4c85f461b1 Avoid calling vulkan functions before the instance has been created 2022-12-05 07:49:43 +01:00
Magnus Norddahl
0a80ad3b83 Add missing forward declarations 2022-12-05 07:49:43 +01:00
Magnus Norddahl
cc96742d18 Add missing include statement 2022-12-05 07:49:43 +01:00
Magnus Norddahl
03ab65ab1e Fix linux compile errors from the zvulkan switch 2022-12-05 07:49:43 +01:00
Magnus Norddahl
6a005e3a2a Switch vulkan backend to use the zvulkan library 2022-12-05 07:49:43 +01:00
Ricardo Luís Vaz Silva
854c57611f Fix Quicksave Rotation 2022-12-05 07:48:51 +01:00
Magnus Norddahl
7ae07d614e Add all the functionality from the win32 startup window to the GTK version 2022-12-05 07:48:21 +01:00
Ricardo Luís Vaz Silva
24d27a6746 Fix PMapValueReader warning on Clang/GCC 2022-12-04 23:53:51 +01:00
Ricardo Luís Vaz Silva
92761feee1 Add casts to F32 Map/MapIterator functions to get rid of double to float conversion warnings 2022-12-04 21:15:46 +01:00
Christoph Oelckers
5b3f597438 - text update. 2022-12-04 15:34:47 +01:00
Mitchell Richters
6629944d39 - Make the new scaled angle changes at frame rate opt-in behind new flag SPF_SCALEDNOLERP.
* This will still test whether the game needs to lerp and will force `SPF_INTERPOLATE` if needed.
2022-12-04 15:11:17 +01:00
Mitchell Richters
cf1ac82da3 - Set up interpolated camera angle changes to occur at framerate when all conditions in P_NoInterpolation() are met. 2022-12-04 15:11:17 +01:00
Mitchell Richters
20bf9e89f5 - Split insane interpolation test if statement into a function, we'll need this elsewhere later on. 2022-12-04 15:11:17 +01:00
Mitchell Richters
9f9c1eb18a - Make view angles interpolate on a separate flag to the one that forces interpolation for the entire frame.
* As view angles are an offset, there's no reason why these cannot lerp separately.
2022-12-04 15:11:17 +01:00
Mitchell Richters
6594ec0750 - Remove local angle truncation in R_InterpolateView().
* Genuinely see no need for this. If the local angle is BAM, why not just use it to its maximum precision?
2022-12-04 15:11:17 +01:00
Mitchell Richters
c99b18dc45 - Bring in interpolatedvalue() for TRotator<> objects from Raze.
* Would have come in eventually but I may need it.
2022-12-04 15:11:17 +01:00
Ricardo Luís Vaz Silva
8b6a714d41 Map<K,V> and MapIterator<K,V> for ZScript 2022-12-04 15:11:00 +01:00
Christoph Oelckers
1e5e65546d Revert "- add support for not localizing some text functions, and modify menu text fields to use this"
This reverts commit 91d3c4b606.

This completely breaks the menus, so it needs to go.
2022-12-04 08:13:04 +01:00
Ricardo Luís Vaz Silva
cd46f97dcc Structified A_SpawnParticle/Ex 2022-12-03 23:54:52 +01:00
Marisa the Magician
9ad7b8a048 Look up named frames using the Animation ID (if any). 2022-12-03 23:30:59 +01:00
Gutawer
91d3c4b606 - add support for not localizing some text functions, and modify menu text fields to use this 2022-12-03 23:30:38 +01:00
Ricardo Luís Vaz Silva
f666edc60c Allow Disabling of XY Billboard for Particles 2022-12-03 23:27:46 +01:00
Boondorl
964534f4b0 Added Method For Getting Portal Group Count 2022-12-03 23:27:01 +01:00
Boondorl
ad80593cb7 Allow Getting Portal Group Offsets 2022-12-03 23:27:01 +01:00
Christoph Oelckers
e8d7e0227b - fixed two memory leaks. 2022-12-03 20:39:54 +01:00
Shiny Metagross
169139c22c Fixed A_Changemodel crash from invalid modeldef names
- Invalid modeldef names no longer result in a crash

https://forum.zdoom.org/viewtopic.php?t=76810
2022-11-30 18:26:26 +01:00
Kevin Caccamo
6cf3dc045f Fix SNDINFO $rolloff always changing global rolloff
I investigated the issue a bit more by copying the grenade sounds from Wolfenstein: Blade of Agony and the definitions for the sounds from its SNDINFO lump, and then copying the entire SNDINFO lump from Wolfenstein: Blade of Agony into a small test mod, and disabling tags like $volume and $rolloff using sed. It turns out disabling $rolloff tags fixed the issue, and looking into the code, it seems as though the global rolloff was always being changed, or that rolloff was picking up a garbage pointer.

Fixes #1849
2022-11-27 21:02:07 +01:00
Ricardo Luís Vaz Silva
1a7a56ce39 Fix GC ignoring DynArrays inside fixed Arrays 2022-11-27 08:19:41 +01:00