- Timestamp:
- Oct 4, 2005, 9:20:04 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r5278 r5279 374 374 # openGL # 375 375 #--------# 376 ac_save_LDFLAGS="${LDFLAGS}"377 378 376 # checking gl header 379 377 AC_CHECK_HEADERS([GL/gl.h] ,, … … 381 379 382 380 # checking for Unix GL 383 AC_CHECK_LIB([GL], [main], [FOUND_GL=yes; LIBS="$LIBS -lGL" ; LDFLAGS="${LDFLAGS} -lGL"])381 AC_CHECK_LIB([GL], [main], [FOUND_GL=yes; LIBS="$LIBS -lGL"]) 384 382 if test x$FOUND_GL != xyes ; then 385 383 echo "------------------" … … 414 412 exit -1 415 413 fi 416 ## resetting LD-flags as before GL417 LDFLAGS="${ac_save_LDFLAGS}"418 414 419 415 #--------# … … 480 476 481 477 LIBS="$LIBS -framework OpenGL" 478 479 480 481 # checking for GLEW-headers 482 AC_CHECK_HEADERS([GL/glew.h] ,, 483 [AC_MSG_ERROR([cannot find glew headers]) ]) 484 # checking for GLEW-lib 485 AC_CHECK_LIB([GLEW], [main], [FOUND_GLEW=yes; LIBS="$LIBS -lGLEW"]) 486 if test x$FOUND_GLEW != xyes ; then 487 echo "------------------" 488 echo "glew not found." 489 echo "please install the glew package which can be found at http://glew.sourceforge.net" 490 echo "------------------" 491 exit -1 492 fi 493 482 494 483 495 AC_CHECK_HEADERS([OpenAL/al.h] ,, -
trunk/src/defs/glincl.h
r5263 r5279 14 14 #include <GL/glu.h> 15 15 #else 16 #include < OpenGL/glew.h>16 #include <GL/glew.h> 17 17 #include <OpenGL/gl.h> 18 18 #include <OpenGL/glu.h> -
trunk/src/lib/collision_detection/bounding_volume.h
r5039 r5279 25 25 26 26 sVec3D* getVertices() const { return this->vertices; } 27 virtual void mergeWith(const BoundingVolume &bv) = NULL;27 virtual void mergeWith(const BoundingVolume &bv) = 0; 28 28 29 virtual void drawBV(int currentDepth, int drawMode) const = NULL;29 virtual void drawBV(int currentDepth, int drawMode) const = 0; 30 30 31 31 -
trunk/src/lib/collision_detection/bv_tree.h
r5039 r5279 39 39 virtual ~BVTree(); 40 40 41 virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length) = NULL;42 virtual void flushTree() = NULL;41 virtual void spawnBVTree(int depth, sVec3D *verticesList, const int length) = 0; 42 virtual void flushTree() = 0; 43 43 44 virtual void collideWith(BVTree* tree, WorldEntity* nodeA, WorldEntity* nodeB) = NULL;45 virtual void collideWith(WorldEntity* entity1, WorldEntity* entity2) = NULL;44 virtual void collideWith(BVTree* tree, WorldEntity* nodeA, WorldEntity* nodeB) = 0; 45 virtual void collideWith(WorldEntity* entity1, WorldEntity* entity2) = 0; 46 46 47 virtual void drawBV(int depth, int drawMode) const = NULL;47 virtual void drawBV(int depth, int drawMode) const = 0; 48 48 49 49 -
trunk/src/lib/collision_detection/bv_tree_node.h
r5039 r5279 25 25 virtual ~BVTreeNode(); 26 26 27 virtual void spawnBVTree(const int depth, sVec3D *verticesList, const int length ) = NULL;27 virtual void spawnBVTree(const int depth, sVec3D *verticesList, const int length ) = 0; 28 28 29 virtual BoundingVolume* getBV(int index) const = NULL;29 virtual BoundingVolume* getBV(int index) const = 0; 30 30 inline const int getIndex() { return this->treeIndex; } 31 31 32 virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = NULL;32 virtual void collideWith(BVTreeNode* treeNode, WorldEntity* nodeA, WorldEntity* nodeB) = 0; 33 33 34 virtual void drawBV(int depth, int drawMode) = NULL;34 virtual void drawBV(int depth, int drawMode) = 0; 35 35 36 36 -
trunk/src/lib/event/event_listener.h
r5239 r5279 21 21 * @param event: the event 22 22 */ 23 virtual void process(const Event &event) = NULL;23 virtual void process(const Event &event) = 0; 24 24 }; 25 25 -
trunk/src/lib/graphics/render2D/element_2d.h
r5252 r5279 177 177 public: 178 178 virtual void tick(float dt); 179 virtual void draw() const = NULL;179 virtual void draw() const = 0; 180 180 181 181 private: -
trunk/src/lib/lang/base_object.h
r5113 r5279 12 12 #include "class_id.h" 13 13 #ifndef NULL 14 #define NULL 0x0//!< NULL14 #define NULL 0 //!< NULL 15 15 #endif 16 16 -
trunk/src/lib/shell/shell_command.h
r5243 r5279 106 106 private: 107 107 /** executes a Command @param object the object to apply this to @param parameters the parameters the command takes */ 108 virtual void executeCommand (BaseObject* object, const char* parameters) = NULL;108 virtual void executeCommand (BaseObject* object, const char* parameters) = 0; 109 109 110 110 protected: -
trunk/src/lib/sound/ogg_player.h
r4985 r5279 13 13 #include "base_object.h" 14 14 15 #include <AL/al.h>15 #include "alincl.h" 16 16 #include <ogg/ogg.h> 17 17 #include <vorbis/vorbisfile.h> -
trunk/src/lib/sound/sound_engine.cc
r5226 r5279 60 60 /* according to http://www.edenwaith.com/products/pige/tutorials/openal.php the alutLoadWAVFile differs from platform to platform*/ 61 61 #ifdef __APPLE__ 62 alutLoadWAVFile( fileName, &format, &data, &this->size, &freq);63 #elif def__WIN32__62 alutLoadWAVFile((ALbyte*)fileName, &format, &data, &this->size, &freq); 63 #elif defined __WIN32__ 64 64 alutLoadWAVFile(fileName, &format, &data, &size, &freq, &this->loop); 65 65 #else -
trunk/src/util/fast_factory.h
r4980 r5279 83 83 84 84 /** generates a new Object of the Class T */ 85 virtual void fabricate() = NULL;85 virtual void fabricate() = 0; 86 86 87 87 private: -
trunk/src/util/loading/load_param.h
r5226 r5279 307 307 { 308 308 const TiXmlElement* elem = root->FirstChildElement(paramName); 309 if ( likely(elem != NULL))309 if (elem != NULL) 310 310 (*pt2Object.*function)(elem); 311 311 else
Note: See TracChangeset
for help on using the changeset viewer.