summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Ctrl.java
AgeCommit message (Expand)AuthorFilesLines
2016-05-18Ctrl: fix notification position, and push/writeJérémy Zurcher1-10/+10
2016-05-18fix Ctrl: must Unit.clear() before loading, or this won't be on androidJérémy Zurcher1-0/+1
2016-05-11Ctrl: call storeInitialState() on new game onlyJérémy Zurcher1-1/+1
2016-05-11Ctrl: this.mode -> modeJérémy Zurcher1-4/+4
2016-05-11Map5Marshal,Ctrl: use Unit.IterableSet<Unit>, call Unit.clear() at exitJérémy Zurcher1-1/+1
2016-05-10Ctrl: clear orders before storing Initial State, do not replay map deploymentJérémy Zurcher1-1/+3
2016-05-10Ctrl: avoid bad stacked msgs positionJérémy Zurcher1-3/+1
2016-05-10Ctrl: factorise codeJérémy Zurcher1-11/+4
2016-05-10Ctrl: implement REPLAY_BATTLE modeJérémy Zurcher1-2/+23
2016-05-10Ctrl: cleanup according to latest db changesJérémy Zurcher1-13/+16
2016-05-10Battle: clean up map.clear() usageJérémy Zurcher1-11/+3
2016-05-10DB,Ctrl: clean up store/load validate methodsJérémy Zurcher1-6/+51
2016-05-10Map4Orders: prepareReplayCurrentTurn() -> prepareReplayLastTurn()Jérémy Zurcher1-1/+1
2016-05-07Ctrl: ask for deployment end only in PLAY modeJérémy Zurcher1-1/+1
2016-05-04Config: REPLAY_LAST / REPLAY_BATTLEJérémy Zurcher1-2/+2
2016-05-04StateSelect: clear() on reinforcement dock togggleJérémy Zurcher1-1/+3
2016-05-04Ctrl: ooops, that should be in e89cb4fJérémy Zurcher1-1/+1
2016-05-03OMG: add event queue, messages, replay, bounce animation, complete states rew...Jérémy Zurcher1-270/+342
2016-04-01Ctrl: setState(StateType) depth msg is error not debugJérémy Zurcher1-1/+1
2016-04-01Ctrl: add error msg in getState(StateType)Jérémy Zurcher1-0/+1
2016-04-01Ctrl: code reorderJérémy Zurcher1-48/+48
2016-04-01Ctrl: add EventType.UNIT_DOCK_SELECTJérémy Zurcher1-2/+6
2016-03-31Ctrl: add postEvent(EventType, Object)Jérémy Zurcher1-0/+6
2016-03-31Ctrl: TOGGLE_REINFORCEMENT -> UNIT_DOCK_TOGGLEJérémy Zurcher1-4/+4
2016-03-31Ctrl: add EventType.TOGGLE_REINFORCEMENTJérémy Zurcher1-2/+6
2016-03-31Ctrl: postAnimationsDone() -> postEvent(EventType)Jérémy Zurcher1-2/+2
2016-03-31Ctrl: Event is a private class, EventType is an inner public enumJérémy Zurcher1-11/+11
2016-03-31Ctrl: setState(StateType) is privateJérémy Zurcher1-1/+1
2016-03-31Ctrl: add Event.Type.ANIMATIONS_DONE and use itJérémy Zurcher1-15/+24
2016-03-31Ctrl: add private Event getEvent()Jérémy Zurcher1-6/+10
2016-03-31Ctrl: code cleanupJérémy Zurcher1-13/+10
2016-03-31Battle: hasReinforcement() -> setNextTurn()Jérémy Zurcher1-1/+1
2016-03-30Ctrl: add setState loop and depth detectionJérémy Zurcher1-0/+10
2016-03-30Ctrl,Hud: use events to send answers back from Hud to CtrlJérémy Zurcher1-25/+41
2016-03-30Ctrl: add postDone() and postAbort()Jérémy Zurcher1-0/+3
2016-03-30Ctrl: add event queue, supports STATE_CHANGE eventsJérémy Zurcher1-0/+46
2016-03-30Ctrl: no readon for StringWriter to be staticJérémy Zurcher1-1/+1
2016-03-30Ctrl: for now no replay if turn just endedJérémy Zurcher1-2/+6
2016-03-30Ctrl: completeReplayStep() does AP burn down, completeReplay() check for turn...Jérémy Zurcher1-3/+13
2016-03-30Ctrl: nextState == StateType.DONE -> call complete() and handle REPLAYJérémy Zurcher1-4/+13
2016-03-29Ctrl: knows how to replay a turnJérémy Zurcher1-6/+31
2016-03-29Ctrl: set default stateAfterAnimation = StateType.DONEJérémy Zurcher1-0/+1
2016-03-29Ctrl: replayLastOrder -> synchedJérémy Zurcher1-3/+3
2016-03-29Ctrl: replay last order on resume if not synchedJérémy Zurcher1-1/+9
2016-03-29Ctrl,State: enable StateReplayJérémy Zurcher1-0/+6
2016-03-24State leave/enter -> leaveFor/enterFromJérémy Zurcher1-2/+2
2016-03-23Ctrl: loading methods are protectedJérémy Zurcher1-3/+3
2016-03-22Battle,Ctrl: move JSON code from BattleCommon to CtrlJérémy Zurcher1-0/+27
2016-03-20StateType,Ctrl: add LOADING state and Ctrl.isLoading()Jérémy Zurcher1-2/+9
2016-03-20Ctrl: processAction/Turn() -> action/turnDoneCb() + add orderProcessedCb()Jérémy Zurcher1-2/+3