mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 21:41:23 +00:00
Fix all whitespace errors
Excluding 3rd party files.
This commit is contained in:
parent
eac3112d2d
commit
c7c187e4dc
424 changed files with 5695 additions and 5729 deletions
|
@ -63,4 +63,3 @@ private:
|
||||||
|
|
||||||
void Event_Trigger( idEntity *activator );
|
void Event_Trigger( idEntity *activator );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4983,4 +4983,3 @@ idGameLocal::GetMapLoadingGUI
|
||||||
===============
|
===============
|
||||||
*/
|
*/
|
||||||
void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { }
|
void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { }
|
||||||
|
|
||||||
|
|
|
@ -480,4 +480,3 @@ ID_INLINE bool idMultiplayerGame::IsInGame( int clientNum ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !__MULTIPLAYERGAME_H__ */
|
#endif /* !__MULTIPLAYERGAME_H__ */
|
||||||
|
|
||||||
|
|
|
@ -837,4 +837,3 @@ ID_INLINE void idPlayer::SetSelfSmooth( bool b ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !__GAME_PLAYER_H__ */
|
#endif /* !__GAME_PLAYER_H__ */
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,4 +64,3 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#endif /* !_PLAYERICON_H_ */
|
#endif /* !_PLAYERICON_H_ */
|
||||||
|
|
||||||
|
|
|
@ -302,4 +302,3 @@ idSound::ShowEditingDialog
|
||||||
void idSound::ShowEditingDialog( void ) {
|
void idSound::ShowEditingDialog( void ) {
|
||||||
common->InitTool( EDITOR_SOUND, &spawnArgs );
|
common->InitTool( EDITOR_SOUND, &spawnArgs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1798,4 +1798,3 @@ void idTarget_FadeSoundClass::Event_RestoreVolume() {
|
||||||
// restore volume
|
// restore volume
|
||||||
gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime );
|
gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2903,4 +2903,3 @@ void idAI::Event_StopEmitter( const char* name ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -63,4 +63,3 @@ private:
|
||||||
|
|
||||||
void Event_Trigger( idEntity *activator );
|
void Event_Trigger( idEntity *activator );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4365,4 +4365,3 @@ idGameLocal::GetMapLoadingGUI
|
||||||
===============
|
===============
|
||||||
*/
|
*/
|
||||||
void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { }
|
void idGameLocal::GetMapLoadingGUI( char gui[ MAX_STRING_CHARS ] ) { }
|
||||||
|
|
||||||
|
|
|
@ -3407,4 +3407,3 @@ idMultiplayerGame::ClientReadWarmupTime
|
||||||
void idMultiplayerGame::ClientReadWarmupTime( const idBitMsg &msg ) {
|
void idMultiplayerGame::ClientReadWarmupTime( const idBitMsg &msg ) {
|
||||||
warmupEndTime = msg.ReadLong();
|
warmupEndTime = msg.ReadLong();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -368,4 +368,3 @@ ID_INLINE bool idMultiplayerGame::IsInGame( int clientNum ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !__MULTIPLAYERGAME_H__ */
|
#endif /* !__MULTIPLAYERGAME_H__ */
|
||||||
|
|
||||||
|
|
|
@ -718,4 +718,3 @@ ID_INLINE void idPlayer::SetSelfSmooth( bool b ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !__GAME_PLAYER_H__ */
|
#endif /* !__GAME_PLAYER_H__ */
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,4 +60,3 @@ public:
|
||||||
|
|
||||||
|
|
||||||
#endif /* !_PLAYERICON_H_ */
|
#endif /* !_PLAYERICON_H_ */
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1419,4 +1419,3 @@ void idPVS::ReadPVS( const pvsHandle_t handle, const idBitMsg &msg ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -302,4 +302,3 @@ idSound::ShowEditingDialog
|
||||||
void idSound::ShowEditingDialog( void ) {
|
void idSound::ShowEditingDialog( void ) {
|
||||||
common->InitTool( EDITOR_SOUND, &spawnArgs );
|
common->InitTool( EDITOR_SOUND, &spawnArgs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1762,4 +1762,3 @@ void idTarget_FadeSoundClass::Event_RestoreVolume() {
|
||||||
// restore volume
|
// restore volume
|
||||||
gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime );
|
gameSoundWorld->FadeSoundClasses( 0, fadeDB, fadeTime );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -195,4 +195,3 @@ const char **idCmdArgs::GetArgs( int *_argc ) {
|
||||||
*_argc = argc;
|
*_argc = argc;
|
||||||
return (const char **)&argv[0];
|
return (const char **)&argv[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1794,4 +1794,3 @@ idLexer::HadError
|
||||||
bool idLexer::HadError( void ) const {
|
bool idLexer::HadError( void ) const {
|
||||||
return hadError;
|
return hadError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -304,4 +304,3 @@ ID_INLINE int idLexer::GetFlags( void ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !__LEXER_H__ */
|
#endif /* !__LEXER_H__ */
|
||||||
|
|
||||||
|
|
|
@ -3249,4 +3249,3 @@ idParser::~idParser
|
||||||
idParser::~idParser( void ) {
|
idParser::~idParser( void ) {
|
||||||
idParser::FreeSource( false );
|
idParser::FreeSource( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1740,4 +1740,3 @@ idStr idStr::FormatNumber( int number ) {
|
||||||
|
|
||||||
return string;
|
return string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -186,4 +186,3 @@ ID_INLINE bool idTraceModel::operator!=( const idTraceModel &trm ) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !__TRACEMODEL_H__ */
|
#endif /* !__TRACEMODEL_H__ */
|
||||||
|
|
||||||
|
|
|
@ -352,4 +352,3 @@ float idODE_RK4Adaptive::Evaluate( const float *state, float *newState, float t0
|
||||||
}
|
}
|
||||||
return delta;
|
return delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue