Options Menu for lua Cvars #117

Merged
alufolie91 merged 9 commits from luaoptmenu into Saturn-Next 2024-03-17 13:02:19 +01:00
alufolie91 commented 2024-03-04 17:01:12 +01:00 (Migrated from github.com)
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2380/diffs?commit_id=75d0d324852b3a2d78278c0471d0164a5ea8605b Modified a little to mark netvars red
Indev450 (Migrated from github.com) reviewed 2024-03-04 19:26:32 +01:00
@@ -392,5 +392,5 @@
while (lua_next(L, 4)) {
// stack: [...] PossibleValue table, index, value
// 4 5 6
if (lua_type(L, 5) != LUA_TSTRING
|| lua_type(L, 6) != LUA_TNUMBER)
Indev450 (Migrated from github.com) commented 2024-03-04 19:26:31 +01:00

Is this line intended? It will cause hasminmax always be false

Is this line intended? It will cause `hasminmax` always be false
alufolie91 (Migrated from github.com) reviewed 2024-03-04 19:35:37 +01:00
@@ -392,5 +392,5 @@
while (lua_next(L, 4)) {
// stack: [...] PossibleValue table, index, value
// 4 5 6
if (lua_type(L, 5) != LUA_TSTRING
|| lua_type(L, 6) != LUA_TNUMBER)
alufolie91 (Migrated from github.com) commented 2024-03-04 19:35:36 +01:00

uhhhhhhhhhhhhhh somehow it works but ye shouldnt be there lul

uhhhhhhhhhhhhhh somehow it works but ye shouldnt be there lul
alufolie91 (Migrated from github.com) reviewed 2024-03-04 19:40:23 +01:00
@@ -392,5 +392,5 @@
while (lua_next(L, 4)) {
// stack: [...] PossibleValue table, index, value
// 4 5 6
if (lua_type(L, 5) != LUA_TSTRING
|| lua_type(L, 6) != LUA_TNUMBER)
alufolie91 (Migrated from github.com) commented 2024-03-04 19:40:23 +01:00

oh wait it didnt work lmfao oops

oh wait it didnt work lmfao oops
alufolie91 (Migrated from github.com) reviewed 2024-03-04 19:41:10 +01:00
@@ -392,5 +392,5 @@
while (lua_next(L, 4)) {
// stack: [...] PossibleValue table, index, value
// 4 5 6
if (lua_type(L, 5) != LUA_TSTRING
|| lua_type(L, 6) != LUA_TNUMBER)
alufolie91 (Migrated from github.com) commented 2024-03-04 19:41:10 +01:00

hm tbh with it fixed, i dont really like the sliders

hm tbh with it fixed, i dont really like the sliders
alufolie91 (Migrated from github.com) reviewed 2024-03-04 19:41:39 +01:00
@@ -392,5 +392,5 @@
while (lua_next(L, 4)) {
// stack: [...] PossibleValue table, index, value
// 4 5 6
if (lua_type(L, 5) != LUA_TSTRING
|| lua_type(L, 6) != LUA_TNUMBER)
alufolie91 (Migrated from github.com) commented 2024-03-04 19:41:39 +01:00

so uhhhhhh, personally id just let it not be a slider

so uhhhhhh, personally id just let it not be a slider
Indev450 (Migrated from github.com) reviewed 2024-03-04 19:50:13 +01:00
@@ -392,5 +392,5 @@
while (lua_next(L, 4)) {
// stack: [...] PossibleValue table, index, value
// 4 5 6
if (lua_type(L, 5) != LUA_TSTRING
|| lua_type(L, 6) != LUA_TNUMBER)
Indev450 (Migrated from github.com) commented 2024-03-04 19:50:13 +01:00

blobcatpat

![blobcatpat](https://github.com/Indev450/SRB2Kart-Saturn/assets/44119190/d403eb41-a727-4462-bfc4-fe64b2969951)
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#117