mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +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,4 +1,8 @@
|
|||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
#ifdef __EMSCRIPTEN__
|
||||||
|
#include <emscripten.h>
|
||||||
|
#include <emscripten/html5.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "CustomLevels.h"
|
#include "CustomLevels.h"
|
||||||
#include "DeferCallbacks.h"
|
#include "DeferCallbacks.h"
|
||||||
@@ -24,11 +28,6 @@
|
|||||||
#include "UtilityClass.h"
|
#include "UtilityClass.h"
|
||||||
#include "Vlogging.h"
|
#include "Vlogging.h"
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
|
||||||
#include <emscripten.h>
|
|
||||||
#include <emscripten/html5.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
scriptclass script;
|
scriptclass script;
|
||||||
|
|
||||||
#ifndef NO_CUSTOM_LEVELS
|
#ifndef NO_CUSTOM_LEVELS
|
||||||
|
|||||||
Reference in New Issue
Block a user