Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6524 in orxonox.OLD for branches


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

network: added the planet to the menu

Location:
branches/network/src
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/defs/class_id.h

    r6514 r6524  
    100100  CL_NPC                        =    0x00204000,
    101101  CL_IMAGE_ENTITY               =    0x00206000,
     102  CL_PLANET                     =    0x00207000,
    102103  CL_PROJECTILE                 =    0x00208000,
    103104  CL_WEAPON                     =    0x00210000,
  • 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);
  • branches/network/src/world_entities/Makefile.am

    r6514 r6524  
    2323                  world_entities/test_entity.cc \
    2424                  world_entities/image_entity.cc \
     25                  world_entities/planet.cc \
    2526                  \
    2627                  world_entities/weapons/weapon_manager.cc \
     
    7273                 world_entities/test_entity.h \
    7374                 world_entities/image_entity.h \
     75                 world_entities/planet.h \
    7476                 \
    7577                 world_entities/weapons/weapon_manager.h \
  • branches/network/src/world_entities/skybox.cc

    r6514 r6524  
    7171  this->setClassID(CL_SKYBOX, "SkyBox");
    7272  this->toList(OM_ENVIRON_NOTICK);
    73   this->size = 100.0;
     73  //this->size = 100.0;
    7474  this->textureSize = 1024.0f;
    7575
Note: See TracChangeset for help on using the changeset viewer.