Commit graph

22,158 commits

Author SHA1 Message Date
Ricardo Luís Vaz Silva
99aa489d09 4.14.2 model refactor cherry pick
Some checks failed
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
g4.14.2
* split frame info calculation from RenderFrameModels

* clean up FindModelFrame

* refactor model overrides into its own function

* refactor frame rendering into RenderModelFrame

* split frame processing into ProcessModelFrame
2025-05-01 18:22:30 -04:00
Ricardo Luís Vaz Silva
3befb3f5e7 limit light alpha mult to renderflag 2025-04-29 15:49:55 -03:00
Ricardo Luís Vaz Silva
eee9382d88 4.14.2 2025-04-29 08:14:34 -03:00
Xaser Acheron
16dffcbbf0 add a few commonly-used gzdoom-specific properties to the dehacked parser 2025-04-29 08:06:01 -03:00
Xaser Acheron
fc470b4f7c fix dsdhacked actors not spawning when placed in a map 2025-04-29 07:56:20 -03:00
DyNaM1Kk
2d030d5313 Added am_showlevelname CVar
Allows controlling the visibility of the level name on the automap.
2025-04-29 07:56:20 -03:00
MajorCooke
bf6f175305 SpawnBlood now returns an actor spawned by the function. 2025-04-29 07:56:20 -03:00
dileepvr
a2236c144e Ensure boolean to suppress compiler warning
Finally used `!!(...)` somewhere.
2025-04-29 07:56:19 -03:00
dileepvr
451b5cb5d9 Boolean op instead of mod with 2
`( ... & 1)` is simpler than `(... % 2 != 0)`.
2025-04-29 07:56:19 -03:00
dileepvr
4162c4b19e Fixed pitch culling in reflective flats for OoB Viewpoints
The vertical clipper needed viewpoint pitch sign to be flipped to work correctly. Only relevant for OoB viewpoints.
2025-04-29 07:56:19 -03:00
Boondorl
ce922225e7 Added OnLoad virtual
Allows for things to be reinitialized where needed for Thinkers. Moved hidden state of items over to OnLoad.
2025-04-29 07:56:19 -03:00
Ricardo Luís Vaz Silva
e406770efa save togglehud to ini so that it can be properly restored on crash/exit 2025-04-29 07:56:19 -03:00
Ricardo Luís Vaz Silva
56999fecd2 fix bug with direct cvar assignment being mistakenly allowed 2025-04-29 07:56:19 -03:00
Boondorl
f5032b149b
Added missing return values in VM calls
These are not supported by the JIT and must always be passed.
2025-04-09 15:18:47 -04:00
Boondorl
5730719182
Fixed player respawning
Pass appropriate information to the VM
2025-04-09 15:18:30 -04:00
Ricardo Luís Vaz Silva
c72888dcf8 fix bad cherry pick 2025-04-09 14:47:17 -03:00
Ricardo Luís Vaz Silva
0e77b01fc4 fix OptionMenuItemCommand::DoCommand for new 4.15 keyword 2025-04-09 14:47:11 -03:00
Peppersawce
49cca9e8fe Haiku support patch 2025-04-09 14:31:57 -03:00
Christoph Oelckers
ff442b866b rewrote XY and XYZ accessors for vectors to be read-only and not use type punning. 2025-04-09 14:31:57 -03:00
DyNaM1Kk
7ad2111bed Added autoSwitch parameter to A_ReFire 2025-04-09 14:31:57 -03:00
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