|
Digimon World 3 decomp
The European version, SLES_039.36
|
The helpers the screens call through STSTATUS_data and STSTATUS_areaFuncs: the towns, the item lists, equipping, the area; and the last object's data, which all the objects read. More...
#include "menus/field_menu.h"Go to the source code of this file.
Functions | |
| s32 * | STSTATUS_getTowns (s32 list, s32 index) |
| The towns the map shows (a list up to 0), by STSTATUS_getGameHalf and GAME.progress (STSTATUS_townLists) | |
| s32 | STSTATUS_listItems (s32 list, s16 *out) |
| Puts the owned items of a list in OUT and returns how many: below 5 the item lists of ITEM_FUNCS, 5 the equipment of STSTATUS_equipKinds, 6 and 7 the items of kinds 4 and 5 (STSTATUS_slotLists) | |
| s32 | STSTATUS_listEquipItems (s16 *out) |
| The items whose kind (WeaponData.kind) is one of STSTATUS_equipKinds's four. | |
| s32 | STSTATUS_listItemsOfKind (s32 kind, s16 *out) |
| The items of one kind (WeaponData.kind) | |
| s32 | STSTATUS_canEquip (s32 partner, s32 slot, s32 item) |
| Whether a partner can put an item in an equipment slot (-1: none): its partners has a bit per partner; kind 1 can't go in slot 3, nor 2 in slot 2. | |
| void | STSTATUS_equip (s32 partner, s32 slot, s32 item) |
| Puts an item in a partner's equipment slot (0 or less: empties it), moving the counts between GAME.items and GAME.equippedItems. | |
| s32 | STSTATUS_getGameHalf (void) |
| 1 on the field maps of the second half of the game (0x270 on), 0 on those of the first, -1 past them (0x2D7 on) | |
| s32 | STSTATUS_getArea (void) |
| The map's area of the current field map (STSTATUS_mapAreas) | |
| void | STSTATUS_getVisitedAreas (s32 *out) |
| Sets OUT[area] to 1 for the map's areas of this half of the game that have a field map whose flag (0x2000 + the map's low byte) is set. | |
Variables | |
| s32 | STSTATUS_cursorFrames [] |
| The map cursor's frames. | |
| Task *(* | STSTATUS_screens [2][7])(FieldMenuScreen *menu, s32 extra) |
| The field menu's screens, by FIELD_MENU_CHOICE. | |
| PartnerAnim | STSTATUS_partnerAnims [] |
| The partners' portrait animations. | |
| WindowPos | STSTATUS_layout [] |
| Where the screens' windows go, and their strings. | |
| StatusMapSpot | STSTATUS_spots [] |
| The map's areas (STSTATUS_mapAreas), from 1. | |
| StatusMapPoint | STSTATUS_towns [] |
| Where the map's towns are, from 1. | |
| s32 | STSTATUS_townList0 [] |
| The towns the map shows at each stage of the game, up to 0. | |
| s32 | STSTATUS_townList1 [] |
| s32 | STSTATUS_townList2 [] |
| s32 | STSTATUS_townList3 [] |
| s32 | STSTATUS_noTowns = 0 |
| s32 * | STSTATUS_townLists [][5] |
| The towns the map shows, by STSTATUS_getGameHalf and GAME.progress. | |
| StatusData | STSTATUS_data |
| u8 | STSTATUS_equipKinds [] |
| The item kinds (WeaponData.kind) of item list 5. | |
| u8 | STSTATUS_mapAreas [] |
| The map's area of each field map, by GAME.fieldMode's low byte (bit 7 marks the late game's maps, 0x70 on; 0xFF: none) | |
| StatusAreaFuncs | STSTATUS_areaFuncs |
| Where the game is. | |
The helpers the screens call through STSTATUS_data and STSTATUS_areaFuncs: the towns, the item lists, equipping, the area; and the last object's data, which all the objects read.
Definition in file helpers.c.
The items whose kind (WeaponData.kind) is one of STSTATUS_equipKinds's four.
Definition at line 32 of file helpers.c.
Referenced by STSTATUS_listItems().
The items of one kind (WeaponData.kind)
Definition at line 61 of file helpers.c.
Referenced by STSTATUS_listItems().
Puts an item in a partner's equipment slot (0 or less: empties it), moving the counts between GAME.items and GAME.equippedItems.
Kind 7 takes slots 2 and 3; kind 8 replaces one in slots 4 and 5 with the same group
< takes slots 2 and 3
< takes slots 2 and 3
< one of its group at a time
< takes slots 2 and 3
| s32 STSTATUS_getGameHalf | ( | void | ) |
1 on the field maps of the second half of the game (0x270 on), 0 on those of the first, -1 past them (0x2D7 on)
Definition at line 172 of file helpers.c.
Referenced by STSTATUS_getVisitedAreas().
| s32 STSTATUS_getArea | ( | void | ) |
| void STSTATUS_getVisitedAreas | ( | s32 * | out | ) |
| s32 STSTATUS_cursorFrames[] |
The map cursor's frames.
the map cursor's frames
Definition at line 210 of file helpers.c.
Referenced by STSTATUS_drawMapScreen().
| Task *(* STSTATUS_screens[2][7])(FieldMenuScreen *menu, s32 extra) | ( | FieldMenuScreen * | menu, |
| s32 | extra | ||
| ) |
The field menu's screens, by FIELD_MENU_CHOICE.
Definition at line 215 of file helpers.c.
Referenced by STSTATUS_runScreens().
| PartnerAnim STSTATUS_partnerAnims[] |
The partners' portrait animations.
| WindowPos STSTATUS_layout[] |
Where the screens' windows go, and their strings.
| StatusMapSpot STSTATUS_spots[] |
| StatusMapPoint STSTATUS_towns[] |
Where the map's towns are, from 1.
| s32 STSTATUS_townList0[] |
| s32 STSTATUS_townList1[] |
| s32 STSTATUS_townList2[] |
| s32 STSTATUS_townList3[] |
| s32* STSTATUS_townLists[][5] |
The towns the map shows, by STSTATUS_getGameHalf and GAME.progress.
Definition at line 352 of file helpers.c.
Referenced by STSTATUS_getTowns().
| StatusData STSTATUS_data |
Definition at line 356 of file helpers.c.
Referenced by STSTATUS_animateItemPortraits(), STSTATUS_animateSortPortraits(), STSTATUS_animateTechPortraits(), STSTATUS_chooseEquipItem(), STSTATUS_chooseEquipSlot(), STSTATUS_chooseItemMember(), STSTATUS_chooseSecondToSwap(), STSTATUS_chooseTech(), STSTATUS_closeBattleMessage(), STSTATUS_closeCardScreen(), STSTATUS_closeCardScreenAlone(), STSTATUS_closeDemoScreen(), STSTATUS_closeDemoScreenAlone(), STSTATUS_closeDigivolvePanel(), STSTATUS_closeDigivolveQuestion(), STSTATUS_closeEntryTechs(), STSTATUS_closeEquipList(), STSTATUS_closeEquipPanel(), STSTATUS_closeEquipSlots(), STSTATUS_closeEquipTitle(), STSTATUS_closeFirstOfThreeItemPages(), STSTATUS_closeFirstOfTwoItemPages(), STSTATUS_closeFirstSortPage(), STSTATUS_closeFirstStatusPage(), STSTATUS_closeFirstTechPage(), STSTATUS_closeItemScreen(), STSTATUS_closeItemScreenAlone(), STSTATUS_closeItemScreenForList(), STSTATUS_closeItemTitle(), STSTATUS_closeMemberPages(), STSTATUS_closePartnerTech(), STSTATUS_closeQuestionForBattle(), STSTATUS_closeQuestionForTechs(), STSTATUS_closeSecondMemberPage(), STSTATUS_closeSecondOfThreeCardPages(), STSTATUS_closeSecondOfThreeDemoPages(), STSTATUS_closeSecondOfThreeItemPages(), STSTATUS_closeSecondOfThreeSortPages(), STSTATUS_closeSecondOfThreeStatusPages(), STSTATUS_closeSecondOfThreeTechPages(), STSTATUS_closeSecondOfTwoCardPages(), STSTATUS_closeSecondOfTwoDemoPages(), STSTATUS_closeSecondOfTwoItemPages(), STSTATUS_closeSecondOfTwoSortPages(), STSTATUS_closeSecondOfTwoStatusPages(), STSTATUS_closeSecondOfTwoTechPages(), STSTATUS_closeSlotItem(), STSTATUS_closeSlotsForPartnerTech(), STSTATUS_closeSlotsForQuestion(), STSTATUS_closeSortScreen(), STSTATUS_closeSortScreenAlone(), STSTATUS_closeStatusScreen(), STSTATUS_closeStatusScreenAlone(), STSTATUS_closeTechList(), STSTATUS_closeTechScreen(), STSTATUS_closeTechScreenAlone(), STSTATUS_closeThirdCardPage(), STSTATUS_closeThirdDemoPage(), STSTATUS_closeThirdItemPage(), STSTATUS_closeThirdMemberPage(), STSTATUS_closeThirdSortPage(), STSTATUS_closeThirdStatusPage(), STSTATUS_closeThirdTechPage(), STSTATUS_closeUsedItem(), STSTATUS_confirmItemUsed(), STSTATUS_createCardWindows(), STSTATUS_createDemoWindows(), STSTATUS_createDigivolveWindows(), STSTATUS_createItemWindows(), STSTATUS_createSortWindows(), STSTATUS_createStatusWindows(), STSTATUS_createTechWindows(), STSTATUS_drawCardScreen(), STSTATUS_drawDemoScreen(), STSTATUS_drawItemScreen(), STSTATUS_drawMapScreen(), STSTATUS_drawSortScreen(), STSTATUS_drawStatusScreen(), STSTATUS_drawTechScreen(), STSTATUS_endBattleMessage(), STSTATUS_endDigivolvePanel(), STSTATUS_enterDigivolveQuestion(), STSTATUS_enterEquipList(), STSTATUS_enterQuestionAgain(), STSTATUS_enterSlotsAgain(), STSTATUS_enterTechList(), STSTATUS_fadeItemInfo(), STSTATUS_itemInfoFaded(), STSTATUS_listEquipItems(), STSTATUS_listItemsOfKind(), STSTATUS_openBattleMessage(), STSTATUS_openCardScreenAlone(), STSTATUS_openDemoScreenAlone(), STSTATUS_openDigivolveQuestion(), STSTATUS_openDigivolveSlots(), STSTATUS_openDigivolveStats(), STSTATUS_openDigivolveTitle(), STSTATUS_openEntryTechs(), STSTATUS_openEquipList(), STSTATUS_openEquipSlots(), STSTATUS_openEquipTitle(), STSTATUS_openFirstMemberPage(), STSTATUS_openFirstOfThreeCardPages(), STSTATUS_openFirstOfThreeDemoPages(), STSTATUS_openFirstOfThreeItemPages(), STSTATUS_openFirstOfThreeStatusPages(), STSTATUS_openFirstOfThreeTechPages(), STSTATUS_openFirstOfTwoCardPages(), STSTATUS_openFirstOfTwoDemoPages(), STSTATUS_openFirstOfTwoItemPages(), STSTATUS_openFirstOfTwoStatusPages(), STSTATUS_openFirstOfTwoTechPages(), STSTATUS_openFirstSortPage(), STSTATUS_openItemList(), STSTATUS_openItemScreenAlone(), STSTATUS_openPartnerTech(), STSTATUS_openSecondMemberPage(), STSTATUS_openSecondOfThreeCardPages(), STSTATUS_openSecondOfThreeDemoPages(), STSTATUS_openSecondOfThreeItemPages(), STSTATUS_openSecondOfThreeStatusPages(), STSTATUS_openSecondOfThreeTechPages(), STSTATUS_openSecondOfTwoCardPages(), STSTATUS_openSecondOfTwoDemoPages(), STSTATUS_openSecondOfTwoItemPages(), STSTATUS_openSecondOfTwoStatusPages(), STSTATUS_openSecondOfTwoTechPages(), STSTATUS_openSecondSortPage(), STSTATUS_openSlotItem(), STSTATUS_openStatusScreenAlone(), STSTATUS_openTechList(), STSTATUS_openTechScreenAlone(), STSTATUS_openThirdCardPage(), STSTATUS_openThirdDemoPage(), STSTATUS_openThirdItemPage(), STSTATUS_openThirdMemberPage(), STSTATUS_openThirdSortPage(), STSTATUS_openThirdStatusPage(), STSTATUS_openThirdTechPage(), STSTATUS_reopenDigivolveQuestion(), STSTATUS_reopenDigivolveSlots(), STSTATUS_reopenItemList(), STSTATUS_reopenItemOptions(), STSTATUS_reopenSlotsAfterTech(), STSTATUS_runCardScreen(), STSTATUS_runDemoScreen(), STSTATUS_runDigivolvePanel(), STSTATUS_runEquipPanel(), STSTATUS_runItemList(), STSTATUS_runItemScreen(), STSTATUS_runStatusChoice(), STSTATUS_scrollUpForBattle(), STSTATUS_scrollUpForPartnerTech(), STSTATUS_scrollUpForTechs(), STSTATUS_showBattleMessage(), STSTATUS_showCardPage(), STSTATUS_showChosenPage(), STSTATUS_showDemoPage(), STSTATUS_showEquipList(), STSTATUS_showItemLists(), STSTATUS_showItemPage(), STSTATUS_showMapArea(), STSTATUS_showPartnerTech(), STSTATUS_showSortPage(), STSTATUS_showStatusPage(), STSTATUS_showSwappedPages(), STSTATUS_showTechPage(), STSTATUS_startCardScreen(), STSTATUS_startDemoScreen(), STSTATUS_startItemScreen(), STSTATUS_startStatusScreen(), STSTATUS_startTechScreen(), STSTATUS_swapMembers(), STSTATUS_updateCardScreen(), STSTATUS_updateDemoScreen(), STSTATUS_updateMapScreen(), STSTATUS_updateMenu(), STSTATUS_updateSortScreen(), STSTATUS_updateStatusScreen(), and STSTATUS_updateTechScreen().
| u8 STSTATUS_equipKinds[] |
The item kinds (WeaponData.kind) of item list 5.
the item kinds of item list 5
Definition at line 371 of file helpers.c.
Referenced by STSTATUS_listEquipItems().
| u8 STSTATUS_mapAreas[] |
The map's area of each field map, by GAME.fieldMode's low byte (bit 7 marks the late game's maps, 0x70 on; 0xFF: none)
the map's area of each field map
Definition at line 377 of file helpers.c.
Referenced by STSTATUS_getArea(), and STSTATUS_getVisitedAreas().
| StatusAreaFuncs STSTATUS_areaFuncs |
Where the game is.
Definition at line 410 of file helpers.c.
Referenced by STSTATUS_createMapScreen(), STSTATUS_createMenu(), and STSTATUS_updateMapScreen().