From 1c5b28e8559e8383958307534e262a9b29f50fdf Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 20 Aug 2012 22:43:32 +0200 Subject: [PATCH] removed some outdated TODOs --- src/battle/BattleState.cpp | 1 - src/battle/states/SelectAttackType.cpp | 1 - src/main.cpp | 2 -- 3 files changed, 4 deletions(-) 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; -- 2.39.2