Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6122 in orxonox.OLD for branches/objectmanager/src


Ignore:
Timestamp:
Dec 15, 2005, 1:47:28 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/objectManager: pack some entities to default lists

Location:
branches/objectmanager/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/objectmanager/src/util/object_manager.cc

    r6121 r6122  
    133133  if (omList != OM_INIT || omList == OM_SIZE)
    134134  {
    135     PRINT(0)(" +ObjectManager-LIST: '%s'-size='%d'-----\n", ObjectManager::OMListToString((OM_LIST) omList), this->objectLists[omList].size());
     135    PRINT(0)(" +ObjectManager-LIST: '%s'-size='%d'-----\n", ObjectManager::OMListToString((OM_LIST)omList), this->objectLists[omList].size());
    136136    if (level > 1)
    137137    {
     
    178178    return "===invalid===";
    179179
     180  printf("%d\n", omList);
    180181  return ObjectManager::objectManagerListNames[omList];
    181182}
     
    205206    "null",
    206207    "dead",
    207     "dead-tick"
     208    "dead-tick",
    208209    "environ-notick",
    209210    "environ",
  • branches/objectmanager/src/world_entities/skysphere.cc

    r5511 r6122  
    4242{
    4343  this->setClassID(CL_SKYSPHERE, "SkySphere");
    44 
     44  this->toList(OM_ENVIRON_NOTICK);
    4545  if (fileName == NULL)
    4646    this->initialize("pictures/sky-replace.jpg");
  • branches/objectmanager/src/world_entities/terrain.cc

    r6022 r6122  
    9393{
    9494  this->setClassID(CL_TERRAIN, "Terrain");
     95  this->toList(OM_ENVIRON_NOTICK);
    9596
    9697  this->objectList = 0;
  • branches/objectmanager/src/world_entities/test_entity.cc

    r5994 r6122  
    3333{
    3434  this->setClassID(CL_TEST_ENTITY, "TestEntity");
     35  // TO SOME LIST!!
    3536
    3637  this->md2Model = new MD2Model("models/droidika.md2", "models/droideka.pcx");
  • branches/objectmanager/src/world_entities/world_entity.cc

    r6121 r6122  
    188188 * this is the same as a call to State::getObjectManager()->toList(entity , list);
    189189 * directly, but with an easier interface.
     190 *
     191 * @todo inline this (peut etre)
    190192 */
    191193void WorldEntity::toList(OM_LIST list)
Note: See TracChangeset for help on using the changeset viewer.