- Timestamp:
- Aug 1, 2011, 7:09:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/modules/questsystem/QuestManager.cc
r8729 r8811 61 61 RegisterRootObject(QuestManager); 62 62 63 COUT(3) << "QuestManager created." << std::endl;63 orxout(internal_info, context::quests) << "QuestManager created." << endl; 64 64 } 65 65 … … 70 70 QuestManager::~QuestManager() 71 71 { 72 COUT(3) << "QuestManager destroyed." << std::endl;72 orxout(internal_info, context::quests) << "QuestManager destroyed." << endl; 73 73 } 74 74 … … 103 103 { 104 104 quest->setRegistered(); 105 COUT(4) << "Quest with questId {" << quest->getId() << "} successfully inserted." << std::endl;105 orxout(verbose, context::quests) << "Quest with questId {" << quest->getId() << "} successfully inserted." << endl; 106 106 return true; 107 107 } 108 108 else 109 109 { 110 COUT(2) << "Quest with the same id was already present." << std::endl;110 orxout(internal_warning, context::quests) << "Quest with the same id was already present." << endl; 111 111 return false; 112 112 } … … 141 141 { 142 142 hint->setRegistered(); 143 COUT(4) << "QuestHint with hintId {" << hint->getId() << "} successfully inserted." << std::endl;143 orxout(verbose, context::quests) << "QuestHint with hintId {" << hint->getId() << "} successfully inserted." << endl; 144 144 return true; 145 145 } 146 146 else 147 147 { 148 COUT(2) << "QuestHint with the same id was already present." << std::endl;148 orxout(internal_warning, context::quests) << "QuestHint with the same id was already present." << endl; 149 149 return false; 150 150 } … … 183 183 { 184 184 quest = NULL; 185 COUT(2) << "The quest with id {" << questId << "} is nowhere to be found." << std::endl;185 orxout(internal_warning, context::quests) << "The quest with id {" << questId << "} is nowhere to be found." << endl; 186 186 } 187 187 … … 212 212 { 213 213 hint = NULL; 214 COUT(2) << "The hint with id {" << hintId << "} is nowhere to be found." << std::endl;214 orxout(internal_warning, context::quests) << "The hint with id {" << hintId << "} is nowhere to be found." << endl; 215 215 } 216 216 … … 431 431 if(player == NULL) 432 432 { 433 COUT(1) << "Error: GUIOverlay with name '" << guiName << "' has no player." << std::endl;433 orxout(internal_error, context::quests) << "GUIOverlay with name '" << guiName << "' has no player." << endl; 434 434 return NULL; 435 435 }
Note: See TracChangeset
for help on using the changeset viewer.