Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/orxonox/objects/infos/HumanPlayer.h

    r2907 r2908  
    5151            void setClientID(unsigned int clientID);
    5252
    53             virtual void changedGametype();
    54             virtual void changedControllableEntity();
    55 
    56             inline void setHumanHUDTemplate(const std::string& name)
    57             {
    58                 if (name != this->humanHudTemplate_)
    59                 {
    60                     this->humanHudTemplate_ = name;
    61                     this->updateHumanHUD();
    62                 }
    63             }
    64             inline const std::string& getHumanHUDTemplate() const
    65                 { return this->humanHudTemplate_; }
    66             inline OverlayGroup* getHumanHUD() const
    67                 { return this->humanHud_; }
    68 
    69             inline void setGametypeHUDTemplate(const std::string& name)
    70             {
    71                 if (name != this->gametypeHudTemplate_)
    72                 {
    73                     this->gametypeHudTemplate_ = name;
    74                     this->updateGametypeHUD();
    75                 }
    76             }
    77             inline const std::string& getGametypeHUDTemplate() const
    78                 { return this->gametypeHudTemplate_; }
    79             inline OverlayGroup* getGametypeHUD() const
    80                 { return this->gametypeHud_; }
     53            virtual void changedController();
    8154
    8255        protected:
     
    8861            void networkcallback_client_initialized();
    8962
    90             void updateHumanHUD();
    91             void updateGametypeHUD();
    92 
    9363            std::string nick_;
    9464            std::string synchronize_nick_;
     
    9666            bool server_initialized_;
    9767            bool client_initialized_;
    98 
    99             std::string humanHudTemplate_;
    100             OverlayGroup* humanHud_;
    101             std::string gametypeHudTemplate_;
    102             OverlayGroup* gametypeHud_;
    10368    };
    10469}
Note: See TracChangeset for help on using the changeset viewer.