Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11701


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

[HUD_HS16] removed debug output

Location:
code/trunk/src
Files:
4 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;
  • code/trunk/src/modules/pickup/PickupManager.cc

    r11700 r11701  
    105105        this->indexes_.clear();
    106106
    107         orxout() << "PickupManager destroyed." << endl;
     107        orxout(internal_info, context::pickups) << "PickupManager destroyed." << endl;
    108108    }
    109109
     
    265265        assert(pickup);
    266266
    267         orxout() << "just got called"<<endl;
    268267        for (HUDPickupSystem* hud : ObjectList<HUDPickupSystem>())
    269268            pickupSystem = hud;
     
    317316            if(pickupSystem)
    318317                pickupSystem->sync(picks, indexes_);
    319             orxout() << "end of pickupChangedPickedUp" << endl;
    320318        }
    321319
  • code/trunk/src/orxonox/interfaces/Pickupable.cc

    r11700 r11701  
    8080        if(this->isPickedUp())
    8181            this->drop(false); // Drops the pickup without creating a PickupSpawner.
    82         orxout()<< "end of preDestroy" << endl;
    8382    }
    8483
     
    9998    void Pickupable::destroyPickup(void)
    10099    {
    101         orxout()<< "beginning of actual destroy" << endl;
    102100        if(!this->isBeingDestroyed())
    103101            this->Destroyable::destroy();
    104102        else
    105103            orxout(internal_warning, context::pickups) << this->getIdentifier()->getName() << " may be unsafe. " << endl;
    106         orxout()<<"end of actual destroy" << endl;
    107104    }
    108105
Note: See TracChangeset for help on using the changeset viewer.