Commit graph

19,949 commits

Author SHA1 Message Date
nashmuhandes
2e09abc4e8 Merge branch 'master' of https://github.com/ZDoom/gzdoom into gzd-master-experimental 2024-11-16 13:16:21 +08:00
Boondorl
268dad18f7 Discs no longer blast players with collision disabled 2024-11-15 23:58:28 -03:00
Boondorl
3ea5be1ea7 Reworked FRandom constructors
Removes ambiguity while keeping old constructor syntax in check for better overall portability.
2024-11-15 23:56:23 -03:00
Boondorl
a1a4a97dcd Added RNG snapshotting for predicting
Allows RNG seeds to be played back in a predictive way paving the road for predictive behaviors that rely on RNG.
2024-11-15 23:56:23 -03:00
Boondorl
597b06ae52 Added CRandom functions
Unique RNG namespace for client-side effects and HUDs. Identifiers for these cannot clash with identifiers that affect the playsim making them completely safe to use in HUD elements. They also won't be saved.
2024-11-15 23:56:23 -03:00
Boondorl
4c140224a2 Removed network message entirely
Header needs to include more data to properly filter someone trying to connect
2024-11-15 23:54:04 -03:00
Boondorl
8a14497d8c Port NCMD_EXIT to i_net file 2024-11-15 23:54:04 -03:00
Boondorl
b6fd65988b Added stubs for NetClose on other platforms
These will need someone with much better experience to implement correctly to abort the net window
2024-11-15 23:54:04 -03:00
Boondorl
e898139690 Fixed static error for SendConAck 2024-11-15 23:54:04 -03:00
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
nashmuhandes
1770bbc0d0 Merge branch 'master' of https://github.com/ZDoom/gzdoom into gzd-master-experimental 2024-11-15 00:42:38 +08:00
nashmuhandes
b03dd471ca Merge branch 'master' of https://github.com/dpjudas/VkDoom into gzd-master-experimental 2024-11-14 23:30:07 +08:00
nashmuhandes
1fc1f467a0 Show hitboxes even for invisible things (not sure if this is the most elegant solution; will revert this commit if I could come up with a better way) 2024-11-14 23:29:36 +08: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
Magnus Norddahl
7b75a080b9 Remove "first/second chance not available" spam from crash reports 2024-11-12 23:14:51 +01: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
42f577f6f1 Merge branch 'master' of https://github.com/ZDoom/gzdoom into gzd-master-experimental 2024-11-10 09:29:59 +08:00
Rachael Alexanderson
220200d836
Revert "- error out if destroying a canvas object"
This reverts commit 8e16822ef9.
2024-11-08 14:26:51 -05:00
nashmuhandes
e02b3565d0 Bump VKDoom's ZScript version 2024-11-05 21:52:10 +08:00
nashmuhandes
5464090800 Merge branch 'post-4.13' of https://github.com/madame-rachelle/gzdoom into gzd-master-experimental 2024-11-05 21:51:43 +08:00
Boondorl
d85d04f421 Fixed crash on functions with missing return values 2024-11-05 01:02:19 -05:00
nashmuhandes
8402f3f7fa Update Discord AppID 2024-11-05 05:31:34 +08: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
Boondorl
57202305d6 Added toggle for lm_dynamic 2024-11-02 09:20:23 +01:00
Christoph Oelckers
a899571d8c got rid of strlwr.
The 3 remaining uses were completely redundant.
2024-11-02 09:07:07 +01:00
nashmuhandes
2c45d9aa99 Merge remote-tracking branch 'remotes/ZDoom/gzdoom/4.13' 2024-11-01 21:17:09 +08: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
0c29e3a778
Fixed STRETCHPIXELS flag not being exposed.
Some checks failed
Continuous Integration / Linux Clang 12 | AppImage (push) Has been cancelled
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
2024-10-31 07:57:41 -04:00
Major Cooke
9ca5bef4ea Fixed STRETCHPIXELS flag not being exposed. 2024-10-30 18:54:23 -03:00
Magnus Norddahl
f5a0e01b2c Support STARTUPSONG for the generic startupscreen 2024-10-30 00:37:08 +01:00
Magnus Norddahl
7bbd69e7e3 Improve start screen logo rendering by rendering it directly to screen instead of using StartupTexture 2024-10-30 00:00:46 +01:00
Ricardo Luís Vaz Silva
b84d28e9a7
Allow using Self as the class name in the default block to refer to the current class 2024-10-28 12:07:49 -04:00
Dileep V. Reddy
dc6f116315
Reduce number of multiply ops per frame and increase x-axis clipper range for orthographic projection. 2024-10-28 12:07:44 -04:00
Rachael Alexanderson
3c36102eed
- cap the size of the string copy calls in LevelStatEntry() 2024-10-28 12:07:29 -04:00
Christoph Oelckers
2cbb980388
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-28 12:07:15 -04:00
Christoph Oelckers
adeb48d598
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-28 12:07:10 -04: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