metaforce/Runtime/World/ScriptLoader.cpp

867 lines
25 KiB
C++
Raw Normal View History

#include "ScriptLoader.hpp"
2016-04-18 05:33:23 +00:00
#include "CStateManager.hpp"
#include "CGrappleParameters.hpp"
#include "CActorParameters.hpp"
#include "CVisorParameters.hpp"
#include "CScannableParameters.hpp"
#include "CLightParameters.hpp"
#include "CAnimationParameters.hpp"
#include "GameGlobalObjects.hpp"
2016-04-19 00:17:49 +00:00
#include "CWorld.hpp"
#include "Character/CModelData.hpp"
#include "Collision/CMaterialList.hpp"
#include "CScriptActor.hpp"
#include "CScriptWaypoint.hpp"
2016-04-18 01:58:13 +00:00
#include "logvisor/logvisor.hpp"
namespace urde
{
2016-04-18 01:58:13 +00:00
static logvisor::Module Log("urde::ScriptLoader");
2016-04-18 01:58:13 +00:00
static bool EnsurePropertyCount(int count, int expected, const char* structName)
{
2016-04-18 01:58:13 +00:00
if (count < expected)
{
Log.report(logvisor::Fatal, "Insufficient number of props (%d/%d) for %s entity",
count, expected, structName);
return false;
}
return true;
}
2016-04-18 05:33:23 +00:00
struct SActorHead
{
std::string x0_name;
zeus::CTransform x10_transform;
};
struct SScaledActorHead : SActorHead
{
zeus::CVector3f x40_scale;
SScaledActorHead(SActorHead&& head) : SActorHead(std::move(head)) {}
};
static zeus::CTransform LoadEditorTransform(CInputStream& in)
{
zeus::CVector3f position;
position.readBig(in);
zeus::CVector3f orientation;
orientation.readBig(in);
return ScriptLoader::ConvertEditorEulerToTransform4f(orientation, position);
}
static zeus::CTransform LoadEditorTransformPivotOnly(CInputStream& in)
{
zeus::CVector3f position;
position.readBig(in);
zeus::CVector3f orientation;
orientation.readBig(in);
orientation.x = 0.f;
orientation.y = 0.f;
return ScriptLoader::ConvertEditorEulerToTransform4f(orientation, position);
}
static SActorHead LoadActorHead(CInputStream& in, CStateManager& stateMgr)
{
SActorHead ret;
ret.x0_name = *stateMgr.HashInstanceName(in);
ret.x10_transform = LoadEditorTransform(in);
return ret;
}
static SScaledActorHead LoadScaledActorHead(CInputStream& in, CStateManager& stateMgr)
{
SScaledActorHead ret = LoadActorHead(in, stateMgr);
ret.x40_scale.readBig(in);
return ret;
}
2016-04-19 00:17:49 +00:00
static zeus::CAABox GetCollisionBox(CStateManager& stateMgr, TAreaId id,
const zeus::CVector3f& extent, const zeus::CVector3f& offset)
{
zeus::CAABox box(-extent * 0.5f + offset, extent * 0.5f + offset);
zeus::CTransform rot = stateMgr.GetWorld()->GetGameAreas()[id]->GetTransform().getRotation();
return box.getTransformedAABox(rot);
}
2016-04-18 05:33:23 +00:00
u32 ScriptLoader::LoadParameterFlags(CInputStream& in)
{
u32 count = in.readUint32Big();
u32 ret = 0;
for (u32 i=0 ; i<count ; ++i)
if (in.readBool())
ret |= 1 << i;
return ret;
}
CGrappleParameters ScriptLoader::LoadGrappleParameters(CInputStream& in)
{
float a = in.readFloatBig();
float b = in.readFloatBig();
float c = in.readFloatBig();
float d = in.readFloatBig();
float e = in.readFloatBig();
float f = in.readFloatBig();
float g = in.readFloatBig();
float h = in.readFloatBig();
float i = in.readFloatBig();
float j = in.readFloatBig();
float k = in.readFloatBig();
bool l = in.readBool();
return CGrappleParameters(a, b, c, d, e, f, g, h, i, j, k, l);
}
CActorParameters ScriptLoader::LoadActorParameters(CInputStream& in)
{
u32 propCount = in.readUint32Big();
if (propCount >= 5 && propCount <= 0xe)
{
CLightParameters lParms = ScriptLoader::LoadLightParameters(in);
CScannableParameters sParams;
if (propCount > 5)
sParams = LoadScannableParameters(in);
ResId xrayModel = in.readUint32Big();
ResId xraySkin = in.readUint32Big();
ResId infraModel = in.readUint32Big();
ResId infraSkin = in.readUint32Big();
bool b1 = true;
if (propCount > 7)
b1 = in.readBool();
float f1 = 1.f;
if (propCount > 8)
f1 = in.readFloatBig();
float f2 = 1.f;
if (propCount > 9)
f2 = in.readFloatBig();
CVisorParameters vParms;
if (propCount > 6)
vParms = LoadVisorParameters(in);
bool b2 = false;
if (propCount > 10)
b2 = in.readBool();
bool b3 = false;
if (propCount > 11)
b3 = in.readBool();
bool b4 = false;
if (propCount > 12)
b4 = in.readBool();
float f3 = 1.f;
if (propCount > 13)
f3 = in.readFloatBig();
std::pair<ResId, ResId> xray = {};
if (g_ResFactory->GetResourceTypeById(xrayModel))
xray = {xrayModel, xraySkin};
std::pair<ResId, ResId> infra = {};
if (g_ResFactory->GetResourceTypeById(infraModel))
infra = {infraModel, infraSkin};
return CActorParameters(lParms, sParams, xray, infra, vParms, b1, b2, b3, b4);
}
return CActorParameters::None();
}
CVisorParameters ScriptLoader::LoadVisorParameters(CInputStream& in)
{
u32 propCount = in.readUint32Big();
if (propCount >= 1 && propCount <= 3)
{
bool b1 = in.readBool();
bool b2 = false;
u8 mask = 0xf;
if (propCount > 1)
b2 = in.readBool();
if (propCount > 2)
mask = in.readUint32Big();
return CVisorParameters(mask, b1, b2);
}
return CVisorParameters();
}
CScannableParameters ScriptLoader::LoadScannableParameters(CInputStream& in)
{
u32 propCount = in.readUint32Big();
if (propCount == 1)
return CScannableParameters(in.readUint32Big());
return CScannableParameters();
}
CLightParameters ScriptLoader::LoadLightParameters(CInputStream& in)
{
u32 propCount = in.readUint32Big();
if (propCount == 14)
{
bool a = in.readBool();
float b = in.readFloatBig();
u32 c = in.readUint32Big();
float d = in.readFloatBig();
float e = in.readFloatBig();
zeus::CColor col;
col.readRGBABig(in);
bool f = in.readBool();
u32 g = in.readUint32Big();
u32 h = in.readUint32Big();
zeus::CVector3f vec;
vec.readBig(in);
s32 w1 = -1;
s32 w2 = -1;
if (propCount >= 0xc)
{
w1 = in.readUint32Big();
w2 = in.readUint32Big();
}
bool b1 = false;
if (propCount >= 0xd)
b1 = in.readBool();
s32 w3 = 0;
if (propCount >= 0xe)
w3 = in.readUint32Big();
return CLightParameters(a, b, c, d, e, col, f, g, h, vec, w1, w2, b1, w3);
}
return CLightParameters::None();
}
CAnimationParameters ScriptLoader::LoadAnimationParameters(CInputStream& in)
{
ResId ancs = in.readUint32Big();
s32 charIdx = in.readUint32Big();
u32 defaultAnim = in.readUint32Big();
return CAnimationParameters(ancs, charIdx, defaultAnim);
}
zeus::CTransform ScriptLoader::ConvertEditorEulerToTransform4f(const zeus::CVector3f& orientation,
const zeus::CVector3f& position)
{
return zeus::CTransform::RotateZ(zeus::degToRad(orientation.z)) *
zeus::CTransform::RotateY(zeus::degToRad(orientation.y)) *
zeus::CTransform::RotateX(zeus::degToRad(orientation.x)) + position;
}
2016-04-19 00:17:49 +00:00
CEntity* ScriptLoader::LoadActor(CStateManager& mgr, CInputStream& in,
int propCount, const CEntityInfo& info)
2016-04-18 01:58:13 +00:00
{
if (!EnsurePropertyCount(propCount, 24, "Actor"))
return nullptr;
2016-04-18 05:33:23 +00:00
SScaledActorHead head = LoadScaledActorHead(in, mgr);
zeus::CVector3f collisionExtent;
collisionExtent.readBig(in);
zeus::CVector3f centroid;
centroid.readBig(in);
float f1 = in.readFloatBig();
float f2 = in.readFloatBig();
CHealthInfo hInfo(in);
CDamageVulnerability dInfo(in);
2016-04-18 01:58:13 +00:00
2016-04-19 00:17:49 +00:00
ResId staticId = in.readUint32Big();
CAnimationParameters aParms = LoadAnimationParameters(in);
CActorParameters actParms = LoadActorParameters(in);
bool b1 = in.readBool();
bool b2 = in.readBool();
bool b3 = in.readBool();
bool b4 = in.readBool();
bool b5 = in.readBool();
u32 w2 = in.readUint32Big();
float f3 = in.readFloatBig();
bool b6 = in.readBool();
bool b7 = in.readBool();
bool b8 = in.readBool();
bool b9 = in.readBool();
FourCC animType = g_ResFactory->GetResourceTypeById(aParms.x0_ancs);
if (!g_ResFactory->GetResourceTypeById(staticId) && !animType)
return nullptr;
zeus::CAABox aabb = GetCollisionBox(mgr, info.GetAreaId(), collisionExtent, centroid);
CMaterialList list;
if (b2)
list.x0_ = 0x80000000000;
if (b3)
list.x0_ |= 8;
if (b4)
list.x0_ |= 32;
bool generateExtent = false;
if (collisionExtent.x < 0.f || collisionExtent.y < 0.f || collisionExtent.z < 0.f)
generateExtent = true;
CModelData data;
if (animType == SBIG('ANCS'))
{
CAnimRes aRes;
aRes.x0_ancsId = aParms.x0_ancs;
aRes.x4_charIdx = aParms.x4_charIdx;
aRes.x8_scale = head.x40_scale;
aRes.x14_ = true;
aRes.x1c_defaultAnim = aParms.x8_defaultAnim;
data = aRes;
}
else
{
CStaticRes sRes;
sRes.x0_cmdlId = staticId;
sRes.x4_scale = head.x40_scale;
data = sRes;
}
if (collisionExtent.isZero() || generateExtent)
aabb = data.GetBounds(head.x10_transform.getRotation());
return new CScriptActor(mgr.AllocateUniqueId(), head.x0_name, info,
head.x10_transform, data, aabb, f1, f2, list, hInfo, dInfo,
actParms, b1, b5, w2, f3, b6, b7, b8, b9);
2016-04-18 01:58:13 +00:00
}
2016-04-19 00:17:49 +00:00
CEntity* ScriptLoader::LoadWaypoint(CStateManager& mgr, CInputStream& in,
int propCount, const CEntityInfo& info)
2016-04-18 01:58:13 +00:00
{
2016-04-19 00:17:49 +00:00
if (!EnsurePropertyCount(propCount, 13, "Waypoint"))
return nullptr;
SActorHead head = LoadActorHead(in, mgr);
bool b1 = in.readBool();
float f1 = in.readFloatBig();
float f2 = in.readFloatBig();
u32 w1 = in.readUint32Big();
u32 w2 = in.readUint32Big();
u32 w3 = in.readUint32Big();
u32 w4 = in.readUint32Big();
u32 w5 = in.readUint32Big();
u32 w6 = in.readUint32Big();
u32 w7 = in.readUint32Big();
return new CScriptWaypoint(mgr.AllocateUniqueId(), head.x0_name, info, head.x10_transform,
b1, f1, f2, w1, w2, w3, w4, w5, w6, w7);
2016-04-18 01:58:13 +00:00
}
CEntity* ScriptLoader::LoadDoorArea(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadTrigger(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadTimer(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCounter(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadEffect(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPlatform(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSound(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadGenerator(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDock(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCamera(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraWaypoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadNewIntroBoss(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpawnPoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraHint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPickup(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMemoryRelay(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRandomRelay(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRelay(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadBeetle(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadHUDMemo(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraFilterKeyframe(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraBlurKeyframe(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDamageableTrigger(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDebris(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraShaker(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadActorKeyframe(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadWater(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadWarwasp(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpacePirate(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFlyingPirate(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadElitePirate(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMetroidBeta(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadChozoGhost(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCoverPoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpiderBallWaypoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadBloodFlower(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFlickerBat(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPathCamera(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadGrapplePoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPuddleSpore(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDebugCameraWaypoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpiderBallAttractionSurface(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPuddleToadGamma(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDistanceFog(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFireFlea(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMetareeAlpha(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDockAreaChange(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadActorRotate(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpecialFunction(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpankWeed(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadParasite(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPlayerHint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRipper(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPickupGenerator(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadAIKeyframe(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPointOfInterest(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDrone(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMetroidAlpha(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadDebrisExtended(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSteam(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRipple(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadBallTrigger(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadTargetingPoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 05:33:23 +00:00
CEntity* ScriptLoader::LoadEMPulse(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadIceSheegoth(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPlayerActor(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFlaahgra(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadAreaAttributes(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFishCloud(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFishCloudModifier(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadVisorFlare(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadWorldTeleporter(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadVisorGoo(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadJellyZap(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadControllerAction(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSwitch(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPlayerStateChange(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadThardus(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadWallCrawlerSwarm(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadAIJumpPoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFlaahgraTentacle(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRoomAcoustics(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadColorModulate(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadThardusRockProjectile(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMidi(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadStreamedAudio(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRepulsor(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadGunTurret(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadFogVolume(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadBabygoth(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadEyeball(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRadialDamage(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraPitchVolume(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadEnvFxDensityController(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMagdolite(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadTeamAIMgr(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSnakeWeedSwarm(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::Load(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadActorContraption(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadOculus(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadGeemer(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSpindleCamera(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadAtomicAlpha(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadCameraHintTrigger(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRumbleEffect(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadAmbientAI(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadAtomicBeta(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadIceZoomer(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPuffer(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadTryclops(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadRidley(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadSeedling(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadThermalHeatFader(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadBurrower(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadScriptBeam(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadWorldLightFader(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMetroidPrimeStage2(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMetroidPrimeStage1(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadMazeNode(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadOmegaPirate(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPhazonPool(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadPhazonHealingNodule(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadNewCameraShaker(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadShadowProjector(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
2016-04-18 01:58:13 +00:00
CEntity* ScriptLoader::LoadEnergyBall(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
{
}
}