Commit Graph

6 Commits

Author SHA1 Message Date
Kevin Shanahan
034eeb2e0b model: move alias clipping function prototypes to header
Make R_Alias_clip_z and R_Alias_Clip static functions, but the others need to
be extern for the case where ASM is used.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-11-14 15:31:41 +10:30
Kevin Shanahan
550e188cc9 model: make a few more alias model globals local
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-11-14 15:20:27 +10:30
Kevin Shanahan
e5bf230af4 model: move global pfinalverts inside functions that need it
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-11-14 15:04:40 +10:30
Tyrann
b58a6a44f8 Clean up global pointer to stack before returning 2011-12-31 07:49:03 +10:00
Tyrann
ed3a3265f0 [PATCH] Replace id386 define
It seems the old trick of undef'ing __i386__ was no longer working under
gcc-4.1, so replace the id386 define (controlled by header files) with
USE_X86_ASM (controlled by Makefile).

The checks for id386 in the assembly files are now gone (if you don't want
them, they shouldn't be compiled) and a few extra whitespace cleanups crept
in.

Signed-off-by: Tyrann <tyrann@disenchant.net>
2006-09-10 19:14:02 +09:30
Tyrann
130e22195a Import v0.47 sources 2006-09-10 19:02:51 +09:30