Changeset 3523 in orxonox.OLD for orxonox/branches/levelloader/src/track_manager.h
- Timestamp:
- Mar 13, 2005, 5:16:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/track_manager.h
r3499 r3523 16 16 17 17 class PNode; 18 class TrackNamer; 18 19 19 20 //! condition for choosing a certain Path. \todo implement a useful way. … … 106 107 int trackElemCount; //!< The count of TrackElements that exist. 107 108 PNode* bindSlave; 109 TrackNamer* namer; 108 110 109 111 void initChildren(unsigned int childCount); … … 130 132 void joinV(unsigned int count, int* trackIDs); 131 133 void finalize(void); 134 void forkS( char* string); 135 void joinS( char* string); 136 void workOnS( char* string); 137 138 // Method to load track data from file 139 void loadTrack( TiXMLElement* root); 132 140 133 141 // Methods to calculate the position on the Path (runtime) … … 145 153 }; 146 154 155 typedef struct 156 { 157 int ID; 158 char* name; 159 struct TrackIdentifier *next; 160 } TrackIdentifier; 161 162 class TrackNamer 163 { 164 public: 165 TrackNamer() { first = NULL}; 166 ~TrackNamer(); 167 168 int getIDof( const char* name); 169 const char* getNameof( int ID); 170 void add( const char* name, int ID); 171 172 private: 173 TrackIdentifier* first; 174 }; 175 147 176 #endif /* _TRACK_MANAGER_H */
Note: See TracChangeset
for help on using the changeset viewer.