Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 3, 2015, 11:43:42 PM (10 years ago)
Author:
landauf
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/storymodeHS14/src/orxonox/gametypes/Mission.cc

    r10253 r10254  
    2929#include "Mission.h"
    3030
    31 #include <boost/filesystem.hpp>
    32 
    3331#include "items/Engine.h"
    3432#include "controllers/ArtificialController.h"
     
    3634#include "core/CoreIncludes.h"
    3735#include "core/command/ConsoleCommand.h"
    38 #include "core/config/ConfigValueIncludes.h"
    3936#include "infos/PlayerInfo.h"
    4037#include "network/Host.h"
     
    8279    void Mission::start()
    8380    {
    84         std::fstream myfile;
    85 
    8681        Gametype::start();
    8782        this->setTeams();
    88         //just for testing
    89         //this->missionAccomplished_=true;
    9083        this->gtinfo_->sendAnnounceMessage("Your mission has started!");
    9184    }
     
    9386    void Mission::end()
    9487    {
    95 
    9688        if (this->missionAccomplished_ && !this->gtinfo_->hasEnded())
    9789        {
     
    10092            LevelManager::getInstance().setLastFinishedCampaignMission(this->getFilename());
    10193        }
    102 
    10394        else if (!this->gtinfo_->hasEnded())
    10495            this->gtinfo_->sendAnnounceMessage("Mission failed!");
     96
    10597        Gametype::end();
    10698    }
     
    122114            it->setMissionAccomplished(accomplished);
    123115            it->end();
    124 
    125116        }
    126117    }
     
    133124        }
    134125    }
    135 
    136126}
Note: See TracChangeset for help on using the changeset viewer.