diff --git a/d3xp/Entity.cpp b/d3xp/Entity.cpp index 64d9bd8..15b3953 100644 --- a/d3xp/Entity.cpp +++ b/d3xp/Entity.cpp @@ -2616,7 +2616,6 @@ idEntity::RunPhysics bool idEntity::RunPhysics( void ) { int i, reachedTime, startTime, endTime; idEntity * part, *blockedPart, *blockingEntity; - trace_t results; bool moved; // don't run physics if not enabled diff --git a/d3xp/Game_local.cpp b/d3xp/Game_local.cpp index f307599..d68b1a3 100644 --- a/d3xp/Game_local.cpp +++ b/d3xp/Game_local.cpp @@ -31,6 +31,13 @@ If you have questions concerning this license or the applicable additional terms #include "Game_local.h" +const int NUM_RENDER_PORTAL_BITS = idMath::BitsForInteger( PS_BLOCK_ALL ); + +const float DEFAULT_GRAVITY = 1066.0f; +const idVec3 DEFAULT_GRAVITY_VEC3( 0, 0, -DEFAULT_GRAVITY ); + +const int CINEMATIC_SKIP_DELAY = SEC2MS( 2.0f ); + #ifdef GAME_DLL idSys * sys = NULL; @@ -4763,8 +4770,6 @@ idGameLocal::SelectTimeGroup ============ */ void idGameLocal::SelectTimeGroup( int timeGroup ) { - int i = 0; - if ( timeGroup ) { fast.Get( time, previousTime, msec, framenum, realClientTime ); } else { diff --git a/d3xp/Game_local.h b/d3xp/Game_local.h index 4af1493..6e9173b 100644 --- a/d3xp/Game_local.h +++ b/d3xp/Game_local.h @@ -110,10 +110,11 @@ void gameError( const char *fmt, ... ); //============================================================================ -const int MAX_GAME_MESSAGE_SIZE = 8192; -const int MAX_ENTITY_STATE_SIZE = 512; -const int ENTITY_PVS_SIZE = ((MAX_GENTITIES+31)>>5); -const int NUM_RENDER_PORTAL_BITS = idMath::BitsForInteger( PS_BLOCK_ALL ); +#define MAX_GAME_MESSAGE_SIZE 8192 +#define MAX_ENTITY_STATE_SIZE 512 +#define ENTITY_PVS_SIZE ((MAX_GENTITIES+31)>>5) + +extern const int NUM_RENDER_PORTAL_BITS; typedef struct entityState_s { int entityNumber; @@ -741,11 +742,10 @@ typedef enum { #define MASK_SHOT_RENDERMODEL (CONTENTS_SOLID|CONTENTS_RENDERMODEL) #define MASK_SHOT_BOUNDINGBOX (CONTENTS_SOLID|CONTENTS_BODY) -const float DEFAULT_GRAVITY = 1066.0f; #define DEFAULT_GRAVITY_STRING "1066" -const idVec3 DEFAULT_GRAVITY_VEC3( 0, 0, -DEFAULT_GRAVITY ); - -const int CINEMATIC_SKIP_DELAY = SEC2MS( 2.0f ); +extern const float DEFAULT_GRAVITY; +extern const idVec3 DEFAULT_GRAVITY_VEC3; +extern const int CINEMATIC_SKIP_DELAY; //============================================================================ diff --git a/d3xp/Player.cpp b/d3xp/Player.cpp index e535c7a..56ae6d7 100644 --- a/d3xp/Player.cpp +++ b/d3xp/Player.cpp @@ -31,6 +31,8 @@ If you have questions concerning this license or the applicable additional terms #include "Game_local.h" +const int ASYNC_PLAYER_INV_AMMO_BITS = idMath::BitsForInteger( 999 ); // 9 bits to cover the range [0, 999] +const int ASYNC_PLAYER_INV_CLIP_BITS = -7; // -7 bits to cover the range [-1, 60] /* =============================================================================== @@ -8181,7 +8183,6 @@ void idPlayer::Damage( idEntity *inflictor, idEntity *attacker, const idVec3 &di damage = 1; } - int oldHealth = health; health -= damage; if ( health <= 0 ) { diff --git a/d3xp/Player.h b/d3xp/Player.h index ec589ad..d469713 100644 --- a/d3xp/Player.h +++ b/d3xp/Player.h @@ -70,8 +70,8 @@ const int DEATH_VOLUME = 15; // volume at death const int SAVING_THROW_TIME = 5000; // maximum one "saving throw" every five seconds -const int ASYNC_PLAYER_INV_AMMO_BITS = idMath::BitsForInteger( 999 ); // 9 bits to cover the range [0, 999] -const int ASYNC_PLAYER_INV_CLIP_BITS = -7; // -7 bits to cover the range [-1, 60] +extern const int ASYNC_PLAYER_INV_AMMO_BITS; +extern const int ASYNC_PLAYER_INV_CLIP_BITS; struct idItemInfo { idStr name; diff --git a/d3xp/Target.cpp b/d3xp/Target.cpp index 1ba4461..b896c42 100644 --- a/d3xp/Target.cpp +++ b/d3xp/Target.cpp @@ -924,7 +924,6 @@ void idTarget_SetInfluence::Event_GatherEntities() { int i, listedEntities; idEntity *entityList[ MAX_GENTITIES ]; - bool demonicOnly = spawnArgs.GetBool( "effect_demonic" ); bool lights = spawnArgs.GetBool( "effect_lights" ); bool sounds = spawnArgs.GetBool( "effect_sounds" ); bool guis = spawnArgs.GetBool( "effect_guis" ); @@ -1794,7 +1793,6 @@ idTarget_FadeSoundClass::Event_RestoreVolume void idTarget_FadeSoundClass::Event_RestoreVolume() { float fadeTime = spawnArgs.GetFloat( "fadeTime" ); float fadeDB = spawnArgs.GetFloat( "fadeDB" ); - int fadeClass = spawnArgs.GetInt( "fadeClass" ); // restore volume gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime ); } diff --git a/d3xp/Trigger.cpp b/d3xp/Trigger.cpp index 52ab270..b7b2881 100644 --- a/d3xp/Trigger.cpp +++ b/d3xp/Trigger.cpp @@ -1253,7 +1253,6 @@ void idTrigger_Flag::Spawn( void ) { void idTrigger_Flag::Event_Touch( idEntity *other, trace_t *trace ) { - bool bTrigger = false; idItemTeam * flag = NULL; if ( player ) { diff --git a/d3xp/Weapon.cpp b/d3xp/Weapon.cpp index 1db5dc0..196c373 100644 --- a/d3xp/Weapon.cpp +++ b/d3xp/Weapon.cpp @@ -3299,7 +3299,6 @@ void idWeapon::Event_LaunchProjectiles( int num_projectiles, float spread, float #ifdef _D3XP - int ammoAvail = owner->inventory.HasAmmo( ammoType, ammoRequired ); if ( ( clipSize != 0 ) && ( ammoClip <= 0 ) ) { return; } @@ -3500,7 +3499,6 @@ void idWeapon::Event_LaunchProjectilesEllipse( int num_projectiles, float spread // avoid all ammo considerations on a client if ( !gameLocal.isClient ) { - int ammoAvail = owner->inventory.HasAmmo( ammoType, ammoRequired ); if ( ( clipSize != 0 ) && ( ammoClip <= 0 ) ) { return; } diff --git a/d3xp/ai/AAS_debug.cpp b/d3xp/ai/AAS_debug.cpp index 0c4ba48..b3b4175 100644 --- a/d3xp/ai/AAS_debug.cpp +++ b/d3xp/ai/AAS_debug.cpp @@ -70,16 +70,6 @@ void idAASLocal::DrawReachability( const idReachability *reach ) const { if ( gameLocal.GetLocalPlayer() ) { gameRenderWorld->DrawText( va( "%d", reach->edgeNum ), ( reach->start + reach->end ) * 0.5f, 0.1f, colorWhite, gameLocal.GetLocalPlayer()->viewAxis ); } - - switch( reach->travelType ) { - case TFL_WALK: { - const idReachability_Walk *walk = static_cast(reach); - break; - } - default: { - break; - } - } } /* diff --git a/d3xp/ai/AI.cpp b/d3xp/ai/AI.cpp index 2ccb337..e0e739f 100644 --- a/d3xp/ai/AI.cpp +++ b/d3xp/ai/AI.cpp @@ -1513,7 +1513,6 @@ float idAI::TravelDistance( const idVec3 &start, const idVec3 &end ) const { int toArea; float dist; idVec2 delta; - aasPath_t path; if ( !aas ) { // no aas, so just take the straight line distance @@ -3874,7 +3873,6 @@ void idAI::UpdateEnemyPosition( void ) { int enemyAreaNum; int areaNum; aasPath_t path; - predictedPath_t predictedPath; idVec3 enemyPos; bool onGround; diff --git a/d3xp/ai/AI_events.cpp b/d3xp/ai/AI_events.cpp index 0c000e5..a7183be 100644 --- a/d3xp/ai/AI_events.cpp +++ b/d3xp/ai/AI_events.cpp @@ -1792,7 +1792,6 @@ idAI::Event_TestChargeAttack ===================== */ void idAI::Event_TestChargeAttack( void ) { - trace_t trace; idActor *enemyEnt = enemy.GetEntity(); predictedPath_t path; idVec3 end; diff --git a/d3xp/gamesys/NoGameTypeInfo.h b/d3xp/gamesys/NoGameTypeInfo.h index 5b5618e..11ae5a8 100644 --- a/d3xp/gamesys/NoGameTypeInfo.h +++ b/d3xp/gamesys/NoGameTypeInfo.h @@ -68,10 +68,6 @@ typedef struct { } classTypeInfo_t; -static constantInfo_t constantInfo[] = { - { NULL, NULL, NULL } -}; - static enumTypeInfo_t enumTypeInfo[] = { { NULL, NULL } }; diff --git a/d3xp/physics/Physics_AF.cpp b/d3xp/physics/Physics_AF.cpp index 79528d6..916c78a 100644 --- a/d3xp/physics/Physics_AF.cpp +++ b/d3xp/physics/Physics_AF.cpp @@ -7904,10 +7904,10 @@ const float AF_VELOCITY_MAX = 16000; const int AF_VELOCITY_TOTAL_BITS = 16; const int AF_VELOCITY_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( AF_VELOCITY_MAX ) ) + 1; const int AF_VELOCITY_MANTISSA_BITS = AF_VELOCITY_TOTAL_BITS - 1 - AF_VELOCITY_EXPONENT_BITS; -const float AF_FORCE_MAX = 1e20f; -const int AF_FORCE_TOTAL_BITS = 16; -const int AF_FORCE_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( AF_FORCE_MAX ) ) + 1; -const int AF_FORCE_MANTISSA_BITS = AF_FORCE_TOTAL_BITS - 1 - AF_FORCE_EXPONENT_BITS; +//const float AF_FORCE_MAX = 1e20f; +//const int AF_FORCE_TOTAL_BITS = 16; +//const int AF_FORCE_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( AF_FORCE_MAX ) ) + 1; +//const int AF_FORCE_MANTISSA_BITS = AF_FORCE_TOTAL_BITS - 1 - AF_FORCE_EXPONENT_BITS; /* ================ diff --git a/d3xp/physics/Physics_Player.cpp b/d3xp/physics/Physics_Player.cpp index bc042d3..f7a2d1e 100644 --- a/d3xp/physics/Physics_Player.cpp +++ b/d3xp/physics/Physics_Player.cpp @@ -823,7 +823,6 @@ void idPhysics_Player::SpectatorMove( void ) { idVec3 wishdir; float scale; - trace_t trace; idVec3 end; // fly movement diff --git a/d3xp/physics/Push.cpp b/d3xp/physics/Push.cpp index 3cb5c34..44c4220 100644 --- a/d3xp/physics/Push.cpp +++ b/d3xp/physics/Push.cpp @@ -800,9 +800,6 @@ int idPush::TryRotatePushEntity( trace_t &results, idEntity *check, idClipModel SaveEntityPosition( check ); newRotation.Set( rotation.GetOrigin(), rotation.GetVec(), checkAngle ); - // NOTE: this code prevents msvc 6.0 & 7.0 from screwing up the above code in - // release builds moving less floats than it should - static float shit = checkAngle; newRotation.RotatePoint( rotationPoint ); diff --git a/game/Entity.cpp b/game/Entity.cpp index b7d6896..93d39f5 100644 --- a/game/Entity.cpp +++ b/game/Entity.cpp @@ -2524,7 +2524,6 @@ idEntity::RunPhysics bool idEntity::RunPhysics( void ) { int i, reachedTime, startTime, endTime; idEntity * part, *blockedPart, *blockingEntity; - trace_t results; bool moved; // don't run physics if not enabled diff --git a/game/Game_local.cpp b/game/Game_local.cpp index a06d6e4..6371f4f 100644 --- a/game/Game_local.cpp +++ b/game/Game_local.cpp @@ -31,6 +31,12 @@ If you have questions concerning this license or the applicable additional terms #include "Game_local.h" +const int NUM_RENDER_PORTAL_BITS = idMath::BitsForInteger( PS_BLOCK_ALL ); + +const float DEFAULT_GRAVITY = 1066.0f; +const idVec3 DEFAULT_GRAVITY_VEC3( 0, 0, -DEFAULT_GRAVITY ); +const int CINEMATIC_SKIP_DELAY = SEC2MS( 2.0f ); + #ifdef GAME_DLL idSys * sys = NULL; diff --git a/game/Game_local.h b/game/Game_local.h index bb0e4aa..e66b4d7 100644 --- a/game/Game_local.h +++ b/game/Game_local.h @@ -110,10 +110,11 @@ void gameError( const char *fmt, ... ); //============================================================================ -const int MAX_GAME_MESSAGE_SIZE = 8192; -const int MAX_ENTITY_STATE_SIZE = 512; -const int ENTITY_PVS_SIZE = ((MAX_GENTITIES+31)>>5); -const int NUM_RENDER_PORTAL_BITS = idMath::BitsForInteger( PS_BLOCK_ALL ); +#define MAX_GAME_MESSAGE_SIZE 8192 +#define MAX_ENTITY_STATE_SIZE 512 +#define ENTITY_PVS_SIZE ((MAX_GENTITIES+31)>>5) + +extern const int NUM_RENDER_PORTAL_BITS; typedef struct entityState_s { int entityNumber; @@ -682,11 +683,10 @@ typedef enum { #define MASK_SHOT_RENDERMODEL (CONTENTS_SOLID|CONTENTS_RENDERMODEL) #define MASK_SHOT_BOUNDINGBOX (CONTENTS_SOLID|CONTENTS_BODY) -const float DEFAULT_GRAVITY = 1066.0f; #define DEFAULT_GRAVITY_STRING "1066" -const idVec3 DEFAULT_GRAVITY_VEC3( 0, 0, -DEFAULT_GRAVITY ); - -const int CINEMATIC_SKIP_DELAY = SEC2MS( 2.0f ); +extern const float DEFAULT_GRAVITY; +extern const idVec3 DEFAULT_GRAVITY_VEC3; +extern const int CINEMATIC_SKIP_DELAY; //============================================================================ diff --git a/game/Player.cpp b/game/Player.cpp index 48d7a93..7dc9b33 100644 --- a/game/Player.cpp +++ b/game/Player.cpp @@ -31,6 +31,9 @@ If you have questions concerning this license or the applicable additional terms #include "Game_local.h" +const int ASYNC_PLAYER_INV_AMMO_BITS = idMath::BitsForInteger( 999 ); // 9 bits to cover the range [0, 999] +const int ASYNC_PLAYER_INV_CLIP_BITS = -7; // -7 bits to cover the range [-1, 60] + /* =============================================================================== @@ -6816,7 +6819,6 @@ void idPlayer::Damage( idEntity *inflictor, idEntity *attacker, const idVec3 &di damage = 1; } - int oldHealth = health; health -= damage; if ( health <= 0 ) { diff --git a/game/Player.h b/game/Player.h index 23377d0..5e0e19d 100644 --- a/game/Player.h +++ b/game/Player.h @@ -66,8 +66,8 @@ const int DEATH_VOLUME = 15; // volume at death const int SAVING_THROW_TIME = 5000; // maximum one "saving throw" every five seconds -const int ASYNC_PLAYER_INV_AMMO_BITS = idMath::BitsForInteger( 999 ); // 9 bits to cover the range [0, 999] -const int ASYNC_PLAYER_INV_CLIP_BITS = -7; // -7 bits to cover the range [-1, 60] +extern const int ASYNC_PLAYER_INV_AMMO_BITS; +extern const int ASYNC_PLAYER_INV_CLIP_BITS; struct idItemInfo { idStr name; diff --git a/game/Target.cpp b/game/Target.cpp index 018ed16..0fef65e 100644 --- a/game/Target.cpp +++ b/game/Target.cpp @@ -904,7 +904,6 @@ void idTarget_SetInfluence::Event_GatherEntities() { int i, listedEntities; idEntity *entityList[ MAX_GENTITIES ]; - bool demonicOnly = spawnArgs.GetBool( "effect_demonic" ); bool lights = spawnArgs.GetBool( "effect_lights" ); bool sounds = spawnArgs.GetBool( "effect_sounds" ); bool guis = spawnArgs.GetBool( "effect_guis" ); @@ -1758,7 +1757,6 @@ idTarget_FadeSoundClass::Event_RestoreVolume void idTarget_FadeSoundClass::Event_RestoreVolume() { float fadeTime = spawnArgs.GetFloat( "fadeTime" ); float fadeDB = spawnArgs.GetFloat( "fadeDB" ); - int fadeClass = spawnArgs.GetInt( "fadeClass" ); // restore volume gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime ); } diff --git a/game/ai/AAS_debug.cpp b/game/ai/AAS_debug.cpp index 0c4ba48..b3b4175 100644 --- a/game/ai/AAS_debug.cpp +++ b/game/ai/AAS_debug.cpp @@ -70,16 +70,6 @@ void idAASLocal::DrawReachability( const idReachability *reach ) const { if ( gameLocal.GetLocalPlayer() ) { gameRenderWorld->DrawText( va( "%d", reach->edgeNum ), ( reach->start + reach->end ) * 0.5f, 0.1f, colorWhite, gameLocal.GetLocalPlayer()->viewAxis ); } - - switch( reach->travelType ) { - case TFL_WALK: { - const idReachability_Walk *walk = static_cast(reach); - break; - } - default: { - break; - } - } } /* diff --git a/game/ai/AI.cpp b/game/ai/AI.cpp index a097c82..6852180 100644 --- a/game/ai/AI.cpp +++ b/game/ai/AI.cpp @@ -1431,7 +1431,6 @@ float idAI::TravelDistance( const idVec3 &start, const idVec3 &end ) const { int toArea; float dist; idVec2 delta; - aasPath_t path; if ( !aas ) { // no aas, so just take the straight line distance @@ -3758,7 +3757,6 @@ void idAI::UpdateEnemyPosition( void ) { int enemyAreaNum; int areaNum; aasPath_t path; - predictedPath_t predictedPath; idVec3 enemyPos; bool onGround; diff --git a/game/ai/AI_events.cpp b/game/ai/AI_events.cpp index 984cd6f..97ad247 100644 --- a/game/ai/AI_events.cpp +++ b/game/ai/AI_events.cpp @@ -1643,7 +1643,6 @@ idAI::Event_TestChargeAttack ===================== */ void idAI::Event_TestChargeAttack( void ) { - trace_t trace; idActor *enemyEnt = enemy.GetEntity(); predictedPath_t path; idVec3 end; diff --git a/game/gamesys/NoGameTypeInfo.h b/game/gamesys/NoGameTypeInfo.h index 5b5618e..11ae5a8 100644 --- a/game/gamesys/NoGameTypeInfo.h +++ b/game/gamesys/NoGameTypeInfo.h @@ -68,10 +68,6 @@ typedef struct { } classTypeInfo_t; -static constantInfo_t constantInfo[] = { - { NULL, NULL, NULL } -}; - static enumTypeInfo_t enumTypeInfo[] = { { NULL, NULL } }; diff --git a/game/physics/Physics_AF.cpp b/game/physics/Physics_AF.cpp index 13f3e59..39c2515 100644 --- a/game/physics/Physics_AF.cpp +++ b/game/physics/Physics_AF.cpp @@ -7903,10 +7903,10 @@ const float AF_VELOCITY_MAX = 16000; const int AF_VELOCITY_TOTAL_BITS = 16; const int AF_VELOCITY_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( AF_VELOCITY_MAX ) ) + 1; const int AF_VELOCITY_MANTISSA_BITS = AF_VELOCITY_TOTAL_BITS - 1 - AF_VELOCITY_EXPONENT_BITS; -const float AF_FORCE_MAX = 1e20f; -const int AF_FORCE_TOTAL_BITS = 16; -const int AF_FORCE_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( AF_FORCE_MAX ) ) + 1; -const int AF_FORCE_MANTISSA_BITS = AF_FORCE_TOTAL_BITS - 1 - AF_FORCE_EXPONENT_BITS; +//const float AF_FORCE_MAX = 1e20f; +//const int AF_FORCE_TOTAL_BITS = 16; +//const int AF_FORCE_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( AF_FORCE_MAX ) ) + 1; +//const int AF_FORCE_MANTISSA_BITS = AF_FORCE_TOTAL_BITS - 1 - AF_FORCE_EXPONENT_BITS; /* ================ diff --git a/game/physics/Physics_Player.cpp b/game/physics/Physics_Player.cpp index bc042d3..f7a2d1e 100644 --- a/game/physics/Physics_Player.cpp +++ b/game/physics/Physics_Player.cpp @@ -823,7 +823,6 @@ void idPhysics_Player::SpectatorMove( void ) { idVec3 wishdir; float scale; - trace_t trace; idVec3 end; // fly movement diff --git a/game/physics/Push.cpp b/game/physics/Push.cpp index 3cb5c34..44c4220 100644 --- a/game/physics/Push.cpp +++ b/game/physics/Push.cpp @@ -800,9 +800,6 @@ int idPush::TryRotatePushEntity( trace_t &results, idEntity *check, idClipModel SaveEntityPosition( check ); newRotation.Set( rotation.GetOrigin(), rotation.GetVec(), checkAngle ); - // NOTE: this code prevents msvc 6.0 & 7.0 from screwing up the above code in - // release builds moving less floats than it should - static float shit = checkAngle; newRotation.RotatePoint( rotationPoint ); diff --git a/idlib/math/Curve.h b/idlib/math/Curve.h index 37f9730..bbda862 100644 --- a/idlib/math/Curve.h +++ b/idlib/math/Curve.h @@ -333,7 +333,7 @@ idCurve::SetConstantSpeed */ template< class type > ID_INLINE void idCurve::SetConstantSpeed( const float totalTime ) { - int i, j; + int i; float *length, totalLength, scale, t; length = (float *) _alloca16( values.Num() * sizeof( float ) ); @@ -777,7 +777,6 @@ idCurve_QuadraticBezier::BasisSecondDerivative */ template< class type > ID_INLINE void idCurve_QuadraticBezier::BasisSecondDerivative( const float t, float *bvals ) const { - float s1 = (float) ( t - this->times[0] ) / ( this->times[2] - this->times[0] ); bvals[0] = 2.0f; bvals[1] = -4.0f; bvals[2] = 2.0f; diff --git a/idlib/math/Simd.cpp b/idlib/math/Simd.cpp index 73fc97b..43e852f 100644 --- a/idlib/math/Simd.cpp +++ b/idlib/math/Simd.cpp @@ -3124,8 +3124,6 @@ void TestGetTextureSpaceLightVectors( void ) { int i, j; TIME_TYPE start, end, bestClocksGeneric, bestClocksSIMD; ALIGN16( idDrawVert drawVerts[COUNT] ); - ALIGN16( idVec4 texCoords1[COUNT] ); - ALIGN16( idVec4 texCoords2[COUNT] ); ALIGN16( int indexes[COUNT*3] ); ALIGN16( idVec3 lightVectors1[COUNT] ); ALIGN16( idVec3 lightVectors2[COUNT] ); @@ -3191,8 +3189,6 @@ void TestGetSpecularTextureCoords( void ) { ALIGN16( idVec4 texCoords1[COUNT] ); ALIGN16( idVec4 texCoords2[COUNT] ); ALIGN16( int indexes[COUNT*3] ); - ALIGN16( idVec3 lightVectors1[COUNT] ); - ALIGN16( idVec3 lightVectors2[COUNT] ); idVec3 lightOrigin, viewOrigin; const char *result;