James R
2274129f57
Update copyright year to 2020
2020-02-19 14:08:45 -08:00
MascaraSnake
c2311dca45
Merge branch 'next' into udmf-next
2020-02-18 18:39:11 +01:00
Steel Titanium
6d8de954e6
Restore this that got shifted.
2020-02-15 17:55:25 -05:00
Steel Titanium
46cd8fa760
New Lua functions: R_GetColorByName and R_GetNameByColor
2020-02-15 17:35:00 -05:00
James R
b77d597965
userdataType can check light userdata too!
2020-02-02 15:08:22 -08:00
MascaraSnake
588a76efe4
Merge branch 'next' into udmf-next
2020-01-24 22:38:26 +01:00
Louis-Antoine
f07b432df4
Rename R_IsPointInSubsector to R_PointInSubsectorOrNull/Nil
...
The old name made it really easy to accidentally read
R_IsPointInSubsector as R_PointInSubsector, and anyway it
didn't even make sense...
2020-01-22 16:58:57 +01:00
James R
fc6fcde580
Buold.
2020-01-18 15:56:03 -08:00
Jaime Passos
1a48e6131f
add R_IsPointInSubsector to lua baselib
2020-01-17 00:49:43 -03:00
James R
382efc4594
Expose G_FindMapByNameOrCode to Lua
2020-01-15 20:32:40 -08:00
James R
9999f5d905
Expose G_BuildMapTitle to Lua
2020-01-15 20:04:50 -08:00
James R
77433dd500
Allow G_BuildMapName outside of levels
2020-01-15 19:25:48 -08:00
James R
16ea48f7c7
Add comment to lib_gFindMap so I know what the fuck I did
2020-01-15 19:01:28 -08:00
James R
727fb7b9b1
Expose G_FindMap to Lua
2020-01-15 18:49:22 -08:00
MascaraSnake
16b515ba06
Implement linedef string arguments
2020-01-08 08:42:35 +01:00
MascaraSnake
6f3354f24f
Merge branch 'next' into linedef-args
2020-01-04 23:10:39 +01:00
MascaraSnake
85a94e1a58
Implement linedef args (unused and untested so far)
2020-01-02 12:23:14 +01:00
Jaime Passos
62d79eef2a
Same deal, but for starposts.
2019-12-27 17:14:56 -03:00
Jaime Passos
ff80c4ef4d
Preparing for the inevitable gametype rule that will handle cooplives...
2019-12-27 17:08:20 -03:00
Jaime Passos
070adb4191
Merge remote-tracking branch 'origin/next' into rotsprite2
2019-12-26 20:27:29 -03:00
Jaime Passos
60cf1e1837
Bail out earlier.
2019-12-23 19:00:46 -03:00
Jaime Passos
aa0081f70b
Bail out if there are no more free gametype slots.
2019-12-23 18:58:33 -03:00
Jaime Passos
1edc72a3b8
Custom gametype constant support for Lua.
2019-12-23 18:54:25 -03:00
Jaime Passos
6c2b62a795
fix warnings
2019-12-19 02:20:49 -03:00
Jaime Passos
ad317cd8a2
Merge remote-tracking branch 'origin/next' into gametype-clownery
2019-12-19 02:15:45 -03:00
Jaime Passos
920d99976c
Lua! Lua! Lua!
...
Expecting the buildbot to complain
2019-12-19 02:13:09 -03:00
Jaime Passos
be227cc58c
un-ROTSPRITE rollangle and spriteinfo
2019-12-17 13:09:25 -03:00
Steel Titanium
e3dbbfe34a
Rework G_SetCustomExitVars to allow skipstats 2
2019-12-13 16:36:33 -05:00
Steel Titanium
a5cdb0a4b3
Update copyright date on source files
2019-12-06 13:49:42 -05:00
Louis-Antoine
d3b113c84a
Merge branch 'master' into exit-move-lj
2019-11-15 19:35:47 +01:00
Louis-Antoine
28b0b7c404
Let players move after completing the level
...
This only takes effect in co-op,
and can be disabled with "exitmove off"
2019-11-15 15:35:28 +01:00
Jaime Passos
499c724f9f
Merge remote-tracking branch 'origin/master' into rotsprite_i
2019-11-14 12:49:03 -03:00
toaster
56bc3aa702
* Add R_SkinUsable to Lua.
...
* Make R_SetPlayerSkin check for usability of skin before setting, and error otherwise.
2019-11-10 16:10:34 +00:00
Jaime Passos
8684507e8a
finish lua spriteinfo :]
2019-11-07 23:42:14 -03:00
Jaime Passos
2897001d7f
spriteinfo lua support
2019-11-07 03:11:16 -03:00
James
f9ea683312
P_PlayerTouchingSectorSpecial turned into P_MobjTouchingSectorSpecial
2019-10-22 08:45:38 -04:00
toaster
ed304a5b19
Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2Internal.git into rvz-hardcode
...
# Conflicts:
# src/p_mobj.c
2019-10-08 19:43:43 +01:00
MascaraSnake
b38bd1a078
Lava is now either completely solid or completely intangible. No more half-assing
2019-10-01 21:58:18 +02:00
TehRealSalt
22796b7633
Merge master
2019-09-27 03:44:37 -04:00
TehRealSalt
47da526313
Use texture names instead of predesignated sky numbers
2019-09-18 19:29:28 -04:00
TehRealSalt
1ef09699d1
Functional gameplay
...
- Capsules get spawned in the proper scenarios
- Level ends when all capsules are busted
- Time gets used on the leaderboard instead of score
Also split a handful of Battle code into k_battle.c. Lots of other code could probably get moved here later
2019-09-15 20:19:48 -04:00
toaster
8b045a8f15
Lua save-banks!
...
* Array of 8 INT32's natively embedded into savedata (net and SP)!
* Initialised to zero whenever a new save (or equivalent) is started, otherwise untouched by the base game.
* Requires reservation to avoid clobber-conflicts.
* Access via `reserveLuabanks()` - returns a read-write userdata.
* Assign userdata to local variable or global rawset to use later.
Mostly for future SUGOIlikes, but I'm sure someone could figure out an unrelated usage eventually.
2019-08-24 18:25:27 +01:00
toaster
dec517f224
Merge branch 'ending' into 'master'
...
ENDINGS
See merge request STJr/SRB2Internal!264
2019-08-03 16:23:51 -04:00
Monster Iestyn
dab52b522b
Merge branch 'titlemaplua' into 'master'
...
Titlemap Lua
See merge request STJr/SRB2Internal!270
2019-08-03 13:14:46 -04:00
toaster
3b99335605
* Strip the word "function" from INLEVEL error messages, since they're now shared between access and function cases.
...
* Move it into lua_script.h, so it's available to everything that needs it.
2019-07-30 17:57:57 +01:00
toaster
c659e3f26b
Fix lua scripts erroring on the title screen because they're run there but it's not counted as GS_LEVEL (aka #168 ).
2019-07-30 17:48:13 +01:00
toaster
8ac6d43886
* Made the evaluation screen even more attractive.
...
* Fixed an unused variable warning in lua_skinlib.c.
- fixed post-level cutscenes playing when you get game over in MP (still kinda on-topic)
Also with apologies to MI:
- golden egg statue mode for tutorial, since the grey doesn't contrast enough with the blue and lime green
- fixed closed captions for replaced player sounds being incorrect
- fixed closed captions overlapping tutorial text
2019-07-29 14:55:36 +01:00
toaster
0692a5a5c4
Further improvements on MI's request, just to be safe.
2019-07-28 22:53:27 +01:00
toaster
b8d3e27bba
Made it possible to just call EV_CrumbleChain(rover) in Lua
2019-07-28 22:45:20 +01:00
toasterbabe
32ee846c4a
* Make busting a FOF through any in-game means (or not providing a target sector to EV_CrumbleChain) bust all FOFs with the same control sector.
...
* Make CA2_GUNSLINGER not get overridden by being in quicksand.
2019-07-17 21:34:04 +01:00