Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4834 r4836  
    7676
    7777/**
    78    \brief private constructor because of singleton
     78 * private constructor because of singleton
    7979*/
    8080WorldInterface::WorldInterface()
     
    8585
    8686/**
    87    \brief public deconstructor
     87 * public deconstructor
    8888*/
    8989WorldInterface::~WorldInterface()
     
    9595
    9696/**
    97    \brief gets the singleton instance
    98    \returns singleton instance
     97 * gets the singleton instance
     98 * @returns singleton instance
    9999*/
    100100WorldInterface* WorldInterface::getInstance()
     
    107107
    108108/**
    109    \brief initializes the interface
    110    \param reference to the world
     109 * initializes the interface
     110 * @param reference to the world
    111111
    112112   if the worldinterface is not initilizes, there wont be any
     
    125125
    126126/**
    127    \brief gets the entity list from the world
    128    \return entity list
     127 * gets the entity list from the world
     128 * @return entity list
    129129*/
    130130tList<WorldEntity>* WorldInterface::getEntityList()
     
    147147
    148148/**
    149     \brief create a new World
     149  * create a new World
    150150
    151151    This creates a new empty world!
     
    159159
    160160/**
    161    \brief creates a new World...
    162    \param worldID with this ID
     161 * creates a new World...
     162 * @param worldID with this ID
    163163*/
    164164World::World (int worldID)
     
    169169
    170170/**
    171     \brief remove the World from memory
     171  * remove the World from memory
    172172
    173173    delete everything explicitly, that isn't contained in the parenting tree!
     
    207207
    208208/**
    209    \brief initializes the world.
     209 * initializes the world.
    210210
    211211   set all stuff here that is world generic and does not use to much memory
     
    245245
    246246/**
    247    \brief this is executed before load
     247 * this is executed before load
    248248
    249249   since the load function sometimes needs data, that has been init before
     
    277277
    278278/**
    279    \brief loads the World by initializing all resources, and set their default values.
     279 * loads the World by initializing all resources, and set their default values.
    280280*/
    281281ErrorMessage World::load()
     
    376376          if( element->Value() != NULL && !strcmp( element->Value(), "Terrain")) terrain = (Terrain*) created;
    377377          element = element->NextSiblingElement();
    378           glmis->step(); //! \todo temporary
     378          glmis->step(); //! @todo temporary
    379379        }
    380380      PRINTF(4)("Done loading WorldEntities\n");
     
    509509
    510510/**
    511    \brief loads the debug world: only for experimental stuff
     511 * loads the debug world: only for experimental stuff
    512512*/
    513513void World::loadDebugWorld(int worldID)
     
    679679
    680680/**
    681    \brief initializes a new World shortly before start
     681 * initializes a new World shortly before start
    682682
    683683   this is the function, that will be loaded shortly before the world is
     
    692692
    693693/**
    694    \brief starts the World
     694 * starts the World
    695695*/
    696696ErrorMessage World::start()
     
    703703
    704704/**
    705    \brief stops the world.
     705 * stops the world.
    706706
    707707   This happens, when the player decides to end the Level.
     
    714714
    715715/**
    716    \brief pauses the Game
     716 * pauses the Game
    717717*/
    718718ErrorMessage World::pause()
     
    722722
    723723/**
    724    \brief ends the pause Phase
     724 * ends the pause Phase
    725725*/
    726726ErrorMessage World::resume()
     
    730730
    731731/**
    732    \brief destroys the World
     732 * destroys the World
    733733*/
    734734ErrorMessage World::destroy()
     
    738738
    739739/**
    740    \brief shows the loading screen
     740 * shows the loading screen
    741741*/
    742742void World::displayLoadScreen ()
     
    752752
    753753/**
    754    \brief removes the loadscreen, and changes over to the game
    755 
    756    \todo take out the delay
     754 * removes the loadscreen, and changes over to the game
     755
     756   @todo take out the delay
    757757*/
    758758void World::releaseLoadScreen ()
     
    766766
    767767/**
    768    \brief gets the list of entities from the world
    769    \returns entity list
     768 * gets the list of entities from the world
     769 * @returns entity list
    770770*/
    771771tList<WorldEntity>* World::getEntities()
     
    776776
    777777/**
    778    \brief this returns the current game time
    779    \returns elapsed game time
     778 * this returns the current game time
     779 * @returns elapsed game time
    780780*/
    781781double World::getGameTime()
     
    786786
    787787/**
    788     \brief checks for collisions
     788  * checks for collisions
    789789
    790790    This method runs through all WorldEntities known to the world and checks for collisions
     
    829829
    830830/**
    831     \brief runs through all entities calling their draw() methods
     831  * runs through all entities calling their draw() methods
    832832*/
    833833void World::draw ()
     
    858858
    859859/**
    860    \brief function to put your own debug stuff into it. it can display informations about
     860 * function to put your own debug stuff into it. it can display informations about
    861861   the current class/procedure
    862862*/
     
    936936  this->lastFrame = SDL_GetTicks ();
    937937  PRINTF(3)("World::mainLoop() - Entering main loop\n");
    938   while( !this->bQuitOrxonox && !this->bQuitCurrentGame) /* \todo implement pause */
     938  while( !this->bQuitOrxonox && !this->bQuitCurrentGame) /* @todo implement pause */
    939939    {
    940940      ++this->cycle;
     
    956956
    957957      //      for( int i = 0; i < 5000000; i++) {}
    958       /* \todo this is to slow down the program for openGl Software emulator computers, reimplement*/
     958      /* @todo this is to slow down the program for openGl Software emulator computers, reimplement*/
    959959    }
    960960  PRINTF(3)("World::mainLoop() - Exiting the main loop\n");
     
    963963
    964964/**
    965    \brief synchronize local data with remote data
     965 * synchronize local data with remote data
    966966*/
    967967void World::synchronize ()
     
    973973
    974974/**
    975    \brief run all input processing
     975 * run all input processing
    976976
    977977   the command node is the central input event dispatcher. the node uses the even-queue from
     
    991991
    992992/**
    993    \brief advance the timeline
     993 * advance the timeline
    994994
    995995   this calculates the time used to process one frame (with all input handling, drawing, etc)
     
    10491049         but since we like the things not too complicated we got it this way around
    10501050         until there is need or time to do it the other way around.
    1051          \todo: GraphicsEngine ticks world: separation of processes and data...
     1051         @todo: GraphicsEngine ticks world: separation of processes and data...
    10521052
    10531053        bensch: in my opinion the GraphicsEngine could draw the world, but not tick it,
     
    10611061
    10621062/**
    1063    \brief this function gives the world a consistant state
     1063 * this function gives the world a consistant state
    10641064
    10651065   after ticking (updating the world state) this will give a constistant
     
    10761076
    10771077/**
    1078    \brief render the current frame
     1078 * render the current frame
    10791079
    10801080   clear all buffers and draw the world
     
    10891089  this->draw();
    10901090  // draw HUD
    1091   /* \todo draw HUD */
     1091  /* @todo draw HUD */
    10921092  // flip buffers
    10931093  GraphicsEngine::swapBuffers();
     
    10981098
    10991099/**
    1100    \brief add and spawn a new entity to this world
    1101    \param entity to be added
     1100 * add and spawn a new entity to this world
     1101 * @param entity to be added
    11021102*/
    11031103void World::spawn(WorldEntity* entity)
     
    11091109
    11101110/**
    1111    \brief add and spawn a new entity to this world
    1112    \param entity to be added
    1113    \param absCoor At what coordinates to add this entity.
    1114    \param absDir In which direction should it look.
     1111 * add and spawn a new entity to this world
     1112 * @param entity to be added
     1113 * @param absCoor At what coordinates to add this entity.
     1114 * @param absDir In which direction should it look.
    11151115*/
    11161116void World::spawn(WorldEntity* entity, Vector* absCoor, Quaternion* absDir)
     
    11261126
    11271127/**
    1128    \brief add and spawn a new entity to this world
    1129    \param entity to be added
    1130    \param entity to be added to (PNode)
    1131    \param At what relative  coordinates to add this entity.
    1132    \param In which relative direction should it look.
     1128 * add and spawn a new entity to this world
     1129 * @param entity to be added
     1130 * @param entity to be added to (PNode)
     1131 * @param At what relative  coordinates to add this entity.
     1132 * @param In which relative direction should it look.
    11331133*/
    11341134void World::spawn(WorldEntity* entity, PNode* parentNode,
     
    11531153/**
    11541154  \brief commands that the world must catch
    1155   \returns false if not used by the world
     1155  @returns false if not used by the world
    11561156*/
    11571157bool World::command(Command* cmd)
Note: See TracChangeset for help on using the changeset viewer.