mirror of https://github.com/AxioDL/metaforce.git
335 lines
7.6 KiB
C++
335 lines
7.6 KiB
C++
#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
|