Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9843 in orxonox.OLD for branches


Ignore:
Timestamp:
Sep 26, 2006, 9:50:42 PM (18 years ago)
Author:
bensch
Message:

some nicer output, and the music does nod stall anymore.

Just so you all know (at least interessted once): Resources can now be displayed through:
Shell → ResourceManager debug

Location:
branches/new_class_id/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/sound/ogg_player.cc

    r9813 r9843  
    266266        ogg->update();
    267267      }
    268       SDL_Delay(10);
     268      SDL_Delay(1);
    269269    }
    270270    PRINTF(4)("End the AudioThread\n");
  • branches/new_class_id/src/lib/util/loading/resource.cc

    r9839 r9843  
    193193    PRINT(0)("\n");
    194194
     195    PRINT(0)("  Loaded Resources:\n");
     196    std::vector<Resources::StorePointer*>::const_iterator it;
     197    for (it = this->_storedResources.begin(); it != this->_storedResources.end(); ++it)
     198      PRINT(0)("    '%s' : KeepLevel '%s'\n", (*it)->loadString().c_str(), (*it)->keepLevel().name().c_str());
    195199  }
    196200}
Note: See TracChangeset for help on using the changeset viewer.