mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01: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:
parent
4eb7f973ef
commit
1d0401ef83
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue