mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-21 19:51:04 +00:00
41 lines
734 B
C
41 lines
734 B
C
|
|
||
|
class idClock : public idAnimatedEntity
|
||
|
{
|
||
|
public:
|
||
|
CLASS_PROTOTYPE( idClock );
|
||
|
|
||
|
void Spawn( void );
|
||
|
|
||
|
void Save( idSaveGame *savefile ) const;
|
||
|
void Restore( idRestoreGame *savefile );
|
||
|
|
||
|
virtual void Think( void );
|
||
|
|
||
|
private:
|
||
|
|
||
|
bool digital;
|
||
|
|
||
|
int startTime;
|
||
|
void Event_reset( void );
|
||
|
void Event_setTime( int time );
|
||
|
void SetHandAngle( const char *jointName, float angle );
|
||
|
int offsetTime;
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
int lastMinuteCount;
|
||
|
float startAngle;
|
||
|
float endAngle;
|
||
|
int minuteStartTime;
|
||
|
int minuteEndTime;
|
||
|
|
||
|
|
||
|
int nextSecondsInterval;
|
||
|
int secondsLerpStart;
|
||
|
int secondsLerpEnd;
|
||
|
int secondsState;
|
||
|
int secondsAngleStart;
|
||
|
int secondsAngleEnd;
|
||
|
};
|