diff options
Diffstat (limited to 'src/Decals.h')
-rw-r--r-- | src/Decals.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/Decals.h b/src/Decals.h index 127a6d2..e77195a 100644 --- a/src/Decals.h +++ b/src/Decals.h @@ -2,7 +2,7 @@ #define _DECALS_H_ #include "Quaternions.h" -#ifdef OS9 +#ifdef OS9 #include <gl.h> #include <glu.h> #include "glut.h" @@ -27,27 +27,27 @@ class Decals{ GLuint bulletholetextureptr; GLuint cratertextureptr; GLuint bloodtextureptr[11]; - + int howmanydecals; - + int type[maxdecals]; - + XYZ points[8*maxdecals]; int numpoints[maxdecals]; float texcoordsx[8*maxdecals]; float texcoordsy[8*maxdecals]; float alivetime[maxdecals]; - + void draw(); - + int DeleteDecal(int which); int MakeDecal(int atype, XYZ location, float size, XYZ normal, int poly, Model *model, XYZ move, float rotation); - + void DoStuff(); void LoadBulletHoleTexture(char *fileName); void LoadCraterTexture(char *fileName); void LoadBloodTexture(char *fileName, int which); - + ~Decals() { glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); glDeleteTextures( 1, (const GLuint *)cratertextureptr ); @@ -56,4 +56,3 @@ class Decals{ }; #endif - |