Commit graph

15699 commits

Author SHA1 Message Date
Lactozilla
ab2e07e9c5 Rename CRUMBLE3DFLOOR_CHECKNORESPAWNFLAG so that ACC accepts it 2024-04-30 02:50:43 -03:00
Lactozilla
169ccd324f Add enums and adjust arguments of specials 2024-04-30 02:39:58 -03:00
Lactozilla
0debddab2c Make all functions that take a color index receive a color name instead 2024-04-30 02:01:24 -03:00
Lactozilla
93a1aba588 Use fixed-point angle in Thing_TrackAngle 2024-04-30 01:41:23 -03:00
Lactozilla
b6183abb8b Change various functions and add enums 2024-04-30 01:40:07 -03:00
Lactozilla
a12db200e8 Add Check2DMode and Set2DMode
Remove Switch2DMode
2024-04-30 00:48:44 -03:00
Lactozilla
263e0577ad Change PlayerBot so that it accepts a player number
Make PlayerExiting consistent with PlayerFinished
2024-04-30 00:35:17 -03:00
Lactozilla
dc4871829b Fix STYLE_* enum 2024-04-30 00:27:48 -03:00
Lactozilla
cc4ef3b898 Add a branch limit
Clarify why a script was terminated
2024-04-29 23:56:37 -03:00
Lactozilla
985a0be20a Change behavior of Spawn to match ZDoom
Add SpawnForced and SpawnProjectile
2024-04-29 23:37:52 -03:00
Lactozilla
6b4d193fdf Changes:
Added Spawn
Added GetActorX, GetActorY, GetActorZ
Added GetActorVelX, GetActorVelY, GetActorVelZ
Added GetActorAngle, GetActorPitch, GetActorRoll
Added GetActorFloorZ, GetActorFloorTexture, GetActorLightLevel
Added CheckActorState, CheckActorFlag, GetActorClass
Added SetActorPosition, SetActorVelocity
Added SetActorAngle, SetActorPitch, SetActorRoll
Added SetActorState, SetActorFlag, SetActorClass
Changed GetThingDye to GetActorDye
Changed DyeThing to SetActorDye
Added GiveRings, GiveSpheres, GiveLives, GiveScore, DropFlag, TossFlag, DropEmeralds, TossEmeralds
Added PlayerHoldingFlag, PlayerIsIt, PlayerFinished
Fixed SetActorProperty and GetActorProperty
Removed AwardScore, AwardRings
Removed actor properties: X, Y, Z, type, angle, pitch, roll, floorz, ceilingz, momx, momy, momz, state, flags, flags2, eflags
Reorganized script types
Made GAMEOVER scripts run when players die
2024-04-29 19:17:50 -03:00
Lactozilla
74958f1d16 Ensure that the TID hash gets initialized 2024-04-28 22:28:52 -03:00
Lactozilla
62199f7814 Implement missing functions 2024-04-28 22:27:28 -03:00
Lactozilla
cea4b3227b Rename GetActorDye to GetThingDye
Rename Thing_Dye to DyeThing
Remove Thing_ChangeState
Remove Thing_Stop
Remove Thing_ChangeSize
2024-04-28 16:46:36 -03:00
Lactozilla
cb76ffed83 Implement math functions 2024-04-28 16:41:27 -03:00
Lactozilla
7d20ea0087 Reorder specials
Implement Teleport
Implement SetViewpoint
Implement Thing_TrackAngle
Implement Thing_StopTrackingAngle
Rename Player_DisableControls
Rename HaveUnlockable
Remove tid from mapthing_t
Fix typo in CallFunc_ThingSound
2024-04-28 15:04:13 -03:00
Lactozilla
8ee90099a6 Fix MapWarp
Add SetLevelFailureState
2024-04-28 02:45:54 -03:00
Lactozilla
4c28433afd ACS VM and special activation 2024-04-28 02:10:07 -03:00
LJ Sonic
b6544efceb Merge branch 'long-sprite-names' into 'next'
Fix SOC freeslotting including trailing spaces in constant names

See merge request STJr/SRB2!2415
2024-04-07 16:41:34 +00:00
LJ Sonic
829a12e7ac Fix SOC freeslotting including trailing spaces in constant names 2024-04-07 18:35:58 +02:00
LJ Sonic
32a8652c35 Merge branch 'long-sprite-names' into 'next'
Sprite names up to 64 character long and 256 frames per sprite

See merge request STJr/SRB2!2394
2024-04-05 17:21:42 +00:00
LJ Sonic
4a9462761a Fix early free 2024-04-05 19:10:15 +02:00
LJ Sonic
a1649186ce Fix some error messages 2024-04-05 17:31:42 +02:00
LJ Sonic
8a6b5d7c0f Support setting two frames per lump for long sprites 2024-04-04 00:06:33 +02:00
LJ Sonic
22106ef8b1 Fix short sprite names triggering an error 2024-04-03 23:24:54 +02:00
LJ Sonic
245a82112f Make rotation optional for long sprites 2024-04-03 22:39:58 +02:00
LJ Sonic
eaf0ba6658 Error out when a sprite definition contains a subfolder 2024-04-03 22:07:59 +02:00
LJ Sonic
32a3683e07 Fix error message when a patch is missing 2024-04-03 22:06:03 +02:00
LJ Sonic
f406e9bbb5 Throw a Lua error when R_Frame2Char is called with a frame number without character representation 2024-04-03 20:39:53 +02:00
Logan Aerl Arias
8647281a51 Merge branch 'vcpkg' into 'next'
replace CPM with vcpkg

See merge request STJr/SRB2!2321
2024-03-23 04:50:19 +00:00
Logan Aerl Arias
6b4dac7478 replace CPM with vcpkg 2024-03-23 04:50:19 +00:00
spherallic
dfecbe87b8 Fix FreeBSD build error 2024-03-21 19:30:45 +01:00
sphere
620f1e55aa Merge branch 'mpss-extratime' into 'next'
Make Extra Time powerup work in old-style special stages

See merge request STJr/SRB2!2292
2024-03-21 15:49:12 +00:00
sphere
31367e3e07 Merge branch 'mpss-mixnightscountdown' into 'next'
Support LF_MIXNIGHTSCOUNTDOWN for old-style special stages

See merge request STJr/SRB2!2291
2024-03-21 15:49:10 +00:00
sphere
7aa8477443 Merge branch 'fix-time-old-special-softlock' into 'next'
Fix softlock on old special stages when running out of time due to being hit

See merge request STJr/SRB2!2398
2024-03-21 15:46:26 +00:00
Alam Ed Arias
95457b8fe0 Fix stringop-truncation warnings for Debian Bookworm builds 2024-03-21 11:03:05 -04:00
Hanicef
d00c6a8ab9 Fix softlock on old special stages when running out of time due to being hit 2024-03-20 22:49:12 +01:00
LJ Sonic
49fa45039e Fix error report when some frames are missing 2024-03-20 18:06:19 +01:00
LJ Sonic
0e57d70b95 Automatically mirror long sprites for missing rotations 2024-03-17 00:41:38 +01:00
LJ Sonic
f6cb5d563c Only log sprite and frame additions when at least one was added 2024-03-17 00:40:29 +01:00
LJ Sonic
0f6f6afb44 Fix sprite and frame addition logging 2024-03-17 00:28:25 +01:00
LJ Sonic
761a972927 Fix R_AddSingleSpriteDef for short sprite names 2024-03-17 00:27:19 +01:00
LJ Sonic
4ebda932bb Cleanup 2024-03-16 19:36:18 +01:00
LJ Sonic
7371566592 Fix error message for too long sprite names 2024-03-16 19:35:56 +01:00
LJ Sonic
dc3436df78 Fix compiler warnings 2024-03-16 18:54:10 +01:00
LJ Sonic
9b6c642345 Fix infinite loop 2024-03-16 18:13:43 +01:00
LJ Sonic
a0c253f81e Fix invalid syntax 2024-03-16 17:49:34 +01:00
LJ Sonic
de8a4bb3e1 Fix compiler warnings 2024-03-16 17:21:35 +01:00
LJ Sonic
a6b71826f9 Use R_GetSpriteNumByName everywhere 2024-03-16 17:00:59 +01:00
LJ Sonic
45d54c38f7 Use bitarray_t for used_spr 2024-03-16 16:26:33 +01:00