diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-21 18:11:55 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-21 21:31:11 +0700 |
commit | 325dca9f212f9fd44cd10a8180529970c7a08c72 (patch) | |
tree | e1cfaec078dfa49f4d51d05eef8a5b0967843a41 /src/Sprites.h | |
parent | 10f5376de856ecead4e8bbf66f19157f36f7a382 (diff) | |
download | blackshades-1.2.0.tar.gz |
Remove trailing whitespaces and duplicated blank lines 1.2.0
Diffstat (limited to 'src/Sprites.h')
-rw-r--r-- | src/Sprites.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/Sprites.h b/src/Sprites.h index b1f6b2e..42edc67 100644 --- a/src/Sprites.h +++ b/src/Sprites.h @@ -2,7 +2,7 @@ #define _SPRITE_H_ #include "Quaternions.h" -#ifdef OS9 +#ifdef OS9 #include <gl.h> #include <glu.h> #else @@ -45,9 +45,9 @@ class Sprites{ GLuint bloodtextureptr; GLuint raintextureptr; GLuint snowtextureptr; - + int howmanysprites; - + XYZ location[maxsprites]; XYZ oldlocation[maxsprites]; XYZ velocity[maxsprites]; @@ -63,13 +63,13 @@ class Sprites{ float rotation[maxsprites]; int type[maxsprites]; int owner[maxsprites]; - + void draw(); - + int DeleteSprite(int which); int MakeSprite(int atype, float abrightness, float acolor1, float acolor2, float acolor3, XYZ alocation, XYZ avelocity, float asize); int MakeSprite(int atype, float abrightness, float acolor1, float acolor2, float acolor3, XYZ alocation, XYZ avelocity, float asize, int aowner); - + void DoStuff(); void LoadMuzzleFlareTexture(char *fileName); void LoadFlareTexture(char *fileName); @@ -78,7 +78,7 @@ class Sprites{ void LoadBloodTexture(char *fileName); void LoadSnowTexture(char *fileName); void LoadRainTexture(char *fileName); - + ~Sprites() { glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); glDeleteTextures( 1, (const GLuint *)flaretextureptr ); @@ -91,4 +91,3 @@ class Sprites{ }; #endif - |