Boondorl
3f4513c571
Updated packet handling
...
Added "game in progress" message for players trying to join late. Improved "unknown host" packet logging to only log when truly unknown. Correctly abort network window so game can process fatal errors instead of hanging on waiting to connect. Unexpected disconnects in lobby now correctly update the state of the game.
2024-11-15 23:54:04 -03:00
Rachael Alexanderson
ccd38afbcb
- revert adding in the sprite/frame support for visual thinkers
2024-11-13 16:16:36 -05:00
Ricardo Luís Vaz Silva
a0c1f5b1b7
fix compilation
2024-11-13 17:02:50 -03:00
Rachael Alexanderson
ad40299da4
- add sprite/frame support for VisualThinkers
2024-11-13 14:39:40 -05:00
Ricardo Luís Vaz Silva
6a067a7630
export UpdateSpriteInfo
2024-11-13 15:47:22 -03:00
Ricardo Luís Vaz Silva
925b62b8c5
serialize animData, update subsector on deserialize
2024-11-13 15:47:22 -03: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
Ricardo Luís Vaz Silva
9466c2d138
remove unecessary allocations
2024-11-13 15:47:22 -03:00
Ricardo Luís Vaz Silva
174344ddf1
move visual thinker definition into its own header
2024-11-13 15:47:22 -03:00
Ricardo Luís Vaz Silva
3622e2bb2a
Compress visualthinker bools into a flags field
2024-11-13 15:47:22 -03:00
Ricardo Luís Vaz Silva
3a83762c51
Allow property-less flagdefs for non-actors
2024-11-13 15:47:22 -03:00
Rachael Alexanderson
1e4f176395
- move appimage workflow to unused/
2024-11-12 06:34:26 -05:00
Rachael Alexanderson
bb5c8d8124
- don't fudge light position out of the floor for +NOINTERACTION actors
2024-11-12 06:25:30 -05:00
nashmuhandes
ea7ea182ed
Add missing CHANF_ constants and fix the styling of the comments for better readability
2024-11-11 23:27:22 -03:00
Blue Shadow
a145eac056
added constants for the most recently added level flags
2024-11-11 06:59:43 -05:00
Rachael Alexanderson
2bc561d135
- add automap default markers for all games (can be overridden)
2024-11-11 06:51:30 -05:00
Boondorl
04cdbd1898
Fixed CreateCopy being broken on HexenArmor
2024-11-09 12:32:51 -03:00
Rachael Alexanderson
220200d836
Revert "- error out if destroying a canvas object"
...
This reverts commit 8e16822ef9
.
2024-11-08 14:26:51 -05:00
Boondorl
d85d04f421
Fixed crash on functions with missing return values
2024-11-05 01:02:19 -05:00
Major Cooke
3d4dccd650
And the variable.
2024-11-04 16:23:34 -03:00
Major Cooke
ceb2de36d3
Change function from private to protected by request.
2024-11-04 16:23:34 -03:00
Major Cooke
1620d405c6
Added OrthographicCamera actor. Arguments are:
...
- 0: Offset. This pushes the camera further away, going behind the camera. Default is 1.0 (converted to negative - the value cannot go lower than that).
2024-11-04 16:23:34 -03:00
Boondorl
0fe2d72b75
Fixed startpos not saving
...
Will now load properly from a save game preventing respawning at the wrong player starts.
2024-11-04 00:50:50 -05:00
Dileep V. Reddy
85cefd8516
Limiting r_radarclipper effect to Out-of-Bounds viewpoints only. Opens the possibility of leaving it true by default in the future.
2024-11-03 20:38:12 -05:00
Boondorl
714eb8910c
Reworked player loading
...
Resolves a host of issues related to playing loading, both in singleplayer and multiplayer. Name-based player data selection now works meaning join order no longer has to be preserved.
2024-11-03 19:50:16 -05:00
Christoph Oelckers
a899571d8c
got rid of strlwr.
...
The 3 remaining uses were completely redundant.
2024-11-02 09:07:07 +01:00
Christoph Oelckers
6fc256709c
fixed the particle replacement code.
...
OldestParticle was not properly tracked which could result in circular lists.
To make maintenance easier, the replacement code and the free particle part were merged into one to only have one place where the linked list is modified.
2024-11-01 08:46:02 +01:00
Boondorl
de8d839885
Moved Actor TID selector out of header
2024-10-31 14:52:34 -03:00
Boondorl
f5ceaafbbc
Added net id functions for ACS
...
Includes net id getter and activator setter functionality. Essentially acts as a pseudo pointer system for Actors within ACS.
2024-10-31 14:52:34 -03:00
Major Cooke
9ca5bef4ea
Fixed STRETCHPIXELS flag not being exposed.
2024-10-30 18:54:23 -03:00
Ricardo Luís Vaz Silva
7b95977e2a
Allow using Self
as the class name in the default block to refer to the current class
2024-10-26 22:59:33 -03:00
Dileep V. Reddy
2ba57b5068
Reduce number of multiply ops per frame and increase x-axis clipper range for orthographic projection.
2024-10-26 18:36:45 -04:00
Kaelan
8b73332366
Proper static function use
2024-10-26 00:21:16 -03:00
Kaelan
d9fa7c3894
Re-move bounds checks out of core engine per request
2024-10-26 00:21:16 -03:00
Kaelan
4b3273b229
Add bounds check
2024-10-26 00:21:16 -03:00
Kaelan
275635adc5
add set/get plane reflectivity
2024-10-26 00:21:16 -03:00
Rachael Alexanderson
fe28defeca
- cap the size of the string copy calls in LevelStatEntry()
2024-10-25 19:15:26 -04:00
Christoph Oelckers
a14bba3561
Check array size for overflow.
...
Since ZScript is a 32 bit VM, the largest safe value for an array's physical size is 2GB. Any larger value will be destroyed by the compiler which relies on signed 32 bit values too much.
2024-10-25 08:47:19 +02:00
Christoph Oelckers
ee6991e6d8
Do a check if a local variable exceeds the available stack space.
...
Windows stack is 1 MB so play it safe and allow 512 kb as max. stack space for a single function.
2024-10-25 07:55:17 +02:00
Ricardo Luís Vaz Silva
59dab44380
Clarify default value for useowncolors
2024-10-23 22:59:51 -03:00
Rachael Alexanderson
8e16822ef9
- error out if destroying a canvas object
2024-10-22 20:51:56 -04:00
Rachael Alexanderson
a0b0db6f64
- change order for Kex edition wads to appear last since they were most recent
2024-10-22 00:51:05 -04:00
Major Cooke
6ed8aa6d69
Removed debug line
2024-10-22 00:45:48 -04:00
Ricardo Luís Vaz Silva
d0e6bce4e6
add CVar to control footstep volume
2024-10-21 14:53:53 -03:00
Ricardo Luís Vaz Silva
d07d08ce9f
Add velocity/distance based footsteps
2024-10-21 14:53:53 -03:00
Ricardo Luís Vaz Silva
7b59642844
make sure WalkStepTics and RunStepTics read ints, not floats
2024-10-21 14:53:53 -03:00
Ricardo Luís Vaz Silva
3a88281c10
time footsteps with duration of movement, not with actor age
2024-10-21 14:53:53 -03:00
Professor Hastig
40546420b0
fixed UMAPINFO's label field to allow 'clear' as argument.
2024-10-21 12:22:20 -03:00
inkoalawetrust
34dc204517
Re-added sector damage for non-players. ( #2773 )
...
* Re-add non-player sector damage.
Reimplements SECMF_HURTMONSTERS and SECMF_HARMINAIR.
* Fixed 3D floor handling for sector damage.
Fixes sector damage to either monsters or players not working on (non-)solid 3D floors.
2024-10-20 07:51:36 -04:00
nashmuhandes
12c6d1361a
Move no-mipmapping from actor renderflag/particle flag, to a material property in GLDEFS, where it makes more sense. The feature was introduced in the short-lived engine version of 4.13 which was deemed too broken and needed to be replaced with a newer version anyway, so might as well perform an API-breaking change at this point in time. Note that this currently only works for sprites (its primary targeted use case) -- walls, flats and models can be patched in later.
2024-10-19 18:35:54 -04:00