diff options
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/parse.c | 4 | ||||
-rw-r--r-- | src/qcommon/q_math.c | 1 | ||||
-rw-r--r-- | src/qcommon/q_shared.h | 4 | ||||
-rw-r--r-- | src/qcommon/surfaceflags.h | 4 |
4 files changed, 6 insertions, 7 deletions
diff --git a/src/qcommon/parse.c b/src/qcommon/parse.c index 136ba0b1..dbe30a1b 100644 --- a/src/qcommon/parse.c +++ b/src/qcommon/parse.c @@ -819,14 +819,14 @@ static int Parse_ReadNumber(script_t *script, token_t *token) { c = *script->script_p; //check for a LONG number - if ( (c == 'l' || c == 'L') // bk001204 - brackets + if ( (c == 'l' || c == 'L') && !(token->subtype & TT_LONG)) { script->script_p++; token->subtype |= TT_LONG; } //check for an UNSIGNED number - else if ( (c == 'u' || c == 'U') // bk001204 - brackets + else if ( (c == 'u' || c == 'U') && !(token->subtype & (TT_UNSIGNED | TT_FLOAT))) { script->script_p++; diff --git a/src/qcommon/q_math.c b/src/qcommon/q_math.c index e987b6b5..a3a7b191 100644 --- a/src/qcommon/q_math.c +++ b/src/qcommon/q_math.c @@ -1134,7 +1134,6 @@ qboolean BoundsIntersectPoint(const vec3_t mins, const vec3_t maxs, } vec_t VectorNormalize( vec3_t v ) { - // NOTE: TTimo - Apple G4 altivec source uses double? float length, ilength; length = v[0]*v[0] + v[1]*v[1] + v[2]*v[2]; diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index f57575c2..74957af4 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -1152,7 +1152,7 @@ typedef enum { TR_LINEAR_STOP, TR_SINE, // value = base + sin( time / duration ) * delta TR_GRAVITY, - TR_BUOYANCY //TA: what the hell is this doing in here anyway? + TR_BUOYANCY } trType_t; typedef struct { @@ -1276,7 +1276,7 @@ typedef struct qtime_s { // server browser sources -// TTimo: AS_MPLAYER is no longer used +// AS_MPLAYER is no longer used #define AS_GLOBAL 0 #define AS_MPLAYER 1 #define AS_LOCAL 2 diff --git a/src/qcommon/surfaceflags.h b/src/qcommon/surfaceflags.h index 31ece5cb..b597c230 100644 --- a/src/qcommon/surfaceflags.h +++ b/src/qcommon/surfaceflags.h @@ -60,7 +60,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define CONTENTS_TRIGGER 0x40000000 #define CONTENTS_NODROP 0x80000000 // don't leave bodies or items (death fog, lava) -//TA: custominfoparms below +// custominfoparms below #define CONTENTS_NOALIENBUILD 0x1000 //disallow alien building #define CONTENTS_NOHUMANBUILD 0x2000 //disallow alien building #define CONTENTS_NOBUILD 0x4000 //disallow alien building @@ -85,7 +85,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define SURF_NODLIGHT 0x20000 // don't dlight even if solid (solid lava, skies) #define SURF_DUST 0x40000 // leave a dust trail when walking on this surface -//TA: custominfoparms below +// custominfoparms below #define SURF_NOALIENBUILD 0x80000 //disallow alien building #define SURF_NOHUMANBUILD 0x100000 //disallow alien building #define SURF_NOBUILD 0x200000 //disallow alien building |