mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-12-11 05:00:51 +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);
|
||
|
|
||
|
|
||
|
|
||
|
};
|