ScummVM API documentation
CGE2::FXP Class Reference

Public Member Functions

 FXP (int i0, int f0=0)
 
FXPoperator= (const int &x)
 
FXP operator+ (const FXP &x) const
 
FXP operator- (const FXP &x) const
 
FXP operator* (const FXP &x) const
 
FXP operator/ (const FXP &x) const
 
int trunc (void) const
 
int round (void) const
 
bool empty () const
 
void sync (Common::Serializer &s)
 

Friends

int & operator+= (int &a, const FXP &b)
 
int & operator-= (int &a, const FXP &b)
 
FXPoperator+= (FXP &a, const int &b)
 
FXPoperator-= (FXP &a, const int &b)
 
bool operator== (const FXP &a, const FXP &b)
 
bool operator!= (const FXP &a, const FXP &b)
 
bool operator< (const FXP &a, const FXP &b)
 
bool operator> (const FXP &a, const FXP &b)
 

The documentation for this class was generated from the following file: