Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DriveSprite.h
Go to the documentation of this file.
1 /* Project Starshatter 4.5
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Stars.exe
6  FILE: DriveSprite.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Specialized Drive Sprite Object
13 */
14 
15 #ifndef DriveSprite_h
16 #define DriveSprite_h
17 
18 #include "Types.h"
19 #include "Geometry.h"
20 #include "Sprite.h"
21 
22 // +--------------------------------------------------------------------+
23 
24 class DriveSprite : public Sprite
25 {
26 public:
27  DriveSprite();
28  DriveSprite(Bitmap* animation, Bitmap* glow);
29  DriveSprite(Bitmap* animation, int length=1, int repeat=1, int share=1);
30  virtual ~DriveSprite();
31 
32  // operations
33  virtual void Render(Video* video, DWORD flags);
34  virtual void SetFront(const Vec3& f);
35  virtual void SetBias(DWORD b);
36 
37 protected:
41  DWORD bias;
42 };
43 
44 // +--------------------------------------------------------------------+
45 
46 #endif DriveSprite_h
47