annotate Math.h @ 847:e398541aee60

fixed party save position
author Gloval
date Sat, 30 Mar 2013 19:36:05 +0400
parents d720a13e2273
children 05c62d166182
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
Ritor1
parents:
diff changeset
27
Ritor1
parents:
diff changeset
28 extern struct stru193_math *stru_5C6E00;