Commit graph

89 commits

Author SHA1 Message Date
GenericHeroGuy
1c33caa84e Attempt number two at fixing ACS unarchiving
Can't use map numbers, can't use lump numbers... so don't use numbers!
2025-09-17 18:31:10 +02:00
GenericHeroGuy
858162f333 Revert "Fix the ACS unarchival crash (closes #97)"
This reverts commit 8348ed1c05.
2025-09-17 18:31:10 +02:00
GenericHeroGuy
8348ed1c05 Fix the ACS unarchival crash (closes #97)
Map numbers are consistent between server and client, wadnums are not
2025-09-14 01:36:22 +02:00
NepDisk
50c7019f44 Add KZ speedometer and fix many compiler warnings 2025-09-12 19:43:43 -04:00
NepDisk
d98dd3e2dd Add variables that bake 3D offsets into a sprite
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/63
2025-09-12 11:50:24 -04:00
Oni
0bbc485f3e Merge branch 'acs-archive-fixes' into 'master'
ACS archival fixes

See merge request KartKrew/Kart!2480
2025-09-12 00:24:18 -04:00
NepDisk
b0057bee1e Fix another set of warnings 2025-06-30 14:02:56 -04:00
NepDisk
107b822f54 Fix GCC output being annoying with ACSVM 2025-06-30 14:00:20 -04:00
NepDisk
64fd5b93ac raise skinlimit to 4096
Why not UINT16_MAX? Thats 22gb of allocation lmao
2025-06-10 15:38:11 -04:00
NepDisk
2ee8729585 Fix Music Remap 2025-05-21 07:25:56 -04:00
GenericHeroGuy
0009807746 Unify info lookup functions for SOC/Lua/ACS
Use MAX* constants instead of -1 for invalid values, because enum signedness
is implementation-defined
2025-05-18 17:37:47 +02:00
GenericHeroGuy
1793c2ea95 Use string buffers for mobjs and states 2025-05-14 15:35:26 +02:00
NepDisk
dd176a9efd Clang fixes 2025-05-01 15:16:53 -04:00
NepDisk
ed7b667aa7 Update File headers to use BLANKART 2025-04-19 13:33:28 -04:00
NepDisk
fcbb77f70d Fix scripttype enum 2025-03-29 12:11:55 -04:00
NepDisk
c6377f884f Update some ACS documentation 2025-03-10 17:19:45 -04:00
NepDisk
1935895f88 Remove Unused ACS code and rename POSITION script type 2025-03-10 12:44:21 -04:00
NepDisk
431d504e8d Update ACS code and add playerfinishscript 2025-03-10 12:37:20 -04:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00
GenericHeroGuy
27d51b370f Restore 'map +' command 2025-02-11 21:12:47 +01:00
GenericHeroGuy
79e3116277 And STAY DEAD 2025-02-11 15:50:58 +01:00
GenericHeroGuy
2334bde81e Revert "ACS Environment::loadModule: Free vres after generation"
This reverts commit 21a431d341.
2025-02-10 00:24:19 +01:00
toaster
21a431d341 ACS Environment::loadModule: Free vres after generation
Discovered (temporary) memory leak while writing the following commit
2025-02-07 10:40:44 -05:00
NepDisk
3350b02cc8 Long Map Names Port pt 1. 2025-02-05 17:46:21 -05:00
NepDisk
34fd5986f1 Basic UZB and ACS configs 2025-01-29 01:07:15 -05:00
NepDisk
61a1af503e windows compile fix #8
I hate windows
2025-01-08 18:03:18 -05:00
NepDisk
08e30ed2cb Use thirdparty span
thirdparty libs prob shouldn't be included in src
Fix for make later.
2024-12-29 10:26:37 -05:00
NepDisk
4b1324da69 Remove Battle capsule stuff and turn it into Item Breaker
You have to smash every itembox in a map as fast as you can. When you mash you get a pogospring and waiting gives a sneaker
2024-12-17 00:24:20 -05:00
NepDisk
83fc4e8342 Port some callfuncs from base SRB2 ACS merge
This could be handy for all sorts of stuff
2024-11-25 11:40:20 -05:00
NepDisk
5fced3f706 Use a modified ACSVM to support 10 arg linedefs
62dd76dbcd
2024-10-23 13:12:10 -04:00
NepDisk
ec7e1e7f2c Go back to using Sourcefiles since make works again. 2024-10-22 16:56:19 -04:00
NepDisk
a917a2a713 Basic work to get make compiling again
Fonts are beyond fucked so this will have to be figured out in a new commit
2024-10-22 12:43:03 -04:00
Sally Coolatta
eb4a7b3d14 Implement SetLineBlocking
This could be done with Get/SetLineProperty just fine, but added just for completion's sake -- the Hexen instruction set is now fully implemented, minus SoundSequence which is for a feature we straight up don't have.
2024-10-22 01:08:19 -04:00
NepDisk
d7a073d9f6 cmake file clean up 2024-10-17 20:53:46 -04:00
NepDisk
6f0035f18a Comment it out since it freezes the game lol 2024-10-16 21:44:57 -04:00
NepDisk
cbb4fe8aa5 Add placeholder function in place of not existing callfuncs from RR 2024-10-16 21:40:56 -04:00
Sally Coolatta
f64da81ec7 ACS AddBot: Push -1 on fail instead of MAXPLAYERS 2024-10-16 21:14:34 -04:00
James R
3261b29ff5 ACS_Execute, ACS_ExecuteAlways: handle map stringargs 2024-10-16 13:43:30 -04:00
Sally Coolatta
34c4a207c7 Separate script args from mapthing args
SRB2 uses a LOT of mapthing args compared to Hexen (which has none) and ZDoom (which only has them on objects that will never ever activate scripts). So we really badly needed to separate the two if we want attaching scripts to things to be useful.
2024-10-16 13:19:31 -04:00
James R
7f177b5817 ACS: interpolate changes to sidedef offsets 2024-10-15 22:29:24 -04:00
toaster
1a49ecfb70 Add PlayerExiting() ACS callfunc 2024-10-15 22:28:17 -04:00
toaster
02bf471c8b Add PlayerLosing() to ACS
Exposes K_IsPlayerLosing. Necessary for Sealed Star script adjustment
2024-10-15 22:28:07 -04:00
toaster
434c190fa8 freeplay and position start acs 2024-10-15 22:23:49 -04:00
Sal
0eee9b754e Implement getModuleName for ACS environment 2024-10-15 22:16:54 -04:00
toaster
bdc50487b7 thinker_era
A first pass in attempts to fix crashes when ACS causes map changes.
Frustratingly still got a crash, but I think this is definitely the right foundation to work with.
2024-10-15 22:15:30 -04:00
toaster
5f43f1c2cd ACS: Invalidate mapscope before PU_LEVEL purge occours
Fixes the MapWarp memory corruption conclusively.
2024-10-15 22:12:51 -04:00
James R.
dc680c6698 ACS music functions: add optional bool to only affect player activator 2024-10-15 22:10:01 -04:00
toaster
a8112ecaf7 ACS: Add PlayerBot
Returns bot status of activating player
ZDoom had a bot status function that could be mimiced... but it used a passed player number, when all we need to check for is the activator.
To this end, has a different name (the ZDoom version was "PlayerIsBot")
2024-10-15 22:06:54 -04:00
toaster
652479a257 ACS: Add IsNetworkGame
- Mimics existing ZDoom(/Hexen?) ACS function for checking Netgame status
2024-10-15 22:06:14 -04:00
Eidolon
71294823d1 Merge branch 'acs-printkill' into 'master'
Add ACS branch limit and implement printKill

See merge request KartKrew/RingRacers!22
2024-10-15 22:04:37 -04:00