/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Patrick Boenzli co-programmer: ... */ #include "track_manager.h" using namespace std; /** \brief standard constructor \todo this constructor is not jet implemented - do it */ TrackManager::TrackManager () { this->setClassName ("TrackManager"); } /** \brief standard deconstructor \todo this deconstructor is not jet implemented - do it */ TrackManager::~TrackManager () { } /** \brief Searches for a given trackID. \param trackID the trackID to search for. \returns The TrackElement #trackID if found, NULL otherways. */ TrackElement TrackManager::findTrackElementByID(int trackID) { } // INITIALIZE // /** \brief Sets the trackID we are working on. \param trackID the trackID we are working on */ void TrackManager::workOn(int trackID) { } /** \brief Sets the Type of the Curve \brief curveType The Type to set */ void TrackManager::setType(CurveType curveType) { } /** \brief Sets the length of the current path in seconds. \param time The length in seconds. */ void TrackManager::setLength(float time) { } /** \brief adds a point to the current TrackElement \param newPoint The point to add. */ void TrackManager::addPoint(Vector newPoint) { } /** \brief adds save/splitpoint. \param newPoint The point to add. */ void TrackManager::addHotPoint(Vector newPoint) { } /** \brief Sets the last HotPoint into a savePoint. If no HotPoint was defined the last added Point will be rendered into a savePoint. \n If the HotPoint was defined as a fork the Point will \b not be set into a savePoint. */ void TrackManager::setSavePoint(void) { } /** \brief adds some interessting non-linear movments through the level. \param count The Count of childrens the current HotPoint will have. If no HotPoint was defined the last added Point will be rendered into a fork. \n If the HotPoint was defined as a savePoint the Point will \b not be set into a fork. */ void TrackManager::fork(int count, ...) { } /** \brief adds some interessting non-linear movments through the level. \param count The Count of childrens the current HotPoint will have. \param trackIDs A Pointer to an Array of ints which will hold the trackID's (the user will have to reserve space for this). \see void TrackManager::fork(int count, ...) */ void TrackManager::forkV(int count, int* trackIDs) { } /** \brief decides under what condition a certain Path will be chosen. \param groupID the ID on which to choose the preceding move \param cond \todo think about this */ void TrackManager::condition(int groupID, PathCondition cond) { } /** \brief joins some tracks together again. \param count The count of Paths to join. Join will set the localTime to the longest time a Path has to get to this Point. \n Join will join all curves to the first curve. */ void TrackManager::join(int count, ...) { } /** \brief joins some tracks together again. \param count The count of Paths to join. \param trackIDs an Array with the trackID's to join \see void TrackManager::join(int count, ...) */ void TrackManager::joinV(int count, int* trackIDs) { } // RUNTIME // /** \brief calculates the Position for the localTime of the Track. \returns the calculated Position */ Vector TrackManager::calcPos() { } /** \brief calculates the Rotation for the localTime of the Track. \returns the calculated Rotation */ Vector TrackManager::calcDir() { } /** \brief Advances the local-time of the Track around dt \param dt The time about which to advance. */ void TrackManager::tick(float dt) { } /** \brief a Function that decides which Path we should follow. \param graphID The Path to choose. */ void TrackManager::choosePath(int graphID) { }