2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-08-27 03:02:18 +00:00
|
|
|
|
|
|
|
#define USE_DOWNCAST_TWEAKS 1
|
|
|
|
|
|
|
|
#if USE_DOWNCAST_TWEAKS
|
2022-02-19 13:04:45 +00:00
|
|
|
#include "Runtime/MP1/Tweaks/CTweakAutoMapper.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakBall.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakGame.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakGui.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakGui.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakGuiColors.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakGunRes.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakParticle.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakPlayer.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakPlayerControl.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakPlayerGun.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakPlayerRes.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakSlideShow.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakTargeting.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakGuiColors.hpp"
|
|
|
|
#include "Runtime/MP1/Tweaks/CTweakTargeting.hpp"
|
2017-08-27 03:02:18 +00:00
|
|
|
#else
|
2022-02-19 13:04:45 +00:00
|
|
|
#include "Runtime/Tweaks/ITweakAutoMapper.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakBall.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakGame.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakGui.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakGui.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakGuiColors.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakGunRes.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakParticle.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakPlayer.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakPlayerControl.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakPlayerGun.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakPlayerRes.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakSlideShow.hpp"
|
|
|
|
#include "Runtime/Tweaks/ITweakTargeting.hpp"
|
2017-08-27 03:02:18 +00:00
|
|
|
#endif
|
2015-08-18 05:54:43 +00:00
|
|
|
|
2020-02-16 08:10:08 +00:00
|
|
|
#include "Runtime/CTextureCache.hpp"
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2016-09-17 06:40:45 +00:00
|
|
|
extern class IMain* g_Main;
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace MP1 {
|
2016-09-15 07:26:35 +00:00
|
|
|
extern class CGameArchitectureSupport* g_archSupport;
|
2016-08-15 20:58:07 +00:00
|
|
|
}
|
2015-08-18 05:54:43 +00:00
|
|
|
extern class CMemoryCardSys* g_MemoryCardSys;
|
2016-04-15 03:02:21 +00:00
|
|
|
extern class IFactory* g_ResFactory;
|
2015-08-18 05:54:43 +00:00
|
|
|
extern class CSimplePool* g_SimplePool;
|
|
|
|
extern class CCharacterFactoryBuilder* g_CharFactoryBuilder;
|
|
|
|
extern class CAiFuncMap* g_AiFuncMap;
|
|
|
|
extern class CGameState* g_GameState;
|
2015-08-27 00:23:46 +00:00
|
|
|
extern class CInGameTweakManagerBase* g_TweakManager;
|
2015-08-18 05:54:43 +00:00
|
|
|
extern class CBooRenderer* g_Renderer;
|
2016-12-14 22:56:59 +00:00
|
|
|
extern class CStringTable* g_MainStringTable;
|
2019-12-11 04:51:33 +00:00
|
|
|
extern class CTextureCache* g_TextureCache;
|
2017-02-18 02:19:50 +00:00
|
|
|
extern class CInputGenerator* g_InputGenerator;
|
2018-04-30 03:12:41 +00:00
|
|
|
extern class CStateManager* g_StateManager;
|
2015-08-18 05:54:43 +00:00
|
|
|
|
2017-08-27 03:02:18 +00:00
|
|
|
#if USE_DOWNCAST_TWEAKS
|
2022-02-19 13:04:45 +00:00
|
|
|
using ITweakGame = metaforce::MP1::CTweakGame;
|
|
|
|
using ITweakPlayer = metaforce::MP1::CTweakPlayer;
|
|
|
|
using ITweakPlayerControl = metaforce::MP1::CTweakPlayerControl;
|
|
|
|
using ITweakPlayerGun = metaforce::MP1::CTweakPlayerGun;
|
|
|
|
using ITweakGunRes = metaforce::MP1::CTweakGunRes;
|
|
|
|
using ITweakAutoMapper = metaforce::MP1::CTweakAutoMapper;
|
|
|
|
using ITweakGui = metaforce::MP1::CTweakGui;
|
|
|
|
using ITweakSlideShow = metaforce::MP1::CTweakSlideShow;
|
|
|
|
using ITweakParticle = metaforce::MP1::CTweakParticle;
|
|
|
|
using ITweakBall = metaforce::MP1::CTweakBall;
|
|
|
|
using ITweakGuiColors = metaforce::MP1::CTweakGuiColors;
|
|
|
|
using ITweakPlayerRes = metaforce::MP1::CTweakPlayerRes;
|
|
|
|
using ITweakTargeting = metaforce::MP1::CTweakTargeting;
|
2017-08-27 03:02:18 +00:00
|
|
|
#else
|
2022-02-19 13:04:45 +00:00
|
|
|
using ITweakGame = metaforce::Tweaks::ITweakGame;
|
|
|
|
using ITweakPlayer = metaforce::Tweaks::ITweakPlayer;
|
|
|
|
using ITweakPlayerControl = metaforce::Tweaks::ITweakPlayerControl;
|
|
|
|
using ITweakPlayerGun = metaforce::Tweaks::ITweakPlayerGun;
|
|
|
|
using ITweakGunRes = metaforce::Tweaks::ITweakGunRes;
|
|
|
|
using ITweakAutoMapper = metaforce::Tweaks::ITweakAutoMapper;
|
|
|
|
using ITweakGui = metaforce::Tweaks::ITweakGui;
|
|
|
|
using ITweakSlideShow = metaforce::Tweaks::ITweakSlideShow;
|
|
|
|
using ITweakParticle = metaforce::Tweaks::ITweakParticle;
|
|
|
|
using ITweakBall = metaforce::Tweaks::ITweakBall;
|
|
|
|
using ITweakGuiColors = metaforce::Tweaks::ITweakGuiColors;
|
|
|
|
using ITweakPlayerRes = metaforce::Tweaks::ITweakPlayerRes;
|
|
|
|
using ITweakTargeting = metaforce::Tweaks::ITweakTargeting;
|
2017-08-27 03:02:18 +00:00
|
|
|
#endif
|
2017-01-26 10:06:18 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
extern ITweakGame* g_tweakGame;
|
2017-01-26 10:06:18 +00:00
|
|
|
extern ITweakPlayer* g_tweakPlayer;
|
|
|
|
extern ITweakPlayerControl* g_tweakPlayerControl;
|
|
|
|
extern ITweakPlayerControl* g_tweakPlayerControlAlt;
|
|
|
|
extern ITweakPlayerControl* g_currentPlayerControl;
|
|
|
|
extern ITweakPlayerGun* g_tweakPlayerGun;
|
|
|
|
extern ITweakGunRes* g_tweakGunRes;
|
|
|
|
extern ITweakPlayerRes* g_tweakPlayerRes;
|
|
|
|
extern ITweakTargeting* g_tweakTargeting;
|
2016-07-31 01:43:34 +00:00
|
|
|
extern ITweakAutoMapper* g_tweakAutoMapper;
|
2017-01-26 10:06:18 +00:00
|
|
|
extern ITweakGui* g_tweakGui;
|
|
|
|
extern ITweakSlideShow* g_tweakSlideShow;
|
|
|
|
extern ITweakParticle* g_tweakParticle;
|
|
|
|
extern ITweakBall* g_tweakBall;
|
|
|
|
extern ITweakGuiColors* g_tweakGuiColors;
|
2015-08-28 00:11:31 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|