Changeset 8811 for code/branches/output/src/modules/docking/DockToShip.cc
- Timestamp:
- Aug 1, 2011, 7:09:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/modules/docking/DockToShip.cc
r8706 r8811 43 43 { 44 44 RegisterObject(DockToShip); 45 COUT(4) << "DockToShip instance created.." << endl;45 orxout(verbose, context::docking) << "DockToShip instance created.." << endl; 46 46 } 47 47 … … 69 69 bool DockToShip::docking(PlayerInfo* player) 70 70 { 71 COUT(4) << "DockToShip::attach" << endl;71 orxout(verbose, context::docking) << "DockToShip::attach" << endl; 72 72 73 73 DockingTarget *target = DockingEffect::findTarget(this->target_); 74 74 if (target == NULL) { 75 COUT(0) << "Can't retrieve target for '" << this->target_ << "'.." << std::endl;75 orxout(internal_warning, context::docking) << "Can't retrieve target for '" << this->target_ << "'.." << endl; 76 76 return false; 77 77 } … … 79 79 ControllableEntity *dockTo = (ControllableEntity*) target->getParent(); 80 80 if (dockTo == NULL) { 81 COUT(2) << "Parent is not a ControllableEntity.." << std::endl;81 orxout(internal_warning, context::docking) << "Parent is not a ControllableEntity.." << endl; 82 82 return false; 83 83 } … … 92 92 bool DockToShip::release(PlayerInfo* player) 93 93 { 94 COUT(4) << "DockToShip::release" << endl;94 orxout(verbose, context::docking) << "DockToShip::release" << endl; 95 95 96 96 player->stopTemporaryControl();
Note: See TracChangeset
for help on using the changeset viewer.