More warning cleanups.

Removed a few unused files.
This commit is contained in:
Steven Fuller 2001-08-07 02:38:43 +00:00 committed by Patryk Obara
parent 422e7c385b
commit 455f56573e
37 changed files with 94 additions and 912 deletions

View file

@ -3,39 +3,24 @@
#define UseTimsPinp Yes
#define trip_debugger No
#if trip_debugger
int testa = 0;
int testb = 100;
int testc = 0;
#endif
/*
externs for commonly used global variables and arrays
*/
#if platform_pc
extern int sine[];
extern int cosine[];
#endif
extern int sine[];
extern int cosine[];
extern short ArcCosTable[];
extern short ArcSineTable[];
extern short ArcTanTable[];
extern short ArcCosTable[];
extern short ArcSineTable[];
extern short ArcTanTable[];
extern LONGLONGCH ll_zero;
extern LONGLONGCH ll_zero;
extern int NormalFrameTime;
extern int NormalFrameTime;
#if PSX
extern unsigned long *scratchp;
#endif
/*
Globals
@ -60,36 +45,6 @@ extern unsigned long *scratchp;
#if PSX
inline void ch2psx(MATRIXCH *chm, MATRIX *psxm)
{
psxm->m[0][0] = chm->mat11 >> 4;
psxm->m[0][1] = chm->mat21 >> 4;
psxm->m[0][2] = chm->mat31 >> 4;
psxm->m[1][0] = chm->mat12 >> 4;
psxm->m[1][1] = chm->mat22 >> 4;
psxm->m[1][2] = chm->mat32 >> 4;
psxm->m[2][0] = chm->mat13 >> 4;
psxm->m[2][1] = chm->mat23 >> 4;
psxm->m[2][2] = chm->mat33 >> 4;
}
inline void psx2ch(MATRIX *psxm, MATRIXCH *chm)
{
chm->mat11 = psxm->m[0][0] << 4;
chm->mat21 = psxm->m[0][1] << 4;
chm->mat31 = psxm->m[0][2] << 4;
chm->mat12 = psxm->m[1][0] << 4;
chm->mat22 = psxm->m[1][1] << 4;
chm->mat32 = psxm->m[1][2] << 4;
chm->mat13 = psxm->m[2][0] << 4;
chm->mat23 = psxm->m[2][1] << 4;
chm->mat33 = psxm->m[2][2] << 4;
}
#endif
/* One over sin functions - CDF 4/2/98 */
extern int oneoversin[4096];
@ -302,12 +257,6 @@ int FindShift32(int value, int limit)
while(value > limit) {
#if trip_debugger
if(shift > 32) {
testa = testb / testc;
}
#endif
shift++;
value >>= 1;