]> git.localhorst.tv Git - l2e.git/commitdiff
removed some outdated TODOs
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 20 Aug 2012 20:43:32 +0000 (22:43 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 20 Aug 2012 20:43:32 +0000 (22:43 +0200)
src/battle/BattleState.cpp
src/battle/states/SelectAttackType.cpp
src/main.cpp

index 95f2f118d9e618f45b928180bad1698240b0969d..84d1a497240da814a105eb64301889b412c7650e 100644 (file)
@@ -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;
index f8ad21d54d9fb9a3ebe52f1fc3dc48eb6d048f0a..3603e1bb529aeb7eb587e06c691037786ddcf925 100644 (file)
@@ -106,7 +106,6 @@ void SelectAttackType::HandleEvents(const Input &input) {
        }
 
        if (battle->AttackSelectionDone()) {
-               // TODO: switch to battle animation instead
                ctrl->PopState();
        }
 }
index 14a6336f014df0d2028d3124f2699ca9a2af64b1..8325163ef61c435ec662e2d0e0c8f96c74cbe018 100644 (file)
@@ -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;