Commit graph

12815 commits

Author SHA1 Message Date
Monster Iestyn
3299a16f42 Merge branch 'lua-userdata-invalidate-fix' into 'next'
Lua userdata invalidate fix

See merge request STJr/SRB2!1584
2021-07-16 12:11:10 -04:00
Shane Ellis
1285ba9f35 Merge branch 'addplayer-2021-7-15' into 'addplayer'
Addplayer 2021 7 15

See merge request STJr/SRB2!1585
2021-07-15 18:39:38 -04:00
CobaltBW
bac4116130 Merge branch 'addplayer' of https://git.do.srb2.org/STJr/SRB2.git into addplayer-2021-7-15 2021-07-15 15:36:44 -07:00
CobaltBW
95359fef51 Amendment to G_RemovePlayer to preserve lua error handlers 2021-07-15 15:19:47 -07:00
CobaltBW
22f42efb61 Cleaned up leftover comments 2021-07-15 15:09:02 -07:00
CobaltBW
48514ee88d Fixed G_RemovePlayer crash in players.iterate
This was done by storing flag-for-removal status as a boolean inside the player struct.
Bot players are instead removed at the start of G_Ticker, rather than being removed immediately by G_RemovePlayer.
2021-07-15 15:04:24 -07:00
CobaltBW
4486ff065a All remaining player->bot checks modified to rely on BOT_ constants 2021-07-15 13:03:26 -07:00
CobaltBW
1c3a898bbb Fixed locked characters being visible in multiplayer select screen 2021-07-15 12:53:13 -07:00
Nev3r
3a49b9519d Remove &, since args and stringargs are arrays 2021-07-13 17:55:06 +02:00
Nev3r
22dfa05c31 Forgot the stringargs. 2021-07-13 17:44:28 +02:00
Nev3r
aed86781fc Bugfix - Fix sporadically occurring incorrect userdata types in Lua, caused by previously loaded userdata which didn't get invalidated in previous sessions.
Invalidate userdata for line and mapthing args.
Invalidate userdata for slopes and their normal, origin and direction vectors.
2021-07-13 17:41:38 +02:00
Shane Ellis
33ae95bf13 G_RemovePlayer error handling 2021-07-12 23:38:52 -04:00
sphere
113cedd4b6 Merge branch 'polyobject-plane-stability' into 'next'
Use floating-point math for polyobject planes as well.

Closes #581

See merge request STJr/SRB2!1533
2021-07-12 12:47:35 -04:00
James R
58fa44e8dc CMP0115 2021-07-12 03:50:44 -07:00
SteelT
0faecf0959 version.h: Update comment about contacting an MS admin 2021-07-11 20:51:06 -04:00
Monster Iestyn
c337709d10 Update f_finale.c 2021-07-11 16:32:36 -04:00
lachablock
117e3e2670 Expose P_TryCameraMove and P_TeleportCameraMove, disallow write access to camera.x and camera.y, allow write access to camera.height and camera.radius 2021-07-11 16:23:50 +10:00
lachablock
366b1f65a1 Allow Lua write access to camera_t variables & expose the cameras globally 2021-07-10 18:22:07 +10:00
James R
e30d4f954b Revert netvars after demo finishes playback
(Demos do not call CL_Reset BTW.)
2021-07-08 14:37:03 -07:00
SMS Alfredo
cb619fad5d Rebase on !1307 2021-07-07 19:57:28 -05:00
SMS Alfredo
4f6450f5a8 Merge branch 'next' into youvebeenblocked 2021-07-07 17:35:17 -05:00
James R
b4fa98d2fb Refactor hudlib hooks to hooklib
HUD hooks now meet the standard of hooklib. HUD registry
magic numbers are gone.

HUD hooks may also be added using addHook.

    addHook('HUD', fn[, type])

hud.add still exists, but the intention is to remove it
eventually.
2021-07-07 00:23:51 -07:00
James R
ae57b6ca86 MORE MACROS
I just can't stop myself!
2021-07-07 00:21:08 -07:00
James R
331329306c Refactor hook ref allocation 2021-07-06 20:27:00 -07:00
James R
a75d4a1c36 Automatically count hook values 2021-07-06 18:42:08 -07:00
James R
14c5d2c916 Warn if Lua attempted access NOLUA consvar
And quote variable name.
2021-07-05 18:39:12 -07:00
James R
18cbc1e370 Fix aliases bypass COM_SAFE 2021-07-05 18:31:04 -07:00
MascaraSnake
7e88db938d Adapt polyobject translucency fade linedef to UDMF 2021-07-04 19:28:14 +02:00
MascaraSnake
6d007f388a Adapt set translucency linedef to UDMF 2021-07-04 15:37:42 +02:00
MascaraSnake
d2ad12c034 Adapt polyobject displacement linedefs to UDMF 2021-07-04 14:41:37 +02:00
MascaraSnake
429c6588af Adapt polyobject waving flag linedef to UDMF 2021-07-04 14:10:11 +02:00
MascaraSnake
5c2ce62f00 Adapt polyobject visibility/tangibility linedefs to UDMF 2021-07-04 13:45:41 +02:00
MascaraSnake
2cbda0e5ac Adapt polyobject waypoint movement linedef to UDMF 2021-07-04 13:20:10 +02:00
MascaraSnake
6e9afabd44 Adapt polyobject move and rotate linedef types to UDMF 2021-07-04 12:54:48 +02:00
LJ Sonic
0482eacb7c Load add-ons in the order in which the -file and -folder arguments are specified 2021-07-03 19:58:59 +02:00
James R
e24fe29114 Merge remote-tracking branch 'origin/master' into next 2021-07-02 15:55:36 -07:00
James R
3d19d5386b Merge branch 'appveyor-fix-2' into 'master'
Take advantage of new Makefile in appveyor.yml

See merge request STJr/SRB2!1561
2021-07-02 18:51:29 -04:00
MascaraSnake
3b1d64703d Adapt polyobject door move linedef types to UDMF 2021-07-02 17:18:55 +02:00
MascaraSnake
805bafd936 Adapt "change plane scroller direction" linedef type to UDMF 2021-07-02 12:51:39 +02:00
MascaraSnake
6dfca597c5 UDB config: Merge scroller and pusher sections 2021-07-01 23:16:11 +02:00
MascaraSnake
64b67bcfe0 Wind/current linedef: Apply to front sector if tag = 0 2021-07-01 23:15:13 +02:00
MascaraSnake
9718674d3b Check for sector type in T_PointPusher 2021-07-01 20:59:46 +02:00
MascaraSnake
3542e2205d Add wind/current linedef to UDB config 2021-07-01 20:47:07 +02:00
MascaraSnake
dcba011cf3 Adapt wind/current linedefs to UDMF 2021-07-01 20:35:13 +02:00
MascaraSnake
6f698b3065 Refactor wind/current thinker 2021-07-01 20:05:23 +02:00
MascaraSnake
d0888c4ac5 Split wind/current and point push/pull thinkers 2021-07-01 18:48:18 +02:00
MascaraSnake
052bfe130c Make exclusive scrolling the default 2021-07-01 00:47:56 +02:00
MascaraSnake
977887f456 Adapt scroller linedefs to UDMF 2021-06-30 23:50:54 +02:00
Shane Ellis
afa8466b30 comment cleanup 2021-06-30 01:38:04 -04:00
Shane Ellis
94441d6eee comment cleanup 2021-06-30 01:36:28 -04:00