Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2008, 10:10:31 AM (15 years ago)
Author:
scheusso
Message:
  • adjusted some priorities of objects (movableentity, controllableentity, positionableentity, model)
  • dedicated server mode doesn't consume 100%cpu load anymore now
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/network/synchronisable/Synchronisable.cc

    r2371 r2415  
    6666    RegisterRootObject(Synchronisable);
    6767    static uint32_t idCounter=0;
    68     objectFrequency_=1;
    6968    objectMode_=0x1; // by default do not send data to server
    7069    if ( !Host::running() || ( Host::running() && Host::isServer() ) )
     
    7877    classID = static_cast<uint32_t>(-1);
    7978
    80 
     79    // set standard priority
     80    this->setPriority( priority::normal );
     81
     82   
     83    // get creator id
    8184#ifndef NDEBUG
    8285    ObjectList<Synchronisable>::iterator it;
Note: See TracChangeset for help on using the changeset viewer.