Changeset 9722 in orxonox.OLD for branches/new_class_id/src/lib
- Timestamp:
- Sep 4, 2006, 11:54:30 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/md2/md2Model.h
r9715 r9722 160 160 virtual void setAnimation(int firstFrame, int lastFrame, int fps, int bStoppable, int animPlayback); 161 161 /** returns the current animation @returns animation type */ 162 inline int MD2Model::getAnimation() { return this->animationState.type; }162 inline int getAnimation() { return this->animationState.type; } 163 163 virtual void setAnimationSpeed(float speed) { this->animationSpeed = speed; } 164 164 virtual bool isAnimationFinished() { return (this->animationState.currentFrame == this->animationState.endFrame )?true:false; } -
branches/new_class_id/src/lib/gui/gl/glmenu/glmenu_imagescreen.h
r9715 r9722 33 33 void setMaximum (int maxValue); 34 34 /** @returns the maximum of countable steps*/ 35 inline int GLMenuImageScreen::getMaximum() const { return this->maxValue; };35 inline int getMaximum() const { return this->maxValue; }; 36 36 37 37 void setValue (int currentValue); -
branches/new_class_id/src/lib/network/network_game_manager.h
r9715 r9722 37 37 virtual ~NetworkGameManager(); 38 38 39 static NetworkGameManager* NetworkGameManager::getInstance()39 static NetworkGameManager* getInstance() 40 40 { if (!NetworkGameManager::singletonRef) NetworkGameManager::singletonRef = new NetworkGameManager(); return NetworkGameManager::singletonRef; } 41 41 -
branches/new_class_id/src/lib/parser/ini_parser/ini_parser.cc
r9406 r9722 165 165 else if( (ptr = strchr( lineBegin, '=')) != NULL) 166 166 { 167 if (currentSection == NULL)167 if (currentSection == this->sections.end()) 168 168 { 169 169 PRINTF(2)("Not in a Section yet for %s\n", lineBegin); … … 470 470 { 471 471 std::list<IniEntry>::const_iterator entry = this->getEntryIT(entryName, sectionName); 472 if ( entry != NULL &&(*entry).name == entryName)472 if (/** FIXME entry != NULL && */ (*entry).name == entryName) 473 473 return (*entry).value; 474 474 PRINTF(2)("Entry '%s' in section '%s' not found.\n", entryName.c_str(), sectionName.c_str()); … … 627 627 if ((*entry).name == entryName) 628 628 break; 629 if (entry == (*section).entries.end()) 630 return NULL; 631 else 632 return entry; 629 return entry; 633 630 } 634 631 … … 650 647 if ((*entry).name == entryName) 651 648 break; 652 if (entry == (*section).entries.end()) 653 return NULL; 654 else 655 return entry; 649 return entry; 656 650 } 657 651 -
branches/new_class_id/src/lib/parser/ini_parser/ini_parser.h
r8330 r9722 66 66 bool addVar(const std::string& entryName, const std::string& value, const std::string& sectionName = "" ); 67 67 const std::string& getVar(const std::string& entryName, const std::string& sectionName, const std::string& defaultValue = "") const; 68 bool IniParser::editVar(const std::string& entryName, const std::string& value, const std::string& sectionName = "", bool createMissing = true);68 bool editVar(const std::string& entryName, const std::string& value, const std::string& sectionName = "", bool createMissing = true); 69 69 void setEntryComment(const std::string& comment, const std::string& entryName, const std::string& sectionName); 70 70 const std::string& getEntryComment(const std::string& entryName, const std::string& sectionName) const; -
branches/new_class_id/src/lib/shell/shell_completion.h
r9715 r9722 51 51 bool autoComplete(std::string& input); 52 52 53 static const std::string& ShellCompletion::typeToString(ShellCompletion::CompletionType type);53 static const std::string& typeToString(ShellCompletion::CompletionType type); 54 54 55 55 private: -
branches/new_class_id/src/lib/util/sigslot/signal.h
r9406 r9722 96 96 { 97 97 public: 98 virtual ~_connection_base0() {}; 98 99 virtual has_slots<mt_policy>* getdest() const = 0; 99 100 virtual void emit() = 0; … … 106 107 { 107 108 public: 109 virtual ~_connection_base1() {}; 108 110 virtual has_slots<mt_policy>* getdest() const = 0; 109 111 virtual void emit(arg1_type) = 0; … … 116 118 { 117 119 public: 120 virtual ~_connection_base2() {}; 118 121 virtual has_slots<mt_policy>* getdest() const = 0; 119 122 virtual void emit(arg1_type, arg2_type) = 0; … … 126 129 { 127 130 public: 131 virtual ~_connection_base3() {}; 128 132 virtual has_slots<mt_policy>* getdest() const = 0; 129 133 virtual void emit(arg1_type, arg2_type, arg3_type) = 0; … … 136 140 { 137 141 public: 142 virtual ~_connection_base4() {}; 138 143 virtual has_slots<mt_policy>* getdest() const = 0; 139 144 virtual void emit(arg1_type, arg2_type, arg3_type, arg4_type) = 0; … … 147 152 { 148 153 public: 154 virtual ~_connection_base5() {}; 149 155 virtual has_slots<mt_policy>* getdest() const = 0; 150 156 virtual void emit(arg1_type, arg2_type, arg3_type, arg4_type, … … 161 167 { 162 168 public: 169 virtual ~_connection_base6() {}; 163 170 virtual has_slots<mt_policy>* getdest() const = 0; 164 171 virtual void emit(arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, … … 175 182 { 176 183 public: 184 virtual ~_connection_base7() {}; 177 185 virtual has_slots<mt_policy>* getdest() const = 0; 178 186 virtual void emit(arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, … … 189 197 { 190 198 public: 199 virtual ~_connection_base8() {}; 191 200 virtual has_slots<mt_policy>* getdest() const = 0; 192 201 virtual void emit(arg1_type, arg2_type, arg3_type, arg4_type, arg5_type,
Note: See TracChangeset
for help on using the changeset viewer.