1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 22:19:07 +00:00

Add Lua function isShuttingDownGameState()

This commit is contained in:
fgenesis 2013-10-28 04:28:05 +01:00
parent c312572ff7
commit 9377b6edb9

View file

@ -8357,6 +8357,11 @@ luaFunc(isMiniMapCursorOkay)
luaReturnBool(dsq->isMiniMapCursorOkay());
}
luaFunc(isShuttingDownGameState)
{
luaReturnBool(dsq->game->isShuttingDownGameState());
}
luaFunc(inv_isFull)
{
IngredientData *data = dsq->continuity.getIngredientDataByName(getString(L, 1));
@ -9526,6 +9531,7 @@ static const struct {
luaRegister(getScreenSize),
luaRegister(getScreenVirtualSize),
luaRegister(isMiniMapCursorOkay),
luaRegister(isShuttingDownGameState),
luaRegister(inv_isFull),
luaRegister(inv_getMaxAmount),