| 1 | #pragma once |
| 2 | |
| 3 | #include "Library/Layout/LayoutSceneInfo.h" |
| 4 | |
| 5 | namespace agl { |
| 6 | class DrawContext; |
| 7 | } |
| 8 | |
| 9 | namespace nn::ui2d { |
| 10 | class DrawInfo; |
| 11 | } |
| 12 | |
| 13 | namespace al { |
| 14 | class ExecuteDirector; |
| 15 | class EffectSystemInfo; |
| 16 | class AudioDirector; |
| 17 | class LayoutSystem; |
| 18 | class LayoutActor; |
| 19 | class OcclusionCullingJudge; |
| 20 | |
| 21 | class LayoutInitInfo : public LayoutSceneInfo { |
| 22 | public: |
| 23 | void init(ExecuteDirector*, const EffectSystemInfo*, SceneObjHolder*, const AudioDirector*, |
| 24 | CameraDirector*, const LayoutSystem*, const MessageSystem*, const GamePadSystem*, |
| 25 | PadRumbleDirector*); |
| 26 | |
| 27 | MessageSystem* getMessageSystem() const; |
| 28 | |
| 29 | void setDrawContext(agl::DrawContext* drawContext) { mDrawContext = drawContext; } |
| 30 | |
| 31 | void setDrawInfo(nn::ui2d::DrawInfo* drawInfo) { mDrawInfo = drawInfo; } |
| 32 | |
| 33 | void setOcclusionCullingJudge(OcclusionCullingJudge* judge) { mOcclusionCullingJudge = judge; } |
| 34 | |
| 35 | private: |
| 36 | agl::DrawContext* mDrawContext; |
| 37 | nn::ui2d::DrawInfo* mDrawInfo; |
| 38 | OcclusionCullingJudge* mOcclusionCullingJudge; |
| 39 | ExecuteDirector* mExecuteDirector; |
| 40 | EffectSystemInfo* mEffectSysInfo; |
| 41 | AudioDirector* mAudioDirector; |
| 42 | LayoutSystem* mLayoutSystem; |
| 43 | }; |
| 44 | |
| 45 | void initLayoutActor(LayoutActor*, const LayoutInitInfo&, const char*, const char*); |
| 46 | void initLayoutActorLocalized(LayoutActor*, const LayoutInitInfo&, const char*, const char*); |
| 47 | void initLayoutActorUseOtherMessage(LayoutActor*, const LayoutInitInfo&, const char*, const char*, |
| 48 | const char*); |
| 49 | void initLayoutTextPaneAnimator(LayoutActor*, const char*); |
| 50 | void initLayoutTextPaneAnimatorWithShadow(LayoutActor*, const char*); |
| 51 | void initLayoutPartsActor(LayoutActor*, LayoutActor*, const LayoutInitInfo&, const char*, |
| 52 | const char*); |
| 53 | void initLayoutPartsActorLocalized(LayoutActor*, LayoutActor*, const LayoutInitInfo&, const char*, |
| 54 | const char*); |
| 55 | |
| 56 | } // namespace al |
| 57 | |