mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-24 08:43:15 +02:00
Expose sim.canMove constants
This commit is contained in:
parent
867b8e4327
commit
65aa34201b
@ -2015,6 +2015,12 @@ void LuaSimulation::Open(lua_State *L)
|
||||
LCONST(DECOSPACE_GAMMA18);
|
||||
LCONST(NUM_DECOSPACES);
|
||||
|
||||
LCONSTAS("CANMOVE_BOUNCE", 0);
|
||||
LCONSTAS("CANMOVE_SWAP", 1);
|
||||
LCONSTAS("CANMOVE_ENTER", 2);
|
||||
LCONSTAS("CANMOVE_BUILTIN", 3);
|
||||
LCONSTAS("NUM_CANMOVEMODES", 4);
|
||||
|
||||
{
|
||||
lua_newtable(L);
|
||||
for (int i = 0; i < UI_WALLCOUNT; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user