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
+42
View File
@@ -0,0 +1,42 @@
#ifndef BRUSH_H
#define BRUSH_H
#include "geom.hpp"
#include "texture.hpp"
class Brush{
public:
Brush();
Brush( const Brush &t );
Brush( const Brush &a,const Brush &b );
~Brush();
Brush &operator=( const Brush &t );
void setColor( const Vector &color );
void setAlpha( float alpha );
void setShininess( float shininess );
void setBlend( int blend );
void setFX( int fx );
void setTexture( int index,const Texture &t,int frame );
const Vector &getColor()const;
float getAlpha()const;
float getShininess()const;
int getBlend()const;
int getFX()const;
Texture getTexture( int index )const;
const gxScene::RenderState &getRenderState()const;
bool operator<( const Brush &b )const;
private:
struct Rep;
mutable Rep *rep;
Rep *write()const;
};
#endif