Move Emscripten includes to top of `main.cpp`

All system header includes should come before project-specific includes
(includes specific to this game), while coming after the include
specific to the given file (if any; main.cpp doesn't have any).
This commit is contained in:
Misa 2021-09-20 13:47:53 -07:00
parent 4eb7f973ef
commit 1d0401ef83
1 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,8 @@
#include <SDL.h>
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <emscripten/html5.h>
#endif
#include "CustomLevels.h"
#include "DeferCallbacks.h"
@ -24,11 +28,6 @@
#include "UtilityClass.h"
#include "Vlogging.h"
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <emscripten/html5.h>
#endif
scriptclass script;
#ifndef NO_CUSTOM_LEVELS