1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-07 23:02:07 +00:00

Minor things. Most importantly: Game receives ACTION_SWIMLEFT and ACTION_SWIMLEFT now, for use in nodes' action() callback.

This commit is contained in:
fgenesis 2013-08-26 20:57:38 +02:00
commit c857722213
4 changed files with 6 additions and 5 deletions

View file

@ -4572,6 +4572,7 @@ void DSQ::onUpdate(float dt)
os << " | s: " << dsq->continuity.seconds;
os << " | evQ: " << core->eventQueue.getSize();
os << " | sndQ: " << core->dbg_numThreadDecoders;
os << " | dt: " << core->get_current_dt();
/*
os << " | s: " << dsq->continuity.seconds;
os << " cr: " << core->cullRadius;

View file

@ -6853,10 +6853,8 @@ void Game::bindInput()
// used for scrolling help text
dsq->user.control.actionSet.importAction(this, "SwimUp", ACTION_SWIMUP);
dsq->user.control.actionSet.importAction(this, "SwimDown", ACTION_SWIMDOWN);
/*
dsq->user.control.actionSet.importAction(this, "SwimLeft", ACTION_SWIMLEFT);
dsq->user.control.actionSet.importAction(this, "SwimRight", ACTION_SWIMRIGHT);
*/
dsq->user.control.actionSet.importAction(this, "PrevPage", ACTION_PREVPAGE);