Script Object DNAs

This commit is contained in:
Phillip Stephens 2015-09-10 13:30:35 -07:00
parent eed44c8230
commit c3ee18abf5
136 changed files with 5744 additions and 4 deletions

View File

@ -1,3 +1,5 @@
add_subdirectory(ScriptObjects)
make_dnalist(liblist
PAK
MLVL
@ -14,6 +16,7 @@ make_dnalist(liblist
Tweaks/CTweakParticle
Tweaks/CTweakPlayer
Tweaks/CTweakPlayerControl)
add_library(DNAMP1
DNAMP1.hpp DNAMP1.cpp
${liblist}
@ -25,4 +28,7 @@ add_library(DNAMP1
CMDL.hpp
CMDLMaterials.cpp
MREA.cpp
SCLY.hpp SCLY.cpp
DeafBabe.cpp)
target_link_libraries(DNAMP1 ScriptObjectsMP1)

View File

@ -30,7 +30,6 @@ public:
static ResExtractor<PAKBridge> LookupExtractor(const PAK::Entry& entry);
const std::string& getName() const {return m_node.getName();}
const HECL::SystemString& getLevelString() const {return m_levelString;}
using PAKType = PAK;
const PAKType& getPAK() const {return m_pak;}
const NOD::DiscBase::IPartition::Node& getNode() const {return m_node;}

View File

@ -1,4 +1,5 @@
#include "MREA.hpp"
#include "SCLY.hpp"
#include "DeafBabe.hpp"
#include "../DNACommon/BabeDead.hpp"
@ -37,7 +38,7 @@ bool MREA::Extract(const SpecBase& dataSpec,
const HECL::ProjectPath& outPath,
PAKRouter<PAKBridge>& pakRouter,
const PAK::Entry& entry,
bool,
bool force,
std::function<void(const HECL::SystemChar*)>)
{
using RigPair = std::pair<CSKR*, CINF*>;
@ -114,8 +115,12 @@ bool MREA::Extract(const SpecBase& dataSpec,
/* Skip AROT */
rs.seek(head.secSizes[curSec++], Athena::Current);
/* Skip SCLY (for now) */
rs.seek(head.secSizes[curSec++], Athena::Current);
/* Read SCLY layers */
secStart = rs.position();
SCLY scly;
scly.read(rs);
scly.exportToLayerDirectories(entry, pakRouter, force);
rs.seek(secStart + head.secSizes[curSec++], Athena::Begin);
/* Read collision meshes */
DeafBabe collision;

152
DataSpec/DNAMP1/SCLY.cpp Normal file
View File

@ -0,0 +1,152 @@
#include "SCLY.hpp"
#include "ScriptObjects/ScriptTypes.hpp"
namespace Retro
{
namespace DNAMP1
{
void SCLY::read(Athena::io::IStreamReader& rs)
{
fourCC = rs.readUint32Little();
version = rs.readUint32Big();
layerCount = rs.readUint32Big();
rs.enumerateBig(layerSizes, layerCount);
atUint32 i = 0;
rs.enumerate<ScriptLayer>(layers, layerCount, [&i,this](Athena::io::IStreamReader& rs, ScriptLayer& layer) {
atUint64 start = rs.position();
layer.read(rs);
rs.seek(start + layerSizes[i++], Athena::Begin);
});
}
void SCLY::write(Athena::io::IStreamWriter& ws) const
{
ws.writeUint32Big(fourCC);
ws.writeUint32Big(version);
ws.writeUint32Big(layerCount);
ws.enumerateBig(layerSizes);
ws.enumerate(layers);
}
void SCLY::exportToLayerDirectories(const PAK::Entry& entry, PAKRouter<PAKBridge> &pakRouter, bool force)
{
for (atUint32 i = 0; i < layerCount; i++)
{
HECL::ProjectPath layerPath = pakRouter.getAreaLayerWorking(entry.id, i);
if (layerPath.getPathType() == HECL::ProjectPath::PT_NONE)
layerPath.makeDir();
HECL::ProjectPath yamlFile = HECL::ProjectPath(layerPath, _S("objects.yaml"));
if (force || yamlFile.getPathType() == HECL::ProjectPath::PT_NONE)
{
FILE* yaml = HECL::Fopen(yamlFile.getAbsolutePath().c_str(), _S("wb"));
layers[i].toYAMLFile(yaml);
fclose(yaml);
}
}
}
void SCLY::fromYAML(Athena::io::YAMLDocReader& docin)
{
fourCC = docin.readUint32("fourCC");
version = docin.readUint32("version");
layerCount = docin.readUint32("layerCount");
docin.enumerate("layerSizes", layerSizes, layerCount);
docin.enumerate("layers", layers, layerCount);
}
void SCLY::toYAML(Athena::io::YAMLDocWriter& docout) const
{
docout.writeUint32("fourCC", fourCC);
docout.writeUint32("version", version);
docout.writeUint32("layerCount", layerCount);
docout.enumerate("layerSizes", layerSizes);
docout.enumerate("layers", layers);
}
void SCLY::ScriptLayer::read(Athena::io::IStreamReader& rs)
{
unknown = rs.readUByte();
objectCount = rs.readUint32Big();
objects.reserve(objectCount);
for (atUint32 i = 0; i < objectCount; i++)
{
atUint8 type = rs.readUByte();
atUint32 len = rs.readUint32Big();
atUint64 start = rs.position();
auto iter = std::find_if(SCRIPT_OBJECT_DB.begin(), SCRIPT_OBJECT_DB.end(), [&type](const ScriptObjectSpec* obj) -> bool
{ return obj->type == type; });
if (iter != SCRIPT_OBJECT_DB.end())
{
std::shared_ptr<IScriptObject> obj((*iter)->a());
obj->type = type;
obj->read(rs);
objects.push_back(obj);
if ((rs.position() - start) != len)
Log.report(LogVisor::FatalError, _S("Error while reading object of type 0x%.2X, did not read the expected amount of data, read 0x%x, expected 0x%x"), (atUint32)type, (rs.position() - start), len);
rs.seek(start + len, Athena::Begin);
}
else
Log.report(LogVisor::FatalError, _S("Unable to find type 0x%X in object database"), (atUint32)type);
}
}
void SCLY::ScriptLayer::fromYAML(Athena::io::YAMLDocReader& rs)
{
unknown = rs.readUByte("unknown");
objectCount = rs.readUint32("objectCount");
objects.reserve(objectCount);
rs.enterSubVector("objects");
for (atUint32 i = 0; i < objectCount; i++)
{
rs.enterSubRecord(nullptr);
atUint8 type = rs.readUByte("type");
auto iter = std::find_if(SCRIPT_OBJECT_DB.begin(), SCRIPT_OBJECT_DB.end(), [&type](const ScriptObjectSpec* obj) -> bool
{ return obj->type == type; });
if (iter != SCRIPT_OBJECT_DB.end())
{
std::shared_ptr<IScriptObject> obj((*iter)->a());
obj->fromYAML(rs);
obj->type = type;
objects.push_back(obj);
}
else
Log.report(LogVisor::FatalError, _S("Unable to find type 0x%X in object database"), (atUint32)type);
rs.leaveSubRecord();
}
rs.leaveSubVector();
}
void SCLY::ScriptLayer::write(Athena::io::IStreamWriter& ws) const
{
ws.writeUByte(unknown);
ws.writeUint32Big(objectCount);
for (const std::shared_ptr<IScriptObject>& obj : objects)
{
ws.writeByte(obj->type);
obj->write(ws);
}
}
void SCLY::ScriptLayer::toYAML(Athena::io::YAMLDocWriter& ws) const
{
ws.writeUByte("unknown", unknown);
ws.writeUint32("objectCount", objectCount);
ws.enterSubVector("objects");
for (const std::shared_ptr<IScriptObject>& obj : objects)
{
ws.enterSubRecord(nullptr);
ws.writeUByte("type", obj->type);
obj->toYAML(ws);
ws.leaveSubRecord();
};
ws.leaveSubVector();
}
}
}

41
DataSpec/DNAMP1/SCLY.hpp Normal file
View File

@ -0,0 +1,41 @@
#ifndef _DNAMP1_SCLY_HPP_
#define _DNAMP1_SCLY_HPP_
#include "../DNACommon/DNACommon.hpp"
#include "ScriptObjects/IScriptObject.hpp"
#include "DNAMP1.hpp"
namespace Retro
{
namespace DNAMP1
{
struct SCLY : BigYAML
{
DECL_EXPLICIT_YAML
Delete _d;
Value<FourCC> fourCC;
Value<atUint32> version;
Value<atUint32> layerCount;
Vector<atUint32, DNA_COUNT(layerCount)> layerSizes;
struct ScriptLayer : BigYAML
{
DECL_EXPLICIT_YAML
Delete _d;
Value<atUint8> unknown;
Value<atUint32> objectCount;
Vector<std::shared_ptr<IScriptObject>, DNA_COUNT(objectCount)> objects;
void read(Athena::io::IStreamReader &rs);
void write(Athena::io::IStreamWriter &ws) const;
};
Vector<ScriptLayer, DNA_COUNT(layerCount)> layers;
void read(Athena::io::IStreamReader &rs);
void write(Athena::io::IStreamWriter &ws) const;
void exportToLayerDirectories(const PAK::Entry &, PAKRouter<PAKBridge>&, bool);
};
}
}
#endif

View File

@ -0,0 +1,24 @@
#ifndef _DNAMP1_AIJUMPPOINT_HPP_
#define _DNAMP1_AIJUMPPOINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct AIJumpPoint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> active;
Value<float> unknown1;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_AIKEYFRAME_HPP_
#define _DNAMP1_AIKEYFRAME_HPP_
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct AIKeyframe : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<bool> unknown2;
Value<float> unknown3;
Value<bool> unknown4;
Value<atUint32> unknown5;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,42 @@
#ifndef _DNAMP1_ACTOR_HPP_
#define _DNAMP1_ACTOR_HPP_
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Actor : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> unkown1;
Value<atVec3f> scanOffset;
Value<float> unknown2;
Value<float> unknown3;
HealthInfo healthInfo;
DamageVulnerability damageVulnerability;
UniqueID32 model;
AnimationParameters animationParameters;
ActorParameters actorParameters;
Value<bool> unkown4;
Value<bool> unkown5;
Value<bool> unkown6;
Value<bool> unkown7;
Value<bool> unkown8;
Value<atUint32> unknown9;
Value<float> unknown10;
Value<bool> unknown11;
Value<bool> unknown12;
Value<bool> unknown13;
Value<bool> unknown14;
};
}
}
#endif

View File

@ -0,0 +1,34 @@
#ifndef _DNAMP1_ACTORCONTRAPTION_HPP_
#define _DNAMP1_ACTORCONTRAPTION_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ActorContraption : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> unknown1;
Value<atVec3f> scanOffset;
Value<float> unknown2;
Value<float> unknown3;
HealthInfo healthInfo;
DamageVulnerability damageVulnerability;
AnimationParameters animationParameters;
ActorParameters actorParameters;
UniqueID32 particle;
DamageInfo damageInfo;
Value<bool> active; // needs verification
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_ACTORKEYFRAME_HPP_
#define _DNAMP1_ACTORKEYFRAME_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ActorKeyframe : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<bool> unknown2;
Value<float> unknown3;
Value<bool> unknown4;
Value<atUint32> unknown5;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_ACTORROTATE_HPP_
#define _DNAMP1_ACTORROTATE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ActorRotate : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> rotationOffset;
Value<float> timeScale;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> active;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_AMBIENTAI_HPP_
#define _DNAMP1_AMBIENTAI_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct AmbientAI : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> unknown1;
Value<atVec3f> scanOffset;
Value<float> unknown2;
HealthInfo healthInfo;
DamageVulnerability damageVulnerability;
AnimationParameters animationParameters;
ActorParameters actorParameters;
Value<float> unknown3;
Value<float> unknown4;
Value<atUint32> unknown5;
Value<atUint32> unknown6;
Value<bool> unknown7;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_AREAATTRIBUTES_HPP_
#define _DNAMP1_AREAATTRIBUTES_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct AreaAttributes : IScriptObject
{
DECL_YAML
enum EWeatherType
{
None,
Snow,
Rain
};
Value<atUint32> unknown1;
Value<bool> skyboxEnabled;
Value<EWeatherType> weather;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
UniqueID32 skybox;
Value<atUint32> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,33 @@
#ifndef _DNAMP1_ATOMICALPHA_HPP_
#define _DNAMP1_ATOMICALPHA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct AtomicAlpha : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
UniqueID32 wpsc;
UniqueID32 model;
DamageInfo damageInfo;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
};
}
}
#endif

View File

@ -0,0 +1,40 @@
#ifndef _DNAMP1_ATOMICBETA_HPP_
#define _DNAMP1_ATOMICBETA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct AtomicBeta : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
UniqueID32 elsc;
UniqueID32 wpsc;
DamageInfo damageInfo;
UniqueID32 part;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
DamageVulnerability damageVulnerabilty;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<atUint32> unknown7;
Value<atUint32> unknown8;
Value<atUint32> unknown9;
Value<float> unknown10;
};
}
}
#endif

View File

@ -0,0 +1,52 @@
#ifndef _DNAMP1_Babygoth_HPP_
#define _DNAMP1_Babygoth_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Babygoth : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
UniqueID32 wpsc1;
DamageInfo damageInfo1;
DamageInfo damageInfo2;
UniqueID32 wpsc2;
UniqueID32 particle1;
DamageInfo damageInfo3;
DamageVulnerability damageVulnerabilty1;
DamageVulnerability damageVulnerabilty2;
UniqueID32 model;
UniqueID32 skin;
Value<float> unknown3;
Value<atUint32> unknown4;
UniqueID32 particle2;
UniqueID32 particle3;
UniqueID32 particle4;
UniqueID32 particle5;
Value<atUint32> unknown5;
Value<atUint32> unknown6;
Value<atUint32> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
UniqueID32 texture;
Value<atUint32> unknown11;
UniqueID32 particle6;
};
}
}
#endif

View File

@ -0,0 +1,28 @@
#ifndef _DNAMP1_BALLTRIGGER_HPP_
#define _DNAMP1_BALLTRIGGER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct BallTrigger : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> volume;
Value<bool> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<atVec3f> unknown5;
Value<bool> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_BEETLE_HPP_
#define _DNAMP1_BEETLE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Beetle : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
DamageInfo damageInfo;
Value<atVec3f> unknown2;
Value<float> unknown3;
DamageVulnerability damageVulnerabilty1;
DamageVulnerability damageVulnerabilty2;
UniqueID32 model;
Value<atUint32> unknown4;
Value<float> unknown5;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,37 @@
#ifndef _DNAMP1_BLOODFLOWER_HPP_
#define _DNAMP1_BLOODFLOWER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct BloodFlower : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
UniqueID32 particle1;
UniqueID32 wpsc1;
UniqueID32 wpsc2;
DamageInfo damageInfo1;
DamageInfo damageInfo2;
DamageInfo damageInfo3;
UniqueID32 particle2;
UniqueID32 particle3;
UniqueID32 particle4;
Value<float> unknown1;
UniqueID32 particle5;
Value<float> unknown2;
};
}
}
#endif

View File

@ -0,0 +1,32 @@
#ifndef _DNAMP1_BURROWER_HPP_
#define _DNAMP1_BURROWER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Burrower : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 wpsc;
DamageInfo damageInfo;
UniqueID32 particle3;
Value<atUint32> unknown; // always FF
UniqueID32 particle4;
};
}
}
#endif

View File

@ -0,0 +1,134 @@
make_dnalist(liblist
IScriptObject
Parameters
Actor
ActorContraption
ActorKeyframe
ActorRotate
AIJumpPoint
AIKeyframe
AmbientAI
AreaAttributes
AtomicAlpha
AtomicBeta
Babygoth
BallTrigger
Beetle
BloodFlower
Burrower
Camera
CameraBlurKeyframe
CameraFilterKeyframe
CameraHint
CameraHintTrigger
CameraPitchVolume
CameraShaker
CameraWaypoint
ChozoGhost
ColorModulate
ControllerAction
Counter
CoverPoint
DamageableTrigger
Debris
DebrisExtended
DebugCameraWaypoint
DistanceFog
Dock
DockAreaChange
DoorArea
Drone
Effect
ElectroMagneticPulse
ElitePirate
EnergyBall
EnvFxDensityController
Eyeball
FireFlea
FishCloud
FishCloudModifier
Flaahgra
FlaahgraTentacle
FlickerBat
FlyingPirate
FogVolume
Geemer
Generator
GrapplePoint
GunTurret
HUDMemo
IceSheegoth
IceZoomer
JellyZap
Magdolite
MazeNode
MemoryRelay
MetareeAlpha
MetroidAlpha
MetroidBeta
MetroidPrimeStage1
MetroidPrimeStage2
Midi
NewCameraShaker
NewIntroBoss
Oculus
OmegaPirate
Parasite
PathCamera
PhazonHealingNodule
PhazonPool
Pickup
PickupGenerator
Platform
PlayerActor
PlayerHint
PlayerStateChange
PointOfInterest
PuddleSpore
PuddleToadGamma
Puffer
RadialDamage
RandomRelay
Relay
Repulsor
Ridley
Ripper
Ripple
RoomAcoustics
RumbleEffect
ScriptBeam
Seedling
ShadowProjector
SnakeWeedSwarm
Sound
SpacePirate
SpankWeed
SpawnPoint
SpecialFunction
SpiderBallAttractionSurface
SpiderBallWaypoint
SpindleCamera
Steam
StreamedAudio
Switch
TargetingPoint
TeamAIMgr
Thardus
ThardusRockProjectile
ThermalHeatFader
Timer
Trigger
Tryclops
VisorFlare
VisorGoo
WallCrawlerSwarm
Warwasp
Water
Waypoint
WorldLightFader
WorldTeleporter)
add_library(ScriptObjectsMP1
${liblist}
ScriptTypes.hpp
IScriptObject.cpp)

View File

@ -0,0 +1,34 @@
#ifndef _DNAMP1_CAMERA_HPP_
#define _DNAMP1_CAMERA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Camera : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
Value<float> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
Value<bool> unknown6;
Value<bool> unknown7;
Value<bool> unknown8;
Value<bool> unknown9;
Value<float> unknown10;
Value<bool> unknown11;
Value<bool> unknown12;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_CAMERABLURKEYFRAME_HPP_
#define _DNAMP1_CAMERABLURKEYFRAME_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraBlurKeyframe : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> unknown1;
Value<atUint32> unknown2;
Value<float> unknown3;
Value<atUint32> unknown4;
Value<float> unknown5;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,29 @@
#ifndef _DNAMP1_CAMERAFILTERKEYFRAME_HPP_
#define _DNAMP1_CAMERAFILTERKEYFRAME_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraFilterKeyframe : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> unknown1;
Value<atUint32> unkown2;
Value<atUint32> unkown3;
Value<atUint32> unkown4;
Value<atUint32> unkown5;
Value<atVec4f> unknown6; //CColor
Value<float> unknown7;
Value<float> unknown8;
UniqueID32 texture;
};
}
}
#endif

View File

@ -0,0 +1,73 @@
#ifndef _DNAMP1_CAMERAHINT_HPP_
#define _DNAMP1_CAMERAHINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraHint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
Value<atUint32> unknown2;
Value<atUint32> unknown3;
struct CameraHintParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
Value<bool> unknown6;
Value<bool> unknown7;
Value<bool> unknown8;
Value<bool> unknown9;
Value<bool> unknown10;
Value<bool> unknown11;
Value<bool> unknown12;
Value<bool> unknown13;
Value<bool> unknown14;
Value<bool> unknown15;
Value<bool> unknown16;
Value<bool> unknown17;
Value<bool> unknown18;
Value<bool> unknown19;
Value<bool> unknown20;
Value<bool> unknown21;
Value<bool> unknown22;
} cameraHintParameters;
struct BoolFloat : BigYAML
{
DECL_YAML
Value<bool> unknown1;
Value<float> unknown2;
} boolFloat1[3];
struct BoolVec3f : BigYAML
{
DECL_YAML
Value<bool> unknown1;
Value<atVec3f> unknown2;
} boolVec3f[2];
Value<atVec3f> unknown4;
BoolFloat boolFloat2[4];
Value<float> unknown5;
Value<float> unknown6;
BoolFloat boolFloat3;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_CAMERAHINTRIGGER_HPP_
#define _DNAMP1_CAMERAHINTRIGGER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraHintTrigger : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> volume;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
};
}
}
#endif

View File

@ -0,0 +1,27 @@
#ifndef _DNAMP1_CAMERAPITCHVOLUME_HPP_
#define _DNAMP1_CAMERAPITCHVOLUME_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraPitchVolume : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> volume;
Value<bool> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
};
}
}
#endif

View File

@ -0,0 +1,28 @@
#ifndef _DNAMP1_CAMERASHAKER_HPP_
#define _DNAMP1_CAMERASHAKER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraShaker : IScriptObject
{
DECL_YAML
String<-1> name;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<bool> unknown8;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_CAMERAWAYPOINT_HPP_
#define _DNAMP1_CAMERAWAYPOINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CameraWaypoint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
Value<float> unknown2;
Value<atUint32> unknown3;
};
}
}
#endif

View File

@ -0,0 +1,50 @@
#ifndef _DNAMP1_CHOZOGHOST_HPP_
#define _DNAMP1_CHOZOGHOST_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ChozoGhost : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
UniqueID32 wpsc1;
DamageInfo damageInfo1;
UniqueID32 wpsc2;
DamageInfo damageInfo2;
BehaveChance BehaveChance1;
BehaveChance BehaveChance2;
BehaveChance BehaveChance3;
Value<atUint32> sound1;
Value<float> unknown5;
Value<atUint32> sound2;
Value<atUint32> sound3;
Value<atUint32> unknown6;
Value<float> unknown7;
Value<atUint32> unknown8;
Value<float> unknown9;
UniqueID32 particle;
Value<atUint32> soundId4;
Value<float> unknown10;
Value<float> unknown11;
Value<atUint32> unknown12;
Value<atUint32> unknown13;
};
}
}
#endif

View File

@ -0,0 +1,31 @@
#ifndef _DNAMP1_COLORMODULATE_HPP_
#define _DNAMP1_COLORMODULATE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ColorModulate : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec4f> unknown1;
Value<atVec4f> unknown2;
Value<atUint32> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<bool> unknown6;
Value<bool> unknown7;
Value<bool> unknown8;
Value<bool> unknown9;
Value<bool> unknown10;
Value<bool> unknown11;
};
}
}
#endif

View File

@ -0,0 +1,24 @@
#ifndef _DNAMP1_CONTROLLERACTION_HPP_
#define _DNAMP1_CONTROLLERACTION_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ControllerAction : IScriptObject
{
DECL_YAML
Value<atUint32> propertyCount;
String<-1> name;
Value<bool> unknown1;
Value<atUint32> unknown2;
Value<bool> unknown3;
};
}
}
#endif

View File

@ -0,0 +1,24 @@
#ifndef _DNAMP1_COUNTER_HPP_
#define _DNAMP1_COUNTER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Counter : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> startValue; // needs verification
Value<atUint32> maxValue;
Value<bool> unknown1;
Value<bool> unknown2;
};
}
}
#endif

View File

@ -0,0 +1,28 @@
#ifndef _DNAMP1_COVERPOINT_HPP_
#define _DNAMP1_COVERPOINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct CoverPoint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
Value<atUint32> unknown2;
Value<bool> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,31 @@
#ifndef _DNAMP1_DAMAGABLETRIGGER_HPP_
#define _DNAMP1_DAMAGABLETRIGGER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct DamageableTrigger : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> volume;
HealthInfo healthInfo;
DamageVulnerability damageVulnerabilty;
Value<atUint32> unknown1;
UniqueID32 texture1;
UniqueID32 texture2;
UniqueID32 texture3;
Value<bool> lockOn;
Value<bool> active;
VisorParameters visorParameters;
};
}
}
#endif

View File

@ -0,0 +1,37 @@
#ifndef _DNAMP1_DEBRIS_HPP_
#define _DNAMP1_DEBRIS_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Debris : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<float> unknown1;
Value<atVec3f> unknown2;
Value<atVec4f> unknown3; // CColor
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<atUint32> unknown7;
Value<bool> unknown8;
UniqueID32 model;
ActorParameters actorParameters;
UniqueID32 particle;
Value<atVec3f> unknown9;
Value<bool> unknown10;
Value<bool> unknown11;
};
}
}
#endif

View File

@ -0,0 +1,58 @@
#ifndef _DNAMP1_DEBRISEXTENDED_HPP_
#define _DNAMP1_DEBRISEXTENDED_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct DebrisExtended : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<atVec4f> unknown10; // CColor
Value<atVec4f> unknown11; // CColor
Value<float> unknown12;
Value<atVec3f> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<atVec3f> unknown16;
UniqueID32 model;
ActorParameters actorParameters;
UniqueID32 particle1;
Value<atVec3f> unknown17;
Value<bool> unknown18;
Value<bool> unknown19;
Value<atUint32> unknown20;
UniqueID32 particle2;
Value<atVec3f> unknown21;
Value<bool> unknown22;
Value<bool> unknown23;
Value<atUint32> unknown24;
UniqueID32 particle3;
Value<atVec3f> unknown25;
Value<atUint32> unknown26;
Value<bool> unknown27;
Value<bool> unknown28;
Value<bool> unknown29;
Value<bool> unknown30;
};
}
}
#endif

View File

@ -0,0 +1,23 @@
#ifndef _DNAMP1_DEBUGCAMERAWAYPOINT_HPP_
#define _DNAMP1_DEBUGCAMERAWAYPOINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct DebugCameraWaypoint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atUint32> unknown1;
};
}
}
#endif

View File

@ -0,0 +1,27 @@
#ifndef _DNAMP1_DISTANCEFOG_HPP_
#define _DNAMP1_DISTANCEFOG_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct DistanceFog : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec4f> unknown2; // CColor
Value<atVec2f> unknown3;
Value<atVec2f> unknown4;
Value<float> unknown5;
Value<bool> unknown6;
Value<bool> unknown7;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_DOCK_HPP_
#define _DNAMP1_DOCK_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Dock : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> active;
Value<atVec3f> location;
Value<atVec3f> volume;
Value<atUint32> dock;
Value<atUint32> room;
Value<bool> autoLoad;
};
}
}
#endif

View File

@ -0,0 +1,22 @@
#ifndef _DNAMP1_DOCKAREACHANGE_HPP_
#define _DNAMP1_DOCKAREACHANGE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct DockAreaChange : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<bool> unknown2;
};
}
}
#endif

View File

@ -0,0 +1,33 @@
#ifndef _DNAMP1_DOORAREA_HPP_
#define _DNAMP1_DOORAREA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct DoorArea : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
AnimationParameters animationParameters;
ActorParameters actorParameters;
Value<atVec3f> unknown1;
Value<atVec3f> unknown2;
Value<atVec3f> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
Value<bool> unknown6;
Value<float> unknown7;
Value<bool> unknown8;
};
}
}
#endif

View File

@ -0,0 +1,64 @@
#ifndef _DNAMP1_DRONE_HPP_
#define _DNAMP1_DRONE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Drone : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<float> unknown2;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
DamageInfo damageInfo1;
Value<atUint32> unknown3;
DamageInfo damageInfo2;
Value<atUint32> unknown4;
Value<atUint32> unknown5;
Value<atUint32> unknown6;
FlareDefinition flareDefinition1;
FlareDefinition flareDefinition2;
FlareDefinition flareDefinition3;
FlareDefinition flareDefinition4;
FlareDefinition flareDefinition5;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<float> unknown16;
Value<float> unknown17;
Value<float> unknown18;
Value<float> unknown19;
Value<float> unknown20;
Value<float> unknown21;
Value<float> unknown22;
Value<float> unknown23;
Value<float> unknown24;
Value<float> unknown25;
UniqueID32 crsc;
Value<float> unknon26;
Value<float> unknon27;
Value<float> unknon28;
Value<float> unknon29;
Value<atUint32> sound; // verification needed
Value<bool> unknown30;
};
}
}
#endif

View File

@ -0,0 +1,43 @@
#ifndef _DNAMP1_EFFECT_HPP_
#define _DNAMP1_EFFECT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Effect : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
UniqueID32 part;
UniqueID32 elsc;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<bool> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<bool> unknown14;
Value<bool> unknown15;
Value<bool> unknown16;
Value<bool> unknown17;
LightParameters lightParameters;
};
}
}
#endif

View File

@ -0,0 +1,31 @@
#ifndef _DNAMP1_ELECTROMAGNETICPULSE_HPP_
#define _DNAMP1_ELECTROMAGNETICPULSE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ElectroMagneticPulse : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
UniqueID32 particle;
};
}
}
#endif

View File

@ -0,0 +1,61 @@
#ifndef _DNAMP1_ELITEPIRATE_HPP_
#define _DNAMP1_ELITEPIRATE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct ElitePirate : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters1;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
UniqueID32 particle1;
Value<atUint32> soundID1;
ActorParameters actorParameters2;
AnimationParameters animationParameters;
UniqueID32 particle2;
Value<atUint32> soundID2;
UniqueID32 model;
DamageInfo damageInfo1;
Value<float> unknown9;
UniqueID32 particle3;
UniqueID32 particle4;
UniqueID32 particle5;
UniqueID32 particle6;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<float> unknown16;
Value<atUint32> soundID3;
Value<atUint32> soundID4;
UniqueID32 particle7;
DamageInfo damageInfo2;
UniqueID32 elsc;
Value<atUint32> soundID5;
Value<bool> unknown17;
Value<bool> unknown18;
};
}
}
#endif

View File

@ -0,0 +1,39 @@
#ifndef _DNAMP1_ENERGYBALL_HPP_
#define _DNAMP1_ENERGYBALL_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct EnergyBall : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<atUint32> unknown1;
Value<float> unknown2;
DamageInfo damageInfo1;
Value<float> unknown3;
UniqueID32 texture;
Value<atUint32> soundID1;
UniqueID32 particle1;
UniqueID32 elsc;
Value<atUint32> soundID2;
Value<float> unknown4;
Value<float> unknown5;
UniqueID32 particle2;
DamageInfo damageInfo2;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,23 @@
#ifndef _DNAMP1_ENVFXDENSITYCONTROLLER_HPP_
#define _DNAMP1_ENVFXDENSITYCONTROLLER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct EnvFxDensityController : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> unknown1;
Value<float> unknown2;
Value<atUint32> unknown3;
};
}
}
#endif

View File

@ -0,0 +1,40 @@
#ifndef _DNAMP1_EYEBALL_HPP_
#define _DNAMP1_EYEBALL_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Eyeball : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown2;
Value<float> unknown3;
UniqueID32 wpsc;
DamageInfo damageInfo;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 texture1;
UniqueID32 texture2;
Value<atUint32> unknown4;
Value<atUint32> unknown5; // always ff
Value<atUint32> unknown6; // always ff
Value<atUint32> unknown7; // always ff
Value<atUint32> unknown8;
Value<bool> unknown9;
};
}
}
#endif

View File

@ -0,0 +1,28 @@
#ifndef _DNAMP1_FIREFLEA_HPP_
#define _DNAMP1_FIREFLEA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FireFlea : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<bool> unknown1;
Value<bool> unknown2;
Value<float> unknown3;
};
}
}
#endif

View File

@ -0,0 +1,55 @@
#ifndef _DNAMP1_FISHCLOUD_HPP_
#define _DNAMP1_FISHCLOUD_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FishCloud : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> volume;
Value<bool> unknown1;
UniqueID32 model;
AnimationParameters animationParameters;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<atUint32> unknown16;
Value<atVec4f> unknown17; // CColor
Value<bool> unknown18;
Value<float> unknown19;
Value<atUint32> unknown20;
Value<atUint32> unknown21;
Value<atUint32> unknown22;
Value<atUint32> unknown23;
Value<atUint32> unknown24;
Value<atUint32> unknown25;
Value<atUint32> unknown26;
Value<atUint32> unknown27;
Value<atUint32> unknown28;
Value<bool> unknown29;
Value<bool> unknown30;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_FISHCLOUDMODIFIER_HPP_
#define _DNAMP1_FISHCLOUDMODIFIER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FishCloudModifier : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> position;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<float> unknown4;
Value<float> unknown5;
};
}
}
#endif

View File

@ -0,0 +1,42 @@
#ifndef _DNAMP1_FLAAHGRA_HPP_
#define _DNAMP1_FLAAHGRA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Flaahgra : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters1;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
DamageVulnerability damageVulnerabilty;
UniqueID32 wpsc1;
DamageInfo damageInfo1;
UniqueID32 wpsc2;
DamageInfo damageInfo2;
UniqueID32 particle;
DamageInfo damageInfo3;
ActorParameters actorParameters2;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
AnimationParameters animationParameters;
UniqueID32 dependencyGroup;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_FLAAHGRATENTACLE_HPP_
#define _DNAMP1_FLAAHGRATENTACLE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FlaahgraTentacle : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
};
}
}
#endif

View File

@ -0,0 +1,29 @@
#ifndef _DNAMP1_FLICKERBAT_HPP_
#define _DNAMP1_FLICKERBAT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FlickerBat : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<bool> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
};
}
}
#endif

View File

@ -0,0 +1,55 @@
#ifndef _DNAMP1_FLYINGPIRATE_HPP_
#define _DNAMP1_FLYINGPIRATE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FlyingPirate : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
Value<atUint32> unknown3;
UniqueID32 wpsc1;
DamageInfo damageInfo1;
Value<atUint32> unknown4;
UniqueID32 wpsc2;
DamageInfo damageInfo2;
UniqueID32 wpsc3;
Value<float> unknown5;
Value<float> unknown6;
UniqueID32 particle1;
DamageInfo damageInfo3;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<atUint32> unknown11;
Value<atUint32> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
UniqueID32 particle2;
UniqueID32 particle3;
UniqueID32 particle4;
Value<atUint32> unknown16;
Value<atUint32> unknown17;
Value<float> unknown18;
Value<float> unknown19;
Value<float> unknown20;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_FOGVOLUME_HPP_
#define _DNAMP1_FOGVOLUME_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct FogVolume : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> volume;
Value<float> unknown1;
Value<float> unknown2;
Value<atVec4f> unkonwn3;
Value<bool> unknown4;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_GEEMER_HPP_
#define _DNAMP1_GEEMER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Geemer : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<atUint32> unknown8;
Value<atUint32> unknown9;
Value<atUint32> unknown10;
};
}
}
#endif

View File

@ -0,0 +1,27 @@
#ifndef _DNAMP1_GENERATOR_HPP_
#define _DNAMP1_GENERATOR_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Generator : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<atVec3f> unknown4;
Value<bool> unknown5;
Value<float> unknown6;
Value<float> unknown7;
};
}
}
#endif

View File

@ -0,0 +1,24 @@
#ifndef _DNAMP1_GRAPPLEPOINT_HPP_
#define _DNAMP1_GRAPPLEPOINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct GrapplePoint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> active;
GrappleParameters grappleParameters;
};
}
}
#endif

View File

@ -0,0 +1,67 @@
#ifndef _DNAMP1_GUNTURRET_HPP_
#define _DNAMP1_GUNTURRET_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct GunTurret : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> unknown2;
Value<atVec3f> scanOffset;
AnimationParameters animationParameters;
ActorParameters actorParameters;
HealthInfo healthInfo;
DamageVulnerability damageVulnerabilty;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<float> unknown16;
Value<bool> unknown17;
UniqueID32 unknown18;
DamageInfo damageInfo;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 particle3;
UniqueID32 particle4;
UniqueID32 particle5;
UniqueID32 particle6;
UniqueID32 particle7;
Value<atUint32> unknown19;
Value<atUint32> unknown20;
Value<atUint32> unknown21;
Value<atUint32> unknown22;
Value<atUint32> unknown23;
Value<atUint32> unknown24;
UniqueID32 model;
Value<float> unknown25;
Value<atUint32> unknown26;
Value<atUint32> unknown27;
Value<atUint32> unknown28;
Value<float> unknown29;
Value<bool> unknown30;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_HUDMEMO_HPP_
#define _DNAMP1_HUDMEMO_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct HUDMemo : IScriptObject
{
DECL_YAML
String<-1> name;
Value<float> firstMessageTimer;
Value<bool> unknown1;
Value<atUint32> memoType;
UniqueID32 message;
Value<bool> active;
};
}
}
#endif

View File

@ -0,0 +1,271 @@
#include "IScriptObject.hpp"
#include "ScriptTypes.hpp"
namespace Retro
{
namespace DNAMP1
{
namespace priv
{
static ScriptObjectSpec ActorEnt = {0x00, []() -> IScriptObject* {return new struct Actor();}};
static ScriptObjectSpec WaypointEnt = {0x02, []() -> IScriptObject* {return new struct Waypoint();}};
static ScriptObjectSpec DoorAreaEnt = {0x03, []() -> IScriptObject* {return new struct DoorArea();}};
static ScriptObjectSpec TriggerEnt = {0x04, []() -> IScriptObject* {return new struct Trigger(); }};
static ScriptObjectSpec TimerEnt = {0x05, []() -> IScriptObject* {return new struct Timer(); }};
static ScriptObjectSpec CounterEnt = {0x06, []() -> IScriptObject* {return new struct Counter(); }};
static ScriptObjectSpec EffectEnt = {0x07, []() -> IScriptObject* {return new struct Effect(); }};
static ScriptObjectSpec PlatformEnt = {0x08, []() -> IScriptObject* {return new struct Platform(); }};
static ScriptObjectSpec SoundEnt = {0x09, []() -> IScriptObject* {return new struct Sound(); }};
static ScriptObjectSpec GeneratorEnt = {0x0A, []() -> IScriptObject* {return new struct Generator();}};
static ScriptObjectSpec DockEnt = {0x0B, []() -> IScriptObject* {return new struct Dock(); }};
static ScriptObjectSpec CameraEnt = {0x0C, []() -> IScriptObject* {return new struct Camera(); }};
static ScriptObjectSpec CameraWaypointEnt = {0x0D, []() -> IScriptObject* {return new struct CameraWaypoint(); }};
static ScriptObjectSpec NewIntroBossEnt = {0x0E, []() -> IScriptObject* {return new struct NewIntroBoss(); }};
static ScriptObjectSpec SpawnPointEnt = {0x0F, []() -> IScriptObject* {return new struct SpawnPoint(); }};
static ScriptObjectSpec CameraHintEnt = {0x10, []() -> IScriptObject* {return new struct CameraHint(); }};
static ScriptObjectSpec PickupEnt = {0x11, []() -> IScriptObject* {return new struct Pickup(); }};
static ScriptObjectSpec MemoryRelayEnt = {0x13, []() -> IScriptObject* {return new struct MemoryRelay(); }};
static ScriptObjectSpec RandomRelayEnt = {0x14, []() -> IScriptObject* {return new struct RandomRelay(); }};
static ScriptObjectSpec RelayEnt = {0x15, []() -> IScriptObject* {return new struct Relay(); }};
static ScriptObjectSpec BeetleEnt = {0x16, []() -> IScriptObject* {return new struct Beetle(); }};
static ScriptObjectSpec HUDMemoEnt = {0x17, []() -> IScriptObject* {return new struct HUDMemo(); }};
static ScriptObjectSpec CameraFilterKeyframeEnt = {0x18, []() -> IScriptObject* {return new struct CameraFilterKeyframe(); }};
static ScriptObjectSpec CameraBlurKeyframeEnt = {0x19, []() -> IScriptObject* {return new struct CameraBlurKeyframe(); }};
static ScriptObjectSpec DamageableTriggerEnt = {0x1A, []() -> IScriptObject* {return new struct DamageableTrigger(); }};
static ScriptObjectSpec DebrisEnt = {0x1B, []() -> IScriptObject* {return new struct Debris(); }};
static ScriptObjectSpec CameraShakerEnt = {0x1C, []() -> IScriptObject* {return new struct CameraShaker(); }};
static ScriptObjectSpec ActorKeyframeEnt = {0x1D, []() -> IScriptObject* {return new struct ActorKeyframe(); }};
static ScriptObjectSpec WaterEnt = {0x20, []() -> IScriptObject* {return new struct Water(); }};
static ScriptObjectSpec WarwaspEnt = {0x21, []() -> IScriptObject* {return new struct Warwasp(); }};
static ScriptObjectSpec SpacePirateEnt = {0x24, []() -> IScriptObject* {return new struct SpacePirate(); }};
static ScriptObjectSpec FlyingPirateEnt = {0x25, []() -> IScriptObject* {return new struct FlyingPirate(); }};
static ScriptObjectSpec ElitePirateEnt = {0x26, []() -> IScriptObject* {return new struct ElitePirate(); }};
static ScriptObjectSpec MetroidBetaEnt = {0x27, []() -> IScriptObject* {return new struct MetroidBeta(); }};
static ScriptObjectSpec ChozoGhostEnt = {0x28, []() -> IScriptObject* {return new struct ChozoGhost(); }};
static ScriptObjectSpec CoverPointEnt = {0x2A, []() -> IScriptObject* {return new struct CoverPoint(); }};
static ScriptObjectSpec SpiderBallWaypointEnt = {0x2C, []() -> IScriptObject* {return new struct SpiderBallWaypoint(); }};
static ScriptObjectSpec BloodFlowerEnt = {0x2D, []() -> IScriptObject* {return new struct BloodFlower(); }};
static ScriptObjectSpec FlickerBatEnt = {0x2E, []() -> IScriptObject* {return new struct FlickerBat(); }};
static ScriptObjectSpec PathCameraEnt = {0x2F, []() -> IScriptObject* {return new struct PathCamera(); }};
static ScriptObjectSpec GrapplePointEnt = {0x30, []() -> IScriptObject* {return new struct GrapplePoint(); }};
static ScriptObjectSpec PuddleSporeEnt = {0x31, []() -> IScriptObject* {return new struct PuddleSpore(); }};
static ScriptObjectSpec DebugCameraWaypointEnt = {0x32, []() -> IScriptObject* {return new struct DebugCameraWaypoint(); }};
static ScriptObjectSpec SpiderBallAttractionSurfaceEnt = {0x33, []() -> IScriptObject* {return new struct SpiderBallAttractionSurface(); }};
static ScriptObjectSpec PuddleToadGammaEnt = {0x34, []() -> IScriptObject* {return new struct PuddleToadGamma(); }};
static ScriptObjectSpec DistanceFogEnt = {0x35, []() -> IScriptObject* {return new struct DistanceFog(); }};
static ScriptObjectSpec FireFleaEnt = {0x36, []() -> IScriptObject* {return new struct FireFlea(); }};
static ScriptObjectSpec MetareeAlphaEnt = {0x37, []() -> IScriptObject* {return new struct MetareeAlpha(); }};
static ScriptObjectSpec DockAreaChangeEnt = {0x38, []() -> IScriptObject* {return new struct DockAreaChange(); }};
static ScriptObjectSpec ActorRotateEnt = {0x39, []() -> IScriptObject* {return new struct ActorRotate(); }};
static ScriptObjectSpec SpecialFunctionEnt = {0x3A, []() -> IScriptObject* {return new struct SpecialFunction(); }};
static ScriptObjectSpec SpankWeedEnt = {0x3B, []() -> IScriptObject* {return new struct SpankWeed(); }};
static ScriptObjectSpec ParasiteEnt = {0x3D, []() -> IScriptObject* {return new struct Parasite(); }};
static ScriptObjectSpec PlayerHintEnt = {0x3E, []() -> IScriptObject* {return new struct PlayerHint(); }};
static ScriptObjectSpec RipperEnt = {0x3F, []() -> IScriptObject* {return new struct Ripper(); }};
static ScriptObjectSpec PickupGeneratorEnt = {0x40, []() -> IScriptObject* {return new struct PickupGenerator(); }};
static ScriptObjectSpec AIKeyframeEnt = {0x41, []() -> IScriptObject* {return new struct AIKeyframe(); }};
static ScriptObjectSpec PointOfInterestEnt = {0x42, []() -> IScriptObject* {return new struct PointOfInterest(); }};
static ScriptObjectSpec DroneEnt = {0x43, []() -> IScriptObject* {return new struct Drone(); }};
static ScriptObjectSpec MetroidAlphaEnt = {0x44, []() -> IScriptObject* {return new struct MetroidAlpha(); }};
static ScriptObjectSpec DebrisExtendedEnt = {0x45, []() -> IScriptObject* {return new struct DebrisExtended(); }};
static ScriptObjectSpec SteamEnt = {0x46, []() -> IScriptObject* {return new struct Steam(); }};
static ScriptObjectSpec RippleEnt = {0x47, []() -> IScriptObject* {return new struct Ripple(); }};
static ScriptObjectSpec BallTriggerEnt = {0x48, []() -> IScriptObject* {return new struct BallTrigger(); }};
static ScriptObjectSpec TargetingPointEnt = {0x49, []() -> IScriptObject* {return new struct TargetingPoint(); }};
static ScriptObjectSpec ElectroMagneticPulseEnt = {0x4A, []() -> IScriptObject* {return new struct ElectroMagneticPulse(); }};
static ScriptObjectSpec IceSheegothEnt = {0x4B, []() -> IScriptObject* {return new struct IceSheegoth(); }};
static ScriptObjectSpec PlayerActorEnt = {0x4C, []() -> IScriptObject* {return new struct PlayerActor(); }};
static ScriptObjectSpec FlaahgraEnt = {0x4D, []() -> IScriptObject* {return new struct Flaahgra(); }};
static ScriptObjectSpec AreaAttributesEnt = {0x4E, []() -> IScriptObject* {return new struct AreaAttributes(); }};
static ScriptObjectSpec FishCloudEnt = {0x4F, []() -> IScriptObject* {return new struct FishCloud(); }};
static ScriptObjectSpec FishCloudModifierEnt = {0x50, []() -> IScriptObject* {return new struct FishCloudModifier(); }};
static ScriptObjectSpec VisorFlareEnt = {0x51, []() -> IScriptObject* {return new struct VisorFlare(); }};
static ScriptObjectSpec WorldTeleporterx52Ent = {0x52, []() -> IScriptObject* {return new struct WorldTeleporter(); }};
static ScriptObjectSpec VisorGooEnt = {0x53, []() -> IScriptObject* {return new struct VisorGoo(); }};
static ScriptObjectSpec JellyZapEnt = {0x54, []() -> IScriptObject* {return new struct JellyZap(); }};
static ScriptObjectSpec ControllerActionEnt = {0x55, []() -> IScriptObject* {return new struct ControllerAction(); }};
static ScriptObjectSpec SwitchEnt = {0x56, []() -> IScriptObject* {return new struct Switch(); }};
static ScriptObjectSpec PlayerStateChangeEnt = {0x57, []() -> IScriptObject* {return new struct PlayerStateChange(); }};
static ScriptObjectSpec ThardusEnt = {0x58, []() -> IScriptObject* {return new struct Thardus(); }};
static ScriptObjectSpec WallCrawlerSwarmEnt = {0x5A, []() -> IScriptObject* {return new struct WallCrawlerSwarm(); }};
static ScriptObjectSpec AIJumpPointEnt = {0x5B, []() -> IScriptObject* {return new struct AIJumpPoint(); }};
static ScriptObjectSpec FlaahgraTentacleEnt = {0x5C, []() -> IScriptObject* {return new struct FlaahgraTentacle(); }};
static ScriptObjectSpec RoomAcousticsEnt = {0x5D, []() -> IScriptObject* {return new struct RoomAcoustics(); }};
static ScriptObjectSpec ColorModulateEnt = {0x5E, []() -> IScriptObject* {return new struct ColorModulate(); }};
static ScriptObjectSpec ThardusRockProjectileEnt = {0x5F, []() -> IScriptObject* {return new struct ThardusRockProjectile(); }};
static ScriptObjectSpec MidiEnt = {0x60, []() -> IScriptObject* {return new struct Midi(); }};
static ScriptObjectSpec StreamedAudioEnt = {0x61, []() -> IScriptObject* {return new struct StreamedAudio(); }};
static ScriptObjectSpec WorldTeleporterx62Ent = {0x62, []() -> IScriptObject* {return new struct WorldTeleporter(); }}; // o.o, no this is not a trick
static ScriptObjectSpec RepulsorEnt = {0x63, []() -> IScriptObject* {return new struct Repulsor(); }};
static ScriptObjectSpec GunTurretEnt = {0x64, []() -> IScriptObject* {return new struct GunTurret(); }};
static ScriptObjectSpec FogVolumeEnt = {0x65, []() -> IScriptObject* {return new struct FogVolume(); }};
static ScriptObjectSpec BabygothEnt = {0x66, []() -> IScriptObject* {return new struct Babygoth(); }};
static ScriptObjectSpec EyeballEnt = {0x67, []() -> IScriptObject* {return new struct Eyeball(); }};
static ScriptObjectSpec RadialDamageEnt = {0x68, []() -> IScriptObject* {return new struct RadialDamage(); }};
static ScriptObjectSpec CameraPitchVolumeEnt = {0x69, []() -> IScriptObject* {return new struct CameraPitchVolume(); }};
static ScriptObjectSpec EnvFxDensityControllerEnt = {0x6A, []() -> IScriptObject* {return new struct EnvFxDensityController(); }};
static ScriptObjectSpec MagdoliteEnt = {0x6B, []() -> IScriptObject* {return new struct Magdolite(); }};
static ScriptObjectSpec TeamAIMgrEnt = {0x6C, []() -> IScriptObject* {return new struct TeamAIMgr(); }};
static ScriptObjectSpec SnakeWeedSwarmEnt = {0x6D, []() -> IScriptObject* {return new struct SnakeWeedSwarm(); }};
static ScriptObjectSpec ActorContraptionEnt = {0x6E, []() -> IScriptObject* {return new struct ActorContraption(); }};
static ScriptObjectSpec OculusEnt = {0x6F, []() -> IScriptObject* {return new struct Oculus(); }};
static ScriptObjectSpec GeemerEnt = {0x70, []() -> IScriptObject* {return new struct Geemer(); }};
static ScriptObjectSpec SpindleCameraEnt = {0x71, []() -> IScriptObject* {return new struct SpindleCamera(); }};
static ScriptObjectSpec AtomicAlphaEnt = {0x72, []() -> IScriptObject* {return new struct AtomicAlpha(); }};
static ScriptObjectSpec CameraHintTriggerEnt = {0x73, []() -> IScriptObject* {return new struct CameraHintTrigger(); }};
static ScriptObjectSpec RumbleEffectEnt = {0x74, []() -> IScriptObject* {return new struct RumbleEffect(); }};
static ScriptObjectSpec AmbientAIEnt = {0x75, []() -> IScriptObject* {return new struct AmbientAI(); }};
static ScriptObjectSpec AtomicBetaEnt = {0x77, []() -> IScriptObject* {return new struct AtomicBeta(); }};
static ScriptObjectSpec IceZoomerEnt = {0x78, []() -> IScriptObject* {return new struct IceZoomer(); }};
static ScriptObjectSpec PufferEnt = {0x79, []() -> IScriptObject* {return new struct Puffer(); }};
static ScriptObjectSpec TryclopsEnt = {0x7A, []() -> IScriptObject* {return new struct Tryclops(); }};
static ScriptObjectSpec RidleyEnt = {0x7B, []() -> IScriptObject* {return new struct Ridley(); }};
static ScriptObjectSpec SeedlingEnt = {0x7C, []() -> IScriptObject* {return new struct Seedling(); }};
static ScriptObjectSpec ThermalHeatFaderEnt = {0x7D, []() -> IScriptObject* {return new struct ThermalHeatFader(); }};
static ScriptObjectSpec BurrowerEnt = {0x7F, []() -> IScriptObject* {return new struct Burrower(); }};
static ScriptObjectSpec ScriptBeamEnt = {0x81, []() -> IScriptObject* {return new struct ScriptBeam(); }};
static ScriptObjectSpec WorldLightFaderEnt = {0x82, []() -> IScriptObject* {return new struct WorldLightFader(); }};
static ScriptObjectSpec MetroidPrimeStage2Ent = {0x83, []() -> IScriptObject* {return new struct MetroidPrimeStage2(); }};
static ScriptObjectSpec MetroidPrimeStage1Ent = {0x84, []() -> IScriptObject* {return new struct MetroidPrimeStage1(); }};
static ScriptObjectSpec MazeNodeEnt = {0x85, []() -> IScriptObject* {return new struct MazeNode(); }};
static ScriptObjectSpec OmegaPirateEnt = {0x86, []() -> IScriptObject* {return new struct OmegaPirate(); }};
static ScriptObjectSpec PhazonPoolEnt = {0x87, []() -> IScriptObject* {return new struct PhazonPool(); }};
static ScriptObjectSpec PhazonHealingNoduleEnt = {0x88, []() -> IScriptObject* {return new struct PhazonHealingNodule(); }};
static ScriptObjectSpec NewCameraShakerEnt = {0x89, []() -> IScriptObject* {return new struct NewCameraShaker(); }};
static ScriptObjectSpec ShadowProjectorEnt = {0x8A, []() -> IScriptObject* {return new struct ShadowProjector(); }};
static ScriptObjectSpec EnergyBallEnt = {0x8B, []() -> IScriptObject* {return new struct EnergyBall(); }};
}
std::vector<const struct ScriptObjectSpec*> SCRIPT_OBJECT_DB =
{
&priv::AIJumpPointEnt,
&priv::AIKeyframeEnt,
&priv::ActorEnt,
&priv::ActorContraptionEnt,
&priv::ActorKeyframeEnt,
&priv::ActorRotateEnt,
&priv::AmbientAIEnt,
&priv::AreaAttributesEnt,
&priv::AtomicAlphaEnt,
&priv::AtomicBetaEnt,
&priv::BabygothEnt,
&priv::BallTriggerEnt,
&priv::BeetleEnt,
&priv::BloodFlowerEnt,
&priv::BurrowerEnt,
&priv::CameraEnt,
&priv::CameraBlurKeyframeEnt,
&priv::CameraFilterKeyframeEnt,
&priv::CameraHintEnt,
&priv::CameraHintTriggerEnt,
&priv::CameraPitchVolumeEnt,
&priv::CameraShakerEnt,
&priv::CameraWaypointEnt,
&priv::ChozoGhostEnt,
&priv::ColorModulateEnt,
&priv::ControllerActionEnt,
&priv::CounterEnt,
&priv::CoverPointEnt,
&priv::DamageableTriggerEnt,
&priv::DebrisEnt,
&priv::DebrisExtendedEnt,
&priv::DebugCameraWaypointEnt,
&priv::DistanceFogEnt,
&priv::DockEnt,
&priv::DockAreaChangeEnt,
&priv::DoorAreaEnt,
&priv::DroneEnt,
&priv::EffectEnt,
&priv::ElectroMagneticPulseEnt,
&priv::ElitePirateEnt,
&priv::EnergyBallEnt,
&priv::EnvFxDensityControllerEnt,
&priv::EyeballEnt,
&priv::FireFleaEnt,
&priv::FishCloudEnt,
&priv::FishCloudModifierEnt,
&priv::FlaahgraEnt,
&priv::FlaahgraTentacleEnt,
&priv::FlickerBatEnt,
&priv::FlyingPirateEnt,
&priv::FogVolumeEnt,
&priv::GeemerEnt,
&priv::GeneratorEnt,
&priv::GrapplePointEnt,
&priv::GunTurretEnt,
&priv::HUDMemoEnt,
&priv::IceSheegothEnt,
&priv::IceZoomerEnt,
&priv::JellyZapEnt,
&priv::MagdoliteEnt,
&priv::MazeNodeEnt,
&priv::MemoryRelayEnt,
&priv::MetareeAlphaEnt,
&priv::MetroidAlphaEnt,
&priv::MetroidBetaEnt,
&priv::MetroidPrimeStage1Ent,
&priv::MetroidPrimeStage2Ent,
&priv::MidiEnt,
&priv::NewCameraShakerEnt,
&priv::NewIntroBossEnt,
&priv::OculusEnt,
&priv::OmegaPirateEnt,
&priv::ParasiteEnt,
&priv::PathCameraEnt,
&priv::PhazonHealingNoduleEnt,
&priv::PhazonPoolEnt,
&priv::PickupEnt,
&priv::PickupGeneratorEnt,
&priv::PlatformEnt,
&priv::PlayerActorEnt,
&priv::PlayerHintEnt,
&priv::PlayerStateChangeEnt,
&priv::PointOfInterestEnt,
&priv::PuddleSporeEnt,
&priv::PuddleToadGammaEnt,
&priv::PufferEnt,
&priv::RadialDamageEnt,
&priv::RandomRelayEnt,
&priv::RelayEnt,
&priv::RepulsorEnt,
&priv::RidleyEnt,
&priv::RipperEnt,
&priv::RippleEnt,
&priv::RoomAcousticsEnt,
&priv::RumbleEffectEnt,
&priv::ScriptBeamEnt,
&priv::SeedlingEnt,
&priv::ShadowProjectorEnt,
&priv::SnakeWeedSwarmEnt,
&priv::SoundEnt,
&priv::SpacePirateEnt,
&priv::SpankWeedEnt,
&priv::SpawnPointEnt,
&priv::SpecialFunctionEnt,
&priv::SpiderBallAttractionSurfaceEnt,
&priv::SpiderBallWaypointEnt,
&priv::SpindleCameraEnt,
&priv::SteamEnt,
&priv::StreamedAudioEnt,
&priv::SwitchEnt,
&priv::TargetingPointEnt,
&priv::TeamAIMgrEnt,
&priv::ThardusEnt,
&priv::ThardusRockProjectileEnt,
&priv::ThermalHeatFaderEnt,
&priv::TimerEnt,
&priv::TriggerEnt,
&priv::TryclopsEnt,
&priv::VisorFlareEnt,
&priv::VisorGooEnt,
&priv::WallCrawlerSwarmEnt,
&priv::WarwaspEnt,
&priv::WaterEnt,
&priv::WaypointEnt,
&priv::WorldLightFaderEnt,
&priv::WorldTeleporterx52Ent,
&priv::WorldTeleporterx62Ent,
};
}
}

View File

@ -0,0 +1,35 @@
#ifndef __DNAMP1_SCRIPTOBJECT_HPP
#define __DNAMP1_SCRIPTOBJECT_HPP
#include "../../DNACommon/DNACommon.hpp"
#include <stdio.h>
namespace Retro
{
namespace DNAMP1
{
struct IScriptObject : BigYAML
{
DECL_YAML
IScriptObject() {}
atUint32 type;
Value<atUint32> id;
struct Connection : BigYAML
{
DECL_YAML
Value<atUint32> state;
Value<atUint32> msg;
Value<atUint32> target;
};
Value<atUint32> connectionCount;
Vector<Connection, DNA_COUNT(connectionCount)> connections;
Value<atUint32> propertyCount;
virtual ~IScriptObject()
{
}
};
}
}
#endif

View File

@ -0,0 +1,56 @@
#ifndef _DNAMP1_ICESHEEGOTH_HPP_
#define _DNAMP1_ICESHEEGOTH_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct IceSheegoth : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
Value<atVec3f> unknown3;
Value<float> unknown4;
DamageVulnerability damageVulnerabilty1;
DamageVulnerability damageVulnerabilty2;
DamageVulnerability damageVulnerabilty3;
UniqueID32 wpsc1;
DamageInfo damageInfo1;
Value<float> unknown5;
Value<float> unknown6;
UniqueID32 wpsc2;
UniqueID32 particle1;
DamageInfo damageInfo2;
UniqueID32 particle2;
UniqueID32 particle3;
UniqueID32 particle4;
UniqueID32 particle5;
UniqueID32 elsc;
Value<float> unknown7;
Value<float> unknown8;
DamageInfo damageInfo3;
Value<atUint32> soundID1;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
UniqueID32 texture;
Value<atUint32> soundID2;
UniqueID32 particle6;
Value<bool> unknown12;
Value<bool> unknown13;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_ICEZOOMER_HPP_
#define _DNAMP1_ICEZOOMER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct IceZoomer : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<atUint32> unknown7;
Value<atUint32> unknown8;
DamageVulnerability damageVulnerabilty;
Value<float> unknown9;
};
}
}
#endif

View File

@ -0,0 +1,39 @@
#ifndef _DNAMP1_JELLYZAP_HPP_
#define _DNAMP1_JELLYZAP_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct JellyZap : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
DamageInfo damageInfo;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<bool> unknown13;
};
}
}
#endif

View File

@ -0,0 +1,51 @@
#ifndef _DNAMP1_MAGDOLITE_HPP_
#define _DNAMP1_MAGDOLITE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Magdolite : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
DamageInfo damageInfo1;
DamageInfo damageInfo2;
DamageVulnerability damageVulnerabilty1;
DamageVulnerability damageVulnerabilty2;
UniqueID32 model;
UniqueID32 skin;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
struct MagdoliteParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<atUint32> unknown1;
UniqueID32 particle;
Value<atUint32> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
} magdoliteParameters;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
};
}
}
#endif

View File

@ -0,0 +1,29 @@
#ifndef _DNAMP1_MAZENODE_HPP_
#define _DNAMP1_MAZENODE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MazeNode : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
Value<atUint32> unknown2;
Value<atUint32> unknown3;
Value<atUint32> unknown4;
Value<atVec3f> unknown5;
Value<atVec3f> unknown6;
Value<atVec3f> unknown7;
};
}
}
#endif

View File

@ -0,0 +1,22 @@
#ifndef _DNAMP1_MEMORYRELAY_HPP_
#define _DNAMP1_MEMORYRELAY_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MemoryRelay : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> unknown;
Value<bool> active;
};
}
}
#endif

View File

@ -0,0 +1,31 @@
#ifndef _DNAMP1_METAREEALPHA_HPP_
#define _DNAMP1_METAREEALPHA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MetareeAlpha : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
DamageInfo damageInfo;
Value<float> unknown1;
Value<atVec3f> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
};
}
}
#endif

View File

@ -0,0 +1,39 @@
#ifndef _DNAMP1_METROIDALPHA_HPP_
#define _DNAMP1_METROIDALPHA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MetroidAlpha : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
DamageVulnerability damageVulnerabilty1;
DamageVulnerability damageVulnerabilty2;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
AnimationParameters animationParameters1;
AnimationParameters animationParameters2;
AnimationParameters animationParameters3;
AnimationParameters animationParameters4;
Value<bool> unknown8;
};
}
}
#endif

View File

@ -0,0 +1,42 @@
#ifndef _DNAMP1_METROIDBETA_HPP_
#define _DNAMP1_METROIDBETA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MetroidBeta : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
DamageVulnerability damageVulnerabilty1;
DamageVulnerability damageVulnerabilty2;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
UniqueID32 particle1;
UniqueID32 swhc;
UniqueID32 particle2;
UniqueID32 particle3;
UniqueID32 particle4;
Value<bool> unknown10;
};
}
}
#endif

View File

@ -0,0 +1,171 @@
#ifndef _DNAMP1_METROIDPRIMESTAGE1_HPP_
#define _DNAMP1_METROIDPRIMESTAGE1_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MetroidPrimeStage1 : IScriptObject
{
DECL_YAML
Value<atUint32> unknown1;
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<bool> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<atUint32> unknown6;
Value<bool> unknown7;
Value<atUint32> unknown8;
HealthInfo healthInfo1;
HealthInfo healthInfo2;
Value<atUint32> unknown9;
struct PrimeParameters1 : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
} primeStruct1_1, primeStruct1_2, primeStruct1_3, primeStruct1_4;
Value<atUint32> unknown10;
Value<atUint32> unknown11;
struct MassivePrimeStruct : BigYAML
{
DECL_YAML
Value<atUint32> unknown1;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<atUint32> unknown2;
struct PrimeStruct2 : BigYAML
{
DECL_YAML
Value<bool> unknown1;
Value<float> unknown2;
Value<float> unknown3;
struct PrimeStruct3 : BigYAML
{
DECL_YAML
Value<bool> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
} primeStruct3_1, primeStruct3_2, primeStruct3_3;
} primeStruct2_1, primeStruct2_2, primeStruct2_3;
Value<atUint32> unknown4;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 particle3;
DamageInfo damageInfo1;
Value<float> unknown5;
Value<float> unknown6;
UniqueID32 texture1;
Value<atUint32> unknown7;
Value<atUint32> unknown8;
UniqueID32 particle4;
struct PrimeStruct4 : BigYAML
{
DECL_YAML
Value<atUint32> unknown1;
Value<atUint32> unknown2;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 texture1;
UniqueID32 texture2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<atVec4f> unknown12; // CColor
Value<atVec4f> unknown13; // CColor
UniqueID32 wpsc;
DamageInfo damageInfo1;
struct PrimeStruct5 : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
UniqueID32 unknown1;
Value<atUint32> unknown2;
UniqueID32 unknown3;
UniqueID32 unknown4;
Value<atUint32> unknown5;
Value<atUint32> unknown6;
Value<atUint32> unknown7;
Value<atUint32> unknown8;
} primeStruct5;
Value<float> unknown14;
DamageInfo damageInfo2;
} primeStruct4_1, primeStruct4_2, primeStruct4_3, primeStruct4_4;
UniqueID32 wpsc1;
DamageInfo damageInfo2;
PrimeStruct2 primeStruct2_4;
UniqueID32 wpsc2;
DamageInfo damageInfo3;
PrimeStruct2 primeStruct2_5;
Value<atUint32> unknown3;
UniqueID32 particle5;
DamageInfo damageInfo4;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
UniqueID32 texture2;
Value<bool> unknown12;
Value<bool> unknown13;
Value<bool> unknown14;
Value<bool> unknown15;
DamageInfo damageInfo5;
PrimeStruct2 primeStruct2_6;
UniqueID32 particle6;
UniqueID32 swhc;
UniqueID32 particle7;
UniqueID32 particle8;
struct PrimeStruct6 : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
DamageVulnerability damageVulnerability;
Value<atVec4f> unknown1;
Value<atUint32> unknown2;
Value<atUint32> unknown3;
} primeStruct6_1, primeStruct6_2, primeStruct6_3, primeStruct6_4;
} massivePrimeStruct;
};
}
}
#endif

View File

@ -0,0 +1,30 @@
#ifndef _DNAMP1_METROIDPRIMESTAGE2_HPP_
#define _DNAMP1_METROIDPRIMESTAGE2_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct MetroidPrimeStage2 : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
UniqueID32 particle1;
DamageInfo damageInfo;
UniqueID32 elsc;
Value<atUint32> unknown;
UniqueID32 particle2;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_MIDI_HPP_
#define _DNAMP1_MIDI_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Midi : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> unknown1;
UniqueID32 song;
Value<float> unknown2;
Value<float> unknown3;
Value<atUint32> unknown4;
};
}
}
#endif

View File

@ -0,0 +1,49 @@
#ifndef _DNAMP1_NEWCAMERASHAKER_HPP_
#define _DNAMP1_NEWCAMERASHAKER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct NewCameraShaker : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<bool> unknown1;
struct LongBool : BigYAML
{
DECL_YAML
Value<atUint32> unknown1;
Value<bool> unknown2;
} unknown2;
Value<float> unknown3;
Value<float> unknown4;
struct CameraShakerParameters : BigYAML
{
DECL_YAML
Value<atUint32> unknown1;
Value<bool> unknown2;
Value<atUint32> unknown3;
Value<bool> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<atUint32> unknown9;
Value<bool> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
} cameraShakerParameters1, cameraShakerParameters2, cameraShakerParameters3;
};
}
}
#endif

View File

@ -0,0 +1,32 @@
#ifndef _DNAMP1_NEWINTROBOSS_HPP_
#define _DNAMP1_NEWINTROBOSS_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct NewIntroBoss : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
DamageInfo damageInfo;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 texture1;
UniqueID32 texture2;
};
}
}
#endif

View File

@ -0,0 +1,34 @@
#ifndef _DNAMP1_OCULUS_HPP_
#define _DNAMP1_OCULUS_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Oculus : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
DamageVulnerability damageVulnerabilty;
Value<float> unknown7;
DamageInfo damageInfo;
};
}
}
#endif

View File

@ -0,0 +1,64 @@
#ifndef _DNAMP1_OMEGAPIRATE_HPP_
#define _DNAMP1_OMEGAPIRATE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct OmegaPirate : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters1;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
UniqueID32 particle1;
Value<atUint32> soundID1;
ActorParameters actorParameters2;
AnimationParameters animationParameters;
UniqueID32 particle2;
Value<atUint32> soundID2;
UniqueID32 model1;
DamageInfo damageInfo1;
Value<float> unknown9;
UniqueID32 particle3;
UniqueID32 particle4;
UniqueID32 particle5;
UniqueID32 particle6;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<atUint32> unknown16;
Value<atUint32> soundID3;
Value<atUint32> soundID4;
UniqueID32 particle7;
DamageInfo damageInfo2;
UniqueID32 elsc;
Value<atUint32> soundID5;
Value<bool> unknown17;
Value<bool> unknown18;
UniqueID32 model2;
UniqueID32 skin;
UniqueID32 rig;
};
}
}
#endif

View File

@ -0,0 +1,334 @@
#ifndef _DNAMP1_PARAMETERS_HPP_
#define _DNAMP1_PARAMETERS_HPP_
#include "../../DNACommon/DNACommon.hpp"
namespace Retro
{
namespace DNAMP1
{
enum EPickupType
{
PkPowerBeam,
PkIceBeam,
PkWaveBeam,
PkPlasmaBeam,
PkMissile,
PkScanVisor,
PkMorphBallBomb,
PkPowerBomb,
PkFlamethrower,
PkChargeBeam,
PkXRayVisor,
PkIceSpreader,
PkSpaceJump,
PkMorphBall,
PkCombatVisor,
PkSpiderBall,
PkPowerSuit,
PkGravitySuit,
PkVariaSuit,
PkPhazonSuit,
PkEnergyTank,
PkUnknownItem1,
PkHealthRefill,
PkUnknownItem2,
PkWaveBuster,
PkTruth,
PkStrength,
PkElder,
PkWild,
PkLifeGiver,
PkWarrior,
PkChozo,
PkNature,
PkSun,
PkWorld,
PkSpirit,
PkNewborn
};
enum ESpecialFunctionType
{
SpFnWhat,
SpFnPlayerFollowLocator,
SpFnSpinnerController,
SpFnObjectFollowLocator,
SpFnFunction4,
SpFnInventoryActivator,
SpFnMapStation,
SpFnSaveStation,
SpFnIntroBossRingController,
SpFnViewFrustumTest,
SpFnShotSpinnerController,
SpFnEscapeSequence,
SpFnBossEnergyBar,
SpFnEndGame,
SpFnHUDFadeIn,
SpFnCinematicSkip,
SpFnScriptLyaerController,
SpFnRainSimulator,
SpFnAreaDamage,
SpFnObjectFollowObject,
SpFnHintSystem,
SpFnDropBomb,
SpFnFunction22,
SpFnMissileStation,
SpFnBillboard,
SpFnPlayerInAreaRelay,
SpFnHUDTarget,
SpFnFogFader,
SpFnEnterLogbook,
SpFnPowerBombStation,
SpFnEnding,
SpFnFusionRelay,
SpFnWeaponSwitch // PAL Only
};
struct AnimationParameters : BigYAML
{
DECL_YAML
UniqueID32 animationCharacterSet;
Value<atUint32> character;
Value<atUint32> defaultAnimation;
};
struct BehaveChance : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
};
struct DamageInfo : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<atUint32> weaponType;
Value<float> damage;
Value<float> radius;
Value<float> knockbackPower;
};
struct DamageVulnerability : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<atUint32> power;
Value<atUint32> ice;
Value<atUint32> wave;
Value<atUint32> plasma;
Value<atUint32> bomb;
Value<atUint32> powerBomb;
Value<atUint32> missile;
Value<atUint32> boostBall;
Value<atUint32> phazon;
Value<atUint32> enemyWeapon1;
Value<atUint32> enemyWeapon2Poison;
Value<atUint32> enemyWeapon3Lava;
Value<atUint32> enemyWeapon4;
Value<atUint32> unkownWeapon1;
Value<atUint32> unkownWeapon2;
Value<atUint32> unkownWeapon3;
struct ChargedBeams : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<atUint32> power;
Value<atUint32> ice;
Value<atUint32> wave;
Value<atUint32> plasma;
Value<atUint32> phazon;
} chargedBeams;
struct BeamCombos : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<atUint32> superMissiles;
Value<atUint32> iceSpreader;
Value<atUint32> wavebuster;
Value<atUint32> flameThrower;
Value<atUint32> phazonCombo;
} beamCombos;
};
struct FlareDefinition : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
UniqueID32 texture;
Value<float> unknown1;
Value<float> unknown2;
Value<atVec4f> unknown4; // CColor
};
struct GrappleParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<bool> disableTurning;
};
struct HealthInfo : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<float> health;
Value<float> knockbackResistence;
};
struct HudColor : BigYAML
{
DECL_YAML
Value<atVec4f> unknown1;
Value<atVec4f> unknown2;
Value<atVec4f> unknown3;
Value<atVec4f> unknown4;
Value<atVec4f> unknown5;
Value<atVec4f> unknown6;
Value<atVec4f> unknown7;
};
struct LightParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<bool> unknown1;
Value<float> unknown2;
Value<atUint32> shadowTesselation;
Value<float> unknown3;
Value<float> unknown4;
Value<atVec4f> unknown5; // CColor
Value<bool> unknown6;
Value<atUint32> worldLightingOptions;
Value<atUint32> lightRecalculationOptions;
Value<atVec3f> unknown7;
Value<atUint32> unknown8;
Value<atUint32> unknown9;
Value<bool> unknown10;
Value<atUint32> unknown11;
};
struct PatternedInfo : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<float> mass;
Value<float> speed;
Value<float> turnSpeed;
Value<float> detectionRange;
Value<float> detectionHeightRange;
Value<float> dectectionAngle;
Value<float> minAttackRange;
Value<float> maxAttackRange;
Value<float> averageAttackTime;
Value<float> attackTimeVariation;
Value<float> leashRadius;
Value<float> playerLeashRadius;
Value<float> playerLeashTime;
DamageInfo contactDamage;
Value<float> damageWaitTime;
HealthInfo healthInfo;
DamageVulnerability damageVulnerability;
Value<float> unkown1;
Value<float> unkown2;
Value<atVec3f> unkown3;
Value<float> unkown4;
Value<float> unkown5;
Value<float> unkown6;
Value<float> unkown7;
Value<atUint32> soundID1;
AnimationParameters animationParameters;
Value<bool> active;
UniqueID32 stateMachine;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<atUint32> unknown11;
Value<atVec3f> unknown12;
UniqueID32 particle1;
Value<atUint32> unknown13;
Value<atVec3f> unknown14;
UniqueID32 particle2;
Value<atUint32> soundID2;
};
struct PlayerHintParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
Value<bool> unknown6;
Value<bool> unknown7;
Value<bool> unknown8;
Value<bool> unknown9;
Value<bool> unknown10;
Value<bool> unknown11;
Value<bool> unknown12;
Value<bool> unknown13;
Value<bool> unknown14;
Value<bool> unknown15;
};
struct ScannableParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
UniqueID32 scanId;
};
struct VisorParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<bool> unknown1;
Value<bool> unknown2;
Value<atUint32> unknown3;
};
struct ActorParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
LightParameters lightParameters;
ScannableParameters scannableParameters;
UniqueID32 xrayModel;
UniqueID32 xraySkin;
UniqueID32 thermalModel;
UniqueID32 thermalSkin;
Value<bool> unknown1;
Value<float> unknown2;
Value<float> unknown3;
VisorParameters visorParameters;
Value<bool> thermalHeat;
Value<bool> unknown4;
Value<bool> unknown5;
Value<float> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,44 @@
#ifndef _DNAMP1_PARASITE_HPP_
#define _DNAMP1_PARASITE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Parasite : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<float> unknown12;
Value<float> unknown13;
Value<float> unknown14;
Value<float> unknown15;
Value<float> unknown16;
Value<float> unknown17;
Value<float> unknown18;
Value<bool> unknown19;
};
}
}
#endif

View File

@ -0,0 +1,41 @@
#ifndef _DNAMP1_PATHCAMERA_HPP_
#define _DNAMP1_PATHCAMERA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PathCamera : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
struct CameraParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
Value<bool> unknown6;
} cameraParameters;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<atUint32> unknown5;
Value<float> unknown6;
Value<float> unknown7;
};
}
}
#endif

View File

@ -0,0 +1,28 @@
#ifndef _DNAMP1_PHAZONHEALINGNODULE_HPP_
#define _DNAMP1_PHAZONHEALINGNODULE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PhazonHealingNodule : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<bool> unknown1;
UniqueID32 elsc;
String<-1> unknown2;
};
}
}
#endif

View File

@ -0,0 +1,37 @@
#ifndef _DNAMP1_PHAZONPOOL_HPP_
#define _DNAMP1_PHAZONPOOL_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PhazonPool : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<bool> unknown1;
UniqueID32 model1;
UniqueID32 model2;
UniqueID32 particle1;
UniqueID32 particle2;
Value<atUint32> unknown2;
DamageInfo damageInfo;
Value<atVec3f> unknown3;
Value<atUint32> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<bool> unknown8;
Value<float> unknown9;
};
}
}
#endif

View File

@ -0,0 +1,37 @@
#ifndef _DNAMP1_PICKUP_HPP_
#define _DNAMP1_PICKUP_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Pickup : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> hitboxVolume;
Value<atVec3f> scanPosition;
Value<atUint32> pickupType;
Value<atUint32> capacity;
Value<atUint32> amount;
Value<float> dropRate;
Value<float> lifetime;
Value<float> spawnDelay;
UniqueID32 model;
AnimationParameters animationParameters;
ActorParameters actorParameters;
Value<bool> active;
Value<float> unknown1;
UniqueID32 particle;
};
}
}
#endif

View File

@ -0,0 +1,23 @@
#ifndef _DNAMP1_PICKUPGENERATOR_HPP_
#define _DNAMP1_PICKUPGENERATOR_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PickupGenerator : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> offset;
Value<bool> active;
Value<float> frequency;
};
}
}
#endif

View File

@ -0,0 +1,38 @@
#ifndef _DNAMP1_PLATFORM_HPP_
#define _DNAMP1_PLATFORM_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Platform : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> unknown1;
Value<atVec3f> scanOffset;
UniqueID32 model;
AnimationParameters animationParameters;
ActorParameters actorParameters;
Value<float> unknown2;
Value<bool> active;
UniqueID32 dcln;
HealthInfo healthInfo;
DamageVulnerability damageVulnerabilty;
Value<bool> unknown3;
Value<float> unknown4;
Value<bool> unknown5;
Value<atUint32> unknown6;
Value<atUint32> unknown7;
};
}
}
#endif

View File

@ -0,0 +1,47 @@
#ifndef _DNAMP1_PLAYERACTOR_HPP_
#define _DNAMP1_PLAYERACTOR_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PlayerActor : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
Value<atVec3f> unknown1;
Value<atVec3f> scanOffset;
Value<float> unknown2;
Value<float> unknown3;
HealthInfo healthInfo;
DamageVulnerability damageVulnerability;
UniqueID32 model;
AnimationParameters animationParameters;
ActorParameters actorParameters;
Value<bool> unknown4;
Value<bool> unknown5;
Value<bool> unknown6;
Value<bool> unknown7;
struct PlayerParameters : BigYAML
{
DECL_YAML
Value<atUint32> propertyCount;
Value<bool> unknown1;
Value<bool> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
} playerParameters;
Value<atUint32> unknown8;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_PLAYERHINT_HPP_
#define _DNAMP1_PLAYERHINT_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PlayerHint : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
PlayerHintParameters playerHintParameters;
Value<atUint32> unknown2;
};
}
}
#endif

View File

@ -0,0 +1,26 @@
#ifndef _DNAMP1_PLAYERSTATECHANGE_HPP_
#define _DNAMP1_PLAYERSTATECHANGE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PlayerStateChange : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> unknown;
Value<atUint32> item;
Value<atUint32> unknown2;
Value<atUint32> unknown3;
Value<atUint32> unknown4;
Value<atUint32> unknown5;
};
}
}
#endif

View File

@ -0,0 +1,25 @@
#ifndef _DNAMP1_POINTOFINTEREST_HPP_
#define _DNAMP1_POINTOFINTEREST_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PointOfInterest : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<bool> unknown1;
ScannableParameters scannableParameters;
Value<float> unknown2;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_PUDDLESPORE_HPP_
#define _DNAMP1_PUDDLESPORE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PuddleSpore : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<bool> unknown2;
UniqueID32 particle;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
UniqueID32 wpsc;
DamageInfo damageInfo;
};
}
}
#endif

View File

@ -0,0 +1,36 @@
#ifndef _DNAMP1_PUDDLETOADGAMMA_HPP_
#define _DNAMP1_PUDDLETOADGAMMA_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct PuddleToadGamma : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<atVec3f> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
DamageInfo damageInfo1;
DamageInfo damageInfo2;
UniqueID32 dcln;
};
}
}
#endif

View File

@ -0,0 +1,35 @@
#ifndef _DNAMP1_PUFFER_HPP_
#define _DNAMP1_PUFFER_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Puffer : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
Value<float> unknown1;
UniqueID32 particle;
DamageInfo damageInfo1;
UniqueID32 texture;
Value<float> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
Value<bool> unknown5;
DamageInfo damageInfo2;
Value<atUint32> unknown6;
};
}
}
#endif

View File

@ -0,0 +1,24 @@
#ifndef _DNAMP1_RADIALDAMAGE_HPP_
#define _DNAMP1_RADIALDAMAGE_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct RadialDamage : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<bool> active;
DamageInfo damageInfo;
Value<float> radius;
};
}
}
#endif

View File

@ -0,0 +1,24 @@
#ifndef _DNAMP1_RANDOMRELAY_HPP_
#define _DNAMP1_RANDOMRELAY_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct RandomRelay : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atUint32> unknown1;
Value<atUint32> unknown2;
Value<bool> unknown3;
Value<bool> unknown4;
};
}
}
#endif

View File

@ -0,0 +1,21 @@
#ifndef _DNAMP1_RELAY_HPP_
#define _DNAMP1_RELAY_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Relay : IScriptObject
{
DECL_YAML
String<-1> name;
Value<bool> active;
};
}
}
#endif

View File

@ -0,0 +1,23 @@
#ifndef _DNAMP1_REPULSOR_HPP_
#define _DNAMP1_REPULSOR_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Repulsor : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<bool> active;
Value<float> unknown;
};
}
}
#endif

View File

@ -0,0 +1,102 @@
#ifndef _DNAMP1_RIDLEY_HPP_
#define _DNAMP1_RIDLEY_HPP_
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace Retro
{
namespace DNAMP1
{
struct Ridley : IScriptObject
{
DECL_YAML
String<-1> name;
Value<atVec3f> location;
Value<atVec3f> orientation;
Value<atVec3f> scale;
PatternedInfo patternedInfo;
ActorParameters actorParameters;
UniqueID32 model1;
UniqueID32 model2;
UniqueID32 model3;
UniqueID32 model4;
UniqueID32 model5;
UniqueID32 model6;
UniqueID32 model7;
UniqueID32 model8;
UniqueID32 model9;
UniqueID32 model10;
UniqueID32 model11;
UniqueID32 model12;
UniqueID32 particle;
Value<float> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
UniqueID32 wpsc1;
DamageInfo damageInfo1;
struct RidleyStruct1 : BigYAML
{
DECL_YAML
Value<atUint32> unknown1;
Value<atUint32> unknown2;
UniqueID32 particle1;
UniqueID32 particle2;
UniqueID32 texture1;
UniqueID32 texture2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<float> unknown9;
Value<float> unknown10;
Value<float> unknown11;
Value<atVec4f> unknown12; //CColor
Value<atVec4f> unknown13; //CColor
} ridleyStruct1;
Value<atUint32> soundID1;
UniqueID32 wpsc2;
DamageInfo damageInfo2;
struct RidleyStruct2 : BigYAML
{
DECL_YAML
Value<atUint32> unknown1;
Value<float> unknown2;
Value<float> unknown3;
Value<float> unknown4;
Value<float> unknown5;
Value<float> unknown6;
Value<float> unknown7;
Value<float> unknown8;
Value<bool> unknown9;
} ridleyStruct2_1;
UniqueID32 wpsc3;
DamageInfo damageInfo3;
RidleyStruct2 ridleyStruct2_2;
Value<atUint32> soundID2;
DamageInfo damageInfo4;
RidleyStruct2 ridleyStruct2_3;
Value<float> unknown5;
Value<float> unknown6;
DamageInfo damageInfo5;
Value<float> unknown7;
DamageInfo damageInfo6;
Value<float> unknown8;
DamageInfo damageInfo7;
Value<float> unknown9;
UniqueID32 elsc;
Value<float> unknown10;
Value<atUint32> soundID3;
DamageInfo damageInfo8;
};
}
}
#endif

Some files were not shown because too many files have changed in this diff Show More