* Replaced a bunch of inline and __inline with ID_INLINE

* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
This commit is contained in:
Tim Angus 2005-11-04 22:32:00 +00:00
parent 857a5e264e
commit e4b7a04d5c
24 changed files with 506 additions and 795 deletions

View file

@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
typedef unsigned int glIndex_t;
// fast float to int conversion
#if id386 && !( (defined __GNUC__ ) && (defined __i386__ ) ) // rb010123
#if id386 && !defined(__GNUC__)
long myftol( float f );
#else
#define myftol(x) ((int)(x))

View file

@ -1004,7 +1004,7 @@ DRAWSURF SORTING
R_Radix
===============
*/
static __inline void R_Radix( int byte, int size, drawSurf_t *source, drawSurf_t *dest )
static ID_INLINE void R_Radix( int byte, int size, drawSurf_t *source, drawSurf_t *dest )
{
int count[ 256 ] = { 0 };
int index[ 256 ];

View file

@ -1022,7 +1022,7 @@ void RB_CalcRotateTexCoords( float degsPerSecond, float *st )
#if id386 && !( (defined __GNUC__ ) && (defined __i386__ ) ) // rb010123
#if id386 && !defined(__GNUC__)
long myftol( float f ) {
static int tmp;