From: Daniel Karbach Date: Mon, 20 Aug 2012 20:43:32 +0000 (+0200) Subject: removed some outdated TODOs X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;ds=sidebyside;h=1c5b28e8559e8383958307534e262a9b29f50fdf;p=l2e.git removed some outdated TODOs --- diff --git a/src/battle/BattleState.cpp b/src/battle/BattleState.cpp index 95f2f11..84d1a49 100644 --- a/src/battle/BattleState.cpp +++ b/src/battle/BattleState.cpp @@ -211,7 +211,6 @@ void BattleState::ExitState(Application &ctrl, SDL_Surface *screen) { } void BattleState::ResumeState(Application &ctrl, SDL_Surface *screen) { - // TODO: check for victory or defeat if (ranAway) { ctrl.PopState(); // quit the battle scene return; diff --git a/src/battle/states/SelectAttackType.cpp b/src/battle/states/SelectAttackType.cpp index f8ad21d..3603e1b 100644 --- a/src/battle/states/SelectAttackType.cpp +++ b/src/battle/states/SelectAttackType.cpp @@ -106,7 +106,6 @@ void SelectAttackType::HandleEvents(const Input &input) { } if (battle->AttackSelectionDone()) { - // TODO: switch to battle animation instead ctrl->PopState(); } } diff --git a/src/main.cpp b/src/main.cpp index 14a6336..8325163 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -355,9 +355,7 @@ int main(int argc, char **argv) { Sprite magicTargetCursor(targetingIconsImg, 32, 32, 0, 32); Sprite itemTargetCursor(targetingIconsImg, 32, 32, 0, 64); battleRes.weaponTargetCursor = &weaponTargetCursor; - // TODO: add image for magic targeting cursor battleRes.magicTargetCursor = &magicTargetCursor; - // TODO: add image for item targeting cursor battleRes.itemTargetCursor = &itemTargetCursor; Spell resetSpell;