Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9973 in orxonox.OLD for branches


Ignore:
Timestamp:
Nov 29, 2006, 4:51:57 PM (18 years ago)
Author:
hejja
Message:

questGUI getestet

Location:
branches/gui/src/world_entities
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/world_entities/Makefile.am

    r9869 r9973  
    2828                spawning_point.cc \
    2929                \
     30                terminal/terminal.cc \
     31                terminal/questGUI.cc \
    3032                \
    3133                effects/explosion.cc \
     
    5860                spawning_point.h \
    5961                \
     62                terminal/terminal.h \
     63                terminal/questGUI.h \
    6064                \
    6165                effects/explosion.h \
  • branches/gui/src/world_entities/WorldEntities.am

    r9967 r9973  
    2626                \
    2727                world_entities/terminal/terminal.cc \
     28                world_entities/terminal/questGUI.cc \
    2829                \
    2930                world_entities/weapons/test_gun.cc \
     
    131132                \
    132133                terminal/terminal.h \
     134                terminal/questGUI.h \
    133135                \
    134136                weapons/test_gun.h \
  • branches/gui/src/world_entities/terminal/terminal.cc

    r9967 r9973  
    2222#include "terminal.h"
    2323
     24#include "event_handler.h"
     25
     26#include "state.h"
     27
     28#include "util/loading/load_param.h"
     29#include "util/loading/factory.h"
     30
     31#include "graphics_engine.h"
     32#include "camera.h"
     33#include "sound_engine.h"
     34
     35#include "sound_source.h"
     36
     37#include "glgui.h"
     38#include "menu/glgui_imagebutton.h"
     39#include "glgui_text.h"
    2440
    2541
    2642ObjectListDefinition(Terminal);
    2743
    28 
     44CREATE_FACTORY(Terminal);
    2945
    3046
     
    3551  this->toList(OM_GROUP_00);
    3652 
    37   this->guiInit();
    3853
    39 
     54  if( root != NULL)
     55    this->loadParams(root);
    4056
    4157}
    4258
    43 
    44 Terminal::~Terminal () {}
     59Terminal::~Terminal ()
     60{}
    4561
    4662
     
    5571   WorldEntity::loadParams(root);
    5672}
    57 
    58 
    59 
    60 
    61 /**
    62  * initializes the gui
    63  */
    64 void Terminal::guiInit()
    65 {
    66  
    67  
    68 }
  • branches/gui/src/world_entities/terminal/terminal.h

    r9967 r9973  
    44
    55#include "world_entity.h"
     6#include "glgui.h"
     7#include <vector>
    68
    79
    810
    9 class Terminal : public WorldEntity {
     11class Terminal : public WorldEntity
     12{
    1013
    1114  ObjectListDeclaration(Terminal);
    12  public:
     15 
     16  public:
    1317   Terminal (const TiXmlElement* root);
    14   virtual ~Terminal ();
     18   virtual ~Terminal ();
    1519
    16   virtual void loadParams(const TiXmlElement* root = NULL);
     20   virtual void loadParams(const TiXmlElement* root = NULL);
    1721
    18 
    19 
    20  private:
    21    
    22    void guiInit();
     22  private:
    2323
    2424};
Note: See TracChangeset for help on using the changeset viewer.