| 1 | #pragma once |
| 2 | |
| 3 | #include <math/seadQuat.h> |
| 4 | |
| 5 | #include "Library/Scene/Scene.h" |
| 6 | |
| 7 | #include "Layout/StageSceneLayout.h" |
| 8 | |
| 9 | namespace al { |
| 10 | class LayoutActor; |
| 11 | } |
| 12 | class Shine; |
| 13 | class GameDataHolderAccessor; |
| 14 | class GameDataHolder; |
| 15 | class MapLayout; |
| 16 | class ProjectItemDirector; |
| 17 | class PlayerActorHakoniwa; |
| 18 | class ProjectDemoDirector; |
| 19 | class StageSceneLayout; |
| 20 | |
| 21 | class StageScene : public al::Scene { |
| 22 | public: |
| 23 | StageScene(); |
| 24 | ~StageScene() override; |
| 25 | void init(const al::SceneInitInfo&) override; |
| 26 | void appear() override; |
| 27 | void kill() override; |
| 28 | |
| 29 | void control() override; |
| 30 | void drawMain() const override; |
| 31 | |
| 32 | bool isEnableSave() const; |
| 33 | |
| 34 | // somewhere here at 0xE0: stageName |
| 35 | |
| 36 | unsigned char padding_to_2D0[0x1F8]; |
| 37 | GameDataHolderAccessor* mHolder; |
| 38 | unsigned char padding_2F8[0x20]; |
| 39 | StageSceneLayout* stageSceneLayout; |
| 40 | }; |
| 41 | |
| 42 | namespace rs { |
| 43 | void tryStartRaceStage(al::Scene*, GameDataHolder*); |
| 44 | bool updateNormalState(al::Scene*); |
| 45 | void updateEffectSystemEnv(al::Scene*); |
| 46 | bool updateNormalStateExcludeGraphics(al::Scene*); |
| 47 | bool updateBirdCarryMeat(al::Scene*); |
| 48 | void updateKitListExcludePlayer(al::Scene*); |
| 49 | void updateKitListExcludeCamera(al::Scene*); |
| 50 | void updateKitListExcludeCameraDemoChangeWorld(al::Scene*); |
| 51 | void updateKitListPlayerGroupNormal(al::Scene*); |
| 52 | void updateKitListDemoPlayerNoPauseEffect(al::Scene*); |
| 53 | void updateKitListDemoPlayerWithPauseEffect(al::Scene*); |
| 54 | void updateKitListDemoPlayerWithPauseEffectAndCalcAtEndClip(al::Scene*); |
| 55 | void updateKitListDemoNormalNoPauseEffect(al::Scene*); |
| 56 | void updateKitListDemoNormalWithPauseEffect(al::Scene*); |
| 57 | void updateKitListDemoCapWorldOpeninglWithPauseEffect(al::Scene*); |
| 58 | void updateKitListLayout(al::Scene*); |
| 59 | void updateKitListPostNoViewRenderer(al::Scene*); |
| 60 | void updateKitListLayoutIgnorePause(al::Scene*); |
| 61 | void updateKitListLayoutOnlyLayoutScene(al::Scene*); |
| 62 | void updateKitListPostWithPauseNormalEffectAndPlayerEffect(al::Scene*); |
| 63 | void updateKitListPostSnapShot(al::Scene*); |
| 64 | void setScenarioName(al::LayoutActor*, const al::Scene*); |
| 65 | void startTalkMsgTimeBalloonLayout(const al::Scene*); |
| 66 | void endPlayTalkMsgTimeBalloonLayout(const al::Scene*); |
| 67 | void endForceTalkMsgTimeBalloonLayout(const al::Scene*); |
| 68 | void changeDemoCommonProc(al::Scene*, ProjectItemDirector*); |
| 69 | void endDemoCommonProc(al::Scene*, ProjectItemDirector*); |
| 70 | void endDemoNormalShineGet(al::Scene*, ProjectItemDirector*); |
| 71 | bool tryOpenMap(al::IUseNerve*, const al::Scene*, const MapLayout*, const al::Nerve*); |
| 72 | bool tryChangeNextStage(GameDataHolder*, al::Scene*); |
| 73 | al::LiveActor* getPlayerActor(const al::Scene*); |
| 74 | void registerGraphicsPreset(const al::Scene*, const char*, const char*, const char*, bool); |
| 75 | void requestGraphicsPreset(const al::Scene*, const char*, const sead::Vector3f&); |
| 76 | void requestGraphicsCubeMap(const al::Scene*, const char*, const char*); |
| 77 | void requestGraphicsPresetAndCubeMap(const al::Scene*, const char*, const char*, const char*); |
| 78 | void requestGraphicsPresetAndCubeMap(const al::Scene*, const char*, const char*, const char*, |
| 79 | const sead::Vector3f&); |
| 80 | void requestGraphicsPresetAndCubeMapFixedAngle(const al::Scene*, const char*, const char*, |
| 81 | const char*); |
| 82 | void registerGraphicsPresetWorldMap(const al::Scene*); |
| 83 | void registerGraphicsPresetShop(const al::Scene*); |
| 84 | void registerGraphicsPresetMoonGet(const al::Scene*); |
| 85 | void registerGraphicsPresetCloset(const al::Scene*); |
| 86 | void registerGraphicsPresetPause(const al::Scene*); |
| 87 | void requestGraphicsPresetAndCubeMapWorldMap(const al::Scene*); |
| 88 | void requestGraphicsPresetAndCubeMapShop(const al::Scene*); |
| 89 | void requestGraphicsPresetAndCubeMapShopNoFixedAngle(const al::Scene*); |
| 90 | void requestGraphicsPresetAndCubeMapMoonGet(const al::Scene*); |
| 91 | void requestGraphicsPresetAndCubeMapMoonGetNoFixedAngle(const al::Scene*); |
| 92 | void requestGraphicsPresetAndCubeMapCloset(const al::Scene*); |
| 93 | void requestGraphicsPresetAndCubeMapClosetNoFixedAngle(const al::Scene*); |
| 94 | void requestGraphicsPresetAndCubeMapPause(const al::Scene*); |
| 95 | void requestGraphicsPresetAndCubeMapPauseNoFixedAngle(const al::Scene*); |
| 96 | void calcQuatPoseCheckpointWarpCap(sead::Quatf*, const sead::Vector3f&, const al::IUseCamera*); |
| 97 | ProjectDemoDirector* getDemoDirector(const al::Scene*); |
| 98 | Shine* getDemoShineActor(const al::Scene*); |
| 99 | bool isExistDemoShine(const al::Scene*); |
| 100 | } // namespace rs |
| 101 | |