Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2006, 6:41:08 PM (18 years ago)
Author:
bottac
Message:

collision detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/collision_detection/cd_engine.h

    r6316 r7833  
    1717class OBBTree;
    1818class Terrain;
     19class BspManager;
    1920//class Player;
    2021
     
    5051
    5152  inline void setTerrain(Terrain* terrain) { this->terrain = terrain; }
     53  inline void setBSPModel(BspManager* bspManager) { this->bspManager = bspManager; }
    5254  //  inline void setPlayer(Player* player) { this->player = player; } /* only for debug purposes \todo: delete*/
    5355
     
    5658//  void checkCollisions();
    5759  void checkCollisions(std::list<WorldEntity*>& list1, std::list<WorldEntity*>& list2);
    58 
     60  void checkCollisionGround(std::list<WorldEntity*>& list1);
     61 
    5962  void drawBV(const std::list<WorldEntity*>& drawList ) const;
    6063  void debug();
     
    6871
    6972  void checkCollisionObjects();
    70   void checkCollisionGround();
     73
    7174
    7275  void debugSpawnTree(int depth, sVec3D* vertices, int numVertices);
     
    7982
    8083  Terrain*                terrain;                          //!< this it a ref to the terrain, serving as a ground for all WE
     84  BspManager*             bspManager;
    8185//  Player*                 player;
    8286};
Note: See TracChangeset for help on using the changeset viewer.