annotate Math.h @ 1060:b79139c3b5c8

some AI cleaning
author zipi
date Thu, 23 May 2013 20:51:27 +0100
parents 05c62d166182
children d98415be04ca
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 /* 186 */
Ritor1
parents:
diff changeset
6 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
7 struct stru193_math
Ritor1
parents:
diff changeset
8 {
Ritor1
parents:
diff changeset
9 stru193_math();
323
d720a13e2273 Very basic picking & entering houses
Nomad
parents: 0
diff changeset
10 int Cos(int angle);
0
Ritor1
parents:
diff changeset
11 unsigned int Atan2(int x, int y);
323
d720a13e2273 Very basic picking & entering houses
Nomad
parents: 0
diff changeset
12 int Sin(int angle);
0
Ritor1
parents:
diff changeset
13
Ritor1
parents:
diff changeset
14 int pTanTable[520];
Ritor1
parents:
diff changeset
15 int pCosTable[520];
Ritor1
parents:
diff changeset
16 int pInvCosTable[520];
Ritor1
parents:
diff changeset
17 unsigned int uIntegerPi;
Ritor1
parents:
diff changeset
18 unsigned int uIntegerHalfPi;
Ritor1
parents:
diff changeset
19 unsigned int uIntegerDoublePi;
Ritor1
parents:
diff changeset
20 unsigned int uDoublePiMask;
Ritor1
parents:
diff changeset
21 unsigned int uPiMask;
Ritor1
parents:
diff changeset
22 unsigned int uHalfPiMask;
Ritor1
parents:
diff changeset
23 };
Ritor1
parents:
diff changeset
24 #pragma pack(pop)
Ritor1
parents:
diff changeset
25
Ritor1
parents:
diff changeset
26
1051
05c62d166182 004C1D2B cleaned
Nomad
parents: 323
diff changeset
27 int fixpoint_sub0(int, int);
05c62d166182 004C1D2B cleaned
Nomad
parents: 323
diff changeset
28 int fixpoint_div(int, int);
05c62d166182 004C1D2B cleaned
Nomad
parents: 323
diff changeset
29 int fixpoint_mul(int, int);
05c62d166182 004C1D2B cleaned
Nomad
parents: 323
diff changeset
30 int fixpoint_from_float(float value);
05c62d166182 004C1D2B cleaned
Nomad
parents: 323
diff changeset
31
0
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33 extern struct stru193_math *stru_5C6E00;