mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 06:57:01 +00:00
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "types.h"
|
||||
|
||||
class COutputStream;
|
||||
class CInputStream;
|
||||
class CCharAnimTime {
|
||||
public:
|
||||
@@ -16,13 +17,25 @@ public:
|
||||
float GetSeconds() const { return x0_time; }
|
||||
|
||||
explicit CCharAnimTime(CInputStream& in);
|
||||
explicit CCharAnimTime(float time);
|
||||
explicit CCharAnimTime(EType type, float time) : x0_time(time), x4_type(type) {}
|
||||
CCharAnimTime(const CCharAnimTime& other) : x0_time(other.x0_time), x4_type(other.x4_type) {}
|
||||
|
||||
bool operator!=(const CCharAnimTime& other) const;
|
||||
bool operator>(const CCharAnimTime& other) const;
|
||||
bool operator==(const CCharAnimTime& other) const;
|
||||
bool operator!=(const CCharAnimTime& other) const;
|
||||
bool operator<(const CCharAnimTime& other) const;
|
||||
|
||||
CCharAnimTime operator/(const CCharAnimTime& other) const;
|
||||
CCharAnimTime operator*(const float& other) const;
|
||||
CCharAnimTime operator-(const CCharAnimTime& other) const;
|
||||
CCharAnimTime operator+(const CCharAnimTime& other) const;
|
||||
const CCharAnimTime& operator+=(const CCharAnimTime& other);
|
||||
const CCharAnimTime& operator-=(const CCharAnimTime& other);
|
||||
bool operator<=(const CCharAnimTime& other) const;
|
||||
bool operator>=(const CCharAnimTime& other) const;
|
||||
bool GreaterThanZero() const;
|
||||
bool EqualsZero() const;
|
||||
void PutTo(COutputStream& out) const;
|
||||
static CCharAnimTime Infinity() { return CCharAnimTime(kT_Infinity, 1.0f); }
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user