runtime: CMake-ify

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-01-18 15:55:06 +01:00
parent 717609a900
commit 24788185aa
184 changed files with 2957 additions and 2527 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef Q3BSPMODEL_H
#define Q3BSPMODEL_H
#include "model.hpp"
class Q3BSPModel : public Model{
public:
Q3BSPModel( const string &f,float gamma_adj );
Q3BSPModel( const Q3BSPModel &m );
~Q3BSPModel();
//Entity interface
Entity *clone(){ return new Q3BSPModel( *this ); }
//Object interface
virtual bool collide( const Line &line,float radius,Collision *curr_coll,const Transform &t );
//Model interface
Q3BSPModel *getBSPModel(){ return this; }
bool render( const RenderContext &rc );
void setAmbient( const Vector &t );
void setLighting( bool use_lmap );
bool isValid()const;
private:
struct Rep;
Rep *rep;
};
#endif