Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2018, 12:24:02 AM (7 years ago)
Author:
landauf
Message:

[HUD_HS16] removed debug output

Location:
code/trunk/src/modules/overlays/hud
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/overlays/hud/HUDPickupItem.cc

    r11700 r11701  
    5050
    5151        std::string name = "HUDPickupItem" + getUniqueNumberString();
    52         orxout() << "name: "<< name<<endl;
    5352        overlayElement_ = static_cast<Ogre::PanelOverlayElement* >(Ogre::OverlayManager::getSingleton().createOverlayElement("Panel", name ));
    5453
     
    5958    HUDPickupItem::~HUDPickupItem()
    6059    {
    61         /*if (this->isInitialized())
    62         {
    63             overlayElement_=nullptr;
    64         }*/
    6560    }
    6661
     
    7873        assert(overlayElement_);
    7974        assert(this->background_);
    80         orxout()<< overlayElement_->getName()<< endl;
    8175        //overlayElement_->hide();
    8276        this->background_->removeChild(overlayElement_->getName());
    83        
    8477    }
    8578}
  • code/trunk/src/modules/overlays/hud/HUDPickupSystem.cc

    r11700 r11701  
    5656    HUDPickupSystem::~HUDPickupSystem()
    5757    {
    58         /*if (this->isInitialized())
    59         {
    60             this->picks.clear();
    61         }*/
    6258    }
    6359
     
    7268        //hide all pickup symbols in HUD and delete from local map
    7369       
    74         orxout() << "picks size before: " << picks.size() << endl;
    75         orxout() << "p size before: " << p.size() << endl;
    76 
    7770        for(const auto& sm_pair : picks)
    7871        {
    7972            sm_pair.second->hideMe(sm_pair.first, repaint);
    80             orxout() << "deleting local list picks: " << picks.size() << " pickup ptr" << sm_pair.first << endl;
    8173        }
    8274
     
    8981        float offsetY = 0.82f;
    9082        const float x = 0.102f;
    91         orxout() << "picks size after: " << picks.size() << endl;
    92         orxout() << "p size after: " << p.size() << endl;
    9383
    9484        for(Pickupable* pickup:p)
     
    10494            HUDPickupItem* item = new HUDPickupItem(this->getContext());
    10595            item->initializeMaterial(this->getIcon(((Pickup*)pickup)->getRepresentationName()), offsetX+i*x, offsetY);
    106             orxout() << "created new pickupHUDItem"<<endl;
    10796            item->setOverlayGroup(this->getOverlayGroup());
    10897            picks[pickup] = item;
Note: See TracChangeset for help on using the changeset viewer.