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
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
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
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
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