| 1 | #pragma once |
| 2 | |
| 3 | #include <prim/seadSafeString.h> |
| 4 | |
| 5 | namespace al { |
| 6 | struct ActorInitInfo; |
| 7 | class LiveActor; |
| 8 | class Scene; |
| 9 | class IUseSceneObjHolder; |
| 10 | } // namespace al |
| 11 | |
| 12 | class BarrierField; |
| 13 | class OceanWaveActor; |
| 14 | class ShineTowerRocket; |
| 15 | class RiseMapPartsHolder; |
| 16 | class Shine; |
| 17 | class IUseDemoSkip; |
| 18 | class CaptionInfoHolder; |
| 19 | class CinemaCaption; |
| 20 | class DemoHackFirstDirector; |
| 21 | |
| 22 | namespace rs { |
| 23 | al::LiveActor* createDemoPeachWedding(const al::ActorInitInfo&); |
| 24 | al::LiveActor* createDemoCapManHeroine(const al::ActorInitInfo&); |
| 25 | bool isRandomActionDemoChangeWorld(const al::LiveActor*, const char*); |
| 26 | bool tryGetDemoChangeWorldRandomActionName(sead::BufferedSafeString*, s32*, const al::LiveActor*, |
| 27 | const char*); |
| 28 | |
| 29 | bool requestStartDemoNormal(al::LiveActor*, bool); |
| 30 | void addDemoActor(al::LiveActor*, bool); |
| 31 | void requestEndDemoNormal(const al::LiveActor*); |
| 32 | bool requestStartDemoNormal(const al::Scene*); |
| 33 | void requestEndDemoNormal(const al::Scene*); |
| 34 | bool requestStartDemoNormalWithCinemaFrame(al::LiveActor*); |
| 35 | void requestEndDemoNormalWithCinemaFrame(const al::LiveActor*); |
| 36 | bool requestStartDemoWithPlayer(al::LiveActor*, bool); |
| 37 | void requestEndDemoWithPlayer(const al::LiveActor*); |
| 38 | bool requestStartDemoWithPlayer(const al::Scene*); |
| 39 | void requestEndDemoWithPlayer(const al::Scene*); |
| 40 | bool requestStartDemoWithPlayerCinemaFrame(al::LiveActor*, bool); |
| 41 | void requestEndDemoWithPlayerCinemaFrame(const al::LiveActor*); |
| 42 | bool requestStartDemoWithPlayerKeepCarry(al::LiveActor*, bool); |
| 43 | void requestEndDemoWithPlayerKeepCarry(const al::LiveActor*); |
| 44 | bool requestStartDemoWithPlayerUseCoin(al::LiveActor*, bool); |
| 45 | void requestEndDemoWithPlayerUseCoin(const al::LiveActor*); |
| 46 | bool requestStartDemoWithPlayerKeepBindTalk(al::LiveActor*, bool); |
| 47 | void requestEndDemoWithPlayerKeepBindTalk(const al::LiveActor*); |
| 48 | bool requestStartDemoKeepHackTalk(al::LiveActor*, bool); |
| 49 | void requestEndDemoKeepHackTalk(const al::LiveActor*); |
| 50 | bool requestStartDemoWithPlayerCinemaFrameTalk(al::LiveActor*, bool); |
| 51 | void requestEndDemoWithPlayerCinemaFrameTalk(const al::LiveActor*); |
| 52 | bool requestStartDemoWithPlayerKeepCarryTalk(al::LiveActor*, bool); |
| 53 | void requestEndDemoWithPlayerKeepCarryTalk(const al::LiveActor*); |
| 54 | bool requestStartDemoWithPlayerUseCoinTalk(al::LiveActor*, bool); |
| 55 | void requestEndDemoWithPlayerUseCoinTalk(const al::LiveActor*); |
| 56 | bool requestStartDemoNormalTalk(al::LiveActor*, bool); |
| 57 | void requestEndDemoNormalTalk(const al::LiveActor*); |
| 58 | bool requestStartDemoWarpToCheckpoint(const al::Scene*); |
| 59 | bool requestStartDemoBossBattleStart(al::LiveActor*); |
| 60 | void requestEndDemoBossBattleStart(const al::LiveActor*); |
| 61 | bool requestStartDemoBossBattleEnd(al::LiveActor*); |
| 62 | void requestEndDemoBossBattleEnd(const al::LiveActor*); |
| 63 | bool requestStartDemoShineGet(Shine*); |
| 64 | bool requestStartDemoAchievementShineGet(al::Scene*); |
| 65 | void endDemoShineGet(al::Scene*); |
| 66 | void requestEndDemoShineGet(const al::Scene*); |
| 67 | void requestEndDemoShineGet(const al::LiveActor*); |
| 68 | bool requestStartDemoShineDotGet(Shine*); |
| 69 | void requestEndDemoShineDotGet(const al::Scene*); |
| 70 | bool requestStartDemoShineMainGet(Shine*); |
| 71 | void setDemoInfoDemoName(const al::LiveActor*, const char*); |
| 72 | void requestEndDemoShineMainGet(const al::LiveActor*); |
| 73 | void requestEndDemoShineMainGet(const al::Scene*); |
| 74 | bool requestStartDemoShineGrandGet(Shine*); |
| 75 | void requestEndDemoShineGrandGet(const al::LiveActor*); |
| 76 | void requestEndDemoShineGrandGet(const al::Scene*); |
| 77 | bool requestStartDemoShineAppear(al::LiveActor*); |
| 78 | void requestEndDemoShineAppear(const al::LiveActor*); |
| 79 | bool requestStartDemoShineAppear(const al::Scene*); |
| 80 | void requestEndDemoShineAppear(const al::Scene*); |
| 81 | bool requestStartDemoWarp(al::LiveActor*); |
| 82 | bool requestStartDemoWarp(const al::Scene*); |
| 83 | void requestEndDemoWarp(const al::LiveActor*); |
| 84 | void requestEndDemoWarp(const al::Scene*); |
| 85 | bool requestStartDemoHackStart(al::LiveActor*); |
| 86 | void requestEndDemoHackStart(const al::LiveActor*); |
| 87 | bool requestStartDemoAppearByBazookaElectric(al::LiveActor*); |
| 88 | void requestEndDemoAppearByBazookaElectric(const al::LiveActor*); |
| 89 | bool requestStartDemoLaunchBazookaElectric(al::LiveActor*); |
| 90 | void requestEndDemoLaunchBazookaElectric(const al::LiveActor*); |
| 91 | bool requestStartDemoSceneStartPlayerWalk(al::LiveActor*); |
| 92 | void requestEndDemoSceneStartPlayerWalk(const al::LiveActor*); |
| 93 | bool requestStartDemoGetLifeMaxUpItem(al::LiveActor*); |
| 94 | void requestEndDemoGetLifeMaxUpItem(const al::Scene*); |
| 95 | bool requestStartDemoBirdCarryMeat(al::LiveActor*); |
| 96 | void requestEndDemoBirdCarryMeat(const al::LiveActor*); |
| 97 | bool requestStartDemoBirdFindMeat(al::LiveActor*); |
| 98 | void requestEndDemoBirdFindMeat(const al::LiveActor*); |
| 99 | bool requestStartDemoGetTimeBalloon(al::LiveActor*); |
| 100 | void requestEndDemoGetTimeBalloon(const al::LiveActor*); |
| 101 | bool requestStartDemoJango(al::LiveActor*); |
| 102 | void requestEndDemoJango(const al::LiveActor*); |
| 103 | bool requestStartDemoTitleLogo(const al::LiveActor*); |
| 104 | bool requestStartDemoGoToEnding(al::LiveActor*); |
| 105 | |
| 106 | bool isActiveDemo(const al::LiveActor*); |
| 107 | bool isActiveDemo(const al::Scene*); |
| 108 | bool isActiveDemoNormal(const al::Scene*); |
| 109 | bool isActiveDemoNormalWithCinemaFrame(const al::Scene*); |
| 110 | bool isActiveDemoWithPlayer(const al::Scene*); |
| 111 | bool isActiveDemoWithPlayer(const al::LiveActor*); |
| 112 | bool isActiveDemoWithPlayerCinemaFrame(const al::Scene*); |
| 113 | bool isActiveDemoWithPlayerCinemaFrame(const al::LiveActor*); |
| 114 | bool isActiveDemoWithPlayerKeepCarry(const al::Scene*); |
| 115 | bool isActiveDemoWithPlayerKeepCarry(const al::LiveActor*); |
| 116 | bool isActiveDemoWithPlayerUseCoin(const al::Scene*); |
| 117 | bool isActiveDemoWithPlayerUseCoin(const al::LiveActor*); |
| 118 | bool isActiveDemoWithPlayerKeepBindTalk(const al::Scene*); |
| 119 | bool isActiveDemoWithPlayerKeepBindTalk(const al::LiveActor*); |
| 120 | bool isActiveDemoWarpToCheckpoint(const al::LiveActor*); |
| 121 | bool isActiveDemoShineGet(const al::Scene*); |
| 122 | bool isActiveDemoShineGet(const al::LiveActor*); |
| 123 | bool isActiveDemoShineDotGet(const al::Scene*); |
| 124 | bool isActiveDemoShineDotGet(const al::LiveActor*); |
| 125 | bool isActiveDemoShineGrandGet(const al::Scene*); |
| 126 | bool isActiveDemoShineGrandGet(const al::LiveActor*); |
| 127 | bool isActiveDemoShineMainGet(const al::Scene*); |
| 128 | bool isActiveDemoShineMainGet(const al::LiveActor*); |
| 129 | bool isActiveDemoWarp(const al::Scene*); |
| 130 | bool isActiveDemoWarp(const al::LiveActor*); |
| 131 | bool isActiveDemoHackStart(const al::LiveActor*); |
| 132 | bool isActiveDemoHackStart(const al::Scene*); |
| 133 | bool isActiveDemoHackStartFirst(const al::Scene*); |
| 134 | bool isEqualDemoInfoDemoName(const al::Scene*, const char*); |
| 135 | bool isActiveDemoScenarioCamera(const al::LiveActor*); |
| 136 | bool isActiveDemoGetLifeMaxUpItem(const al::Scene*); |
| 137 | bool isActiveDemoSceneStartPlayerWalk(const al::Scene*); |
| 138 | bool isActiveDemoBirdCarryMeat(const al::Scene*); |
| 139 | bool isActiveDemoBirdFindMeat(const al::Scene*); |
| 140 | bool isActiveDemoJango(const al::Scene*); |
| 141 | bool isActiveDemoJango(const al::LiveActor*); |
| 142 | bool isActiveDemoTitleLogo(const al::Scene*); |
| 143 | bool isActiveDemoGoToEnding(const al::Scene*); |
| 144 | bool isActiveDemoTalk(const al::Scene*); |
| 145 | bool isActiveDemoCinemaFrameTalk(const al::Scene*); |
| 146 | bool isActiveDemoKeepCarryTalk(const al::Scene*); |
| 147 | bool isActiveDemoUseCoinTalk(const al::Scene*); |
| 148 | bool isActiveDemoKeepHackTalk(const al::Scene*); |
| 149 | bool isActiveDemoNormalTalk(const al::Scene*); |
| 150 | bool isActiveDemoLaunchBazookaElectric(const al::Scene*); |
| 151 | bool isActiveDemoGiantWanderBossBattleStart(const al::Scene*); |
| 152 | bool isActiveDemoGiantWanderBossBattleStart(const OceanWaveActor*); |
| 153 | bool isActiveDemoPlayerPuppetable(const al::LiveActor*); |
| 154 | |
| 155 | void addDemoSubActor(al::LiveActor*); |
| 156 | void registerShineTowerRocketToDemoDirector(ShineTowerRocket*); |
| 157 | ShineTowerRocket* tryGetShineTowerRocketFromDemoDirector(al::LiveActor*); |
| 158 | void addDemoAppearFromHomeToList(ShineTowerRocket*); |
| 159 | void addDemoReturnToHomeToList(ShineTowerRocket*); |
| 160 | void addDemoRiseMapPartsToList(RiseMapPartsHolder*); |
| 161 | |
| 162 | bool requestStartDemoWorldIntroCamera(const al::Scene*); |
| 163 | void requestEndDemoWorldIntroCamera(const al::Scene*); |
| 164 | bool requestStartDemoScenarioCamera(const al::Scene*); |
| 165 | void requestEndDemoScenarioCamera(const al::LiveActor*); |
| 166 | bool requestStartDemoAppearFromHome(const al::Scene*); |
| 167 | void requestEndDemoAppearFromHome(const al::LiveActor*); |
| 168 | bool requestStartDemoReturnToHome(const al::Scene*); |
| 169 | void requestEndDemoReturnToHome(const al::LiveActor*); |
| 170 | bool requestStartDemoRiseMapParts(const al::Scene*); |
| 171 | void requestEndDemoRiseMapParts(const al::LiveActor*); |
| 172 | bool requestStartDemoPeachCastleCap(al::LiveActor*); |
| 173 | void requestEndDemoPeachCastleCap(const al::LiveActor*); |
| 174 | |
| 175 | bool isExistDemoAppearFromHomeInList(const al::Scene*); |
| 176 | bool isExistDemoReturnToHome(const al::Scene*); |
| 177 | bool isExistDemoRiseMapPartsInList(const al::Scene*); |
| 178 | |
| 179 | al::LiveActor* getRequestActor(const al::Scene*); |
| 180 | void requestValidateDemoSkip(IUseDemoSkip*, const al::LiveActor*); |
| 181 | IUseDemoSkip* getDemoSkipRequester(const al::Scene*); |
| 182 | bool isDemoEnableSkip(const al::Scene*); |
| 183 | bool isFirstDemo(const al::Scene*); |
| 184 | bool isEnableSkipDemo(const al::Scene*); |
| 185 | void skipDemo(const al::Scene*); |
| 186 | void updateOnlyDemoGraphics(const al::Scene*); |
| 187 | bool isFirstDemoWorldIntroCamera(const al::Scene*); |
| 188 | bool isFirstDemoScenarioStartCamera(const al::LiveActor*); |
| 189 | void noticeDemoSkipStart(const al::Scene*); |
| 190 | void noticeDemoSkipEnd(const al::Scene*); |
| 191 | bool isWaitDemoSkipEnd(const al::LiveActor*); |
| 192 | CaptionInfoHolder* createCaptionInfoHolder(const char*); |
| 193 | void validateDemoCaption(const al::LiveActor*, CaptionInfoHolder*); |
| 194 | bool isActiveDemoWithCinemaCaption(const al::Scene*); |
| 195 | bool tryAppearCinemaCaption(const al::Scene*, CinemaCaption*); |
| 196 | void startCloseDemoFade(const al::LiveActor*, s32); |
| 197 | void startOpenDemoFade(const al::LiveActor*, s32); |
| 198 | bool isDemoFadeCloseEnd(const al::LiveActor*); |
| 199 | bool isDemoFadeOpenEnd(const al::LiveActor*); |
| 200 | bool (const al::Scene*); |
| 201 | DemoHackFirstDirector* tryCreateDemoHackFirstDirector(al::LiveActor*, s32, |
| 202 | const al::ActorInitInfo&); |
| 203 | void noticeDemoStartToDemoHackFirstDirector(const al::Scene*); |
| 204 | void setBossBarrierField(BarrierField*); |
| 205 | BarrierField* tryGetBossBarrierField(const al::LiveActor*); |
| 206 | void setDemoEnvironmentChangeFlag(const al::Scene*, bool); |
| 207 | void setDemoEnvironmentChangeFlag(const al::LiveActor*, bool); |
| 208 | bool isDemoEnvironmentChange(const al::Scene*); |
| 209 | bool isDemoEnvironmentChange(const al::LiveActor*); |
| 210 | s32 getRandomActionIndexDemoChangeWorld(const al::LiveActor*); |
| 211 | void setDemoInfoDemoName(const al::Scene*, const char*); |
| 212 | void getDemoInfoDemoName(const al::LiveActor*); |
| 213 | bool isTriggerDemoCancel(const al::IUseSceneObjHolder*); |
| 214 | void updateDemoSystemOnly(const al::Scene*); |
| 215 | void notifyDisableUpdateCamera(const al::LiveActor*); |
| 216 | bool isDisableUpdateCamera(const al::Scene*); |
| 217 | } // namespace rs |
| 218 | |