mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 22:19:07 +00:00
Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental
This commit is contained in:
commit
c9bcbd3c1e
5 changed files with 9 additions and 7 deletions
|
@ -5222,7 +5222,7 @@ void Avatar::updateWallJump(float dt)
|
|||
|
||||
void Avatar::updateRoll(float dt)
|
||||
{
|
||||
if (!inputEnabled || dsq->game->isWorldPaused())
|
||||
if (!inputEnabled || dsq->game->isWorldPaused() || riding)
|
||||
{
|
||||
if (rolling)
|
||||
stopRoll();
|
||||
|
|
|
@ -78,7 +78,7 @@ void BitBlotLogo::skipLogo()
|
|||
|
||||
void BitBlotLogo::getOut()
|
||||
{
|
||||
dsq->continuity.reset();
|
||||
//dsq->continuity.reset();
|
||||
|
||||
#ifdef AQUARIA_DEMO
|
||||
dsq->title();
|
||||
|
|
|
@ -1537,7 +1537,7 @@ This build is not yet final, and as such there are a couple things lacking. They
|
|||
|
||||
setMousePosition(core->center);
|
||||
|
||||
dsq->continuity.reset();
|
||||
//dsq->continuity.reset();
|
||||
|
||||
loadBit(LOAD_FINISHED);
|
||||
|
||||
|
|
|
@ -247,17 +247,13 @@ void Mod::applyStart()
|
|||
if (!dsq->runScript(scriptPath, "init"))
|
||||
{
|
||||
debugLog("MOD: runscript failed");
|
||||
dsq->continuity.reset();
|
||||
setActive(false);
|
||||
dsq->continuity.reset();
|
||||
dsq->title();
|
||||
}
|
||||
if (isActive() && dsq->game->sceneToLoad.empty())
|
||||
{
|
||||
debugLog("MOD: no scene loaded in mod-init");
|
||||
dsq->continuity.reset();
|
||||
setActive(false);
|
||||
dsq->continuity.reset();
|
||||
dsq->title();
|
||||
}
|
||||
else if (isActive())
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue