Commit graph

22138 commits

Author SHA1 Message Date
MajorCooke
72f9c0f9b7 Exported:
* GetLumpContainer
* GetContainerName
* GetLumpFullPath
for WADS struct, useful for debugging custom-made parsers and identifying where problems may arise.

All credit goes to Jay for the code.
2025-04-09 14:31:56 -03:00
Christoph Oelckers
453722c7f1 forgot to save the MAPINFO part. 2025-04-09 14:31:56 -03:00
Christoph Oelckers
ae80d09664 disable Build light mode due to being broken. 2025-04-09 14:31:56 -03:00
nashmuhandes
cfe275f81c Properly assign tags to various Raven game items 2025-04-09 14:31:56 -03:00
Magnus Norddahl
34cbe3d8a0 Fix memory leak in mixins 2025-04-09 14:31:56 -03:00
James Le Cuirot
786b9806f6 Fix building with GCC 15 2025-04-09 14:30:04 -03:00
Ricardo Luís Vaz Silva
dbd9978cf8 fix non-void forward declarations as well 2025-04-09 14:30:04 -03:00
Ricardo Luís Vaz Silva
911951d967 remove K&R C function declaration bullshit from lemon.c
should be enough to fix GCC15 compilation without fucking up size_t/etc
2025-04-09 14:30:04 -03:00
MajorCooke
9c1d45dd68 Added particle rendering to VisualThinkers.
To activate, use `SetParticleType(int type)`. To deactivate, use `DisableParticle()`.

Types are:
- PT_DEFAULT (default value; uses `gl_particles_style`)
- PT_SQUARE
- PT_ROUND
- PT_SMOOTH

While in this mode:
- `Texture` & `Translation` are ignored
- `Scale.X` sets the size
- `SColor` sets the color

Misc changes:
- Removed warning on textureless destruction
2025-04-09 14:30:04 -03:00
nashmuhandes
e1e93b1b46 Interpolate turning 180 degrees 2025-04-09 14:30:04 -03:00
Ricardo Luís Vaz Silva
9d45ee15b7 fix function-pointer cast parsing 2025-04-09 14:29:05 -03:00
inkoalawetrust
89235ea15d Exposed DElevator to ZScript. 2025-04-09 14:29:05 -03:00
inkoalawetrust
a655f65b9b Exposed more of the Floor thinker. 2025-04-09 14:29:05 -03:00
inkoalawetrust
5503ec052d Exposed more of the Ceiling thinker.
- Exposed the rest of the ceiling member fields and getters.
- Added an IsCrusher() method.
- Added getOldDirection() getter.
- Fixed Door direction enum.
- Forgot to make Plat readonly on previous commit.
2025-04-09 14:29:05 -03:00
inkoalawetrust
0dc4c7db90 Exposed DPlat to ZScript. 2025-04-09 14:29:05 -03:00
inkoalawetrust
d924573d8a Exposed DDoor to ZScript.
Also added a ZScript-only enum for the movement direction..
2025-04-09 14:29:05 -03:00
dileepvr
40aef53e26 Remove bitwise opeartion on bool
Visual Studio compiler was giving the warning:
`warning C4805: '|=': unsafe mix of type 'bool' and type 'int' in operation`
2025-04-09 14:28:10 -03:00
dileepvr
df724a8f08 Update hw_portal OoB height clip
Hopefully the last bug squash.
2025-04-09 14:28:10 -03:00
Dileep V. Reddy
bda5b7048d Handle sectors within sectors for stacked portals and plane mirrors (affects OoB only). 2025-04-09 14:28:10 -03:00
Dileep V. Reddy
190896ae1c Forgot to account for when both floor and ceiling of a sector are portals. 2025-04-09 14:28:10 -03:00
Dileep V. Reddy
8326d21cd0 Revert using older stencil method for stacked sectors (and reflective flats) if viewpoint is not allowed OoB. There was some bug with nearby skyplanes otherwise. 2025-04-09 14:28:10 -03:00
Ricardo Luís Vaz Silva
c3f95426ba stop game from getting stuck in chat mode if the main menu is open 2025-04-09 14:26:40 -03:00
Ricardo Luís Vaz Silva
974aacfb7b fix crash if chat key is pressed during the loading screen 2025-04-09 14:26:40 -03:00
Ricardo Luís Vaz Silva
dd92a972f5 rename vm internal structs to make room for compilation-unit-internal structs/classes 2025-04-09 14:26:40 -03:00
Ricardo Luís Vaz Silva
b3333e0a51 Allow >> in parser for aggregate types
makes stuff like Array<Class<X>> parse properly (bit hacky but can't do much better without restructuring the scanner/lexer)
2025-04-09 14:21:36 -03:00
Ricardo Luís Vaz Silva
cb1edbde01 restrict internal structs to gzdoom.pk3 2025-04-09 14:21:36 -03:00
Ricardo Luís Vaz Silva
a0592816cd don't allow backing types of string/array/map/etc to be referenced as actual types 2025-04-09 14:21:36 -03:00
Ricardo Luís Vaz Silva
3a24dfcd2e add better descriptive name for vectors/quats 2025-04-09 14:21:36 -03:00
Ricardo Luís Vaz Silva
96a3e8d405 rework how vector local type restrictions are managed 2025-04-09 14:21:36 -03:00
Dileep V. Reddy
c7d25f1452 Addressing some small regression by conditioning a few calculations on OoB viewpoints. Branching Frustum calculation to old method. 2025-04-09 14:19:56 -03:00
Dileep V. Reddy
5ba6bd204f Small correction to OoB viewpoint stacked-sector portal visibility. OoB is not the same as Ortho. 2025-04-09 14:19:56 -03:00
Dileep V. Reddy
60157796c0 Stacked sector portals now render for OoB viewpoints. 2025-04-09 14:19:56 -03:00
Dileep V. Reddy
a0f3ed11cd Reflective flats now work with OoB viewpoints, including ortho. Had to create a new type of portal stencil for the HWPlaneMirrorPortal. Stacked sector portals could be made to work the same way, but there are clipper issues, revealing out-of-view sections of the map on the other side. Hence sector portal rendering is still disabled in OoB viewpoints. 2025-04-09 14:19:55 -03:00
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
ac58779e28
- renormalize normals on scaled models 2025-02-27 13:08:20 -05: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
Rachael Alexanderson
5bfb095078
- language update 2025-02-22 12:02:46 -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
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