mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-23 20:43:05 +00:00
33 lines
423 B
C
33 lines
423 B
C
|
|
||
|
class idAnimloop : public idAnimated
|
||
|
{
|
||
|
public:
|
||
|
CLASS_PROTOTYPE( idAnimloop );
|
||
|
|
||
|
|
||
|
void Save( idSaveGame *savefile ) const;
|
||
|
void Restore( idRestoreGame *savefile );
|
||
|
|
||
|
|
||
|
//void Think( void );
|
||
|
void Spawn( void );
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
private:
|
||
|
void Loopdone( void );
|
||
|
|
||
|
int blendFrames;
|
||
|
float randomtime;
|
||
|
float randomstart;
|
||
|
idStr animName;
|
||
|
|
||
|
bool active;
|
||
|
void loopsetactive(int value);
|
||
|
|
||
|
|
||
|
|
||
|
};
|