annotate Math.h @ 26:93bf1d5f6a6d

Game loading.
author Nomad
date Tue, 16 Oct 2012 00:05:53 +0200
parents 8b8875f5b359
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 /* 186 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 struct stru193_math
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 stru193_math();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 int SinCos(int angle);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 unsigned int Atan2(int x, int y);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 int _42EBDB(int angle);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 int pTanTable[520];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 int pCosTable[520];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 int pInvCosTable[520];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 unsigned int uIntegerPi;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 unsigned int uIntegerHalfPi;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 unsigned int uIntegerDoublePi;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 unsigned int uDoublePiMask;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 unsigned int uPiMask;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 unsigned int uHalfPiMask;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 extern struct stru193_math *stru_5C6E00;