World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
8 #define pi_double 3.14159265358979323846
17 int GetDiceResult(
unsigned int uNumDice,
unsigned int uDiceSides);
34 return (
float)((double)((
unsigned int)this->
_internal & 0xFFFF) /
82 unsigned int Atan2(
int x,
int y);
97 template <
typename FloatType>
99 assert(
"Method unsupported for this type" &&
false);
110 c.d = inValue + 6755399441055744.0;
114 #pragma push_macro("max")
118 double maxValue = std::numeric_limits<int>::max();
119 assert(maxValue - 6755399441055744.0 >= inValue);
125 c.d = inValue + 6755399441055744.0;
128 #pragma pop_macro("max")
bool operator>(const fixed &rhs)
static fixed FromFloat(float f)
static const unsigned int uIntegerDoublePi
static const unsigned int uDoublePiMask
static fixed Raw(int value)
int64_t fixpoint_dot(int x1, int x2, int y1, int y2, int z1, int z2)
static const unsigned int uIntegerHalfPi
struct stru193_math * stru_5C6E00
int round_to_int(float x)
int GetDiceResult(unsigned int uNumDice, unsigned int uDiceSides)
int bankersRounding< double >(const double &inValue)
int64_t fixpoint_sub_unknown(int, int)
GLuint GLfloat GLfloat GLfloat x1
static fixed FromInt(int value)
EGLSurface EGLint EGLint y
int bankersRounding(const FloatType &value)
fixed operator*(const fixed &rhs)
bool operator<(const fixed &rhs)
int integer_sqrt(int val)
int fixpoint_from_float(float value)
EGLSyncKHR EGLint EGLint * value
fixed operator/(const fixed &rhs)
float GetFloatFraction() const
int bankersRounding< float >(const float &inValue)
bool operator<=(const fixed &rhs)
static const unsigned int uPiMask
fixed operator-(const fixed &rhs)
unsigned int Atan2(int x, int y)
int fixpoint_from_int(int lhv, int rhv)
int GetUnsignedInt() const
int64_t fixpoint_mul(int, int)
fixed operator+(const fixed &rhs)
bool operator>=(const fixed &rhs)
GLfixed GLfixed GLfixed y2
int64_t fixpoint_div(int, int)
static const unsigned int uIntegerPi
static const unsigned int uHalfPiMask