From 46ecc76d295cec638f979bf4974130601dc10d57 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 28 Dec 2018 15:05:43 -0500 Subject: [PATCH] All header includes will now be enumerated in main.hpp --- src/main.cpp | 13 +------------ src/main.hpp | 12 ++++++++++++ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index a77235e..f69b66a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,18 +6,7 @@ By CobaltXII */ -#include - -// GLAD is used as the loader for OpenGL functions. On operating systems such -// as OS X, a loader is not necessarily needed. However, on most other -// systems, a loader is required in order to use any OpenGL functions. - -#include - -// SDL2 is used as the multimedia interface for Minceraft. It provides -// cross-platform functions that allow easy access to the operating system. - -#include +#include "main.hpp" // The entry point. diff --git a/src/main.hpp b/src/main.hpp index e69de29..abb2c68 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -0,0 +1,12 @@ +#include + +// GLAD is used as the loader for OpenGL functions. On operating systems such +// as OS X, a loader is not necessarily needed. However, on most other +// systems, a loader is required in order to use any OpenGL functions. + +#include + +// SDL2 is used as the multimedia interface for Minceraft. It provides +// cross-platform functions that allow easy access to the operating system. + +#include \ No newline at end of file