Ricardo Luís Vaz Silva
44f1e239e4
deduplicate code
2025-04-23 18:49:23 -03:00
Ricardo Luís Vaz Silva
3f65c2191a
better formatting
2025-04-23 18:49:23 -03:00
Ricardo Luís Vaz Silva
82e5dc2db6
remove raw C string manipulation, add missing chunk
2025-04-23 18:49:23 -03:00
Ricardo Luís Vaz Silva
d23faa6ab8
convert stb_include to FString, trim out some stuff
2025-04-23 18:49:23 -03:00
Ricardo Luís Vaz Silva
817a3778d8
split stb_include into .cpp and .h
2025-04-23 18:49:23 -03:00
Ricardo Luís Vaz Silva
8c66f5c64d
add stb_include
2025-04-23 18:49:23 -03:00
MajorCooke
2a6e354d92
Replaced the code jumping in P_SpawnBlood with simple boolean checks.
2025-04-23 18:49:11 -03:00
MajorCooke
6c4afed100
SpawnBlood now returns an actor spawned by the function.
2025-04-23 18:49:11 -03:00
dileepvr
701d1f71d1
Ensure boolean to suppress compiler warning
...
Finally used `!!(...)` somewhere.
2025-04-20 16:38:52 -03:00
dileepvr
34451c9acd
Boolean op instead of mod with 2
...
`( ... & 1)` is simpler than `(... % 2 != 0)`.
2025-04-20 16:38:52 -03:00
dileepvr
e199fd11d5
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-20 16:38:52 -03:00
Boondorl
524cd55813
Added OnLoad virtual
...
Allows for things to be reinitialized where needed for Thinkers. Moved hidden state of items over to OnLoad.
2025-04-17 18:58:02 -03:00
Ricardo Luís Vaz Silva
44c9140aad
save togglehud to ini so that it can be properly restored on crash/exit
2025-04-17 18:57:11 -03:00
Ricardo Luís Vaz Silva
ab5091098d
fix bug with direct cvar assignment being mistakenly allowed
2025-04-17 18:57:11 -03:00
Ricardo Luís Vaz Silva
fa03385980
remove commented out code
2025-04-16 23:45:16 -03:00
Ricardo Luís Vaz Silva
a43b99bf51
further remove manual memory management
2025-04-16 23:45:16 -03:00
Ricardo Luís Vaz Silva
bac018d306
remove extra heap allocation and level of indirection
2025-04-16 23:45:16 -03:00
Ricardo Luís Vaz Silva
2b72de44d5
use TryEmplace
2025-04-16 23:45:16 -03:00
Ricardo Luís Vaz Silva
d40c5246e5
optimize memory allocation
2025-04-16 23:45:16 -03:00
Ricardo Luís Vaz Silva
88a55be561
add TryEmplace to TMap
2025-04-16 23:45:16 -03:00
Gene
e2026dca38
Only allocate when needed
2025-04-07 13:57:28 -07:00
Gene
9e32e58c8f
Try TMap
2025-04-07 04:21:35 -07:00
Gene
81165facf2
Actually null the pointer
2025-04-07 02:47:46 -07:00
Gene
4fb4e18594
Don't inline AddLightNode
2025-04-06 22:05:49 -07:00
Gene
20c234b90f
Scrap dlight lighthead link lists
2025-04-06 13:06:57 -07:00
Peppersawce
a02892389d
Haiku support patch
2025-04-05 20:49:45 -04:00
Christoph Oelckers
6481f8cce9
rewrote XY and XYZ accessors for vectors to be read-only and not use type punning.
2025-04-03 07:51:03 +02:00
Ricardo Luís Vaz Silva
8019b56823
fix comment
2025-04-01 17:19:03 -03:00
Ricardo Luís Vaz Silva
6cdcad425a
convert g_game.cpp VMCalls to use VMCallSingle/VMCallVoid (as an example)
2025-04-01 17:19:03 -03:00
Ricardo Luís Vaz Silva
d8651420cc
fix parameter/return checking
2025-04-01 17:19:03 -03:00
Ricardo Luís Vaz Silva
278bd0fb7d
finish implementing VMCallSingle
2025-04-01 17:19:03 -03:00
Ricardo Luís Vaz Silva
1f1c271883
VMCallScript -> VMCallSingle
2025-04-01 17:19:03 -03:00
DyNaM1Kk
a0ab9ba25c
Added autoSwitch parameter to A_ReFire
2025-03-30 21:59:41 -04:00
MajorCooke
6f3032dc54
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-03-30 20:36:13 -03:00
Dileep V. Reddy
da6730d0a7
Addressing some small regression by conditioning a few calculations on OoB viewpoints. Branching Frustum calculation to old method.
2025-03-29 13:22:23 -03:00
Rachael Alexanderson
3d0663d299
- add new dsquake by Enjay
2025-03-25 13:17:46 -04:00
Sally Coolatta
ac42aa8337
cl_debugprediction console variable
...
Makes `gametic` run behind `ClientTic` by n ticks, and forces player prediction code to run. Only works if you are in a singleplayer session.
This is intended to be useful for mod development, as you can quickly test prediction issues without creating a multiplayer server. It may also come in handy if any improvements are made to the prediction code in the future.
2025-03-25 10:24:44 -04:00
Boondorl
154eea56e6
Update all players' acks in packet-server mode
...
Fixes potential issue when host switching in packet-server mode
2025-03-24 22:42:04 -03:00
Boondorl
134e8f2d60
Fixed potential softlock in packet-server mode
...
Make sure to send over the lowest player's data we got as the ack and not whatever the host specifically had
2025-03-24 22:42:04 -03:00
Boondorl
5b1023c447
Fixed inventory ticking when playing online
...
No longer tied to the player's latency value as it now runs in the client-side logic.
2025-03-24 22:40:49 -03:00
Christoph Oelckers
302d279785
forgot to save the MAPINFO part.
2025-03-24 09:44:14 +01:00
Christoph Oelckers
c91912567e
disable Build light mode due to being broken.
2025-03-24 09:40:30 +01:00
nashmuhandes
2d42438ebd
Properly assign tags to various Raven game items
2025-03-22 14:49:27 -03:00
Boondorl
f5a96237e5
You client-side flag instead of storing ACS controller
...
Prevents old save files from breaking if they were running ACS.
2025-03-20 14:48:55 -03:00
Magnus Norddahl
92cc96a672
Add VMCallScript template for calling ZScript functions with type checking
2025-03-20 00:10:50 -03:00
Magnus Norddahl
b4c3d2331e
Fix memory leak in mixins
2025-03-20 00:10:50 -03:00
Boondorl
43031375f4
Added missing return values in VM calls
...
These are not supported by the JIT and must always be passed.
2025-03-19 15:17:29 -03:00
Boondorl
02b5f9a2c5
Fixed player respawning
...
Pass appropriate information to the VM
2025-03-19 15:17:29 -03:00
Boondorl
1542ca8e8c
Added missing serializing for level script controller
2025-03-19 11:17:40 -03:00
Boondorl
d33df9dba8
Fixed crash with teamplay and the scoreboard
...
Now checks to make sure the player is on a valid team before fetching its info.
2025-03-17 14:06:36 -03:00