Changeset 5239 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Sep 24, 2005, 11:13:32 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/event.cc
r4836 r5239 1 /* 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 … … 24 24 * standard constructor 25 25 */ 26 Event::Event () 26 Event::Event () 27 27 { 28 this->setClassID(CL_EVENT, "Event"); 28 // this->setClassID(CL_EVENT, "Event"); 29 29 30 30 } 31 32 33 /**34 * standard deconstructor35 36 */37 Event::~Event ()38 {39 // delete what has to be deleted here40 } -
trunk/src/lib/event/event.h
r5143 r5239 10 10 11 11 12 #include "base_object.h"12 //#include "base_object.h" 13 13 #include "sdlincl.h" 14 14 15 15 //! An abstract event class 16 class Event : virtual public BaseObject{16 class Event { 17 17 18 18 public: 19 19 Event(); 20 virtual ~Event();21 22 20 23 21 int offset; //!< offset in the event type array -
trunk/src/lib/event/event_listener.h
r5143 r5239 1 1 /*! 2 2 * @file event_listener.h 3 * Definition of an event listener base class 4 3 * Definition of an event listener base class 5 4 */ 6 5 -
trunk/src/lib/graphics/importer/texture.h
r4836 r5239 9 9 #define _TEXTURE_H 10 10 11 #include "sdlincl.h"12 11 #include "glincl.h" 13 12 14 13 #include "debug.h" 15 14 15 struct SDL_Surface; 16 16 17 //! an enumerator for different procedural texture-types 17 18 typedef enum TEXTURE_TYPE { TEXTURE_RADIAL_ALIAS, 18 19 TEXTURE_NOISE }; 19 20 20 21 //! A Class, that reads in Textures from different fileformats. … … 28 29 29 30 /** @returns The textureID of this texture. */ 30 inline GLuint getTexture() {return this->texture;}31 inline GLuint getTexture() const { return this->texture; }; 31 32 GLuint loadTexToGL (SDL_Surface* surface); 32 33 /** @returns true if texture has alpha, false otherwise */
Note: See TracChangeset
for help on using the changeset viewer.