Changeset 7692 in orxonox.OLD for branches/water/src
- Timestamp:
- May 18, 2006, 3:51:16 PM (19 years ago)
- Location:
- branches/water/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/story_entities/game_world.cc
r7690 r7692 471 471 472 472 473 474 /** 475 * reflection rendering for water surfaces 476 */ 473 477 void GameWorld::renderPassReflection() 474 478 { 475 476 479 const std::list<BaseObject*>* reflectedWaters; 477 480 MappedWater* mw; … … 498 501 } 499 502 503 504 /** 505 * refraction rendering for water surfaces 506 */ 500 507 void GameWorld::renderPassRefraction() 501 508 {} 502 509 510 511 /** 512 * this render pass renders the whole wolrd 513 */ 503 514 void GameWorld::renderPassAll() 504 515 { -
branches/water/src/util/object_manager.cc
r7370 r7692 64 64 while(!this->objectLists[i].empty()) 65 65 delete this->objectLists[i].front(); 66 67 // delete reflectin list 68 while( !this->reflectionList.empty()) 69 delete this->reflectionList.front(); 66 70 } 67 71 -
branches/water/src/util/object_manager.h
r7686 r7692 19 19 OM_ENVIRON, 20 20 OM_COMMON, 21 22 OM_REFLECTION, //!< list of all object that need to be drawn in the reflection image23 21 24 22 OM_GROUP_00, … … 96 94 static const char* OMListToString(OM_LIST omList); 97 95 96 97 void toReflectionList( WorldEntity* entity) { this->reflectionList.push_back(entity); } 98 /** @returns the list of all reflected objects in the world */ 99 EntityList& getReflectionList() { return this->reflectionList; } 100 /** @returns the static list of all reflected objects in the world */ 101 const EntityList& getReflectionList() const { return this->reflectionList; } 102 103 104 105 98 106 private: 99 107 const std::list<BaseObject>* pNodeList; //!< The List of PNodes. … … 102 110 103 111 static const char* objectManagerListNames[]; //!< Names of all the lists 112 113 EntityList reflectionList; //!< A list of all reflected objects in the world 104 114 }; 105 115
Note: See TracChangeset
for help on using the changeset viewer.