From: Matthijs Kooijman Date: Sun, 10 Jun 2007 16:20:22 +0000 (+0200) Subject: * Add newlines at the end of files. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0b314338a46fe83c1c4bb646da858ebd5d4a7317;p=matthijs%2FABM2.git * Add newlines at the end of files. * Fix casing of includes to match filenames. --- diff --git a/ABM2/Engine/GlobalTimer.cpp b/ABM2/Engine/GlobalTimer.cpp index 5974a7c..54c68ad 100755 --- a/ABM2/Engine/GlobalTimer.cpp +++ b/ABM2/Engine/GlobalTimer.cpp @@ -41,4 +41,4 @@ void CGlobalTimer::Update() void CGlobalTimer::Stop() { -} \ No newline at end of file +} diff --git a/ABM2/Engine/InputTask.cpp b/ABM2/Engine/InputTask.cpp index ad9a4f0..82d513e 100755 --- a/ABM2/Engine/InputTask.cpp +++ b/ABM2/Engine/InputTask.cpp @@ -87,4 +87,4 @@ void CInputTask::Stop() //oldKeys=0; memset(keys, 0, 256); memset(oldKeys, 0, 256); -} \ No newline at end of file +} diff --git a/ABM2/Engine/Kernel.cpp b/ABM2/Engine/Kernel.cpp index f16fe06..173c0d3 100755 --- a/ABM2/Engine/Kernel.cpp +++ b/ABM2/Engine/Kernel.cpp @@ -130,4 +130,4 @@ void CKernel::KillAllTasks() { (*it)->canKill=true; } -} \ No newline at end of file +} diff --git a/ABM2/Engine/Log.cpp b/ABM2/Engine/Log.cpp index 0230f3f..dce8af9 100755 --- a/ABM2/Engine/Log.cpp +++ b/ABM2/Engine/Log.cpp @@ -118,4 +118,4 @@ bool CLog::LoadStrings() return true; } -//#endif \ No newline at end of file +//#endif diff --git a/ABM2/Engine/ProfileLogHandler.cpp b/ABM2/Engine/ProfileLogHandler.cpp index ad1a6ee..7f17af6 100755 --- a/ABM2/Engine/ProfileLogHandler.cpp +++ b/ABM2/Engine/ProfileLogHandler.cpp @@ -42,4 +42,4 @@ void CProfileLogHandler::Sample(float fMin, float fAvg, float fMax, float tAvg, void CProfileLogHandler::EndOutput() { CLog::Get().Write(LOG_APP,"\n"); -} \ No newline at end of file +} diff --git a/ABM2/Engine/SoundTask.cpp b/ABM2/Engine/SoundTask.cpp index d3131ef..d1e2124 100755 --- a/ABM2/Engine/SoundTask.cpp +++ b/ABM2/Engine/SoundTask.cpp @@ -64,4 +64,4 @@ void CSoundTask::OnResume() void CSoundTask::Stop() { // FSOUND_Close(); -} \ No newline at end of file +} diff --git a/ABM2/Engine/VideoUpdate.cpp b/ABM2/Engine/VideoUpdate.cpp index 25136cb..8499568 100755 --- a/ABM2/Engine/VideoUpdate.cpp +++ b/ABM2/Engine/VideoUpdate.cpp @@ -112,4 +112,4 @@ void CVideoUpdate::Update() void CVideoUpdate::Stop() { // SDL_QuitSubSystem(SDL_INIT_VIDEO); -} \ No newline at end of file +} diff --git a/ABM2/Engine/dator.h b/ABM2/Engine/dator.h index a9107f9..c1ef9dc 100755 --- a/ABM2/Engine/dator.h +++ b/ABM2/Engine/dator.h @@ -98,4 +98,4 @@ public: }; -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/engine.h b/ABM2/Engine/engine.h index 9fe5375..cd685fa 100755 --- a/ABM2/Engine/engine.h +++ b/ABM2/Engine/engine.h @@ -37,25 +37,25 @@ #include */ //foundation layer headers -#include "log.h" +#include "Log.h" #include "mmanager.h" #include "singleton.h" #include "functor.h" #include "dator.h" -#include "kernel.h" -#include "settings.h" +#include "Kernel.h" +#include "Settings.h" #include "profiler.h" -#include "profileloghandler.h" +#include "ProfileLogHandler.h" //task pool -#include "videoupdate.h" -#include "globalTimer.h" -#include "inputtask.h" -#include "soundtask.h" +#include "VideoUpdate.h" +#include "GlobalTimer.h" +#include "InputTask.h" +#include "SoundTask.h" //misc #include "misc.h" #include "math.h" -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/functor.h b/ABM2/Engine/functor.h index 7a48421..b8a84b8 100755 --- a/ABM2/Engine/functor.h +++ b/ABM2/Engine/functor.h @@ -43,4 +43,4 @@ public: { return (obj->*func)(); } }; -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/game.h b/ABM2/Engine/game.h index 15840c5..304b746 100755 --- a/ABM2/Engine/game.h +++ b/ABM2/Engine/game.h @@ -14,4 +14,4 @@ public: void Run(int argc, char *argv[]); }; -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/misc.h b/ABM2/Engine/misc.h index 1ef5ba8..843c97f 100755 --- a/ABM2/Engine/misc.h +++ b/ABM2/Engine/misc.h @@ -51,4 +51,4 @@ public: -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/mmanager.cpp b/ABM2/Engine/mmanager.cpp index 54e75ea..6ed687a 100755 --- a/ABM2/Engine/mmanager.cpp +++ b/ABM2/Engine/mmanager.cpp @@ -103,4 +103,4 @@ void* IMMObject::operator new(size_t objsize) void IMMObject::operator delete(void* obj) { if(!((IMMObject*)obj)->bIsStackAllocated)free(obj); -} \ No newline at end of file +} diff --git a/ABM2/Engine/mmanager.h b/ABM2/Engine/mmanager.h index 0a8211b..28ce787 100755 --- a/ABM2/Engine/mmanager.h +++ b/ABM2/Engine/mmanager.h @@ -111,4 +111,4 @@ class CMMDynamicBlob : public IMMObject unsigned long blobsize(){return dataSize;} }; -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/profiler.cpp b/ABM2/Engine/profiler.cpp index 013afd0..cf7f20a 100755 --- a/ABM2/Engine/profiler.cpp +++ b/ABM2/Engine/profiler.cpp @@ -152,4 +152,4 @@ void CProfileSample::ResetAll() samples[i].dataCount=0; } } -} \ No newline at end of file +} diff --git a/ABM2/Engine/profiler.h b/ABM2/Engine/profiler.h index 0069b72..77eee05 100755 --- a/ABM2/Engine/profiler.h +++ b/ABM2/Engine/profiler.h @@ -72,4 +72,4 @@ public: #define PROFILE(name) #endif -#endif \ No newline at end of file +#endif diff --git a/ABM2/Engine/singleton.h b/ABM2/Engine/singleton.h index 9a40a95..2e3e6e2 100755 --- a/ABM2/Engine/singleton.h +++ b/ABM2/Engine/singleton.h @@ -33,4 +33,4 @@ class Singleton template T* Singleton ::ms_singleton = 0; -#endif \ No newline at end of file +#endif diff --git a/ABM2/SchemeReader.cpp b/ABM2/SchemeReader.cpp index 2019908..263ade8 100755 --- a/ABM2/SchemeReader.cpp +++ b/ABM2/SchemeReader.cpp @@ -91,4 +91,4 @@ SchemeReader::SchemeReader(char *Filename) { } } SchemeFile.close(); -} \ No newline at end of file +} diff --git a/ABM2/main.cpp b/ABM2/main.cpp index 1b136b1..061cce2 100755 --- a/ABM2/main.cpp +++ b/ABM2/main.cpp @@ -5,7 +5,7 @@ #include "Engine/engine.h" #include "Engine/game.h" #include "Playground.h" -#include "Schemereader.h" +#include "SchemeReader.h" // define the screen resolution and keyboard macros #define SCREEN_WIDTH 640 diff --git a/ABM2/main.h b/ABM2/main.h index 6957117..6ca3351 100755 --- a/ABM2/main.h +++ b/ABM2/main.h @@ -1,4 +1,4 @@ #pragma once extern HINSTANCE hInstance; -extern HWND hWnd; \ No newline at end of file +extern HWND hWnd;