
This commit changes which variables are static: the Mac (and presumably the Linux) debug data tells you what variables are static, by prefixing their names with double_underscores. The variable names themselves also hint at this: global variables are prefixed with 'g', and use upper-camelcase, while static variables use whatever_you_call_this.
9 lines
195 B
C
9 lines
195 B
C
#pragma once
|
|
|
|
extern int gSin[0x100];
|
|
extern short gTan[0x21];
|
|
|
|
void InitTriangleTable(void);
|
|
int GetSin(unsigned char deg);
|
|
int GetCos(unsigned char deg);
|
|
unsigned char GetArktan(int x, int y);
|