Commit graph

680 commits

Author SHA1 Message Date
JugadorXEI
31f168de72 Expose K_GetMobjWeight to Lua 2025-08-21 09:41:41 +02:00
JugadorXEI
858fd5a3f3 Expose K_TerrainHasAffect to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
28fa210be5 Expose K_UpdateTerrainOverlay to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
2ca0f99459 Expose K_HandleFootstepParticles to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
6dd3efe3cc Expose K_SpawnSplashForMobj to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
1a60f29a9b Expose K_SetDefaultFriction to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
e3f09875d6 Expose K_ProcessTerrainEffect to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
60ad342aca Expose K_GetTerrainForTextureNum to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
f3c6d6b9ca Expose K_GetTerrainForTextureName to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
c73c4f904f Expose K_GetDefaultTerrain to Lua 2025-08-21 09:35:16 +02:00
JugadorXEI
8c68fefa17 Lua library for t_splash_t, t_footstep_t, t_overlay_t and terrain_t (getter, setter and num) 2025-08-21 09:35:06 +02:00
Eidolon
43b93daaad Merge public master 2025-08-20 20:55:46 -05:00
Eidolon
dbcd125ba8 Merge branch 'visualFunctionsLua' into 'master'
Expose VFX and visual functions from k_kart.c to Lua

See merge request KartKrew/RingRacers!129
2025-08-21 01:48:58 +00:00
JugadorXEI
0d7ffd78b3 Expose VFX and visual functions from k_kart.c to Lua 2025-08-21 01:48:58 +00:00
Eidolon
c28559cb4b Merge branch 'exposeLoopVars' into 'master'
Expose loop variables to Lua (get only)

See merge request KartKrew/RingRacers!128
2025-08-21 00:27:12 +00:00
Eidolon
6e8fdf7f59 Merge public master 2025-08-18 16:30:49 -05:00
JugadorXEI
67419a95de Expose loop variables to Lua (get only) 2025-08-08 13:51:00 +02:00
Antonio Martinez
4217c9e214 No need to pass a roulette to lua itemresult 2025-07-10 04:51:41 -04:00
Antonio Martinez
4ed4989f3b Remove optional call-by-roulette path to Lua roulette stuff (we need player info in scope for EXP!) 2025-07-05 16:29:29 -04:00
Antonio Martinez
5dc72e9886 Restore PreFilItemRoulette by moving hooks outside of reelbuilder 2025-07-05 16:16:26 -04:00
JugadorXEI
b2fae10b48 Expose K_CheckBossIntro and K_CanChangeRules to Lua 2025-07-04 15:59:48 -04:00
JugadorXEI
bf278f4fcc Expose K_ScaleItemDistance and K_ItemOddsScale to Lua 2025-07-04 15:58:02 -04:00
JugadorXEI
501c85a7b1 Expose K_CalculateRouletteSpeed to Lua 2025-07-04 15:52:37 -04:00
JugadorXEI
6359cf19b7 Expose K_GetRouletteOffset and K_GetSlotOffset to Lua 2025-07-04 15:51:17 -04:00
JugadorXEI
a6c34c4ff2 Expose K_ForcedSPB and K_DenyShieldOdds to Lua 2025-07-04 15:51:05 -04:00
JugadorXEI
303df563c3 Add K_SetItemInReelByIndex, K_AddItemToReelByIndex and K_RemoveItemFromReelByIndex to Lua 2025-07-04 15:49:18 -04:00
JugadorXEI
3c3dec6a46 Create K_WipeItemsInReel for Lua 2025-07-04 15:49:08 -04:00
Antonio Martinez
f32eefb9b5 Internal fuckup the third 2025-07-04 15:48:10 -04:00
JugadorXEI
5a62e902a0 Expose K_GetItemRouletteDistance, K_FindUseodds and K_CreateAndShuffleItemReel to Lua 2025-07-04 15:44:49 -04:00
Antonio Martinez
4694430292 Internal merge lua roulette fixup hell 2025-07-04 15:43:16 -04:00
JugadorXEI
a4a6c349b4 Expose K_KartGetItemResult to Lua 2025-07-04 15:25:55 -04:00
JugadorXEI
ae11db8b78 Expose K_TimeAttackRules and K_CapsuleTimeAttackRules to Lua 2025-07-04 15:23:59 -04:00
JugadorXEI
73ad210e4e Expose K_GetItemCooldown and K_SetItemCooldown to Lua 2025-07-04 15:23:50 -04:00
JugadorXEI
0613c1ee99 Expose K_GetShieldFromItem to Lua 2025-07-04 15:21:33 -04:00
JugadorXEI
7d0a0a61c3 Expose K_StartItemRoulette, K_StartEggmanRoulette and K_StopRoulette to Lua 2025-07-04 15:21:11 -04:00
JugadorXEI
a6f228ec29 Expose K_AddItemToReel and K_PushToRouletteItemList to Lua 2025-07-04 15:20:05 -04:00
JugadorXEI
f1898078c2 Expose K_ItemEnabled, K_ItemSingularity and K_GetBotItemPriority to Lua 2025-07-04 15:19:34 -04:00
JugadorXEI
12ab7185e1 Item Roulette lib (includes getters and setters so far) 2025-07-04 15:16:24 -04:00
FreakyMutantMan
1f1e0bdb6e Removing a slur from an old comment in favor of a potentially dated reference. 2025-07-02 21:11:48 +00:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Cheariisan
aa1cd4d7d0 Expose most of the music handler to Lua 2024-08-28 22:04:31 +00:00
Sal
e4b81494d6 Merge branch 'follower-lua' into 'master'
Expose follower array and follower_t to lua

See merge request KartKrew/RingRacers!42
2024-08-22 13:05:41 +00:00
haya_underscore
ff035e0af5 Expose follower array and follower_t to lua 2024-08-22 13:05:41 +00:00
Jisk
8bdd0abfaf Expose K_AddMessage functions. 2024-08-17 18:34:12 +00:00
AJ Martinez
bf585359c9 Add soft tumble, don't drop items vs invinc 2024-05-01 18:09:34 -07:00
James R
44ea14104e Add G_GametypeAllowsRetrying, split away from G_GametypeUsesLives
- Cases for lives specifically and not retrying use
  G_GametypeUsesLives
  - Such as HUD elements and GAME OVER

- Cases for retrying and losing lives use
  G_GametypeAllowsRetrying
  - Such as GP bonus rounds
2024-04-06 22:19:34 -07:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
Sally Coolatta
af6340741e Add speed to gametype
Set a specific gamespeed per gametype. KARTSPEED_AUTO for it to be decided by game settings.

Wanted this for a while, but also it makes game speed display logic for DRP very straightforward.
2024-03-22 16:58:36 -04:00
Sally Coolatta
9b93f56111 Add pre-Podium intermission music 2024-03-10 14:08:59 -04:00
toaster
7f0df71558 R_SkinAvailableEX
- Most R_SkinAvailable calls should be returning index into demo.skinlist (same numerical value as when demo was recorded), for demo sync
- A handful of general things permit exception for this
- Expose `replaynumskins` (calculated as `(demo.playback ? demo.numskins : numskins)`) to Lua
    - There's *always* more that can be done for this, but this is the minimum spec that can at least be somewhat stable
2024-03-05 13:21:38 -08:00