GameState, the game's state: play time, coins, the scene and the leader's position, the active party and the options. More...
Go to the source code of this file.
Data Structures | |
| struct | GameState |
| The game's state: play time, coins, the scene and the leader's position, the active party and the options. More... | |
Macros | |
| #define | Battle_SetStart(mode) |
| Sets the battle start type. | |
Functions | |
| STATIC_ASSERT (offsetof(struct GameState, buildStamp)==0) | |
| STATIC_ASSERT (offsetof(struct GameState, playTime)==4) | |
| STATIC_ASSERT (offsetof(struct GameState, idleSleepEnabled)==0x22a) | |
| STATIC_ASSERT (offsetof(struct GameState, coins)==0x10) | |
| STATIC_ASSERT (offsetof(struct GameState, shopCredit)==0x118) | |
| STATIC_ASSERT (offsetof(struct GameState, shopGifts)==0x11c) | |
| STATIC_ASSERT (offsetof(struct GameState, owners)==0x2c0) | |
| STATIC_ASSERT (sizeof(struct GameState)==0xd20) | |
| STATIC_ASSERT (offsetof(struct GameState, wonPrizes)==0x12c) | |
| STATIC_ASSERT (offsetof(struct GameState, sceneGroup)==0x1cc) | |
| STATIC_ASSERT (offsetof(struct GameState, dashKeys)==0x21c) | |
| STATIC_ASSERT (offsetof(struct GameState, avoidDistance)==0x244) | |
| STATIC_ASSERT (offsetof(struct GameState, entrance)==0x1c2) | |
| STATIC_ASSERT (offsetof(struct GameState, special)==0x1d6) | |
| STATIC_ASSERT (offsetof(struct GameState, x)==0x1dc) | |
| STATIC_ASSERT (offsetof(struct GameState, movementMode)==0x1f2) | |
| STATIC_ASSERT (offsetof(struct GameState, selectedActor)==0x1f4) | |
| STATIC_ASSERT (offsetof(struct GameState, activeOwners)==0x1f8) | |
| STATIC_ASSERT (offsetof(struct GameState, speech)==0x20a) | |
| STATIC_ASSERT (offsetof(struct GameState, messageSpeed)==0x20c) | |
| STATIC_ASSERT (offsetof(struct GameState, aKeys)==0x210) | |
| STATIC_ASSERT (offsetof(struct GameState, firstShortcutKeys)==0x218) | |
| STATIC_ASSERT (offsetof(struct GameState, secondShortcutKeys)==0x21a) | |
| STATIC_ASSERT (offsetof(struct GameState, firstShortcut)==0x220) | |
| STATIC_ASSERT (offsetof(struct GameState, retreatEntrance)==0x242) | |
| STATIC_ASSERT (offsetof(struct GameState, cloaked)==0x24c) | |
| STATIC_ASSERT (offsetof(struct GameState, linkTallies)==0x2a4) | |
| STATIC_ASSERT (offsetof(struct GameState, startStamp)==0x2b8) | |
Variables | |
| struct GameState | gGameState |
GameState, the game's state: play time, coins, the scene and the leader's position, the active party and the options.
Definition in file game_state.h.
| #define Battle_SetStart | ( | mode | ) |
Sets the battle start type.
Definition at line 164 of file game_state.h.
Referenced by AltinPeak_FightRoom1Beast(), AltinPeak_FightRoom3Beast(), AltinPeak_FightRoom5Beast(), AltinPeak_StartHydrosBattle(), Battle_RunEncounter(), DebugBattle_RunMenu(), Event_ConfrontSaturosAndMenardi(), Event_DouseStorm(), Event_DouseTravelMarker(), Event_EnterGuardedRoom(), Event_FightEastGuard(), Event_FightFinalGuards(), Event_FightHallGuard(), Event_FightThreeGuards(), Event_FightTret(), Event_FightWestGuard(), Event_FindHammet(), Event_FreeRooferAndConfrontThieves(), Event_ReachArena(), Event_ReachArena(), Event_ReachArena(), Field_SearchTile(), FightSandMonster(), LinkLobby_EnterBattle(), MercuryLighthouseAerie_ConfrontSaturos(), MercuryLighthouseEntrance_FightLizardMan(), MogallForest_FirstArea_ApeAttacks(), MogallForest_KillerApeAttacks(), MogallForest_ThirdArea_ApeAttacks(), TolbiShipDeck_JumpIntoKrakenBattle(), TolbiShipInteriors_FightMonstersInHold(), ValeHome_FightTravelers(), VaultInteriors_ConfrontThievesAgain(), and VenusLighthouseAerie_CombineSaturosAndMenardi().
| STATIC_ASSERT | ( | sizeof(struct GameState) | = =0xd20 | ) |
|
extern |
Referenced by AltinPeak_RestoreRoom1(), AltinPeak_RestoreRoom10(), AltinPeak_RestoreRoom11(), AltinPeak_RestoreRoom3(), AltinPeak_RestoreRoom4(), AltinPeak_RestoreRoom5(), AltinPeak_RestoreRoom6(), AltinPeak_RestoreRoom9(), AltinPeak_RollLog(), AltinPeak_StopLogAndJumpOff(), AltmillerCave_EndReveal(), AltmillerCave_GetEvents(), AltmillerCave_GetPlacements(), AltmillerCave_HopSelectedActor(), AltmillerCave_Initialize(), AltmillerCave_StartReveal(), Audio_PlayCueFromEventWork(), BabiLighthouse_ClimbOrAdvancePair(), BabiLighthouse_SetupScene(), BabiPalace_ApplyEntryState(), Battle_ApplyPresetItemsAndFlags(), Battle_RunEncounter(), Battle_SelectSceneBackdrop(), Battle_SelectTerrainBackdrop(), BattleEffect_PauseObject(), BattleEffect_UpdatePhasedRadialParticle(), BattleEscape_CheckSuccess(), BattleFx_ClearChildValueOnMismatch(), BattleFx_DispatchRequestKind(), BattleFx_FindMatchingEvent(), BattleFx_GetResourceId(), BattleFx_LoadActionEffectResources(), BattleFx_ResumeObject(), BattleFx_Run(), BattleFx_RunAngledApproachPhases(), BattleFx_RunMercuryDjinnCapture(), BattleFx_RunVenusDjinnCapture(), BattleFx_SelectBattleCue(), BattleFx_SetupResourcesAndWindow(), BattleFx_StartEffectObject22(), BattleFx_StartFadeOverlay(), BattleFx_UpdateDescendingOrbitObject(), BattleFx_UpdateDescendingParticleNegativeArc(), BattleFx_UpdateDescendingParticlePositiveArc(), BattleFx_UpdatePairedArcSpawner(), BattleFx_UpdateRadialSpread(), BattleFx_UpdateRandomTargetParticle(), BattleParty_ApplyDrain(), BattleParty_ApplyHealthDelta(), BattleParty_ApplyStatusDamage(), BattleParty_PrepareActiveOwners(), BattleSpoils_Clear(), Bilibin_GetEntrances(), Bilibin_GetEvents(), Bilibin_GetPlacements(), Bilibin_GetRegions(), Bilibin_Initialize(), Bilibin_RestoreRaisedEntrance(), Bilibin_RestoreVillageActors(), Bilibin_UpdateRiverEffect(), BilibinCave_GetEntrances(), BilibinCave_GetEvents(), BilibinCave_GetPlacements(), BilibinCave_Initialize(), Clear_GetSaveRecoveryBlockMask(), Clear_LoadBackground(), Clear_PackPasswordData(), CollapseFromHeat(), ColosseumEntrance_ApplyArrivalState(), ColosseumEntrance_GetEntrances(), ColosseumEntrance_GetEvents(), ColosseumEntrance_GetPlacements(), ColosseumEntrance_Initialize(), Colosso_AskDoneCheering(), Colosso_ControlCharacterAlone(), Colosso_FindActorAhead(), Colosso_GreetAtStage(), Colosso_OfferCheeringSpot(), Colosso_RaiseTakePlaceOnPsynergy(), Colosso_RepeatStageNumber(), Colosso_RestoreCompetitor(), Colosso_TakePlaceForMatch(), ColossoLog_CollectFinishEquipment(), ColossoLog_Initialize(), ColossoLog_PushActorAhead(), ColossoLog_RunCompetitorTalk(), ColossoLog_UpdateEastEndCollision(), ColossoLogRollingStage_SceneTask(), ColossoRiver_CollectFinishItem(), ColossoRiver_Initialize(), ColossoRiver_MoveActorPairByOffset(), ColossoRiver_PushObjectAhead(), ColossoWall_ApproachFinishAndTakeItem(), ColossoWall_Initialize(), ColossoWall_MovePusherAndLog(), ColossoWall_PushAdjacentObstacle(), ColossoWall_PushBlockToCell(), ColossoWall_RollLogToCell(), ColossoWall_UpdateMovingPlatforms(), CommandTable_ConfigureCommandList(), CrossboneIsle_LeaveClearedRoom(), CrossboneIsle_MoveSelectedActorAndBlock(), CrossboneIsle_RestoreMovedRoomBlock(), CrossboneIslePillarRooms_TryJumpAcrossPillar(), CrossboneIslePlatformRooms_CheckFifthPursuerTrigger(), CrossboneIslePlatformRooms_CheckFirstPursuerTrigger(), CrossboneIslePlatformRooms_CheckSecondPursuerTrigger(), CrossboneIslePlatformRooms_TrackPursuerColumn(), Debug_SelectAbilityPair(), DebugBattle_RunMenu(), DebugBattle_ViewMessages(), DebugMenu_BrowseMessageRange(), DisplayTransition_UpdateScanlineTable(), Djinn_AddToLeastLoadedOwner(), Djinn_GetRecoveryTable(), Djinn_ResolvePendingEvent(), Djinn_RunBattleStartHop(), Djinn_RunJupiterJoinEffect(), Djinn_RunMarsJoinEffect(), DjinnMenu_Run(), DjinnMenu_SelectDjinn(), EffectRuntime_RunRisingObjectSequence(), Encounter_SelectEnemyGroup(), Encounter_SelectSceneZones(), Event_BaneKeepsAway(), Event_ClearInvalidPackedValues(), Event_DodgeFourthPursuer(), Event_DodgeThirdPursuer(), Event_DouseStorm(), Event_DouseTravelMarker(), Event_EnterGuardedRoom(), Event_FightFinalGuards(), Event_FinishAirborneTravel(), Event_GetSpecialValue(), Event_GuardsBlockGate(), Event_IodemAsksWhyTurningBack(), Event_KiteKeepsAway(), Event_MeetCorona(), Event_MeetHail(), Event_MeetVine(), Event_MoveBlock(), Event_PassNorthWallOpening(), Event_PassSouthWallOpening(), Event_PushBlock(), Event_PushBlock(), Event_PushPipeworksBlock(), Event_ReadLeftGuardsThoughts(), Event_ReadMindAboutGoldenStatue(), Event_RequestDestination(), Event_RevealEnds(), Event_RevealStarts(), Event_RideLog(), Event_RideMovingSidewalk(), Event_RollLogEastWest(), Event_RollLogNorthSouth(), Event_RollLongLog(), Event_RunObjectHookAndWait(), Event_RunRisingSequence(), Event_SetDefeatDestination(), Event_SetDestination(), Event_SetNextDestination(), Event_SetSavedDestination(), Event_StepOffScales(), Event_StepOnScales(), Event_StormCarriesPartyAway(), Event_TalkAboutGoldenStatue(), Event_TalkToBoardWalkAttendant(), Event_TalkToBridgeAttendant(), Event_TalkToFreeClimbAttendant(), Event_TalkToHealerOnVisit(), Event_TalkToLeftGuard(), Event_TalkToLogRollingAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToMovingSidewalkAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToRightGuard(), Event_TalkToRockAttendant(), Event_TalkToScalesAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), Event_TalkToWallAttendant(), Event_TalkToWallWedgeAttendant(), FallIntoPit(), Field_CheckConfiguredKeys(), Field_ClimbDown(), Field_ClimbUp(), Field_FindItemEvent(), Field_GetCollisionAheadOfLeader(), Field_ProcessStep(), Field_RequestBattleFromEncounterTable(), Field_RequestDjinnBattle(), Field_RunPsynergyEvents(), Field_RunPushTileEvent(), Field_RunScene(), Field_SearchTile(), Field_StartEncounterTransition(), Field_TryJumpForward(), Field_UpdateObjectVisibilityBounds(), Field_UseItem(), Field_UsePsynergy(), FieldEffect_SpawnNearbyMarkers(), FieldEffect_WatchLeaderDistance(), FieldEvent_AskYesNoAndShowResponse(), FieldEvent_Begin(), FieldEvent_End(), FieldEvent_ShowStatusMessage(), FieldFx_BlinkAvoidCaster(), FieldFx_CheckCloakTile(), FieldFx_EndCloak(), FieldFx_ResumeCloakCheck(), FieldFx_RunAvoid(), FieldFx_RunForce(), FieldFx_RunFrost(), FieldFx_RunReveal(), FieldFx_StartCloak(), FieldObject_PlaceSceneActors(), FieldObject_UpdatePlayerControl(), Fuchin_EndRevealLighting(), Fuchin_RebuildFourthRoomPlatforms(), Game_ResetForNewGame(), GameFlag_RefreshLureCap(), GameState_InitDefaults(), GomaCavePillar_FidgetWhileForgeFights(), HammetPalace_SetUpEntrance(), HeatGauge_CountStep(), HeatGauge_Draw(), HeatGauge_RaiseQuarterTriggers(), Imil_GetEntrances(), Imil_GetEvents(), Imil_GetPlacements(), Imil_Initialize(), Imil_RunIceSlide(), Imil_SlideActorAcrossIce(), ImilFuchinFalls_GetEntrances(), ImilFuchinFalls_GetEvents(), ImilFuchinFalls_GetPlacements(), ImilFuchinFalls_HopOnTrigger(), ImilFuchinFalls_Initialize(), ImilFuchinFalls_PrepareRoom(), ImilFuchinFalls_RebuildPlatformRoom(), Inn_CheckIn(), InventorySnapshot_Restore(), InventorySnapshot_Save(), ItemDisplay_RaiseAboveLeader(), ItemLevel_RunLevelEditor(), Kalay_GetEntrances(), Kalay_GetEvents(), Kalay_GetPlacements(), Kalay_Initialize(), Kalay_PrepareCave(), Kalay_PreparePalaceGate(), Kalay_PrepareTown(), Kalay_PrepareTunnel(), Kalay_StartWindowTransition(), KalayInteriors_ApplyRoomState(), KalayInteriors_GetEntrances(), KalayInteriors_GetEvents(), KalayInteriors_GetPlacements(), KalayInteriors_Initialize(), KalayTolbiDocks_GetEntrances(), KalayTolbiDocks_GetEvents(), KalayTolbiDocks_GetPlacements(), KalayTolbiDocks_Initialize(), KalayTolbiDocks_OpenDoorAndLeave(), KalayTolbiDocks_PrepareKalayDocks(), KalayTolbiDocks_PrepareTolbiDocks(), KalayTolbiDocks_TalkToTicketSeller(), Kolima_GetEntrances(), Kolima_GetEvents(), Kolima_GetPlacements(), Kolima_GetRegions(), Kolima_Initialize(), KolimaForest_HopEast(), KolimaForestBridge_Initialize(), KolimaForestTree_Initialize(), KolimaInteriors_Initialize(), Lalivero_Initialize(), LaliveroInteriors_GetEvents(), LaliveroInteriors_GetPlacements(), LaliveroInteriors_GetRegions(), LamakanDesert_GetEntrances(), LamakanDesert_GetPlacements(), LamakanDesert_Initialize(), Leader_StopMoving(), LemurianShip_SetupScene(), LinkLobby_ChooseBattleMode(), LinkLobby_ChooseDebugPartyPreset(), LinkLobby_CopyPartyOwnerIds(), LinkLobby_EnterBattle(), LinkLobby_ExplainPartyOrder(), LinkLobby_PartyContains(), LinkLobby_ReportMonsterRecord(), LinkLobby_ReportWinTallies(), LinkLobby_RunRoundResult(), LinkLobby_SelectPlacements(), LinkLobby_TalkByProgress(), LinkLobby_TalkToAttendant(), LuckyDice_Run(), Lunpa_WatchForUncloakedParty(), LunpaFortress_CheckEntranceGuard(), LunpaFortress_CheckFirstEntranceSentry(), LunpaFortress_CheckSecondEntranceSentry(), LunpaFortress_CheckUpperHallGuard(), LunpaFortress_InitializeGuardRooms(), LunpaFortress_InitializeOuterRooms(), LunpaFortress_UpdateHallGuardDetection(), LunpaFortress_UpdateOuterGuardDetection(), LunpaFortress_UpdatePairedGuardDetection(), Map_UpdateWorldMapMarkers(), Marker_MoveLeaderAway(), Menu_FindShortcutEntries(), Menu_RunSelection(), Menu_RunWorkspaceOptions(), MercuryLighthouse_ChargeLights(), MercuryLighthouse_EnterRisingPassage(), MercuryLighthouse_GetEntrances(), MercuryLighthouse_GetEvents(), MercuryLighthouse_GetPlacements(), MercuryLighthouse_HopAcrossPool(), MercuryLighthouse_Initialize(), MercuryLighthouse_RestoreLights(), MercuryLighthouse_SparkleAtLeader(), MercuryLighthouse_SpawnSparkPair(), MercuryLighthouseAerie_GetPlacements(), MercuryLighthouseAerie_Initialize(), MercuryLighthouseEntrance_Initialize(), MogallForest_GetEntrances(), MogallForest_GetEvents(), MogallForest_GetPlacements(), MogallForest_Initialize(), Motion_LaunchFromFocusedObject(), Object_GetTriggerTileAheadOfCurrent(), Object_MoveOnWorldMap(), ObjectEffect_EndContextEffect(), ObjectEffect_PrepareContextEffect(), ObjectEffect_RunPendingFlagEvent(), ObjectMotion_SetActionCallback(), ObjectTable_ResetForObject(), ObjectTable_Restore(), OptionMenu_InitializeWork(), OptionMenu_LowerSetting(), OptionMenu_RaiseSetting(), OptionMenu_StepWindowHue(), OwnerAction_RunCompareLoop(), Party_AddActiveOwner(), Party_AdjustCoins(), Party_CheckItemLimit(), Party_EndChildhood(), Party_GetAverageLevel(), Party_ListActiveOwners(), Party_RemoveActiveOwner(), Party_RemoveOwnerRestored(), Party_RestoreHpPp(), Party_RestorePpOfLitElements(), PartyInventory_FindOwner(), PartyInventory_GiveItem(), PartyInventory_HasSpace(), PartyStatusDraw(), PsynergyMenu_DrawShortcuts(), PsynergyMenu_SetShortcut(), ReelGame_Run(), ReelGame_RunFrame(), ReelGame_Start(), ResetSceneTransitionEffect(), Reveal_HideSecrets(), Reveal_ShowSecrets(), Sanctum_GetEvents(), Sanctum_GetPlacements(), Sanctum_Initialize(), Sanctum_RunPartyService(), SaveMenu_Run(), SaveMenu_SelectSlot(), SaveState_BuildSummaryHeader(), SaveState_LoadRecordIntoWork(), Scene_ApplyEntrance(), Scene_FindActorTalkEvent(), Scene_FindEvent(), Scene_GetEntrances(), Scene_GetEvents(), Scene_GetExits(), Scene_GetPlacements(), Scene_GetRegions(), Scene_Initialize(), Scene_LoadOverlay(), Scene_ResetFlagsOnEnter(), Scene_ResolveInteractionResult(), Scene_ReturnFromBattle(), Scene_RunEntrySetup(), Scene_SetDefeatReturnPoint(), Scene_TakeExit(), Scene_TalkToActor(), SceneActor_PlacePairAtOffset(), Shop_BuySpecialItem(), Shop_DrawMoney(), Shop_RepairItem(), Shop_SelectBuy(), Shop_SelectBuyNum(), SlideDownDune(), SolSanctumElementalStarRoom_Initialize(), SolSanctumEntrance_GetEntrances(), SolSanctumEntrance_GetEvents(), SolSanctumEntrance_GetPlacements(), SolSanctumEntrance_Initialize(), SolSanctumEntrance_RestoreInteriorState(), SolSanctumEruption_Initialize(), SolSanctumLunaSolRooms_Initialize(), SolSanctumStatue_Initialize(), STATIC_ASSERT(), SuhallaDesert_CatchInStorm(), SuhallaDesert_ChaseLeader(), SuhallaDesert_RaiseStorm(), SuhallaDesert_UpdateCaptureTimer(), Title_Run(), TolbiInteriors_ApplyEntryState(), TolbiShipDeck_ApplyEntryState(), TolbiShipDeck_JumpIntoKrakenBattle(), TolbiShipDeck_SetUpAtAnchor(), TolbiShipInteriors_ApplyEntryState(), TolbiShipInteriors_SelectEntrances(), TolbiShipInteriors_SelectEvents(), TolbiShipInteriors_SelectPlacements(), TolbiShipMast_AnnounceLand(), TolbiShipMast_Initialize(), TolbiSpring_GetEvents(), TolbiSpring_GetPlacements(), TolbiSpring_Initialize(), TolbiSpring_OfferLuckyDice(), TolbiSpring_RunSpringGame(), TolbiSpring_RunToss(), TolbiSpring_SelectLuckyWheelsPrize(), TolbiSpring_TossCoinOrMedal(), TretTreeBranch_ShiftLeaderAndCameraByCells(), TretTreeInteriors_EnterRoom(), TretTreeInteriors_StepOnCrackedFloor(), TunnelRuins_GetEntrances(), TunnelRuins_GetEvents(), TunnelRuins_GetPlacements(), TunnelRuins_GetRegions(), TunnelRuins_Initialize(), TunnelRuins_UpdateTrackedActor(), Ui_SetBank15PaletteAndClearRenderMode(), Ui_SetMessageVoiceFromActor(), UiText_BuildRenderEntries(), UiText_DrawWorkValueWithLabel(), UiText_OpenMessageAtObject(), UiText_ShowLocalizedMessageAndWait(), UiText_ShowPositionedMessageAndWait(), UiTimedNotice_Create(), UiWork_StepChannelScript(), UnitGet(), Vale_GetPlacements(), Vale_Initialize(), ValeBabi_GetEvents(), ValeBabi_GetPlacements(), ValeBabi_Initialize(), ValeCave_ApplyEntryState(), ValeCave_GetEntrances(), ValeCave_GetEvents(), ValeCave_GetPlacements(), ValeCave_Initialize(), ValeEruption_Initialize(), ValeHome_GetEvents(), ValeHome_GetPlacements(), ValeHome_Initialize(), ValeInteriors_Initialize(), ValeKraden_Initialize(), ValeStorm_Initialize(), VenusLighthouse_DispatchPushScript(), VenusLighthouse_StepActorWithDust(), VenusLighthouseAerie_Initialize(), Village_ApplyWaterLevel(), WindowColor_ComputeTint(), WorldMap_GetPlacements(), WorldMap_Initialize(), WorldMap_JitterTransitionCamera(), WorldMap_PlayLighthouseTransition(), WorldMap_RunBlackOrbScene(), WorldMap_SelectExitByX(), WorldMap_SelectExitByZ(), WorldMap_ShowEndingScene(), WorldMap_StartAirborneTravel(), WorldMap_UpdateAirborneTravelTimer(), WorldMap_UpdateLocationContacts(), Xian_Initialize(), XianInteriors_GetEvents(), XianInteriors_GetPlacements(), and XianInteriors_Initialize().