mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unused includes and function declarations from rct2.c and rct2.h
Currently, rct2.c doesn't just pull in the kitchen sink, it pulls in half a hardware store. Clean this up as a step towards reserving rct2.c/h for RCT2-specific stuff like SV6 limits.
This commit is contained in:
parent
3cf463b379
commit
183798b933
|
@ -18,42 +18,11 @@
|
|||
|
||||
#include <time.h>
|
||||
#include "audio/audio.h"
|
||||
#include "audio/AudioMixer.h"
|
||||
#include "config/Config.h"
|
||||
#include "Context.h"
|
||||
#include "drawing/drawing.h"
|
||||
#include "drawing/lightfx.h"
|
||||
#include "editor.h"
|
||||
#include "game.h"
|
||||
#include "input.h"
|
||||
#include "interface/chat.h"
|
||||
#include "interface/console.h"
|
||||
#include "interface/viewport.h"
|
||||
#include "intro.h"
|
||||
#include "localisation/date.h"
|
||||
#include "localisation/localisation.h"
|
||||
#include "management/news_item.h"
|
||||
#include "network/network.h"
|
||||
#include "network/twitch.h"
|
||||
#include "object.h"
|
||||
#include "object/ObjectManager.h"
|
||||
#include "OpenRCT2.h"
|
||||
#include "ParkImporter.h"
|
||||
#include "peep/staff.h"
|
||||
#include "platform/platform.h"
|
||||
#include "rct1.h"
|
||||
#include "ride/ride.h"
|
||||
#include "ride/track.h"
|
||||
#include "ride/track_design.h"
|
||||
#include "ride/TrackDesignRepository.h"
|
||||
#include "scenario/ScenarioRepository.h"
|
||||
#include "title/TitleScreen.h"
|
||||
#include "util/util.h"
|
||||
#include "world/Climate.h"
|
||||
#include "world/map.h"
|
||||
#include "world/park.h"
|
||||
#include "world/scenery.h"
|
||||
#include "world/sprite.h"
|
||||
|
||||
// rct2: 0x0097F67C
|
||||
static const char * const RCT2FilePaths[PATH_ID_END] = {
|
||||
|
|
|
@ -166,10 +166,7 @@ extern uint8 gSavePromptMode;
|
|||
|
||||
extern char gRCT2AddressAppPath[];
|
||||
|
||||
bool rct2_init();
|
||||
sint32 rct2_init_directories();
|
||||
sint32 check_mutex();
|
||||
sint32 check_files_integrity();
|
||||
const char *get_file_path(sint32 pathId);
|
||||
void rct2_quit();
|
||||
|
||||
|
|
Loading…
Reference in New Issue