GameScene: Difference between revisions

no edit summary
imported>Leoetlino
imported>Leoetlino
No edit summary
Line 84: Line 84:
StateMachine::changeState(&this->stateMachine, state);
StateMachine::changeState(&this->stateMachine, state);
</source>
</source>
== Stage types ==
{| class="wikitable"
!Type
!Description
!Map types
|-
|0
|Invalid
| -
|-
|1
|Open world stage (except GameTestField)
|MainField, AocField
|-
|2
|Indoor stage
|CDungeon, MainFieldSpot, GameTestDungeon
|-
|3
|Open world stage (GameTestField)
|GameTestField
|-
|4
|MainFieldDungeon
|MainFieldDungeon
|-
|5
|Indoor stage or viewer stage
|?
|}
Maps that have the same stage type typically use the same subsystems and share most characteristics. For example, all open world stages use the [[Tera]] height map terrain system and load [[Map unit|map units]] in the same way.
== StageBinder types ==
{| class="wikitable"
|+ Stage binder types<ref>As returned by the first virtual function in the StageBinderBase interface</ref>
! Type !! Description
|-
| 0 || OpenWorldStage
|-
| 1 || IndoorStage (CDungeon, ...)
|-
| 2 || MainFieldDungeonStage
|-
| 3 || TitleStage
|-
| 4 || StartupSaveCheckStage
|-
| 5 || Viewer
|}
== Fade types ==
{|class="wikitable"
! Type !! Description
|-
| 0 ||
|-
| 1 ||
|-
| 2 || Show logo<ref>See 0x71007B8CD0 and [[AIDef:Action/ExitGame]]</ref>
|}


== State strings ==
== State strings ==
Anonymous user