Skip to content

Commit

Permalink
Move src/emscripten.hpp includes to $1.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Semphris committed Jul 30, 2024
1 parent 2a501d6 commit 4f72fba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions src/port/emscripten.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@

#ifdef __EMSCRIPTEN__

#include "addon/addon_manager.hpp"
#include "gui/menu_manager.hpp"
#include "supertux/gameconfig.hpp"
#include "supertux/globals.hpp"
#include "video/video_system.hpp"

extern "C" {

EMSCRIPTEN_KEEPALIVE // This is probably not useful, I just want ppl to know it exists
Expand Down
6 changes: 0 additions & 6 deletions src/port/emscripten.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
#include <emscripten.h>
#include <emscripten/html5.h>

#include "addon/addon_manager.hpp"
#include "gui/menu_manager.hpp"
#include "supertux/gameconfig.hpp"
#include "supertux/globals.hpp"
#include "video/video_system.hpp"

extern "C" {

void set_resolution(int w, int h);
Expand Down

0 comments on commit 4f72fba

Please sign in to comment.