view Math.h @ 1080:9456f2ed5ff9

getskillbonus continue cleaning
author Gloval
date Sat, 25 May 2013 23:50:56 +0400
parents 05c62d166182
children d98415be04ca
line wrap: on
line source

#pragma once



/*  186 */
#pragma pack(push, 1)
struct stru193_math
{
  stru193_math();
  int Cos(int angle);
  unsigned int Atan2(int x, int y);
  int Sin(int angle);

  int pTanTable[520];
  int pCosTable[520];
  int pInvCosTable[520];
  unsigned int uIntegerPi;
  unsigned int uIntegerHalfPi;
  unsigned int uIntegerDoublePi;
  unsigned int uDoublePiMask;
  unsigned int uPiMask;
  unsigned int uHalfPiMask;
};
#pragma pack(pop)


int fixpoint_sub0(int, int);
int fixpoint_div(int, int);
int fixpoint_mul(int, int);
int fixpoint_from_float(float value);


extern struct stru193_math *stru_5C6E00;