Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7123 in orxonox.OLD for trunk/src/lib/lang


Ignore:
Timestamp:
Feb 11, 2006, 8:57:26 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some cleanup before the new tag

  1. BaseObject isA was wrong… every subclass was detected as any other subclass
  2. Classes get unloaded again as they should
  3. some minor fixes (Material* → Material) and some other cleanups
Location:
trunk/src/lib/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/base_object.cc

    r6815 r7123  
    140140  else if (classID & CL_MASK_SUBSUPER_CLASS)
    141141  {
    142     if (likely(((this->classID & CL_MASK_SUBSUPER_CLASS_IDA) == (this->classID & CL_MASK_SUBSUPER_CLASS_IDA)) &&
     142    if (likely(((this->classID & CL_MASK_SUBSUPER_CLASS_IDA) == (classID & CL_MASK_SUBSUPER_CLASS_IDA)) &&
    143143        this->classID & classID & CL_MASK_SUBSUPER_CLASS_IDB))
    144144      return true;
  • trunk/src/lib/lang/class_list.cc

    r6280 r7123  
    276276    if (object->isA((*cl).classID))
    277277  {
    278     PRINT(0)("=%s=-", (*cl).className);
     278    PRINT(0)("=%s::0x%.8X=-", (*cl).className, (*cl).classID);
    279279  }
    280280}
Note: See TracChangeset for help on using the changeset viewer.