Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2016, 1:11:00 PM (9 years ago)
Author:
sagerj
Message:

added orxout() for every release lvl for debug purpose

Location:
code/branches/sagerjFS16/src/orxonox/worldentities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sagerjFS16/src/orxonox/worldentities/ControllableEntity.cc

    r11071 r11164  
    303303        if(GameMode::isMaster())
    304304        {
     305            orxout() << "f CE IF " << firemode << endl;
    305306            this->fired(firemode);
    306307        }
    307308        else
    308309        {
     310            orxout() << "f CE EL " << firemode << endl;
     311            callMemberNetworkFunction(&ControllableEntity::fire, this->getObjectID(), 0, firemode);
     312        }
     313    }
     314
     315    void ControllableEntity::release(unsigned int firemode)
     316    {
     317        if(GameMode::isMaster())
     318        {
     319            orxout() << "r CE IF " << firemode << endl;
     320            this->released(firemode);
     321        }
     322        else
     323        {
     324            orxout() << "r CE EL " << firemode << endl;
    309325            callMemberNetworkFunction(&ControllableEntity::fire, this->getObjectID(), 0, firemode);
    310326        }
  • code/branches/sagerjFS16/src/orxonox/worldentities/ControllableEntity.h

    r11071 r11164  
    9797
    9898            void fire(unsigned int firemode);
     99            void release(unsigned int firemode);
    99100            virtual void fired(unsigned int firemode) {}
     101            virtual void released(unsigned int firemode) {}
    100102            virtual void reload() {}
    101103
Note: See TracChangeset for help on using the changeset viewer.