Separate includes into sections and alphabetize them

Okay, so basically here's the include layout that this game now
consistently uses:

[The "main" header file, if any (e.g. Graphics.h for Graphics.cpp)]
[blank line]
[All system includes, such as tinyxml2/physfs/utfcpp/SDL]
[blank line]
[All project includes, such as Game.h/Entity.h/etc.]

And if applicable, another blank line, and then some special-case
include screwy stuff (take a look at editor.cpp or FileSystemUtils.cpp,
for example, they have ifdefs and defines with their includes).
This commit is contained in:
Misa authored and Ethan Lee committed 2020-07-19 21:37:40 -04:00
1 parent b108e28c5a
commit 52f7a587fe
35 files changed
+124 -159

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
#include "Script.h"
#include <SDL.h>
void scriptclass::load(const std::string& name)