From 36cc3af3e5074215817ddee16defde754e2ad67f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 5 Aug 2005 14:34:47 +0000 Subject: [PATCH] Added newline to all the source/headers in Source. --- Source/CarbonStdCLib.h | 1 + Source/Constants.h | 2 +- Source/DRIVER.CC | 1 + Source/Frustum.cpp | 2 +- Source/Frustum.h | 2 +- Source/Game.h | 2 +- Source/GameDraw.cpp | 1 + Source/GameInitDispose.cpp | 1 + Source/GameTick.cpp | 2 +- Source/Globals.cpp | 1 + Source/Lights.cpp | 2 +- Source/Lights.h | 2 +- Source/LinkedList.h | 1 + Source/MD5.CC | 1 + Source/MacCompatibility.cpp | 1 + Source/MacCompatibility.h | 1 + Source/MacInput.cpp | 2 +- Source/MacInput.h | 2 +- Source/Models.cpp | 1 + Source/Models.h | 2 +- Source/MoreFilesX.h | 1 + Source/Objects.cpp | 1 + Source/Objects.h | 1 + Source/OpenGL_Full_Screen.cpp | 2 +- Source/OpenGL_Windows.cpp | 1 + Source/Person.cpp | 1 + Source/Person.h | 2 +- Source/PhysicsMath.h | 2 +- Source/Pointer.h | 1 + Source/Quaternions.cpp | 1 + Source/Quaternions.h | 2 +- Source/Random.h | 2 +- Source/SDLInput.cpp | 1 + Source/SDLInput.h | 1 + Source/Skeleton.cpp | 1 + Source/Skeleton.h | 2 +- Source/Skybox.cpp | 1 + Source/Skybox.h | 2 +- Source/Sprites.cpp | 1 + Source/Sprites.h | 2 +- Source/TGALoader.cpp | 2 +- Source/TGALoader.h | 1 + Source/Terrain.cpp | 1 + Source/Terrain.h | 2 +- Source/Text.cpp | 1 + Source/Text.h | 2 +- Source/Weapons.cpp | 1 + Source/Weapons.h | 2 +- Source/WinInput.cpp | 2 +- Source/WinInput.h | 2 +- Source/binio.h | 1 + Source/fmod.h | 1 + Source/fmod_errors.h | 1 + Source/fmod_header.h | 1 + Source/fmoddyn.h | 1 + Source/gamegl.h | 1 + Source/md5.h | 2 +- Source/mmgr.cpp | 1 + Source/mmgr.h | 1 + Source/nommgr.h | 1 + Source/pack_private.h | 1 + Source/private.h | 1 + Source/unpack_private.h | 1 + Source/wincompat.h | 1 + 64 files changed, 64 insertions(+), 25 deletions(-) diff --git a/Source/CarbonStdCLib.h b/Source/CarbonStdCLib.h index aa67ef0..fb30744 100644 --- a/Source/CarbonStdCLib.h +++ b/Source/CarbonStdCLib.h @@ -52,3 +52,4 @@ int bsd_chmod(const char *path , int mode) ; #endif #endif /* __CARBONSTDCLIB__ */ + diff --git a/Source/Constants.h b/Source/Constants.h index e063d36..a85af93 100644 --- a/Source/Constants.h +++ b/Source/Constants.h @@ -325,4 +325,4 @@ #define glowmode 5 #define maxplayers 10 -#endif \ No newline at end of file +#endif diff --git a/Source/DRIVER.CC b/Source/DRIVER.CC index df96e35..7a654bb 100644 --- a/Source/DRIVER.CC +++ b/Source/DRIVER.CC @@ -200,3 +200,4 @@ Arguments (may be any combination):\n\ + diff --git a/Source/Frustum.cpp b/Source/Frustum.cpp index f3ab44e..1d1b14d 100644 --- a/Source/Frustum.cpp +++ b/Source/Frustum.cpp @@ -152,4 +152,4 @@ int FRUSTUM:: return 2; else return 1; -} \ No newline at end of file +} diff --git a/Source/Frustum.h b/Source/Frustum.h index d748af5..a21fd65 100644 --- a/Source/Frustum.h +++ b/Source/Frustum.h @@ -10,4 +10,4 @@ public: int SphereInFrustum(float, float, float, float); }; -#endif \ No newline at end of file +#endif diff --git a/Source/Game.h b/Source/Game.h index 96feef0..a112d0a 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -279,4 +279,4 @@ public: }; -#endif \ No newline at end of file +#endif diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index f2c59ae..5127ea9 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -3982,3 +3982,4 @@ int Game::DrawGLScene(GLvoid) //Jordan fixed your warning! return 0; } + diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index d966a35..90ab51e 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -2017,3 +2017,4 @@ Game::Game() musicselected = 0; change = 0; } + diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index b8c4eee..73b815b 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -11576,4 +11576,4 @@ void Game::TickOnceAfter(){ viewer.z+=(float)(Random()%100)*.0005*camerashake; } } -} \ No newline at end of file +} diff --git a/Source/Globals.cpp b/Source/Globals.cpp index f5598e7..6d8ed4f 100644 --- a/Source/Globals.cpp +++ b/Source/Globals.cpp @@ -248,3 +248,4 @@ int maxalarmed = 0; bool gamestarted = 0; //TextureList textures; + diff --git a/Source/Lights.cpp b/Source/Lights.cpp index 63d1a7c..5761c4f 100644 --- a/Source/Lights.cpp +++ b/Source/Lights.cpp @@ -122,4 +122,4 @@ void SetUpMainLight(Light* whichsource, int whichlight, float ambientr, float am glLightfv(GL_LIGHT0, GL_DIFFUSE, LightDiffuse); glEnable(GL_LIGHT0); } -} \ No newline at end of file +} diff --git a/Source/Lights.h b/Source/Lights.h index ef98337..4c635f7 100644 --- a/Source/Lights.h +++ b/Source/Lights.h @@ -18,4 +18,4 @@ public: void SetUpMainLight(Light* whichsource, int whichlight, float ambientr, float ambientg, float ambientb); void SetUpLight(Light* whichsource, int whichlight); -#endif \ No newline at end of file +#endif diff --git a/Source/LinkedList.h b/Source/LinkedList.h index 6bf5337..1e91a57 100644 --- a/Source/LinkedList.h +++ b/Source/LinkedList.h @@ -292,3 +292,4 @@ static OTLink* OTReverseList(OTLink *headRef) #endif //!macintosh_build #endif /* __LINKEDLIST__ */ + diff --git a/Source/MD5.CC b/Source/MD5.CC index 7a18e9f..9a32cbd 100644 --- a/Source/MD5.CC +++ b/Source/MD5.CC @@ -542,3 +542,4 @@ inline void MD5::FF(uint4& a, uint4 b, uint4 c, uint4 d, uint4 x, a += I(b, c, d) + x + ac; a = rotate_left (a, s) +b; } + diff --git a/Source/MacCompatibility.cpp b/Source/MacCompatibility.cpp index 86004e0..0559257 100644 --- a/Source/MacCompatibility.cpp +++ b/Source/MacCompatibility.cpp @@ -130,3 +130,4 @@ char* ConvertFileName( const char* orgfilename) #endif + diff --git a/Source/MacCompatibility.h b/Source/MacCompatibility.h index cb5da91..3717eba 100644 --- a/Source/MacCompatibility.h +++ b/Source/MacCompatibility.h @@ -109,3 +109,4 @@ __forceinline long long longlongabs( long long f) #endif #endif + diff --git a/Source/MacInput.cpp b/Source/MacInput.cpp index 9b9f909..d494cdb 100644 --- a/Source/MacInput.cpp +++ b/Source/MacInput.cpp @@ -800,4 +800,4 @@ bool Compare(char *thestring, char *tocompare, int start, int end) if(thestring[i]!=tocompare[i-start]&&thestring[i]!=tocompare[i-start]+'A'-'a')return 0; } return 1; -} \ No newline at end of file +} diff --git a/Source/MacInput.h b/Source/MacInput.h index 64db734..034bf5b 100644 --- a/Source/MacInput.h +++ b/Source/MacInput.h @@ -120,4 +120,4 @@ char KeyToSingleChar(unsigned short which); char Shift(char which); bool Compare(char *thestring, char *tocompare, int start, int end); -#endif \ No newline at end of file +#endif diff --git a/Source/Models.cpp b/Source/Models.cpp index b1be7f5..577ae02 100644 --- a/Source/Models.cpp +++ b/Source/Models.cpp @@ -1527,3 +1527,4 @@ Model::Model() type=nothing; } + diff --git a/Source/Models.h b/Source/Models.h index 6154d6f..45ae7a3 100644 --- a/Source/Models.h +++ b/Source/Models.h @@ -127,4 +127,4 @@ public: Model(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/MoreFilesX.h b/Source/MoreFilesX.h index 856e22c..2bb8a8e 100644 --- a/Source/MoreFilesX.h +++ b/Source/MoreFilesX.h @@ -1825,3 +1825,4 @@ FSRestoreDefault( #endif /* __MOREFILESX__ */ + diff --git a/Source/Objects.cpp b/Source/Objects.cpp index 67feaac..e5d2689 100644 --- a/Source/Objects.cpp +++ b/Source/Objects.cpp @@ -775,3 +775,4 @@ Objects::~Objects() if (bushtextureptr) glDeleteTextures( 1, (const unsigned long *)&bushtextureptr ); if (rocktextureptr) glDeleteTextures( 1, (const unsigned long *)&rocktextureptr ); }; + diff --git a/Source/Objects.h b/Source/Objects.h index a73d670..41c81df 100644 --- a/Source/Objects.h +++ b/Source/Objects.h @@ -75,3 +75,4 @@ public: }; #endif + diff --git a/Source/OpenGL_Full_Screen.cpp b/Source/OpenGL_Full_Screen.cpp index 223b0c5..7a93238 100644 --- a/Source/OpenGL_Full_Screen.cpp +++ b/Source/OpenGL_Full_Screen.cpp @@ -1767,4 +1767,4 @@ int main (void) opstream << "Caught exception: " << error.what() << std::endl; opstream.close(); } -} \ No newline at end of file +} diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index 5c70e5f..dcc6c46 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -1874,3 +1874,4 @@ int main (void) free(f); } + diff --git a/Source/Person.cpp b/Source/Person.cpp index fd63f7b..edebfb2 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -7981,3 +7981,4 @@ Person::Person() Person::~Person() { } + diff --git a/Source/Person.h b/Source/Person.h index 5be74b2..b6b65b4 100644 --- a/Source/Person.h +++ b/Source/Person.h @@ -363,4 +363,4 @@ class Person HitStruct BulletCollideWithPlayer(XYZ start, XYZ end); }; -#endif \ No newline at end of file +#endif diff --git a/Source/PhysicsMath.h b/Source/PhysicsMath.h index 5ae9448..6612982 100644 --- a/Source/PhysicsMath.h +++ b/Source/PhysicsMath.h @@ -733,4 +733,4 @@ inline Vector MakeEulerAnglesFromQ(Quaternion q) -#endif \ No newline at end of file +#endif diff --git a/Source/Pointer.h b/Source/Pointer.h index 37595e1..b9c7287 100644 --- a/Source/Pointer.h +++ b/Source/Pointer.h @@ -68,3 +68,4 @@ public: #endif + diff --git a/Source/Quaternions.cpp b/Source/Quaternions.cpp index ab9034d..1170414 100644 --- a/Source/Quaternions.cpp +++ b/Source/Quaternions.cpp @@ -506,3 +506,4 @@ float LineFacetd(XYZ *p1,XYZ *p2,XYZ *pa,XYZ *pb,XYZ *pc, XYZ *n, XYZ *p) return 1; } + diff --git a/Source/Quaternions.h b/Source/Quaternions.h index 65bd8ae..ba1eedb 100644 --- a/Source/Quaternions.h +++ b/Source/Quaternions.h @@ -463,4 +463,4 @@ inline bool DistancePointLine( XYZ *Point, XYZ *LineStart, XYZ *LineEnd, float * return 1; } -#endif \ No newline at end of file +#endif diff --git a/Source/Random.h b/Source/Random.h index 7ab4f71..72afbca 100644 --- a/Source/Random.h +++ b/Source/Random.h @@ -15,4 +15,4 @@ short Random (); } #endif -#endif \ No newline at end of file +#endif diff --git a/Source/SDLInput.cpp b/Source/SDLInput.cpp index a8ef5c7..26bf03f 100644 --- a/Source/SDLInput.cpp +++ b/Source/SDLInput.cpp @@ -992,3 +992,4 @@ bool Compare(char *thestring, char *tocompare, int start, int end) #endif + diff --git a/Source/SDLInput.h b/Source/SDLInput.h index 7d89b0d..b4c3401 100644 --- a/Source/SDLInput.h +++ b/Source/SDLInput.h @@ -135,3 +135,4 @@ Boolean Button(); #endif + diff --git a/Source/Skeleton.cpp b/Source/Skeleton.cpp index 3d94b91..8b7c18a 100644 --- a/Source/Skeleton.cpp +++ b/Source/Skeleton.cpp @@ -1710,3 +1710,4 @@ Animation & Animation::operator = (const Animation & ani) return (*this); } + diff --git a/Source/Skeleton.h b/Source/Skeleton.h index c715fd1..b7e2eed 100644 --- a/Source/Skeleton.h +++ b/Source/Skeleton.h @@ -203,4 +203,4 @@ public: ~Skeleton(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/Skybox.cpp b/Source/Skybox.cpp index 6d074ce..4c46628 100644 --- a/Source/Skybox.cpp +++ b/Source/Skybox.cpp @@ -356,3 +356,4 @@ SkyBox::~SkyBox() if (cloud) glDeleteTextures( 1, (const unsigned long *)&cloud ); if (reflect) glDeleteTextures( 1, (const unsigned long *)&reflect ); }; + diff --git a/Source/Skybox.h b/Source/Skybox.h index 327dc48..19e93f6 100644 --- a/Source/Skybox.h +++ b/Source/Skybox.h @@ -18,4 +18,4 @@ public: ~SkyBox(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/Sprites.cpp b/Source/Sprites.cpp index aba6f8d..adf7c70 100644 --- a/Source/Sprites.cpp +++ b/Source/Sprites.cpp @@ -441,3 +441,4 @@ Sprites::~Sprites() if (splintertexture) glDeleteTextures( 1, (const unsigned long *)&splintertexture ); if (leaftexture) glDeleteTextures( 1, (const unsigned long *)&leaftexture ); } + diff --git a/Source/Sprites.h b/Source/Sprites.h index 36752ba..0fc79ed 100644 --- a/Source/Sprites.h +++ b/Source/Sprites.h @@ -65,4 +65,4 @@ public: ~Sprites(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/TGALoader.cpp b/Source/TGALoader.cpp index 8908282..7c722d7 100644 --- a/Source/TGALoader.cpp +++ b/Source/TGALoader.cpp @@ -264,4 +264,4 @@ TGAImageRec* LoadTGA( char *filename ) // Close The File fclose( file ); return &texture; -} \ No newline at end of file +} diff --git a/Source/TGALoader.h b/Source/TGALoader.h index 5851c29..4ab98aa 100644 --- a/Source/TGALoader.h +++ b/Source/TGALoader.h @@ -38,3 +38,4 @@ TGAImageRec* LoadTGA( char *filename ); #endif + diff --git a/Source/Terrain.cpp b/Source/Terrain.cpp index 4ed120b..0ba1ddd 100644 --- a/Source/Terrain.cpp +++ b/Source/Terrain.cpp @@ -1538,3 +1538,4 @@ Terrain::~Terrain() if(bloodtexture2) glDeleteTextures( 1, (const unsigned long *)&bloodtexture2 ); if(breaktexture) glDeleteTextures( 1, (const unsigned long *)&breaktexture ); } + diff --git a/Source/Terrain.h b/Source/Terrain.h index a69efbe..6b677d3 100644 --- a/Source/Terrain.h +++ b/Source/Terrain.h @@ -110,4 +110,4 @@ public: ~Terrain(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/Text.cpp b/Source/Text.cpp index f41fb6b..221fc22 100644 --- a/Source/Text.cpp +++ b/Source/Text.cpp @@ -259,3 +259,4 @@ Text::~Text() } if (FontTexture) glDeleteTextures( 1, (const unsigned long *)&FontTexture ); } + diff --git a/Source/Text.h b/Source/Text.h index 741d1a9..bc63cf2 100644 --- a/Source/Text.h +++ b/Source/Text.h @@ -27,4 +27,4 @@ public: ~Text(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/Weapons.cpp b/Source/Weapons.cpp index ac7a96f..390dbd3 100644 --- a/Source/Weapons.cpp +++ b/Source/Weapons.cpp @@ -1341,3 +1341,4 @@ Weapons::~Weapons() if (lightbloodswordtextureptr) glDeleteTextures( 1, (const unsigned long *)&lightbloodswordtextureptr ); if (bloodswordtextureptr) glDeleteTextures( 1, (const unsigned long *)&bloodswordtextureptr ); } + diff --git a/Source/Weapons.h b/Source/Weapons.h index 961364a..bebf6ee 100644 --- a/Source/Weapons.h +++ b/Source/Weapons.h @@ -90,4 +90,4 @@ public: ~Weapons(); }; -#endif \ No newline at end of file +#endif diff --git a/Source/WinInput.cpp b/Source/WinInput.cpp index 856bf12..913ddd2 100644 --- a/Source/WinInput.cpp +++ b/Source/WinInput.cpp @@ -986,4 +986,4 @@ bool Compare(char *thestring, char *tocompare, int start, int end) if(thestring[i]!=tocompare[i-start]&&thestring[i]!=tocompare[i-start]+'A'-'a')return 0; } return 1; -} \ No newline at end of file +} diff --git a/Source/WinInput.h b/Source/WinInput.h index c8880c7..f8a04e7 100644 --- a/Source/WinInput.h +++ b/Source/WinInput.h @@ -133,4 +133,4 @@ void GetKeys( unsigned char theKeys[16]); Boolean Button(); -#endif \ No newline at end of file +#endif diff --git a/Source/binio.h b/Source/binio.h index 4572b3e..4896813 100644 --- a/Source/binio.h +++ b/Source/binio.h @@ -90,3 +90,4 @@ extern "C" { #endif #endif + diff --git a/Source/fmod.h b/Source/fmod.h index 4d43dfe..3c4ef66 100644 --- a/Source/fmod.h +++ b/Source/fmod.h @@ -15,3 +15,4 @@ #endif + diff --git a/Source/fmod_errors.h b/Source/fmod_errors.h index 9004ec1..f51e68a 100644 --- a/Source/fmod_errors.h +++ b/Source/fmod_errors.h @@ -30,3 +30,4 @@ static char *FMOD_ErrorString(int errcode) } #endif + diff --git a/Source/fmod_header.h b/Source/fmod_header.h index 79fa926..61414ce 100644 --- a/Source/fmod_header.h +++ b/Source/fmod_header.h @@ -1217,3 +1217,4 @@ DLL_API void * F_API FMUSIC_GetUserData(FMUSIC_MODULE *mod); #endif #endif + diff --git a/Source/fmoddyn.h b/Source/fmoddyn.h index 44f1c8f..8416fed 100644 --- a/Source/fmoddyn.h +++ b/Source/fmoddyn.h @@ -541,3 +541,4 @@ static void FMOD_FreeInstance(FMOD_INSTANCE *instance) #endif + diff --git a/Source/gamegl.h b/Source/gamegl.h index 6f130c1..77746eb 100644 --- a/Source/gamegl.h +++ b/Source/gamegl.h @@ -52,3 +52,4 @@ using namespace std; #endif + diff --git a/Source/md5.h b/Source/md5.h index 9a0509b..55da7e1 100644 --- a/Source/md5.h +++ b/Source/md5.h @@ -107,4 +107,4 @@ private: static inline void II (uint4& a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac); -}; \ No newline at end of file +}; diff --git a/Source/mmgr.cpp b/Source/mmgr.cpp index c45b42b..25ac363 100644 --- a/Source/mmgr.cpp +++ b/Source/mmgr.cpp @@ -1749,3 +1749,4 @@ sMStats m_getMemoryStatistics() // --------------------------------------------------------------------------------------------------------------------------------- // mmgr.cpp - End of file // --------------------------------------------------------------------------------------------------------------------------------- + diff --git a/Source/mmgr.h b/Source/mmgr.h index 4e683a5..41e0c63 100644 --- a/Source/mmgr.h +++ b/Source/mmgr.h @@ -163,3 +163,4 @@ void operator delete[](void *reportedAddress); // --------------------------------------------------------------------------------------------------------------------------------- // mmgr.h - End of file // --------------------------------------------------------------------------------------------------------------------------------- + diff --git a/Source/nommgr.h b/Source/nommgr.h index 8356b89..1cdeb73 100644 --- a/Source/nommgr.h +++ b/Source/nommgr.h @@ -58,3 +58,4 @@ // --------------------------------------------------------------------------------------------------------------------------------- // nommgr.h - End of file // --------------------------------------------------------------------------------------------------------------------------------- + diff --git a/Source/pack_private.h b/Source/pack_private.h index 58d3753..aa3b2c2 100644 --- a/Source/pack_private.h +++ b/Source/pack_private.h @@ -12,3 +12,4 @@ struct BinIOPackContext extern void BinIOPack(void *context, int type, int byte_order, int count); #endif + diff --git a/Source/private.h b/Source/private.h index a79c33d..97bdd16 100644 --- a/Source/private.h +++ b/Source/private.h @@ -132,3 +132,4 @@ extern void BinIOCountBytes(void *context, int type, int byte_order, int count); extern size_t BinIOFormatByteCount(const char *format); #endif + diff --git a/Source/unpack_private.h b/Source/unpack_private.h index 92478b2..68dc3cc 100644 --- a/Source/unpack_private.h +++ b/Source/unpack_private.h @@ -12,3 +12,4 @@ struct BinIOUnpackContext extern void BinIOUnpack(void *context, int type, int byte_order, int count); #endif + diff --git a/Source/wincompat.h b/Source/wincompat.h index 3bdbc4f..c2713f2 100644 --- a/Source/wincompat.h +++ b/Source/wincompat.h @@ -79,3 +79,4 @@ static inline int getch(){ } #endif + -- 2.39.2