Commit graph

19,313 commits

Author SHA1 Message Date
Dileep V. Reddy
e73c283a97 Making 3D-floors respond to r_dithertransparency properly. 2025-04-09 14:19:55 -03:00
Dileep V. Reddy
8a66eff437 Added visual rendering for LinePortals and SkyPortals for OoB viewpoints. SkyPortals will be stenciled, and will always use perspective projection. Disabled interpolation when portalgroup changes (portal transition occurs) if viewpoint is OoB (was necessary for fog of war when r_radarclipper is set to true). Tightened up radar clipper by making it more aggressive. Voided walls wont' get filled in by a floor or ceiling sky (because of the stencil). Ceiling sky will be half-infinitely tall upwards, and floor sky will be half-infinitely tall downwards. Use only floor skies and a good GLSKYBOX for top-down/isometric cameras. Level.ReplaceTextures("F_SKY1", "SKY1", TexMan.NOT_FLOOR); (zscript) is a nice trick for WorldLoaded(). 2025-04-09 14:19:55 -03:00
Dileep V. Reddy
527a09c66b 3D floor flats now respect r_dithertransparency flag (how did this make it into vkdoom but not gzdoom?) 2025-04-09 14:19:55 -03:00
Dileep V. Reddy
910e4dbcf0 Better flat visibility checks for Ortho projection. 2025-04-09 14:19:55 -03:00
Rachael Alexanderson
5fc1d36cf3
- fix classic doom.doom filter 2025-02-27 13:07:28 -05:00
Rachael Alexanderson
44494bfdc3
- fix erroneous check in previous commit 2025-02-27 13:07:18 -05:00
Rachael Alexanderson
cf0ec91a53
- don't load idres24.wad in multiplayer games by default; allow override with cvar setting 2025-02-27 13:07:09 -05:00
Ricardo Luís Vaz Silva
0d0469bd05
don't allow changing out-ness of parameters in virtual overrides 2025-02-21 07:18:15 -05:00
marrub
dcbd66a528
add default cvar getters 2025-02-21 07:18:03 -05:00
Boondorl
5a5bed5c31
Added FindClass
Allows for classes to be looked up during run time without having to use string casting.
2025-02-21 07:17:49 -05:00
Chronos Ouroboros
7d180069e3 Fix FxExpression::EmitCompare not properly handling constant registers. 2025-02-17 07:53:27 -03: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
Rachael Alexanderson
047e1e8b74
- remove priority changing code entirely - replace with vid_lowerinbackground which activates FPS capping in background 2025-02-08 21:42:39 -05:00
Ricardo Luís Vaz Silva
7eaab2691b fix out-of-bounds array access (again) 2025-02-08 17:55:51 -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
fcc2fc65de change id type fixes version from 4.15 to 4.14.1 2025-02-08 10:56:55 -05:00
Ricardo Luís Vaz Silva
33bae944f7 allow optionally skipping initial wipe in in-game intermissions 2025-02-07 20:17:54 -03:00
Ricardo Luís Vaz Silva
206c2291d9 allow cutscenes in intermissions 2025-02-07 20:17:54 -03:00
Ricardo Luís Vaz Silva
a872097da1 fix out-of-bounds array access 2025-02-04 18:08:30 -03:00
Ricardo Luís Vaz Silva
eb7c99b34a more misc animation fixes 2025-02-04 18:08:30 -03:00
Ricardo Luís Vaz Silva
ec42c77289 fix A_DoChase using the wrong type in non-jit 2025-02-01 10:45:26 -03:00
Rachael Alexanderson
ec8e0e667c
- apparently, this was broken before which is why this neeeded this commit in the first place, but now it's been fixed in the official distribution, which makes this commit unnecessary. Or so I am told.
Revert "make the broken ID24 levelnums work somehow so that Legacy of Rust's intermissions play."

This reverts commit 59b567689a.
2025-02-01 07:38:47 -05:00
Rachael Alexanderson
f21b68c8f6
- revamp priority changing on windows, add cvar i_allowprioritychange to disallow priority changing entirely, allowing batch scripts to dictate GZDoom's process priority 2025-01-31 06:07:14 -05:00
Ricardo Luís Vaz Silva
e543e26bdc expand deprecation allowance for gzdoom.pk3 2025-01-30 13:34:25 -03:00
Boondorl
d527829ee3 Added NOAUTOOFFSKULLFLY flag
Disables resetting skullfly and state when velocity is zero while charging.
2025-01-30 13:33:33 -03:00
nashmuhandes
5bcbe1718b New "Translatable" property in DECALDEF which is just an alias for "OpaqueBlood" to reflect its general use, and also to support the new translation parameter of A_SprayDecal. "OpaqueBlood" should be considered deprecated. Note that specifying a translation directly in the DECALDEF will be added in future, in another commit. 2025-01-30 13:32:18 -03:00
Boondorl
864fe1f66f Added translation argument for A_SprayDecal 2025-01-30 13:32:18 -03:00
Jon Daniel
3adddd6674 fix compile error missing tarray.h 2025-01-29 20:37:46 -03:00
nashmuhandes
aae8c12cdf Add a particle flag to allow user shaders on the sprites 2025-01-29 17:00:12 -03:00
Adam Kaminski
162ab3c4ec Fixed ACS scripts executing a function from another library that cause a division/modulus of zero from aborting the game. 2025-01-27 21:27:39 -03:00
Boondorl
e0394ef16a Added flags for angle handling on bounce
Allows for keeping the current angle on bounce or modifying the pitch.
2025-01-27 21:27:03 -03:00
Ricardo Luís Vaz Silva
3d2f9e06ed remove bone component cache to decrease memory consumption
caching this is entirely unnecessary, as it changes every frame
2025-01-27 17:04:46 -03:00
Rachael Alexanderson
6ea1b68a1c
- add null check for the defcvars blacklist 2025-01-26 18:45:46 -05:00
Rachael Alexanderson
3c8c484327
- add CVAR_SYSTEM_ONLY flag to automatically blacklist filesystem-related cvars for defcvars. This should be used on any cvar that can be changed by the user that relates to filenames or pathnames 2025-01-24 23:19:31 -05: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
Boondorl
f239025f8e Clear VisualThinkerHead on new level
Fixes a crash that could occur if the list couldn't be deleted fast enough when changing levels.
2025-01-22 18:00:40 -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
Christoph Oelckers
7b30f9350c fix automap display for keys that were altered by Dehacked. 2025-01-19 13:19:26 +01: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
Boondorl
dad8e4719c Don't create thing iterator if THRUACTORS is set when moving 2025-01-14 15:10:15 -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
Ricardo Luís Vaz Silva
61df13306f fix DScriptScanner 2025-01-11 09:31:20 -03:00
Major Cooke
2061caba18 Make the visual thinker statnum assignment check unconditional since statnum is no longer a pointer
- This fully completes this revert: ca3b0737ea
2025-01-10 20:31:38 -03: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
Eonfge
22690bbb76 Fix fatal error formatting
Based on this patch: https://aur.archlinux.org/cgit/aur.git/tree/0002-fix-format-security-error.patch?h=gzdoom
2025-01-06 11:01:20 -05:00
Boondorl
af8838d45a Added interpolation to crosshair size 2025-01-06 03:20:23 -05:00