Changeset 5279 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Oct 4, 2005, 9:20:04 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.