Changeset 4756 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Jul 1, 2005, 7:50:30 PM (20 years ago)
- Location:
- orxonox/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/ChangeLog
r4755 r4756 35 35 Windows compiles again. 36 36 37 2005-04-27 orxonox 37 2005-04-27 orxonox <info@orxonox.ethz.ch> 38 38 Tagged Version 0.2.3-pre-alpha 39 39 … … 59 59 Reimplemented shooting. 60 60 61 2005-03-16 orxonox 61 2005-03-16 orxonox <info@orxonox.ethz.ch> 62 62 Finished work on version 0.2.1-pre-alpha released 0.2.2-pre-alpha 63 63 … … 126 126 127 127 2004-04-25 Amir Guindehi <amir@guindehi.ch> 128 Created Project Orxonox 129 130 128 Created Project orxonox. 129 Thanks a lot. -
orxonox/trunk/src/lib/lang/class_list.cc
r4755 r4756 123 123 while (likely(tmp != NULL)) 124 124 { 125 if (tmp->classID == classID || classID == CL_NULL)125 if (tmp->classID == classID || (classID == CL_NULL && tmp->classID == CL_BASE_OBJECT)) 126 126 { 127 127 tIterator<BaseObject>* iterator = tmp->objectList->getIterator(); … … 152 152 PRINT(0)("= CLASS_LIST (level %d) =\n", debugLevel); 153 153 PRINT(0)("==========================\n"); 154 PRINT(0)(" has %d Elements\n\n", ClassList::classCount);154 PRINT(0)(" knows %d Classes\n\n", ClassList::classCount); 155 155 ClassList* tmp = ClassList::first; 156 156 char niceString[100]; … … 168 168 niceString[30-strlen(tmp->className) - lenCount] = '\0'; 169 169 170 PRINT(0)(" CLASS %s:%s %d instances\n", tmp->className, niceString, tmp->objectList->getSize());170 PRINT(0)(" CLASS %s:%s %d\n", tmp->className, niceString, tmp->objectList->getSize()); 171 171 172 172 if (debugLevel >=2 && tmp->objectList->getSize() > 0) -
orxonox/trunk/src/lib/lang/class_list.h
r4754 r4756 27 27 virtual ~ClassList(); 28 28 29 // STATIC FUNCTIONS 29 30 static void addToClassList(BaseObject* objectPointer, const long& classID, const char* className); 30 31 static void removeFromClassList(BaseObject* objectPointer); 31 32 32 bool exists(BaseObject* object, long classID = CL_NULL);33 static bool exists(BaseObject* object, long classID = CL_NULL); 33 34 34 35 static void debug(unsigned int debugLevel = 0); -
orxonox/trunk/src/orxonox.cc
r4753 r4756 74 74 Orxonox::~Orxonox () 75 75 { 76 int i = 0;76 int i = 0; 77 77 Orxonox::singletonRef = NULL; 78 78 delete GraphicsEngine::getInstance(); // deleting the Graphics
Note: See TracChangeset
for help on using the changeset viewer.