summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
AgeCommit message (Expand)AuthorFilesLines
2016-03-30StateReplay: remove useless switch branch for PROMOTE OrderJérémy Zurcher1-2/+0
2016-03-30Ctrl,Hud: use events to send answers back from Hud to CtrlJérémy Zurcher2-61/+49
2016-03-30Ctrl: add postDone() and postAbort()Jérémy Zurcher1-0/+3
2016-03-30Hud: remove unused END_OF_TURN actionJérémy Zurcher1-21/+0
2016-03-30ActionButtons: use ctrl.post(StateType) instead of ctrl.setState(StateType)Jérémy Zurcher1-1/+1
2016-03-30State: use ctrl.post(StateType) instead of ctrl.setState(StateType)Jérémy Zurcher9-21/+21
2016-03-30Ctrl: add event queue, supports STATE_CHANGE eventsJérémy Zurcher1-0/+46
2016-03-30Map4Orders: use RustAndDust.error instead of err.printlnJérémy Zurcher1-2/+2
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-30StateReplay: clear order when finishedJérémy Zurcher1-1/+3
2016-03-29Ctrl: knows how to replay a turnJérémy Zurcher1-6/+31
2016-03-29Solo: use game.config.loadMode to load jsonJérémy Zurcher1-1/+18
2016-03-29Map4Orders: sync actionId while replaying ordersJérémy Zurcher1-0/+1
2016-03-29StateReplay: use Order.cost to be aware of action completnessJérémy Zurcher1-1/+2
2016-03-29Map4Orders: do not show engagement hud on replayJérémy Zurcher1-1/+2
2016-03-29Order: add int costJérémy Zurcher3-0/+4
2016-03-29Map5Marshal: shorten orders element namesJérémy Zurcher1-11/+11
2016-03-29Ctrl: set default stateAfterAnimation = StateType.DONEJérémy Zurcher1-0/+1
2016-03-29Map4Orders: add prepareReplayLastTurn()Jérémy Zurcher1-0/+9
2016-03-29StateReplay: improve readabilityJérémy Zurcher1-3/+4
2016-03-29StateReplay: fix selectedUnitJérémy Zurcher1-1/+3
2016-03-29StateReplay: Order is privateJérémy Zurcher1-1/+1
2016-03-29Ctrl: replayLastOrder -> synchedJérémy Zurcher2-5/+5
2016-03-29Solo: set replayLastOrder to false by defaultJérémy Zurcher1-0/+1
2016-03-29Config: add enum LoadModeJérémy Zurcher1-0/+16
2016-03-29Solo: remove fixed FIXMEJérémy Zurcher1-1/+0
2016-03-29Ctrl: replay last order on resume if not synchedJérémy Zurcher2-1/+10
2016-03-29Map4Orders: enable replayJérémy Zurcher1-16/+69
2016-03-29Ctrl,State: enable StateReplayJérémy Zurcher2-0/+7
2016-03-29add states/StateReplayJérémy Zurcher1-0/+83
2016-03-29StateMove: be sure activable are shownJérémy Zurcher1-0/+1
2016-03-29StateEngage: simplify, do not recomputeJérémy Zurcher1-7/+1
2016-03-27Order: add actionId, increased at the end of each actionJérémy Zurcher4-0/+8
2016-03-27Map4Orders: call order.setActivable(activableUnits)Jérémy Zurcher1-0/+1
2016-03-27Map5Marshal: load/unload Order.activableJérémy Zurcher1-0/+12
2016-03-27Order: add unitList activable, setActivable(UnitList)Jérémy Zurcher1-0/+8
2016-03-27Order: remove useless unitCode, unitType, unitHexJérémy Zurcher2-14/+2
2016-03-27Map4Orders: doPromote removes unit from activableUnitsJérémy Zurcher1-0/+1
2016-03-26StateMove: hideAssists() -> hideActivable()Jérémy Zurcher1-3/+3
2016-03-26StateEngage: remove useless debug messageJérémy Zurcher1-2/+1
2016-03-26Map4Rotate: methods called by States returns booleanJérémy Zurcher3-27/+27
2016-03-24Map4Orders: code reorderJérémy Zurcher1-19/+19
2016-03-24Map4Orders: private methods renameJérémy Zurcher1-4/+4
2016-03-24State leave/enter -> leaveFor/enterFromJérémy Zurcher12-24/+24
2016-03-23Map4Orders: cmd -> orderJérémy Zurcher1-17/+17
2016-03-23Solo: on turnDoneCb, first store Orders then StateJérémy Zurcher1-1/+1
2016-03-23Ctrl: loading methods are protectedJérémy Zurcher1-3/+3