Latest Raze Changes
Latest 50 commits
Unofficial development builds at DRD Team
17-Mar-2024 (Sunday) at 19:29:42 EDT by Kyle Evans
src: filesystem: move includes out of the FileSys namespace
The previous situation is unfortunately not sustainable; header pollution isn't consistent across all non-Windows platforms. As a result, some of the earlier includes may pull functions/types into the global namespace too soon, and the later includes will have no visibility of them because they're in a different namespace. Re-including the necessary one doesn't work because include guards will prevent their re-inclusion, and it's not a good idea to try and #undefine include guards now that we're in a new namespace.
This fixes the build on FreeBSD, and likely some other systems as well.
17-Mar-2024 (Sunday) at 16:49:16 EDT by Ricardo Luís Vaz Silva
Make TArray take functions by forward-reference and call them by invoke
(1. avoids copying for lambdas, and 2. allows passing methods)
17-Mar-2024 (Sunday) at 16:47:53 EDT by Ricardo Luís Vaz Silva
Fix A_ChangeModel serialization
I overlooked this part on my first A_ChangeModel fix
04-Mar-2024 (Monday) at 23:04:49 EST by Ru5tK1ng
Use fromDeg for angle of 0.
03-Mar-2024 (Sunday) at 22:33:35 EST by Ru5tK1ng
Fixed: A_LookEx did not account for the +LOOKALLAROUND flag.
12-Mar-2024 (Tuesday) at 18:17:20 EDT by Ricardo Luís Vaz Silva
Export A_DoChase to zscript and make A_Chase a direct native function
17-Mar-2024 (Sunday) at 00:58:24 EDT by Rachael Alexanderson
- add missing include for macos
16-Mar-2024 (Saturday) at 23:22:42 EDT by Rachael Alexanderson
- accidentally added erroneous quotes to the last commit
16-Mar-2024 (Saturday) at 22:58:29 EDT by Rachael Alexanderson
- don't show path if longsavemessages is false. fixes https://github.com/ZDoom/gzdoom/issues/2467
15-Mar-2024 (Friday) at 16:19:02 EDT by Ricardo Luís Vaz Silva
Unrevert two changes
- Sorted Delete for TArray
- Typed constructor for TObjPtr
14-Mar-2024 (Thursday) at 17:51:42 EDT by Ricardo Luís Vaz Silva
Fix crash with DecoupledModels flag defined but no actual model
15-Mar-2024 (Friday) at 15:24:39 EDT by Christoph Oelckers
Reverted the path node system
Code reviews were unfavorable so better nix it before it finds wider use.
15-Mar-2024 (Friday) at 13:33:17 EDT by Ricardo Luís Vaz Silva
Fix missing newlines in animation messages
13-Mar-2024 (Wednesday) at 15:47:37 EDT by Major Cooke
- Fixed: ROLLCENTER was always being applied even when the flag wasn't present.
14-Mar-2024 (Thursday) at 17:51:42 EDT by Ricardo Luís Vaz Silva
Fix crash with DecoupledModels flag defined but no actual model
13-Mar-2024 (Wednesday) at 19:12:03 EDT by nashmuhandes
The default bind was wrong here (supposed to be Pov1, not Pov2. Obviously a typo)
13-Mar-2024 (Wednesday) at 14:10:10 EDT by Major Cooke
- Fixed: Fear checks were incorrect when accounting for player being present or not.
13-Mar-2024 (Wednesday) at 11:49:53 EDT by Major Cooke
Fixed typo
09-Mar-2024 (Saturday) at 14:02:35 EST by Major Cooke
Enhanced pathing for floaters
Their checks are now 2D instead of 3D.
12-Mar-2024 (Tuesday) at 17:30:35 EDT by nashmuhandes
Expose LandingSpeed
to ZScript. This controls the minimum Z velocity from falling down that's needed to "squat" the player's view (defaults to -8).
10-Mar-2024 (Sunday) at 12:40:50 EDT by Boondorl
Adjusted view angle interpolation
Now uses deltaangle to get the shortest interpolation path for angles.
08-Mar-2024 (Friday) at 13:54:02 EST by Boondorl
Fix for Morph virtual
Allows class
27-Feb-2024 (Tuesday) at 19:46:38 EST by Major Cooke
Missed this one.
24-Feb-2024 (Saturday) at 20:44:57 EST by Major Cooke
Clear the path instead of advancing the node when crossing portals.
- If an actor crosses back over a portal because they're blocked, it will result in false positives.
- Fixed nodes not being targeted for aim direction.
22-Feb-2024 (Thursday) at 19:20:40 EST by Major Cooke
Extra safety checks.
22-Feb-2024 (Thursday) at 16:52:23 EST by Major Cooke
Comment warning to modders.
22-Feb-2024 (Thursday) at 09:41:50 EST by Major Cooke
Implemented KEEPPATH flag.
19-Feb-2024 (Monday) at 11:43:35 EST by Major Cooke
Added ExcludeNode virtual for actors to reject certain nodes of choice.
- Changed MeleeRange to FriendlySeeBlocks so it's supported by Doom Builder.
16-Feb-2024 (Friday) at 10:22:20 EST by Major Cooke
More progress.
- AMBUSH flag on nodes makes them blind and untargetable when getting
startnode
andgoalnode
forFindPath()
. This is useful for indicating a node should be skipped when tele/portaling, so the current path can be preserved. - Setup is simple: place nodes behind lines that tele/portal entities and mark them as AMBUSH.
Other changes:
- Restored global array since blockmap is not a viable option here.
- Added MAPINFO
pathing
flag which enables pathing by default. - Added NOPATHING flag to disable pathing entirely, useful for maps that have pathing enabled.
- Added
ReachedNode(Actor mo)
virtual, responsible for handling node traversal. - Nodes now make use of MeleeRange to limit their sight checking functions.
13-Feb-2024 (Tuesday) at 15:54:07 EST by Ricardo Luís Vaz Silva
AStar
13-Feb-2024 (Tuesday) at 15:47:23 EST by Ricardo Luís Vaz Silva
...
13-Feb-2024 (Tuesday) at 14:44:10 EST by Ricardo Luís Vaz Silva
TArray Binary Search
12-Feb-2024 (Monday) at 19:57:16 EST by Major Cooke
Begin adding PathNodes.
07-Feb-2024 (Wednesday) at 17:56:38 EST by Boondorl
Improvements to death and cheat handling
Extra safety to ensure dummy Actor deaths properly emulate a real death and aren't duplicate called. Fixed a crash when using the kill command while set to unmorph on death. Super morphing is now possible while using the morphme cheat if passing the morph class directly. Added a flag to ignore player invulnerability completely when morphing.
14-Jan-2024 (Sunday) at 19:41:58 EST by Boondorl
Improved ZScript interface for morphing
Added getter and setter functions for handling whether or not the player fields should be gotten/set. Added MRF_KEEPARMOR flag to prevent stripping armor on morph. Optimized unmorphed Actor by setting it to NoInteraction and removing it from the blockmap and sector lists.
01-Jan-2024 (Monday) at 11:50:01 EST by Boondorl
Further morphing clean up
Players will now use their Alternative field to check if they're morphed instead of their MorphTics. This makes the current state of morphing more reliable, otherwise setting this to 0 manually without unmorphing could have very odd results. Both monsters and players consider 0 morph time to mean infinite now (previously this only applied to monsters). Player unmorphs no longer die in the case of a failed unmorph on death. Removed inventory swapping on player pointer substitution as it's too messy to do here.
01-Jan-2024 (Monday) at 01:31:25 EST by Boondorl
Fixed inconsistencies between player and monster morphing
The Tome of Power and Chaos Device will now work on non-players. The STAYMORPHED flag will now work on players.
31-Dec-2023 (Sunday) at 21:41:03 EST by Boondorl
Reworked Morphing
Removed StaticPointerSubstitution in favor of a much safer function that only changes select pointers. As a result the ability to properly modify morphing has been opened back up to ZScript. Many missing virtual callbacks were amended and MorphedDeath has been reworked to only be called back on an actual morphed death. MorphedMonster is no longer required to morph an Actor. CheckUnmorph virtual added that gets called back on morphed Actors. Fixed numerous bugs related to morph behavior.
28-Feb-2024 (Wednesday) at 00:32:15 EST by Boondorl
Reworked view offsetting
View offsets are now added after the base position and angles (accounting for interpolation) are calculated. Behavior was centralized into a singular tracer that all view offsets now use to prevent clipping out of the map. Cleaned up camera rendering behavior. Angles are now properly normalized after all offsetting is accounted for. The chase cam can now update in real-time instead of forcing interpolation.
01-Mar-2024 (Friday) at 05:56:15 EST by Rachael Alexanderson
- merge pull request https://github.com/ZDoom/gzdoom/pull/1577/files
27-Feb-2024 (Tuesday) at 01:20:12 EST by Christoph Oelckers
fixed resource leak in OpenDecompressor
26-Feb-2024 (Monday) at 21:01:37 EST by RaveYard
Support negative fadestep for particles
26-Feb-2024 (Monday) at 13:55:54 EST by Rachael Alexanderson
- fix https://github.com/ZDoom/gzdoom/issues/2415 - wait to call V_Init2() until after exec commands are processed
21-Feb-2024 (Wednesday) at 17:06:32 EST by Boondorl
Improvements to Network Commands/Buffers
Fixed a memory leak in DNetworkBuffer. Added native function support to FNetworkCommand and DNetworkBuffer. Exposed EndOfStream() for FNetworkCommand.
19-Feb-2024 (Monday) at 13:35:01 EST by Boondorl
New API for assigning unique network ids to objects
25-Feb-2024 (Sunday) at 17:52:27 EST by Boondorl
Fixed view position forcing camera interpolation
Fixed absolute view position not working. Camera Actor is no longer visible when using view offsets.
24-Feb-2024 (Saturday) at 11:20:44 EST by Boondorl
Added real-time client camera tracking for texture cams
23-Feb-2024 (Friday) at 14:39:58 EST by Boondorl
Fixes for SCALEDNOLERP
No longer relies on last input fraction to determine offset on frame (now uses TicFrac). No longer modifies Actor angle in real-time. Fixed offsetting breaking when other viewports are being renderer.
22-Feb-2024 (Thursday) at 20:03:01 EST by Ricardo Luís Vaz Silva
Fix readonly for SpecialBounceHit virtual
19-Feb-2024 (Monday) at 06:25:05 EST by Magnus Norddahl
Fix precache unload bug in FHardwareTextureContainer::UnmarkAll