Changeset 9876 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Oct 3, 2006, 2:38:31 PM (18 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r9869 r9876 376 376 #ifdef __WIN32__ 377 377 // 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 385 382 // 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 393 387 #endif /* __WIN32__ */ 394 388 return 1; -
trunk/src/lib/graphics/importer/md2/md2Model.h
r9869 r9876 83 83 FALLBACK, //9 84 84 WAVE, //10 85 POINT, //1185 /// TODO: DO THIS BACK POINT, //11 86 86 CROUCH_STAND, 87 87 CROUCH_WALK, -
trunk/src/lib/graphics/spatial_separation/Makefile.am
r5463 r9876 4 4 noinst_LIBRARIES = libORXquadtree.a 5 5 6 libORXquadtree_a_SOURCES = quadtree.cc \ 6 libORXquadtree_a_SOURCES = 7 # quadtree.cc \ 7 8 quadtree_node.cc \ 8 9 spatial_separation.cc
Note: See TracChangeset
for help on using the changeset viewer.