sm64coopdx/include/behavior_table.h

555 lines
14 KiB
C
Raw Normal View History

#ifndef BEHAVIOR_TABLE_H
#define BEHAVIOR_TABLE_H
#include "behavior_data.h"
enum BehaviorId {
id_bhv1Up,
id_bhv1upJumpOnApproach,
id_bhv1upRunningAway,
id_bhv1upSliding,
id_bhv1upWalking,
id_bhvActivatedBackAndForthPlatform,
id_bhvActSelector,
id_bhvActSelectorStarType,
id_bhvAirborneDeathWarp,
id_bhvAirborneStarCollectWarp,
id_bhvAirborneWarp,
id_bhvAlphaBooKey,
id_bhvAmbientSounds,
id_bhvAnimatedTexture,
id_bhvAnimatesOnFloorSwitchPress,
id_bhvAnotherElavator,
id_bhvAnotherTiltingPlatform,
id_bhvArrowLift,
id_bhvBalconyBigBoo,
id_bhvBbhTiltingTrapPlatform,
id_bhvBbhTumblingBridge,
id_bhvBeginningLakitu,
id_bhvBeginningPeach,
id_bhvBetaBooKey,
id_bhvBetaBowserAnchor,
id_bhvBetaChestBottom,
id_bhvBetaChestLid,
id_bhvBetaFishSplashSpawner,
id_bhvBetaHoldableObject,
id_bhvBetaMovingFlames,
id_bhvBetaMovingFlamesSpawn,
id_bhvBetaTrampolineSpring,
id_bhvBetaTrampolineTop,
id_bhvBigBoulder,
id_bhvBigBoulderGenerator,
id_bhvBigBully,
id_bhvBigBullyWithMinions,
id_bhvBigChillBully,
id_bhvBigSnowmanWhole,
id_bhvBird,
id_bhvBirdsSoundLoop,
id_bhvBitfsSinkingCagePlatform,
id_bhvBitfsSinkingPlatforms,
id_bhvBitfsTiltingInvertedPyramid,
id_bhvBlackSmokeBowser,
id_bhvBlackSmokeMario,
id_bhvBlackSmokeUpward,
id_bhvBlueBowserFlame,
id_bhvBlueCoinJumping,
id_bhvBlueCoinSliding,
id_bhvBlueCoinSwitch,
id_bhvBlueFish,
id_bhvBlueFlamesGroup,
id_bhvBobBowlingBallSpawner,
id_bhvBobomb,
id_bhvBobombAnchorMario,
id_bhvBobombBuddy,
id_bhvBobombBuddyOpensCannon,
id_bhvBobombBullyDeathSmoke,
id_bhvBobombExplosionBubble,
id_bhvBobombExplosionBubble3600,
id_bhvBobombFuseSmoke,
id_bhvBoo,
id_bhvBooBossSpawnedBridge,
id_bhvBooCage,
id_bhvBooInCastle,
id_bhvBookendSpawn,
id_bhvBookSwitch,
id_bhvBooWithCage,
id_bhvBouncingFireball,
id_bhvBouncingFireballFlame,
id_bhvBowlingBall,
id_bhvBowser,
id_bhvBowserBodyAnchor,
id_bhvBowserBomb,
id_bhvBowserBombExplosion,
id_bhvBowserBombSmoke,
id_bhvBowserCourseRedCoinStar,
id_bhvBowserFlameSpawn,
id_bhvBowserKey,
id_bhvBowserKeyCourseExit,
id_bhvBowserKeyUnlockDoor,
id_bhvBowserShockWave,
id_bhvBowsersSub,
id_bhvBowserSubDoor,
id_bhvBowserTailAnchor,
id_bhvBreakableBox,
id_bhvBreakableBoxSmall,
id_bhvBreakBoxTriangle,
id_bhvBreathParticleSpawner,
id_bhvBub,
id_bhvBubba,
id_bhvBubbleMaybe,
id_bhvBubbleParticleSpawner,
id_bhvBubblePlayer,
id_bhvBubbleSplash,
id_bhvBulletBill,
id_bhvBulletBillCannon,
id_bhvButterfly,
id_bhvCameraLakitu,
id_bhvCannon,
id_bhvCannonBarrel,
id_bhvCannonBarrelBubbles,
id_bhvCannonBaseUnused,
id_bhvCannonClosed,
id_bhvCapSwitch,
id_bhvCapSwitchBase,
id_bhvCarrySomething1,
id_bhvCarrySomething2,
id_bhvCarrySomething3,
id_bhvCarrySomething4,
id_bhvCarrySomething5,
id_bhvCarrySomething6,
id_bhvCastleFlagWaving,
id_bhvCastleFloorTrap,
id_bhvCcmTouchedStarSpawn,
id_bhvCelebrationStar,
id_bhvCelebrationStarSparkle,
id_bhvChainChomp,
id_bhvChainChompChainPart,
id_bhvChainChompGate,
id_bhvCheckerboardElevatorGroup,
id_bhvCheckerboardPlatformSub,
id_bhvChirpChirp,
id_bhvChirpChirpUnused,
id_bhvChuckya,
id_bhvChuckyaAnchorMario,
id_bhvCirclingAmp,
id_bhvClamShell,
id_bhvClockHourHand,
id_bhvClockMinuteHand,
id_bhvCloud,
id_bhvCloudPart,
id_bhvCoffin,
id_bhvCoffinSpawner,
id_bhvCoinFormation,
id_bhvCoinFormationSpawn,
id_bhvCoinInsideBoo,
id_bhvCoinSparkles,
id_bhvControllablePlatform,
id_bhvControllablePlatformSub,
id_bhvCourtyardBooTriplet,
id_bhvCutOutObject,
id_bhvDddMovingPole,
id_bhvDDDPole,
id_bhvDddWarp,
id_bhvDeathWarp,
id_bhvDecorativePendulum,
id_bhvDirtParticleSpawner,
id_bhvDonutPlatform,
id_bhvDonutPlatformSpawner,
id_bhvDoor,
id_bhvDoorWarp,
id_bhvDorrie,
id_bhvEndBirds1,
id_bhvEndBirds2,
id_bhvEndPeach,
id_bhvEndToad,
id_bhvEnemyLakitu,
id_bhvExclamationBox,
id_bhvExitPodiumWarp,
id_bhvExplosion,
id_bhvEyerokBoss,
id_bhvEyerokHand,
id_bhvFadingWarp,
id_bhvFallingBowserPlatform,
id_bhvFallingPillar,
id_bhvFallingPillarHitbox,
id_bhvFerrisWheelAxle,
id_bhvFerrisWheelPlatform,
id_bhvFewBlueFishSpawner,
id_bhvFireParticleSpawner,
id_bhvFirePiranhaPlant,
id_bhvFireSpitter,
id_bhvFish,
id_bhvFishGroup,
id_bhvFishSpawner,
id_bhvFlame,
id_bhvFlameBouncing,
id_bhvFlameBowser,
id_bhvFlameFloatingLanding,
id_bhvFlameLargeBurningOut,
id_bhvFlameMovingForwardGrowing,
id_bhvFlamethrower,
id_bhvFlamethrowerFlame,
id_bhvFloorSwitchAnimatesObject,
id_bhvFloorSwitchGrills,
id_bhvFloorSwitchHardcodedModel,
id_bhvFloorSwitchHiddenObjects,
id_bhvFloorTrapInCastle,
id_bhvFlyGuy,
id_bhvFlyguyFlame,
id_bhvFlyingBookend,
id_bhvFlyingWarp,
id_bhvFreeBowlingBall,
id_bhvGhostHuntBigBoo,
id_bhvGhostHuntBoo,
id_bhvGiantPole,
id_bhvGoldenCoinSparkles,
id_bhvGoomba,
id_bhvGoombaTripletSpawner,
id_bhvGrandStar,
id_bhvGrindel,
id_bhvHardAirKnockBackWarp,
id_bhvHauntedBookshelf,
id_bhvHauntedBookshelfManager,
id_bhvHauntedChair,
id_bhvHeaveHo,
id_bhvHeaveHoThrowMario,
id_bhvHidden1up,
id_bhvHidden1upInPole,
id_bhvHidden1upInPoleSpawner,
id_bhvHidden1upInPoleTrigger,
id_bhvHidden1upTrigger,
id_bhvHiddenAt120Stars,
id_bhvHiddenBlueCoin,
id_bhvHiddenObject,
id_bhvHiddenRedCoinStar,
id_bhvHiddenStaircaseStep,
id_bhvHiddenStar,
id_bhvHiddenStarTrigger,
id_bhvHmcElevatorPlatform,
id_bhvHomingAmp,
id_bhvHoot,
id_bhvHorizontalGrindel,
id_bhvHorStarParticleSpawner,
id_bhvIdleWaterWave,
id_bhvIgloo,
id_bhvInitializeChangingWaterLevel,
id_bhvInsideCannon,
id_bhvInstantActiveWarp,
id_bhvInSunkenShip,
id_bhvInSunkenShip2,
id_bhvInSunkenShip3,
id_bhvIntroScene,
id_bhvInvisibleObjectsUnderBridge,
id_bhvJetStream,
id_bhvJetStreamRingSpawner,
id_bhvJetStreamWaterRing,
id_bhvJrbFloatingBox,
id_bhvJrbFloatingPlatform,
id_bhvJrbSlidingBox,
id_bhvJumpingBox,
id_bhvKickableBoard,
id_bhvKingBobomb,
id_bhvKlepto,
id_bhvKoopa,
id_bhvKoopaFlag,
id_bhvKoopaRaceEndpoint,
id_bhvKoopaShell,
id_bhvKoopaShellFlame,
id_bhvKoopaShellUnderwater,
id_bhvLargeBomp,
id_bhvLaunchDeathWarp,
id_bhvLaunchStarCollectWarp,
id_bhvLeafParticleSpawner,
id_bhvLllBowserPuzzle,
id_bhvLllBowserPuzzlePiece,
id_bhvLllDrawbridge,
id_bhvLllDrawbridgeSpawner,
id_bhvLllFloatingWoodBridge,
id_bhvLllHexagonalMesh,
id_bhvLllMovingOctagonalMeshPlatform,
id_bhvLllRollingLog,
id_bhvLllRotatingBlockWithFireBars,
id_bhvLllRotatingHexagonalPlatform,
id_bhvLllRotatingHexagonalRing,
id_bhvLllRotatingHexFlame,
id_bhvLllSinkingRectangularPlatform,
id_bhvLllSinkingRockBlock,
id_bhvLllSinkingSquarePlatforms,
id_bhvLllTiltingInvertedPyramid,
id_bhvLllTumblingBridge,
id_bhvLllVolcanoFallingTrap,
id_bhvLllWoodPiece,
id_bhvMacroUkiki,
id_bhvMadPiano,
id_bhvMantaRay,
id_bhvMantaRayRingManager,
id_bhvMantaRayWaterRing,
id_bhvManyBlueFishSpawner,
id_bhvMario,
id_bhvMenuButton,
id_bhvMenuButtonManager,
id_bhvMerryGoRound,
id_bhvMerryGoRoundBigBoo,
id_bhvMerryGoRoundBoo,
id_bhvMerryGoRoundBooManager,
id_bhvMeshElevator,
id_bhvMessagePanel,
id_bhvMetalCap,
id_bhvMips,
id_bhvMistCircParticleSpawner,
id_bhvMistParticleSpawner,
id_bhvMoatGrills,
id_bhvMoneybag,
id_bhvMoneybagHidden,
id_bhvMontyMole,
id_bhvMontyMoleHole,
id_bhvMontyMoleRock,
id_bhvMovingBlueCoin,
id_bhvMovingYellowCoin,
id_bhvMrBlizzard,
id_bhvMrBlizzardSnowball,
id_bhvMrI,
id_bhvMrIBlueCoin,
id_bhvMrIBody,
id_bhvMrIParticle,
id_bhvNormalCap,
id_bhvObjectBubble,
id_bhvObjectWaterSplash,
id_bhvObjectWaterWave,
id_bhvObjectWaveTrail,
id_bhvOctagonalPlatformRotating,
id_bhvOneCoin,
id_bhvOpenableCageDoor,
id_bhvOpenableGrill,
id_bhvOrangeNumber,
id_bhvPaintingDeathWarp,
id_bhvPaintingStarCollectWarp,
id_bhvPenguinBaby,
id_bhvPenguinRaceFinishLine,
id_bhvPenguinRaceShortcutCheck,
id_bhvPillarBase,
id_bhvPiranhaPlant,
id_bhvPiranhaPlantBubble,
id_bhvPiranhaPlantWakingBubbles,
id_bhvPitBowlingBall,
id_bhvPlatformOnTrack,
id_bhvPlaysMusicTrackWhenTouched,
id_bhvPlungeBubble,
id_bhvPokey,
id_bhvPokeyBodyPart,
id_bhvPoleGrabbing,
id_bhvPoundTinyStarParticle,
id_bhvPunchTinyTriangle,
id_bhvPurpleParticle,
id_bhvPurpleSwitchHiddenBoxes,
id_bhvPushableMetalBox,
id_bhvPyramidElevator,
id_bhvPyramidElevatorTrajectoryMarkerBall,
id_bhvPyramidPillarTouchDetector,
id_bhvPyramidTop,
id_bhvPyramidTopFragment,
id_bhvRacingPenguin,
id_bhvRandomAnimatedTexture,
id_bhvRecoveryHeart,
id_bhvRedCoin,
id_bhvRedCoinStarMarker,
id_bhvRespawner,
id_bhvRockSolid,
id_bhvRotatingCounterClockwise,
id_bhvRotatingExclamationMark,
id_bhvRotatingPlatform,
id_bhvRrCruiserWing,
id_bhvRrElevatorPlatform,
id_bhvRrRotatingBridgePlatform,
id_bhvSandSoundLoop,
id_bhvScuttlebug,
id_bhvScuttlebugSpawn,
id_bhvSeaweed,
id_bhvSeaweedBundle,
id_bhvSeesawPlatform,
id_bhvShallowWaterSplash,
id_bhvShallowWaterWave,
id_bhvShipPart3,
id_bhvSignOnWall,
id_bhvSingleCoinGetsSpawned,
id_bhvSkeeter,
id_bhvSkeeterWave,
id_bhvSlidingPlatform2,
id_bhvSlidingSnowMound,
id_bhvSLSnowmanWind,
id_bhvSLWalkingPenguin,
id_bhvSmallBomp,
id_bhvSmallBully,
id_bhvSmallChillBully,
id_bhvSmallParticle,
id_bhvSmallParticleBubbles,
id_bhvSmallParticleSnow,
id_bhvSmallPenguin,
id_bhvSmallPiranhaFlame,
id_bhvSmallWaterWave,
id_bhvSmallWaterWave398,
id_bhvSmallWhomp,
id_bhvSmoke,
id_bhvSnowBall,
id_bhvSnowmansBodyCheckpoint,
id_bhvSnowmansBottom,
id_bhvSnowmansHead,
id_bhvSnowMoundSpawn,
id_bhvSnowParticleSpawner,
id_bhvSnufit,
id_bhvSnufitBalls,
id_bhvSoundSpawner,
id_bhvSparkle,
id_bhvSparkleParticleSpawner,
id_bhvSparkleSpawn,
id_bhvSpawnedStar,
id_bhvSpawnedStarNoLevelExit,
id_bhvSpinAirborneCircleWarp,
id_bhvSpinAirborneWarp,
id_bhvSpindel,
id_bhvSpindrift,
id_bhvSpiny,
id_bhvSquarishPathMoving,
id_bhvSquarishPathParent,
id_bhvSquishablePlatform,
id_bhvSslMovingPyramidWall,
id_bhvStar,
id_bhvStarDoor,
id_bhvStarKeyCollectionPuffSpawner,
id_bhvStarSpawnCoordinates,
id_bhvStaticCheckeredPlatform,
id_bhvStaticObject,
id_bhvStrongWindParticle,
id_bhvStub,
id_bhvStub1D0C,
id_bhvStub1D70,
id_bhvSunkenShipPart,
id_bhvSunkenShipPart2,
id_bhvSunkenShipSetRotation,
id_bhvSushiShark,
id_bhvSushiSharkCollisionChild,
id_bhvSwimmingWarp,
id_bhvSwingPlatform,
id_bhvSwoop,
id_bhvTankFishGroup,
id_bhvTemporaryYellowCoin,
id_bhvTenCoinsSpawn,
id_bhvThiBowlingBallSpawner,
id_bhvThiHugeIslandTop,
id_bhvThiTinyIslandTop,
id_bhvThreeCoinsSpawn,
id_bhvThwomp,
id_bhvThwomp2,
id_bhvTiltingBowserLavaPlatform,
id_bhvTinyStrongWindParticle,
id_bhvToadMessage,
id_bhvTower,
id_bhvTowerDoor,
id_bhvTowerPlatformGroup,
id_bhvToxBox,
id_bhvTrackBall,
id_bhvTreasureChestBottom,
id_bhvTreasureChests,
id_bhvTreasureChestsJrb,
id_bhvTreasureChestsShip,
id_bhvTreasureChestTop,
id_bhvTree,
id_bhvTreeLeaf,
id_bhvTreeSnow,
id_bhvTriangleParticleSpawner,
id_bhvTripletButterfly,
id_bhvTTC2DRotator,
id_bhvTTCCog,
id_bhvTTCElevator,
id_bhvTTCMovingBar,
id_bhvTTCPendulum,
id_bhvTTCPitBlock,
id_bhvTTCRotatingSolid,
id_bhvTTCSpinner,
id_bhvTTCTreadmill,
id_bhvTtmBowlingBallSpawner,
id_bhvTtmRollingLog,
id_bhvTumblingBridgePlatform,
id_bhvTuxiesMother,
id_bhvTweester,
id_bhvTweesterSandParticle,
id_bhvUkiki,
id_bhvUkikiCage,
id_bhvUkikiCageChild,
id_bhvUkikiCageStar,
id_bhvUnagi,
id_bhvUnagiSubobject,
id_bhvUnlockDoorStar,
id_bhvUnused05A8,
id_bhvUnused0DFC,
id_bhvUnused1820,
id_bhvUnused1F30,
id_bhvUnused20E0,
id_bhvUnused2A10,
id_bhvUnused2A54,
id_bhvUnusedFakeStar,
id_bhvUnusedParticleSpawn,
id_bhvUnusedPoundablePlatform,
id_bhvVanishCap,
id_bhvVertStarParticleSpawner,
id_bhvVolcanoFlames,
id_bhvVolcanoSoundLoop,
id_bhvWallTinyStarParticle,
id_bhvWarp,
id_bhvWarpPipe,
id_bhvWaterAirBubble,
id_bhvWaterBomb,
id_bhvWaterBombCannon,
id_bhvWaterBombShadow,
id_bhvWaterBombSpawner,
id_bhvWaterDroplet,
id_bhvWaterDropletSplash,
id_bhvWaterfallSoundLoop,
id_bhvWaterLevelDiamond,
id_bhvWaterLevelPillar,
id_bhvWaterMist,
id_bhvWaterMist2,
id_bhvWaterSplash,
id_bhvWaveTrail,
id_bhvWdwExpressElevator,
id_bhvWdwExpressElevatorPlatform,
id_bhvWdwRectangularFloatingPlatform,
id_bhvWdwSquareFloatingPlatform,
id_bhvWfBreakableWallLeft,
id_bhvWfBreakableWallRight,
id_bhvWfElevatorTowerPlatform,
id_bhvWfRotatingWoodenPlatform,
id_bhvWfSlidingPlatform,
id_bhvWfSlidingTowerPlatform,
id_bhvWfSolidTowerPlatform,
id_bhvWfTumblingBridge,
id_bhvWhirlpool,
id_bhvWhitePuff1,
id_bhvWhitePuff2,
id_bhvWhitePuffExplosion,
id_bhvWhitePuffSmoke,
id_bhvWhitePuffSmoke2,
id_bhvWhompKingBoss,
id_bhvWigglerBody,
id_bhvWigglerHead,
id_bhvWind,
id_bhvWingCap,
id_bhvWoodenPost,
id_bhvYellowBackgroundInMenu,
id_bhvYellowBall,
id_bhvYellowCoin,
id_bhvYoshi,
id_RM_Scroll_Texture,
id_editor_Scroll_Texture,
id_bhv_max_count // must be the last in the list
};
enum BehaviorId get_id_from_behavior(const BehaviorScript* behavior);
enum BehaviorId get_id_from_vanilla_behavior(const BehaviorScript* behavior);
const BehaviorScript* get_behavior_from_id(enum BehaviorId id);
const char* get_behavior_name_from_id(enum BehaviorId id);
enum BehaviorId get_id_from_behavior_name(const char* name);
#endif