convert line ends
[canaan.git] / prj / cam / src / render / fastype.h
blobd5a58b3ab7f37032ebb8715f9c56da59336633ac
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/render/fastype.h,v 1.2 2000/01/29 13:38:48 adurant Exp $
7 #pragma once
9 #ifndef __FASTYPE_H
10 #define __FASTYPE_H
12 #include <fas.h> // get the typedefs
14 struct FrameAnimationConfig
16 float fps; // 0 means doesn't animate
17 bool clamp; // don't wrap, stop after one play
18 bool bounce; // play back-n-forth; if both set, back-n-forth once
19 bool frame_limit; // don't allow it to advance by more than 1 per call
20 char client_data; // clients can use this for whatever they want
22 // future expansion may occur here
25 // all this data is private and you should never try to set it
26 // directly--use one of the set functions in fas.h
27 struct FrameAnimationState
29 ulong start_time; // times are in ms
30 ulong next_time;
31 ulong cur_frame;
32 ulong reserved;
34 // future expansion may occur here
37 #endif