Changeset 3836 in orxonox.OLD for orxonox/trunk/src/track_manager.h
- Timestamp:
- Apr 15, 2005, 5:51:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/track_manager.h
r3835 r3836 21 21 22 22 //! The Default Curve-Type to set for the whole path (if not chosen otherwise). 23 #define TMAN_DEFAULT_CURVETYPE BEZIERCURVE23 #define TMAN_DEFAULT_CURVETYPE CURVE_BEZIER 24 24 #define TMAN_DEFAULT_DURATION 10 25 25 #define TMAN_DEFAULT_WIDTH 10 … … 139 139 PNode* trackNode; //!< The main TrackNode of this Track. 140 140 141 void initChildren(unsigned int childCount );141 void initChildren(unsigned int childCount, TrackElement* trackElem = NULL); 142 142 143 TrackElement* findTrackElementByID(unsigned int trackID) const;144 145 143 public: 146 144 virtual ~TrackManager(void); … … 150 148 // Methods to change the Path (initialisation) 151 149 void workOn(unsigned int trackID); 150 void workOn(const char* trackName); 151 152 152 /** \see setCurveType(CurveType curveType, TrackElement* trackElem); \param curveType the type of the Curve */ 153 153 inline void setCurveType(CurveType curveType) { this->setCurveType (curveType, this->currentTrackElem);}; 154 154 void setCurveType(CurveType curveType, TrackElement* trackElem); 155 void setDuration(float time); 156 bool addPoint(Vector newPoint); 157 bool addPoint(Vector newPoint, TrackElement* trackElem); 158 int addHotPoint(Vector newPoint); 155 void setDuration(float duration, TrackElement* trackElem = NULL); 156 bool addPoint(Vector newPoint, TrackElement* trackElem = NULL); 157 int addHotPoint(Vector newPoint, TrackElement* trackElem = NULL); 159 158 int setSavePoint(void); 160 159 void fork(unsigned int count, ...);
Note: See TracChangeset
for help on using the changeset viewer.