2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 12:06:09 +00:00

Add version info to extracted data, clean up MP1.*

This commit is contained in:
2020-04-15 00:56:59 -07:00
parent 5aae402149
commit 1eade15395
7 changed files with 112 additions and 62 deletions

View File

@@ -61,6 +61,7 @@
#include "Runtime/Particle/CWeaponDescription.hpp"
#include "Runtime/World/CPlayer.hpp"
#include "Runtime/World/CStateMachine.hpp"
#include "Runtime/World/CScriptMazeNode.hpp"
#include <DataSpec/DNAMP1/SFX/Misc.h>
#include <DataSpec/DNAMP1/SFX/MiscSamus.h>
@@ -343,6 +344,14 @@ CGameGlobalObjects::~CGameGlobalObjects() {
g_GameState = nullptr;
g_TweakManager = nullptr;
}
void CGameGlobalObjects::PostInitialize() {
AddPaksAndFactories();
LoadTextureCache();
LoadStringTable();
m_renderer.reset(AllocateRenderer(*xcc_simplePool, *x4_resFactory));
CEnvFxManager::Initialize();
CScriptMazeNode::LoadMazeSeeds();
}
void CMain::AddWorldPaks() {
CResLoader* loader = g_ResFactory->GetResLoader();