mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 10:45:16 +01:00
Move extern "C" {} blocks to headers (#6282)
This commit is contained in:
committed by
GitHub
parent
7671b9fcde
commit
00fd18809c
@@ -16,10 +16,7 @@
|
||||
|
||||
#ifdef DISABLE_TWITCH
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include "twitch.h"
|
||||
}
|
||||
#include "twitch.h"
|
||||
|
||||
void twitch_update() { }
|
||||
|
||||
@@ -34,21 +31,18 @@
|
||||
#include "../core/String.hpp"
|
||||
#include "../OpenRCT2.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include "../config/Config.h"
|
||||
#include "../drawing/drawing.h"
|
||||
#include "../game.h"
|
||||
#include "../interface/console.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../management/news_item.h"
|
||||
#include "../peep/peep.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "http.h"
|
||||
#include "twitch.h"
|
||||
}
|
||||
#include "../config/Config.h"
|
||||
#include "../drawing/drawing.h"
|
||||
#include "../game.h"
|
||||
#include "../interface/console.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../management/news_item.h"
|
||||
#include "../peep/peep.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "http.h"
|
||||
#include "twitch.h"
|
||||
|
||||
bool gTwitchEnable = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user