Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2006, 9:07:04 PM (18 years ago)
Author:
bottac
Message:

CrPhysicsFullWalk on Static Models and BSP Patches almost working. libODE≥0.7 required.
Screenshot: http://people.ee.ethz.ch/~bottac/Collision_ODE/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ODE/src/lib/graphics/importer/bsp_file.h

    r9003 r9919  
    1919
    2020#include <vector>
     21#include <ode/ode.h>
     22
    2123class SDL_Surface;
    2224class BspTreeNode;
     
    8688{
    8789  int texture;          //!< Texture index.
    88   int effect;           //!< Index into lump 12 (Effects), or -1.
     90  int effect;           //!< Index into lump #include <ode/ode.h>12 (Effects), or -1.
    8991  int type;             //!< Face type. 1=polygon, 2=patch, 3=mesh, 4=billboard
    9092  int vertex;           //!< Index of first vertex.
     
    159161  AMat loadMat( char* mat );
    160162  AMat loadAVI(char * mat);
     163  dTriMeshDataID*    getODE_Geometry(void) {return this->ODE_Geometry;}
    161164 
    162165
     
    215218 
    216219  ::std::vector<MoviePlayer* > MovieMaterials; //!< Movieplayer Materials
     220
     221  dTriMeshDataID*   ODE_Geometry; //!< ODE Geometry Data for patches
     222  dGeomID*          ODE_Geom_IDs; //!< IDs of ODE Geometry Data
    217223};
    218224
Note: See TracChangeset for help on using the changeset viewer.