Krabs
39ca3a0582
Merge branch SRB2:next into expos-sky
2023-11-01 17:26:59 +00:00
Krabs
7fd3c0612a
Merge branch SRB2:next into expos-dust
2023-11-01 16:29:58 +00:00
Krabs
d1a6290a69
Merge branch SRB2:next into expos-follow
2023-11-01 16:10:49 +00:00
Krabs
c74163b313
Merge branch SRB2:next into expos-special
2023-11-01 15:34:09 +00:00
Krabs
8a1ebf2f7c
Merge branch SRB2:next into expos-dust
2023-11-01 14:31:42 +00:00
Krabs
44c11cccbf
Merge branch SRB2:next into expos-follow
2023-11-01 14:19:45 +00:00
Krabs
23b0f67900
Merge branch SRB2:next into expos-special
2023-11-01 14:18:25 +00:00
Krabs
e2a0d742ed
Merge branch SRB2:next into expos-sky
2023-11-01 14:16:07 +00:00
Krabs
23666ce64e
Merge branch SRB2:next into expos-local
2023-11-01 14:15:43 +00:00
Krabs
93c5b34ac0
Merge branch SRB2:next into expos-sphere
2023-11-01 14:14:16 +00:00
Alam Ed Arias
49d9619192
Merge branch 'master' into raise-skin-limit
2023-10-28 18:09:42 -04:00
LJ Sonic
8608ded317
Add deprecation TODOs
2023-10-28 15:19:35 +02:00
LJ Sonic
c3f79a112f
Add LUA_SetCFunctionField
2023-10-28 11:06:30 +02:00
Alam Ed Arias
3ef47897e3
Merge branch SRB2:next into expose-thrust-funcs-to-lua
2023-10-25 19:42:15 +00:00
Alam Ed Arias
45a1b6be18
Merge branch SRB2:next into expos-sphere
2023-10-25 19:02:14 +00:00
Alam Ed Arias
ebd355e563
Merge branch SRB2:next into expos-local
2023-10-25 18:57:35 +00:00
Alam Ed Arias
15d476e3e6
Merge branch SRB2:next into expos-dust
2023-10-25 18:55:40 +00:00
Alam Ed Arias
b3ba4210d9
Merge branch SRB2:next into expos-sky
2023-10-25 18:55:00 +00:00
Alam Ed Arias
38a8eeb80c
Merge branch SRB2:next into expos-camreset
2023-10-25 18:34:38 +00:00
Alam Ed Arias
bc2f2b8d2a
Merge branch SRB2:next into expos-follow
2023-10-25 18:34:25 +00:00
Alam Ed Arias
b75a09bfcf
Merge branch SRB2:next into expos-special
2023-10-25 18:31:51 +00:00
Alam Ed Arias
774cce8f28
Merge branch SRB2:next into blockedexposed
2023-10-25 18:07:18 +00:00
Alam Ed Arias
e5d16e7112
Merge branch SRB2:next into setflip
2023-10-25 18:05:24 +00:00
Alam Ed Arias
dea519637a
Merge branch 'next' into lua-extracolormap
2023-10-23 14:49:44 -04:00
Alam Ed Arias
52a295d6f7
Merge branch SRB2:next into add-auto-kick-idle-players
2023-10-23 18:29:59 +00:00
Alam Ed Arias
7798d5964a
Merge branch SRB2:next into emblemexitfix
2023-10-23 18:27:34 +00:00
Alam Ed Arias
a60ac0508f
Merge remote-tracking branch 'origin/next' into gitlabcirunnertest
2023-10-15 21:43:35 -04:00
Alam Ed Arias
2865873e70
Update src/lua_baselib.c
...
No need of counting bots.
2023-10-15 20:35:33 -04:00
Gustaf Alhäll
80e386b16f
Expose lastinputtime to Lua
2023-10-14 21:50:59 +02:00
SMS Alfredo
7bcad024f8
Only Award Bonuses / RA Emblems from Physically Beating a Level
2023-09-19 21:48:01 -05:00
SMS Alfredo
ecf950e749
Add "allowflip" Parameter to P_DoJump
2023-09-19 11:54:51 -05:00
LJ Sonic
2a896538d9
Merge branch 'netcode-rerefactor' into 'next'
...
Re-delete netcode
See merge request STJr/SRB2!2083
2023-09-18 16:47:28 +00:00
SMS Alfredo
a977fd6075
Expose P_LineIsBlocking
2023-09-17 18:45:57 -05:00
Lactozilla
f17493f379
Use -1 as the default, not 0
2023-08-07 14:30:39 -03:00
Lactozilla
b92dc42848
Add gametype parameter to G_SetCustomExitVars and G_ExitLevel
...
(cherry picked from commit 86367e4ec1
)
2023-08-07 13:23:57 -04:00
Lactozilla
b670f97ed1
Add lighttable_t support
2023-08-04 00:36:11 -03:00
Lactozilla
4ea2887d7f
Lua colorlib: extracolormap support
2023-08-04 00:31:51 -03:00
Monster Iestyn
70928120c2
allow use of P_IsFlagAtBase in HUD code, since it doesn't actually modify anything
2023-08-01 12:45:58 +01:00
LJ Sonic
0b17e3c418
Move netcode files to a new folder
2023-07-27 15:38:42 +02:00
Sal
e96a1630b5
Merge branch 'fix-zmovement-remove-crash' into 'next'
...
Fix crash when P_ZMovement calls from Lua removes the object
See merge request STJr/SRB2!2054
2023-07-26 12:09:05 +00:00
Zwip-Zwap Zapony
0e2682d590
Add "drawonlyforplayer" and "dontdrawforviewmobj"
2023-07-25 11:05:29 -04:00
Sal
08c6e76d1c
Merge branch 'texnamefornum' into 'next'
...
Add R_TextureNameForNum and R_CheckTextureNameForNum
See merge request STJr/SRB2!1880
2023-07-24 10:43:52 +00:00
Gustaf Alhäll
9a386111e2
Fix crash when P_ZMovement calls from Lua removes the object
2023-07-16 14:19:19 +02:00
SMS Alfredo
2647b10840
Require valid toucher.player
2023-07-01 22:24:11 -05:00
SMS Alfredo
610effb8ea
Expose P_ResetCamera to Lua
2023-06-02 23:04:18 -05:00
SMS Alfredo
7a7cee7ca5
Expose P_CheckSkyHit to Lua
2023-05-31 23:03:22 -05:00
SMS Alfredo
34477133cc
Expose P_DoSpinDashDust to Lua
2023-05-31 22:49:30 -05:00
SMS Alfredo
e65bdf8d2f
Expose P_IsLocalPlayer to Lua
2023-05-31 22:45:00 -05:00
SMS Alfredo
84438ff837
Expose P_GivePlayerSpheres to Lua
2023-05-31 22:39:08 -05:00
SMS Alfredo
16e44e1b6e
Expose FollowMobj-related functions
2023-05-31 22:28:53 -05:00
SMS Alfredo
39869b4492
Expose P_TouchSpecialThing
2023-05-31 22:21:31 -05:00
MascaraSnake
e4933b3e94
Merge branch 'allow-modified-saving' into 'next'
...
[SUGOI] Allow saving in modified games.
See merge request STJr/SRB2!1749
2023-05-24 05:04:26 +00:00
spherallic
b99ecde7b8
Fix [BOT] indicator color not being cleared
2023-05-07 17:42:39 +02:00
spherallic
ed46dd08a6
Prevent tmthing crash with P_SpawnParaloop in Lua
2023-05-07 17:33:12 +02:00
sphere
e82bb933e7
Merge branch 'botchanges' into 'next'
...
Bot adjustments
See merge request STJr/SRB2!1951
2023-03-31 16:13:05 +00:00
spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
Tatsuru
2a50626b00
Initial commit
2023-03-15 17:50:13 -03:00
MascaraSnake
02fa860c46
Merge branch 'thingonspecial3dfloor' into 'next'
...
Re-add P_ThingOnSpecial3DFloor for Lua backwards compatibility
See merge request STJr/SRB2!1905
2023-01-28 06:32:42 +00:00
Eidolon
366ee4ad92
Revert "Merge branch 'gamepad-refactor-lua-features' into 'next'"
...
This reverts commit 7f1cafcd3d
, reversing
changes made to 696e2ab909
.
2023-01-26 19:26:24 -06:00
Eidolon
6cc48a6e89
Revert "Merge branch 'gamepad-refactor-lua-rumble' into 'next'"
...
This reverts commit 7d8e8e20b7
, reversing
changes made to 7f1cafcd3d
.
2023-01-26 19:26:21 -06:00
LJ Sonic
379cc4207a
Revert "Merge branch 'netcode-refactor' into merging"
...
This reverts merge request !1920
2023-01-15 17:57:23 +00:00
MascaraSnake
e472c551e1
Re-add P_ThingOnSpecial3DFloor for Lua backwards compatibility
2023-01-01 11:31:44 +01:00
LJ Sonic
717e0d5a17
Move netcode files to a new folder
2022-12-31 14:10:19 +01:00
Eidolon
7d8e8e20b7
Merge branch 'gamepad-refactor-lua-rumble' into 'next'
...
Add haptic functions for Lua scripting
See merge request STJr/SRB2!1872
2022-12-09 02:17:17 +00:00
ashifolfi
47e981d2a8
actually check the right type in lua
2022-11-20 16:07:14 -05:00
ashifolfi
3a2834e781
add R_TextureNameForNum and expose to lua
2022-11-20 15:25:53 -05:00
Sally Coolatta
a22fa1c455
Compromise on cheats setting modified game
...
Instead of modifying the game, cheats now set a separate "cheats were used in this session" variable, which returns some of the old behavior.
HOWEVER, cheats will STILL allow spawning / collecting emblems & unlocking unlockables. Cheats will purely prevent saving progress. (It was always frustrating that devmode would make debugging unlockable features harder...)
Lastly, the function to set no-saving was exposed to Lua (`G_SetUsedCheats(silent)`). Just thought it'd be useful for large-scale gamedata-using mods that want to add their own cheat commands.
2022-11-16 11:14:31 -05:00
Jaime Ita Passos
f0c3de6976
Add gamepad library and hooks for Lua scripting
2022-11-14 02:18:24 -03:00
Jaime Ita Passos
0516350bb4
Add haptic functions for Lua scripting
2022-11-14 01:52:20 -03:00
Eidolon
9a88c9ea47
Merge branch 'gravityflipping' into 'next'
...
Gravity flip bugfixes & additions
Closes #378 , #661 , and #430
See merge request STJr/SRB2!1808
2022-11-12 23:33:07 +00:00
spherallic
8d06145377
Play gravity flip sound on jump in jumpflip sectors, reorganize code
2022-09-09 15:35:05 +02:00
spherallic
9fabddd4bb
Add sector type that flips gravity upon jumping
2022-09-08 16:56:35 +02:00
Eidolon
805941a98f
Merge public next into uncappedrevengeance
...
This is to capture the UDMF merges and make the later code review
easier.
2022-05-03 14:45:14 -05:00
Eidolon
f0d7d8467f
Refactor timing code even more
...
System layer is greatly simplified and framecap
logic has been moved internally. I_Sleep now
takes a sleep duration and I_SleepDuration
generically implements a precise sleep with spin
loop.
2022-05-01 00:32:46 -05:00
Eidolon
c3923adc3f
Make Lua TeleportMove call MoveOrigin
2022-04-27 17:08:40 -05:00
Sally Coolatta
d476b41dfa
P_SetOrigin & P_MoveOrigin to replace P_TeleportMove
2022-04-26 20:56:33 -05:00
MascaraSnake
faa7d89e3e
Merge branch 'udmf-more-linedef-types' into udmf-sector-fields
2022-04-20 21:01:16 +02:00
MascaraSnake
36bf8b1a77
Merge branch 'udmf-linedef-executors' into udmf-executor-triggers
2022-04-19 22:33:53 +02:00
MascaraSnake
2e56c3de35
Merge branch 'udmf-polyobjects' into udmf-lighting
2022-04-19 22:18:30 +02:00
spherallic
14295ac7de
2022
2022-03-03 20:24:46 +01:00
spherallic
9fee550fb0
Actually check bot names in lib_gAddPlayer.
2022-02-08 14:58:09 +01:00
MascaraSnake
feaa4f1273
Replace most sector specials with sector special flags
2021-12-31 00:03:24 +01:00
MascaraSnake
060bc5fde0
Replace P_ThingOnSpecial3DFloor with the more versatile P_MobjTouchingSectorSpecial
2021-12-08 21:07:26 +01:00
Radicalicious
ea03ab9db0
Merge remote-tracking branch 'stjr/next' into expose-thrust-funcs-to-lua
2021-12-03 21:58:28 -06:00
MascaraSnake
aee4996eba
Merge branch 'udmf-polyobjects' into udmf-lighting
2021-12-03 19:22:37 +01:00
LJ Sonic
599abc2a78
Merge branch 'lua-timestamp' into 'next'
...
Timestamp function for Lua
See merge request STJr/SRB2!1647
2021-12-02 22:41:08 +00:00
Hannu Hanhi
56c5a887c8
Call the Lua timestamp function getTimeMicros
2021-11-08 20:28:35 +02:00
Hannu Hanhi
270c7701b4
Timestamp function for Lua
2021-11-08 01:17:30 +02:00
GoldenTails
8110473643
Give userdata that needed names some names.
2021-10-22 18:31:37 -05:00
MascaraSnake
6871262909
Allow "fade light level" linedef executor to fade relative to current value
2021-09-19 23:12:30 +02:00
Tatsuru
bcd7468d25
Merge branch 'lua-camera' into 'next'
...
Allow Lua write access to camera_t variables & expose the cameras globally
See merge request STJr/SRB2!1581
2021-09-12 20:20:49 +00:00
namishere
39bd9c6da8
Make next compile again
2021-08-30 23:18:25 -07:00
CobaltBW
95359fef51
Amendment to G_RemovePlayer to preserve lua error handlers
2021-07-15 15:19:47 -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
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
Shane Ellis
09f445f227
Merge branch 'next' into 'addplayer'
...
# Conflicts:
# src/g_game.c
2021-06-19 20:20:45 -04:00
LJ Sonic
cfa48574be
Merge branch 'next' into 'lua-inputs'
...
# Conflicts:
# src/lua_script.c
2021-06-19 10:34:48 -04:00
lachablock
476dcc861b
Restore P_AproxDistance Lua parity
2021-06-03 14:36:29 +10:00
Shane Ellis
18c47afc76
Merge branch 'next' into 'addplayer'
...
# Conflicts:
# src/lua_baselib.c
# src/r_skins.c
2021-06-02 11:47:11 -04:00
sphere
69b6c409b5
Merge branch 'flicky-mapload-crash-fix' into 'next'
...
Flicky mapload crash fix (and other tmthing-related fixes)
Closes #81
See merge request STJr/SRB2!1522
2021-06-01 14:58:01 -04:00