Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 23, 2017, 2:56:00 PM (7 years ago)
Author:
patricwi
Message:

reset back in time

Location:
code/branches/HUD_HS16
Files:
4 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • code/branches/HUD_HS16

  • code/branches/HUD_HS16/src/orxonox/CMakeLists.txt

    r11497 r11499  
    2828  LevelInfo.cc
    2929  LevelManager.cc
    30   Highscore.cc
    3130  Main.cc
    3231  MoodManager.cc
     
    6261    LevelInfo.h
    6362    LevelManager.h
    64     Highscore.h
    6563    MoodManager.h
    6664    controllers/HumanController.h
  • code/branches/HUD_HS16/src/orxonox/LevelInfo.cc

    r11497 r11499  
    151151    }
    152152
    153     bool LevelInfoItem::addHighscore(const std::string& name, const int score)
    154     {
    155         std::stringstream stream;
    156         stream << name << "/:/" << score;
    157         bool success = this->highscores_.insert(stream.str()).second;
    158         if(success)
    159             this->highscoresUpdated();
    160         return success;
    161     }
    162 
    163153    /**
    164154    @brief
     
    201191    }
    202192
    203     void LevelInfoItem::highscoresUpdated(void)
    204     {
    205         std::stringstream stream;
    206         std::set<std::string>::iterator temp;
    207         for(std::set<std::string>::iterator it = this->highscores_.begin(); it != this->highscores_.end(); )
    208         {
    209             temp = it;
    210             if(++it == this->highscores_.end()) // If this is the last tag we don't add a comma.
    211                 stream << *temp;
    212             else
    213                 stream << *temp << ", ";
    214         }
    215 
    216         this->highscoresString_ = std::string(stream.str());
    217     }
    218193    /**
    219194    @brief
  • code/branches/HUD_HS16/src/orxonox/LevelInfo.h

    r11497 r11499  
    118118            inline bool hasTag(const std::string& tag) const { return this->tags_.find(tag) != this->tags_.end(); } // tolua_export
    119119
    120             bool addHighscore(const std::string& name,const int score);
    121 
    122             inline const std::string& getHighscores(void) const { return this->highscoresString_; } // tolua_export
    123 
    124120            void setStartingShips(const std::string& ships); //!< Set the starting ship models of the level
    125121            bool addStartingShip(const std::string& ship, bool update = true); //!< Add a model to shipselection
     
    158154            void startingshipsUpdated(void); //!< Updates the comma-seperated string of all possible starting ships.
    159155            void tagsUpdated(void); //!< Updates the comma-seperated string of all tags, if the set of tags has changed.
    160             void highscoresUpdated(void);
    161156            static void initializeTags(void); //!< Initialize the set of allowed tags.
    162157            /**
     
    175170            std::string screenshot_; //!< The screenshot of the Level.
    176171            std::set<std::string> tags_; //!< The set of tags the Level is tagged with.
    177 
    178             std::set<std::string> highscores_;
    179             std::string highscoresString_;
    180 
    181172            std::string tagsString_; //!< The comma-seperated string of all the tags the Level is tagged with.
    182173            std::set<std::string> startingShips_; //!< The set of starting ship models the Level allows.
     
    253244            inline const std::string& getTags(void) const
    254245                { return this->LevelInfoItem::getTags(); }
    255 
    256             inline const std::string& getHighscores(void) const
    257                 { return this->LevelInfoItem::getHighscores(); }
    258246            /**
    259247            @brief Set the starting ship models of the level
  • code/branches/HUD_HS16/src/orxonox/controllers/HumanController.h

    r11497 r11499  
    9292            //friend class, for mouselook
    9393            friend class Map;
    94             static HumanController* localController_s;
    9594
    9695        protected:
     96            static HumanController* localController_s;
    9797            bool controlPaused_;
    9898
  • code/branches/HUD_HS16/src/orxonox/gamestates/GSLevel.cc

    r11497 r11499  
    5050#include "PlayerManager.h"
    5151#include "GSRoot.h"
     52// #include "overlays/hud/HUDPickupSystem.h"
    5253
    5354namespace orxonox
     
    126127            InputManager::getInstance().leaveState("game");
    127128
     129        // HUDPickupSystem* pickupSystem;
     130
     131        // for (HUDPickupSystem* hud : ObjectList<HUDPickupSystem>())
     132        //     pickupSystem = hud;
     133
     134        // pickupSystem->repaint=false;
     135
    128136        // disconnect all HumanPlayers
    129137        PlayerManager::getInstance().disconnectAllClients();
  • code/branches/HUD_HS16/src/orxonox/gamestates/GSLevel.h

    r11497 r11499  
    3131
    3232#include "OrxonoxPrereqs.h"
     33// #include "overlays/OverlaysPrereqs.h"
    3334
    3435#include <string>
  • code/branches/HUD_HS16/src/orxonox/gametypes/CMakeLists.txt

    r11497 r11499  
    1111  TeamGametype.cc
    1212  Mission.cc
    13   StoryMode.cc
    1413)
  • code/branches/HUD_HS16/src/orxonox/gametypes/Gametype.cc

    r11497 r11499  
    9696        }
    9797    }
    98    
     98
    9999    /**
    100100     * @brief Initializes sub-objects of the Gametype. This must be called after the constructor.
  • code/branches/HUD_HS16/src/orxonox/infos/Bot.cc

    r11497 r11499  
    6868        static const std::string names[] =
    6969        {
    70             "Berkay Berabi",
    71             "Louis  Meile"
    72             "Muten Roshi",
    73             "Abradolf Lincler",
    74             "Lionel Messi",
     70            "Dr. Julius No",
     71            "Rosa Klebb",
     72            "Auric Goldfinger",
     73            "Emilio Largo",
     74            "Ernst Stavro Blofeld",
     75            "Dr. Kananga",
     76            "Francisco Scaramanga",
     77            "Karl Stromberg",
     78            "Sir Hugo Drax",
     79            "Aris Kristatos",
    7580            "Kamal Khan",
    76             "Karl the Llama",
    77             "Thomas the Tankengine",
    78             "Rick",
    79             "Morty",
    80             "Charlie the Unicorn",
    81             "Kung Fury",
    82             "Postman Pat"
     81            "General Orlov",
     82            "Max Zorin",
     83            "Brad Whitaker",
     84            "General Georgi Koskov",
     85            "Franz Sanchez",
     86            "Alec Trevelyan",
     87            "Elliot Carver",
     88            "Elektra King",
     89            "Viktor Zokas",
     90            "Gustav Graves",
     91            "Le Chiffre",
     92            "Mr. White",
     93            "Dominic Greene"
    8394        };
    8495        static std::vector<std::string> defaultnames(names, names + sizeof(names) / sizeof(std::string));
  • code/branches/HUD_HS16/src/orxonox/infos/GametypeInfo.h

    r11497 r11499  
    8383            inline bool isStartCountdownRunning() const
    8484                { return this->bStartCountdownRunning_; }
    85            
    8685            void changedStartCountdownRunning(void); // Is called when the start countdown has been either started or stopped.
    8786
     
    133132            void dispatchStaticMessage(const std::string& message,const ColourValue& colour) const;
    134133            void dispatchFadingMessage(const std::string& message) const;
    135             void setStartCountdown(float countdown); // Set the start countdown to the input value.
    136 
    137134
    138135        protected:
    139136            void start(void); // Inform the GametypeInfo that the game has started.
    140137            void end(void); // Inform the GametypeInfo that the game has ended.
     138            void setStartCountdown(float countdown); // Set the start countdown to the input value.
    141139            void countdownStartCountdown(float countDown); // Count down the start countdown by the specified value.
    142140            void countDown(); // Count down the start countdown counter.
  • code/branches/HUD_HS16/src/orxonox/sound/WorldAmbientSound.cc

    r11497 r11499  
    5858        soundList_.emplace_back("Ganymede.ogg");
    5959        soundList_.emplace_back("luke_grey_-_hypermode.ogg");
    60         soundList_.emplace_back("racetheme.ogg");
    61 
    6260
    6361    }
Note: See TracChangeset for help on using the changeset viewer.