mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +03:00
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:
1 parent
4eb7f973ef
commit
1d0401ef83
1 file changed
+4
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user