Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 18, 2006, 3:27:12 AM (18 years ago)
Author:
patrick
Message:

network: added the planet to the menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/simple_game_menu.cc

    r6521 r6524  
    3333
    3434#include "event_handler.h"
     35#include "graphics_engine.h"
    3536
    3637#include "cd_engine.h"
     
    104105
    105106  this->dataTank->localCamera->setRelCoor(this->cameraVector);
    106 }
    107 
    108 
     107
     108  GraphicsEngine::getInstance()->displayFPS(false);
     109}
     110
     111
     112/**
     113 * load the data
     114 */
    109115ErrorMessage SimpleGameMenu::loadData()
    110116{
     
    148154
    149155
     156/**
     157 * start the menu
     158 */
    150159bool SimpleGameMenu::start()
    151160{
     
    158167
    159168
     169/**
     170 * stop the menu
     171 */
    160172bool SimpleGameMenu::stop()
    161173{
     
    192204void SimpleGameMenu::animateScene(float dt)
    193205{
    194   Quaternion q(0.00005*dt, Vector(0.0, 1.0, 0.0));
     206  Quaternion q(/*0.00005*/ 0.0001* dt, Vector(0.0, 1.0, 0.0));
    195207  this->cameraVector = q.apply(this->cameraVector);
    196208  this->dataTank->localCamera->setRelCoor(this->cameraVector);
Note: See TracChangeset for help on using the changeset viewer.