Changeset 10013 in orxonox.OLD for trunk/src/lib/graphics/importer/bsp_manager.cc
- Timestamp:
- Dec 4, 2006, 6:42:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/bsp_manager.cc
r9869 r10013 46 46 47 47 #include "aabb.h" 48 #include "cr_defs.h" 48 #include "cr_engine.h" 49 #include "collision_tube.h" 49 50 50 51 … … 1215 1216 if( xCollisionForward) 1216 1217 { 1217 entity->registerCollision(COLLISION_TYPE_AXIS_X ,1218 this->parent, entity,1218 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_X , 1219 entity, this->parent, 1219 1220 Vector(testPlane->x, testPlane->y, testPlane->z), 1220 1221 collPos, … … 1254 1255 if( xCollisionBackward) 1255 1256 { 1256 entity->registerCollision(COLLISION_TYPE_AXIS_X_NEG,1257 this->parent, entity,1257 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_X_NEG, 1258 entity, this->parent, 1258 1259 Vector(testPlane->x, testPlane->y, testPlane->z), 1259 1260 collPos, … … 1350 1351 if( yCollisionUp) 1351 1352 { 1352 entity->registerCollision(COLLISION_TYPE_AXIS_Y , this->parent,1353 entity, 1353 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Y, 1354 entity, this->parent, 1354 1355 Vector(testPlane->x, testPlane->y, testPlane->z), 1355 1356 collPos, SolidFlag); … … 1403 1404 if( yCollisionDown) 1404 1405 { 1405 entity->registerCollision(COLLISION_TYPE_AXIS_Y_NEG , this->parent,1406 entity, 1406 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Y_NEG , 1407 entity, this->parent, 1407 1408 Vector(testPlane->x, testPlane->y, testPlane->z), 1408 1409 collPos, SolidFlag); 1409 1410 } 1410 1411 1412 1411 } 1413 1412 … … 1484 1483 1485 1484 if( zCollisionRight) { 1486 entity->registerCollision(COLLISION_TYPE_AXIS_Z , this->parent,1487 entity, 1485 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Z , 1486 entity, this->parent, 1488 1487 Vector(testPlane->x, testPlane->y, testPlane->z), 1489 1488 collPos , SolidFlag); … … 1523 1522 1524 1523 if( zCollisionLeft) { 1525 entity->registerCollision(COLLISION_TYPE_AXIS_Z_NEG , this->parent,1526 entity,1527 Vector(testPlane->x, testPlane->y, testPlane->z),1528 collPos , SolidFlag);1524 CoRe::CollisionTube::getInstance()->registerCollisionEvent( CoRe::CREngine::CR_COLLISION_TYPE_AXIS_Z_NEG , 1525 entity, this->parent, 1526 Vector(testPlane->x, testPlane->y, testPlane->z), 1527 collPos , SolidFlag); 1529 1528 } 1530 1529
Note: See TracChangeset
for help on using the changeset viewer.