Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5239 in orxonox.OLD for trunk


Ignore:
Timestamp:
Sep 24, 2005, 11:13:32 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: compile-performance-stuff

Location:
trunk/src/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event.cc

    r4836 r5239  
    1 /* 
     1/*
    22   orxonox - the future of 3D-vertical-scrollers
    33
     
    2424 *  standard constructor
    2525*/
    26 Event::Event () 
     26Event::Event ()
    2727{
    28    this->setClassID(CL_EVENT, "Event");
     28//   this->setClassID(CL_EVENT, "Event");
    2929
    3030}
    31 
    32 
    33 /**
    34  *  standard deconstructor
    35 
    36 */
    37 Event::~Event ()
    38 {
    39   // delete what has to be deleted here
    40 }
  • trunk/src/lib/event/event.h

    r5143 r5239  
    1010
    1111
    12 #include "base_object.h"
     12//#include "base_object.h"
    1313#include "sdlincl.h"
    1414
    1515//! An abstract event class
    16 class Event : virtual public BaseObject {
     16class Event {
    1717
    1818 public:
    1919  Event();
    20   virtual ~Event();
    21 
    2220
    2321  int      offset;                      //!< offset in the event type array
  • trunk/src/lib/event/event_listener.h

    r5143 r5239  
    11/*!
    22 * @file event_listener.h
    3   *  Definition of an event listener base class
    4 
     3 *  Definition of an event listener base class
    54*/
    65
  • trunk/src/lib/graphics/importer/texture.h

    r4836 r5239  
    99#define _TEXTURE_H
    1010
    11 #include "sdlincl.h"
    1211#include "glincl.h"
    1312
    1413#include "debug.h"
    1514
     15struct SDL_Surface;
     16
    1617//! an enumerator for different procedural texture-types
    1718typedef enum TEXTURE_TYPE { TEXTURE_RADIAL_ALIAS,
    18                             TEXTURE_NOISE };
     19                            TEXTURE_NOISE };
    1920
    2021//! A Class, that reads in Textures from different fileformats.
     
    2829
    2930  /** @returns The textureID of this texture.  */
    30   inline GLuint getTexture() {return this->texture;}
     31  inline GLuint getTexture() const { return this->texture; };
    3132  GLuint loadTexToGL (SDL_Surface* surface);
    3233  /** @returns true if texture has alpha, false otherwise */
Note: See TracChangeset for help on using the changeset viewer.