Commit graph

4788 commits

Author SHA1 Message Date
Boondorl
236c9b4224 Added FindClass
Allows for classes to be looked up during run time without having to use string casting.
2025-02-20 04:14:18 -03:00
marrub
9f6c1d65c5 add default cvar getters 2025-02-20 04:14:07 -03:00
f7cjo
f1e6445e82 Add GetSelfObituary 2025-02-20 04:13:56 -03:00
inkoalawetrust
b54da619ad Added spawn origin flags.
- Added new spawn flags that allow for checking if an actor was spawned by the level, the console, or ACS/DECORATE/ZScript.
2025-02-20 04:13:36 -03:00
Boondorl
606bc1d04e Added versioning for Behaviors 2025-02-20 04:12:46 -03:00
Boondorl
7a4927fdf5 Added TransferredOwner virtual
Allows for proper cleaning up of behaviors when moving between Actors. Important for player respawn handling and morphing.
2025-02-20 04:12:46 -03:00
Boondorl
7efd301810 Clean up for Behavior API
Use TObjPtr to improve null checking. Add option to clear only specific kinds of Behaviors. Fixed removal checks while ticking. Don't stop at now-null behaviors when iterating.
2025-02-20 04:12:46 -03:00
Boondorl
3d6506df5b Added owner type parameter to iterator 2025-02-20 04:12:46 -03:00
Boondorl
14f7a10ae6 Added global iterator for behaviors
Imported Behaviors to the engine to allow them to properly clean up their level list. Restrict Behaviors from being new'd in ZScript as they need an owner to function.
2025-02-20 04:12:46 -03:00
Boondorl
e27bf38165 Added behavior iterator for Actors
Renamed Readded to Reinitialize.
2025-02-20 04:12:46 -03:00
Boondorl
bd60fd7546 Added initial Behavior API
Allows for arbitrary behaviors to be attached to Actors in a way that doesn't require the use of Inventory tokens. This list can't be freely modified nor can it have duplicates meaning it has far better deterministic behavior than using Inventory items for this purpose.
2025-02-20 04:12:46 -03:00
Rachael Alexanderson
e01297803a
- language update 2025-02-16 00:29:50 -05:00
Boondorl
fdd2a90545 Fixed ammo and backpack with local items on
Now avoids duplicate calling CreateCopy
2025-02-14 13:43:58 -05:00
Boondorl
a7d4d409a0 Added PlayerRespawning event
Allows denying player respawns for better control on special game modes e.g. Last Man Standing.
2025-02-14 03:49:56 -05:00
Boondorl
567a180d2b Added is3DFloor parameter to SpecialBounceHit
Allows for better plane bounce handling e.g. flipping the normal.
2025-02-11 20:49:39 -03:00
Ricardo Luís Vaz Silva
bfd9b6f720 add static function to convert ints to names 2025-02-08 16:49:00 -03:00
Ricardo Luís Vaz Silva
f2ecdc5d96 fix id24 weapons transparency 2025-02-08 15:05:16 -03:00
Ricardo Luís Vaz Silva
fa2f03f60b replace incomplete flags from DECOHACK with projectile combo 2025-02-08 15:05:16 -03:00
Ricardo Luís Vaz Silva
5bc5df8429 fix ammo give/autoaim for incinerator/calamity blade 2025-02-08 14:55:29 -03:00
Ricardo Luís Vaz Silva
33bae944f7 allow optionally skipping initial wipe in in-game intermissions 2025-02-07 20:17:54 -03:00
nashmuhandes
74a04474e1 Smoothly interpolate the player pitch-centering action 2025-02-07 04:57:56 -05:00
Boondorl
59ac494c19 Make CopyBloodColor readonly
Allows getting blood colors from default Actors.
2025-01-31 05:49:34 -05:00
Ricardo Luís Vaz Silva
987a07bcdf add fuel/calamity blade/incinerator from id24 2025-01-30 13:34:25 -03:00
Ricardo Luís Vaz Silva
e543e26bdc expand deprecation allowance for gzdoom.pk3 2025-01-30 13:34:25 -03:00
Boondorl
864fe1f66f Added translation argument for A_SprayDecal 2025-01-30 13:32:18 -03:00
nashmuhandes
aae8c12cdf Add a particle flag to allow user shaders on the sprites 2025-01-29 17:00:12 -03:00
Boondorl
3db1ee9a1e Improvements for VisualThinkers
Added BeginPlay virtual that's called after construction. Added getter for render style in ZScript.
2025-01-24 22:53:19 -05:00
nashmuhandes
27b6cb2f72 Allow passing sound volume to PlayBounceSound in ZScript 2025-01-23 13:54:26 -03:00
nashmuhandes
9e3db4f147 Added HasConversation 2025-01-22 13:18:45 -03:00
nashmuhandes
92dbdd3f39 Exported conversation behaviors 2025-01-22 13:18:45 -03:00
Boondorl
a1460e88af Added S_StartSoundAt
Allows for positional sounds that aren't attached to any Actor.
2025-01-18 06:47:00 -05:00
nashmuhandes
f5bf1d0497 Exported thing activation function 2025-01-14 02:21:50 -05:00
Boondorl
c87dc5ccad Updated VisualThinker render linkage
Now uses its own self-managed linked list with its level tracking the head pointer. Allows for VisualThinkers to be moved to any desired stat instead of being stuck in STAT_VISUALTHINKER.
2025-01-13 19:26:05 -05:00
Adam Kaminski
aa190dffc9 Fixed the registered or shareware versions of Doom not using the correct chat sound. 2025-01-08 17:19:06 -05:00
Ricardo Luís Vaz Silva
e12d51c5a2 add default values, vec4 uniforms, and cvar uniforms to post-process uniforms 2025-01-06 19:21:21 -05:00
Rachael Alexanderson
786bfa6419
- add save order to menu 2025-01-01 17:26:16 -05:00
nashmuhandes
aebabd2307 Fix coop key share failing if the item was spawned in-game (for example, via the console) 2024-12-30 21:25:37 -05:00
Ricardo Luís Vaz Silva
b7c9675c9d add snd_footstepvolume to sound options menu
(SNDMNU_FOOTSTEPVOLUME is already in the spreadsheet, but only for en/pt so far)
2024-12-21 04:33:25 -05:00
Rachael Alexanderson
0a375f2a6d
- add menu option for new 1:1.2 minimal scaling mode 2024-12-19 05:55:11 -05:00
Rachael Alexanderson
1d7763864b
- language update 2024-12-17 14:18:30 -05:00
Cacodemon345
26cff374de Add WorldRailgunFired 2024-11-26 18:48:17 -05:00
Cacodemon345
db6294c48a Add WorldRailgunPreFired for railgun attacks
Add AttackLineFlags for WorldHitscanPreFired

Indentation fixes in event.zs
2024-11-26 18:48:17 -05:00
Boondorl
5240c52b07
Fixed bouncing on 3D floors (#2835) 2024-11-26 03:43:09 -05:00
jekyllgrim
99c058d168
Added WorldHitscanFired and WorldHitscanPreFired (#2432)
* Added WorldHitscan events

* DVector3 → const DVector3&
2024-11-20 10:26:00 -05:00
Boondorl
ab9b6320cb Allow easier piece weapon replacing
Checks for replacements on weapons instead of using the given weapon class as is (also verifies said replacement is a weapon).
2024-11-15 23:58:39 -03:00
Boondorl
268dad18f7 Discs no longer blast players with collision disabled 2024-11-15 23:58:28 -03:00
Boondorl
597b06ae52 Added CRandom functions
Unique RNG namespace for client-side effects and HUDs. Identifiers for these cannot clash with identifiers that affect the playsim making them completely safe to use in HUD elements. They also won't be saved.
2024-11-15 23:56:23 -03:00
Rachael Alexanderson
ccd38afbcb
- revert adding in the sprite/frame support for visual thinkers 2024-11-13 16:16:36 -05:00
Rachael Alexanderson
ad40299da4 - add sprite/frame support for VisualThinkers 2024-11-13 14:39:40 -05:00
Ricardo Luís Vaz Silva
d94a596bc2 move crucial functions out of Tick, so that light custom tick overrides can be done without calling super.Tick for non-moving visualthinkers 2024-11-13 15:47:22 -03:00