Fix all whitespace errors

Excluding 3rd party files.
This commit is contained in:
dhewg 2011-12-06 19:20:15 +01:00 committed by Daniel Gibson
parent eac3112d2d
commit c7c187e4dc
424 changed files with 5695 additions and 5729 deletions

View file

@ -63,4 +63,3 @@ private:
void Event_Trigger( idEntity *activator ); void Event_Trigger( idEntity *activator );
}; };

View file

@ -4983,4 +4983,3 @@ idGameLocal::GetMapLoadingGUI
=============== ===============
*/ */
void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { } void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { }

View file

@ -480,4 +480,3 @@ ID_INLINE bool idMultiplayerGame::IsInGame( int clientNum ) {
} }
#endif /* !__MULTIPLAYERGAME_H__ */ #endif /* !__MULTIPLAYERGAME_H__ */

View file

@ -837,4 +837,3 @@ ID_INLINE void idPlayer::SetSelfSmooth( bool b ) {
} }
#endif /* !__GAME_PLAYER_H__ */ #endif /* !__GAME_PLAYER_H__ */

View file

@ -195,4 +195,3 @@ void idPlayerIcon::UpdateIcon( idPlayer *player, const idVec3 &origin, const idM
renderEnt.axis = axis; renderEnt.axis = axis;
gameRenderWorld->UpdateEntityDef( iconHandle, &renderEnt ); gameRenderWorld->UpdateEntityDef( iconHandle, &renderEnt );
} }

View file

@ -64,4 +64,3 @@ public:
#endif /* !_PLAYERICON_H_ */ #endif /* !_PLAYERICON_H_ */

View file

@ -302,4 +302,3 @@ idSound::ShowEditingDialog
void idSound::ShowEditingDialog( void ) { void idSound::ShowEditingDialog( void ) {
common->InitTool( EDITOR_SOUND, &spawnArgs ); common->InitTool( EDITOR_SOUND, &spawnArgs );
} }

View file

@ -1798,4 +1798,3 @@ void idTarget_FadeSoundClass::Event_RestoreVolume() {
// restore volume // restore volume
gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime ); gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime );
} }

View file

@ -2903,4 +2903,3 @@ void idAI::Event_StopEmitter( const char* name ) {
} }
#endif #endif

View file

@ -2623,4 +2623,3 @@ If you have questions concerning this license or the applicable additional terms
typedef void ( idClass::*eventCallback_ffffffff_t )( const float, const float, const float, const float, const float, const float, const float, const float ); typedef void ( idClass::*eventCallback_ffffffff_t )( const float, const float, const float, const float, const float, const float, const float, const float );
( this->*( eventCallback_ffffffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); ( this->*( eventCallback_ffffffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] );
break; break;

View file

@ -2042,4 +2042,3 @@ void idPhysics_Player::ReadFromSnapshot( const idBitMsgDelta &msg ) {
clipModel->Link( gameLocal.clip, self, 0, current.origin, clipModel->GetAxis() ); clipModel->Link( gameLocal.clip, self, 0, current.origin, clipModel->GetAxis() );
} }
} }

View file

@ -132,4 +132,3 @@ If you have questions concerning this license or the applicable additional terms
# define ID_ALLOW_D3XP 1 # define ID_ALLOW_D3XP 1
# endif # endif
#endif #endif

View file

@ -63,4 +63,3 @@ private:
void Event_Trigger( idEntity *activator ); void Event_Trigger( idEntity *activator );
}; };

View file

@ -4365,4 +4365,3 @@ idGameLocal::GetMapLoadingGUI
=============== ===============
*/ */
void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { } void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { }

View file

@ -3407,4 +3407,3 @@ idMultiplayerGame::ClientReadWarmupTime
void idMultiplayerGame::ClientReadWarmupTime( const idBitMsg &msg ) { void idMultiplayerGame::ClientReadWarmupTime( const idBitMsg &msg ) {
warmupEndTime = msg.ReadLong(); warmupEndTime = msg.ReadLong();
} }

View file

@ -368,4 +368,3 @@ ID_INLINE bool idMultiplayerGame::IsInGame( int clientNum ) {
} }
#endif /* !__MULTIPLAYERGAME_H__ */ #endif /* !__MULTIPLAYERGAME_H__ */

View file

@ -718,4 +718,3 @@ ID_INLINE void idPlayer::SetSelfSmooth( bool b ) {
} }
#endif /* !__GAME_PLAYER_H__ */ #endif /* !__GAME_PLAYER_H__ */

View file

@ -180,4 +180,3 @@ void idPlayerIcon::UpdateIcon( idPlayer *player, const idVec3 &origin, const idM
renderEnt.axis = axis; renderEnt.axis = axis;
gameRenderWorld->UpdateEntityDef( iconHandle, &renderEnt ); gameRenderWorld->UpdateEntityDef( iconHandle, &renderEnt );
} }

View file

@ -60,4 +60,3 @@ public:
#endif /* !_PLAYERICON_H_ */ #endif /* !_PLAYERICON_H_ */

View file

@ -719,4 +719,3 @@ void idPlayerView::RenderPlayerView( idUserInterface *hud ) {
renderSystem->DrawStretchPic( 10.0f, 380.0f, 64.0f, 64.0f, 0.0f, 0.0f, 1.0f, 1.0f, lagoMaterial ); renderSystem->DrawStretchPic( 10.0f, 380.0f, 64.0f, 64.0f, 0.0f, 0.0f, 1.0f, 1.0f, lagoMaterial );
} }
} }

View file

@ -1419,4 +1419,3 @@ void idPVS::ReadPVS( const pvsHandle_t handle, const idBitMsg &msg ) {
} }
#endif #endif

View file

@ -302,4 +302,3 @@ idSound::ShowEditingDialog
void idSound::ShowEditingDialog( void ) { void idSound::ShowEditingDialog( void ) {
common->InitTool( EDITOR_SOUND, &spawnArgs ); common->InitTool( EDITOR_SOUND, &spawnArgs );
} }

View file

@ -1762,4 +1762,3 @@ void idTarget_FadeSoundClass::Event_RestoreVolume() {
// restore volume // restore volume
gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime ); gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime );
} }

View file

@ -2623,4 +2623,3 @@ If you have questions concerning this license or the applicable additional terms
typedef void ( idClass::*eventCallback_ffffffff_t )( const float, const float, const float, const float, const float, const float, const float, const float ); typedef void ( idClass::*eventCallback_ffffffff_t )( const float, const float, const float, const float, const float, const float, const float, const float );
( this->*( eventCallback_ffffffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] ); ( this->*( eventCallback_ffffffff_t )callback )( *( float * )&data[ 0 ], *( float * )&data[ 1 ], *( float * )&data[ 2 ], *( float * )&data[ 3 ], *( float * )&data[ 4 ], *( float * )&data[ 5 ], *( float * )&data[ 6 ], *( float * )&data[ 7 ] );
break; break;

View file

@ -2042,4 +2042,3 @@ void idPhysics_Player::ReadFromSnapshot( const idBitMsgDelta &msg ) {
clipModel->Link( gameLocal.clip, self, 0, current.origin, clipModel->GetAxis() ); clipModel->Link( gameLocal.clip, self, 0, current.origin, clipModel->GetAxis() );
} }
} }

View file

@ -195,4 +195,3 @@ const char **idCmdArgs::GetArgs( int *_argc ) {
*_argc = argc; *_argc = argc;
return (const char **)&argv[0]; return (const char **)&argv[0];
} }

View file

@ -1794,4 +1794,3 @@ idLexer::HadError
bool idLexer::HadError( void ) const { bool idLexer::HadError( void ) const {
return hadError; return hadError;
} }

View file

@ -304,4 +304,3 @@ ID_INLINE int idLexer::GetFlags( void ) {
} }
#endif /* !__LEXER_H__ */ #endif /* !__LEXER_H__ */

View file

@ -3249,4 +3249,3 @@ idParser::~idParser
idParser::~idParser( void ) { idParser::~idParser( void ) {
idParser::FreeSource( false ); idParser::FreeSource( false );
} }

View file

@ -1740,4 +1740,3 @@ idStr idStr::FormatNumber( int number ) {
return string; return string;
} }

View file

@ -186,4 +186,3 @@ ID_INLINE bool idTraceModel::operator!=( const idTraceModel &trm ) const {
} }
#endif /* !__TRACEMODEL_H__ */ #endif /* !__TRACEMODEL_H__ */

View file

@ -352,4 +352,3 @@ float idODE_RK4Adaptive::Evaluate( const float *state, float *newState, float t0
} }
return delta; return delta;
} }

View file

@ -1474,5 +1474,3 @@ If you have questions concerning this license or the applicable additional terms
#define glMakeCurrent use_qglMakeCurrent #define glMakeCurrent use_qglMakeCurrent
#define glSwapBuffers use_qglSwapBuffers #define glSwapBuffers use_qglSwapBuffers
#define glGetProcAddressARB use_qglGetProcAddressARB #define glGetProcAddressARB use_qglGetProcAddressARB