Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9876 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Oct 3, 2006, 2:38:31 PM (18 years ago)
Author:
bensch
Message:

compiles better on Windows

Location:
trunk/src/lib/graphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/graphics_engine.cc

    r9869 r9876  
    376376#ifdef __WIN32__
    377377  // REBUILDING TEXTURES (ON WINDOWS CONTEXT SWITCH)
    378   const std::list<BaseObject*>* texList = ClassList::getList(CL_TEXTURE);
    379   if (texList != NULL)
    380   {
    381     std::list<BaseObject*>::const_iterator reTex;
    382     for (reTex = texList->begin(); reTex != texList->end(); reTex++)
    383       dynamic_cast<Texture*>(*reTex)->rebuild();
    384   }
     378  ObjectList<Texture>::const_iterator retex;
     379  for (retex = Texture::objectList().begin(); retex != Texture::objectList().end(); ++retex)
     380    (*retex)->rebuild();
     381
    385382  // REBUILDING MODELS
    386   const std::list<BaseObject*>* modelList = ClassList::getList(CL_STATIC_MODEL);
    387   if (texList != NULL)
    388   {
    389     std::list<BaseObject*>::const_iterator reModel;
    390     for (reModel = modelList->begin(); reModel != modelList->end(); reModel++)
    391       dynamic_cast<StaticModel*>(*reModel)->rebuild();
    392   }
     383  ObjectList<StaticModel>::const_iterator remod;
     384  for (remod = StaticModel::objectList().begin(); remod != StaticModel::objectList().end(); ++remod)
     385    (*remod)->rebuild();
     386
    393387#endif /* __WIN32__ */
    394388  return 1;
  • trunk/src/lib/graphics/importer/md2/md2Model.h

    r9869 r9876  
    8383  FALLBACK,        //9
    8484  WAVE,            //10
    85   POINT,           //11
     85  /// TODO: DO THIS BACK  POINT,           //11
    8686  CROUCH_STAND,
    8787  CROUCH_WALK,
  • trunk/src/lib/graphics/spatial_separation/Makefile.am

    r5463 r9876  
    44noinst_LIBRARIES = libORXquadtree.a
    55
    6 libORXquadtree_a_SOURCES = quadtree.cc \
     6libORXquadtree_a_SOURCES =
     7# quadtree.cc \
    78                           quadtree_node.cc \
    89                           spatial_separation.cc
Note: See TracChangeset for help on using the changeset viewer.