Changeset 3462 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 9, 2005, 1:36:23 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world.cc
r3461 r3462 639 639 void World::draw () 640 640 { 641 / / draw entities641 /* draw entities */ 642 642 WorldEntity* entity; 643 643 entity = this->entities->enumerate(); … … 648 648 } 649 649 650 //glmis = new GLMenuImageScreen();651 ///glmis->init();652 653 // draw debug coord system654 650 glCallList (objectList); 655 651 //! \todo skysphere is a WorldEntity and should be inside of the world-entity-list. … … 907 903 } 908 904 909 910 911 /**912 \brief swaps two values913 \todo make this a global function, and take it out of world914 */915 void World::swap (unsigned char &a, unsigned char &b)916 {917 unsigned char temp;918 temp = a;919 a = b;920 b = temp;921 } -
orxonox/trunk/src/world.h
r3461 r3462 55 55 56 56 private: 57 TrackManager* trackManager; //!< The reference of the TrackManager that handles the course through the Level.58 Camera* localCamera; //!< The current Camera59 tList<WorldEntity>* entities;//!< A template List of all entities. Every moving thing should be included here, and world automatically updates them.60 61 57 Uint32 lastFrame; //!< last time of frame 62 58 bool bQuitOrxonox; //!< quit this application … … 69 65 char* worldName; //!< The name of this World 70 66 int debugWorldNr; //!< The Debug Nr. needed, if something goes wrong 71 GLuint objectList; //!< temporary: \todo this will be ereased soon 67 68 PNode* nullParent; //!< The zero-point, that everything has as its parent. 69 TrackManager* trackManager; //!< The reference of the TrackManager that handles the course through the Level. 70 Camera* localCamera; //!< The current Camera 72 71 Skysphere* skySphere; //!< The Environmental Heaven of orxonox \todo insert this to environment insted 73 72 Light* light; //!< The Lights of the Level 74 73 74 GLuint objectList; //!< temporary: \todo this will be ereased soon 75 tList<WorldEntity>* entities;//!< A template List of all entities. Every moving thing should be included here, and world automatically updates them. 75 76 WorldEntity* localPlayer; //!< The Player, you fly through the level. 76 77 77 PNode* nullParent; //!< The zero-point, that everything has as its parent. 78 78 /* function for main-loop */ 79 79 void mainLoop (); 80 80 void synchronize (); … … 86 86 void debug (); 87 87 88 void swap (unsigned char &a, unsigned char &b); /* \todo: this function doesn't belong here, this should be part of a image class*/89 88 }; 90 89
Note: See TracChangeset
for help on using the changeset viewer.