convert line ends
[canaan.git] / prj / cam / src / shock / shkanmsp.h
blob3bfd76d3020a0ba86729da726b82a7ba585897a0
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/shock/shkanmsp.h,v 1.4 2000/01/29 13:40:27 adurant Exp $
7 #pragma once
9 #ifndef __SHKANMSP_H
10 #define __SHKANMSP_H
12 #include <dynarray.h>
13 #include <hashpp.h>
14 #include <hshpptem.h>
15 #include <rect.h>
17 #include <dev2d.h>
19 #include <resapi.h>
20 #include <simtime.h>
22 class cAnimSprite
24 public:
25 cAnimSprite(const char *pBaseName, int numFrames, tSimTime frameTime);
26 ~cAnimSprite();
28 void Draw(Point pt);
29 grs_bitmap *Lock(void);
30 void Unlock(void);
31 void SetFrame(int frame);
32 void SetFrame(void);
34 private:
35 int m_frame;
36 int m_numFrames;
37 tSimTime m_frameTime;
38 tSimTime m_nextFrameTime;
39 cDynArray<IRes *> m_frameTable;
42 #endif