Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
Cursor Struct Reference

A menu cursor: a text window showing one of the CURSOR_FRAMES glyphs. More...

#include <engine/text.h>

Data Fields

s32 id
 
s32 key1
 
s32 key2
 
s32 state
 
s32 substate
 
s32 step
 
s32 counter
 
s32 paused
 
s32 childCount
 
void * children
 
void(* setState )(struct Cursor *task, s32 state)
 
void(* setSubstate )(struct Cursor *task, s32 substate)
 
void(* setStep )(struct Cursor *task, s32 step)
 
void(* setCounter )(struct Cursor *task, s32 counter)
 
void(* nextState )(struct Cursor *task)
 
void(* nextSubstate )(struct Cursor *task)
 
void(* nextStep )(struct Cursor *task)
 
void(* tickCounter )(struct Cursor *task)
 
void(* update )()
 
void(* destroy )(struct Cursor *task)
 
s32 layerId
 
s32 depth
 
s32 x
 
s32 y
 
s32 palette
 PALETTE_*, its text window's.
 
s32 visible
 
s32 dirty
 
s32 frame
 
s32 time
 
s32 idleDelay
 
s32 frameDelay
 
s32 still
 stay on frame 0
 
void(* setVisible )()
 (cursor, visible)
 
void(* setPos )()
 (cursor, x, y)
 
void(* setPalette )()
 
void(* setIdleDelay )()
 
void(* setFrameDelay )()
 
void(* setStill )()
 

Detailed Description

A menu cursor: a text window showing one of the CURSOR_FRAMES glyphs.

It waits idleDelay vsyncs, then plays the five frames (substate 1) at frameDelay vsyncs each.

Definition at line 19 of file text.h.

Field Documentation

◆ id

s32 Cursor::id

Definition at line 20 of file text.h.

◆ key1

s32 Cursor::key1

Definition at line 20 of file text.h.

◆ key2

s32 Cursor::key2

Definition at line 20 of file text.h.

◆ state

s32 Cursor::state

Definition at line 20 of file text.h.

Referenced by updateCursor().

◆ substate

s32 Cursor::substate

Definition at line 20 of file text.h.

Referenced by cursorSetVisible(), and updateCursor().

◆ step

s32 Cursor::step

Definition at line 20 of file text.h.

◆ counter

s32 Cursor::counter

Definition at line 20 of file text.h.

◆ paused

s32 Cursor::paused

Definition at line 20 of file text.h.

◆ childCount

s32 Cursor::childCount

Definition at line 20 of file text.h.

◆ children

void* Cursor::children

Definition at line 20 of file text.h.

◆ setState

void(* Cursor::setState) (struct Cursor *task, s32 state)

Definition at line 20 of file text.h.

◆ setSubstate

void(* Cursor::setSubstate) (struct Cursor *task, s32 substate)

Definition at line 20 of file text.h.

◆ setStep

void(* Cursor::setStep) (struct Cursor *task, s32 step)

Definition at line 20 of file text.h.

◆ setCounter

void(* Cursor::setCounter) (struct Cursor *task, s32 counter)

Definition at line 20 of file text.h.

◆ nextState

void(* Cursor::nextState) (struct Cursor *task)

Definition at line 20 of file text.h.

Referenced by updateCursor().

◆ nextSubstate

void(* Cursor::nextSubstate) (struct Cursor *task)

Definition at line 20 of file text.h.

◆ nextStep

void(* Cursor::nextStep) (struct Cursor *task)

Definition at line 20 of file text.h.

◆ tickCounter

void(* Cursor::tickCounter) (struct Cursor *task)

Definition at line 20 of file text.h.

◆ update

void(* Cursor::update) ()

Definition at line 20 of file text.h.

◆ destroy

void(* Cursor::destroy) (struct Cursor *task)

Definition at line 20 of file text.h.

◆ layerId

s32 Cursor::layerId

Definition at line 21 of file text.h.

Referenced by createCursor(), and updateCursor().

◆ depth

s32 Cursor::depth

Definition at line 22 of file text.h.

Referenced by createCursor(), and updateCursor().

◆ x

s32 Cursor::x

Definition at line 23 of file text.h.

Referenced by createCursor(), cursorSetPos(), and updateCursor().

◆ y

s32 Cursor::y

Definition at line 24 of file text.h.

Referenced by createCursor(), cursorSetPos(), and updateCursor().

◆ palette

s32 Cursor::palette

PALETTE_*, its text window's.

Definition at line 25 of file text.h.

Referenced by cursorSetPalette(), and updateCursor().

◆ visible

s32 Cursor::visible

Definition at line 26 of file text.h.

Referenced by createCursor(), cursorSetVisible(), and updateCursor().

◆ dirty

s32 Cursor::dirty

Definition at line 27 of file text.h.

Referenced by cursorSetPalette(), cursorSetPos(), cursorSetVisible(), and updateCursor().

◆ frame

s32 Cursor::frame

Definition at line 28 of file text.h.

Referenced by updateCursor().

◆ time

s32 Cursor::time

Definition at line 29 of file text.h.

Referenced by cursorSetVisible(), and updateCursor().

◆ idleDelay

s32 Cursor::idleDelay

Definition at line 30 of file text.h.

Referenced by createCursor(), cursorSetIdleDelay(), and updateCursor().

◆ frameDelay

s32 Cursor::frameDelay

Definition at line 31 of file text.h.

Referenced by createCursor(), cursorSetFrameDelay(), and updateCursor().

◆ still

s32 Cursor::still

stay on frame 0

Definition at line 32 of file text.h.

Referenced by cursorSetStill(), and updateCursor().

◆ setVisible

void(* Cursor::setVisible) ()

(cursor, visible)

Definition at line 33 of file text.h.

Referenced by CARDGAME_updateMenuWindow(), CARDGAME_updateMessageWindow(), CARDGAME_updateScreen(), chooseFieldMenuOption(), closeListMenu(), createCursor(), createFieldMenuWindows(), createListMenu(), FIELDSTG_runChoice(), pickSlotOption(), showFieldMenuMoney(), showListMenuOptions(), showMenuOptions(), showMessagePrompt(), sleepAtInn(), STCRDDEK_closeCardList(), STCRDDEK_closeFirstRow(), STCRDDEK_createEditorWindows(), STCRDDEK_createScreenWindows(), STCRDDEK_openDeckOptions(), STCRDDEK_showCardListCursor(), STCRDDEK_stepScreen(), STCRDSHP_closeBuyTotal(), STCRDSHP_closeOptions(), STCRDSHP_closePackList(), STCRDSHP_closePackOpen(), STCRDSHP_createBuyWindows(), STCRDSHP_createPackOpenWindows(), STCRDSHP_createShopWindows(), STCRDSHP_openBuyTotal(), STCRDSHP_runPackOpen(), STCRDSHP_runShop(), STGDGLAB_askMark(), STGDGLAB_closeEntryList(), STGDGLAB_createEntryPanelWindows(), STGDGLAB_createSkillPanelWindows(), STGDGLAB_createSlotScreenWindows(), STGDGLAB_pickSkill(), STGDGLAB_runEntryList(), STGDGLAB_runMenu(), STGDGLAB_runSlotScreen(), STGDGLAB_showEntryPanel(), STGDGLAB_showSlotScreen(), STGDGLAB_updateEntryList(), STGDGLAB_updateEntryPanel(), STGDGLAB_updateSkillPanel(), STGMCARD_answerError(), STGMCARD_askError(), STGMCARD_hideChoices(), STGMCARD_hideSaves(), STGMCARD_pickPort(), STGMCARD_pickSlot(), STGMCARD_showError(), STGMCARD_slideInTitle(), STGMCARD_updateSaves(), STGTRAIN_askToTrain(), STGTRAIN_closeQuestion(), STGTRAIN_createResultWindows(), STGTRAIN_createSessionWindows(), STGTRAIN_runTraining(), STGTRAIN_startTraining(), STITSHOP_chooseSellType(), STITSHOP_closeEquipQuestion(), STITSHOP_closeSellTotal(), STITSHOP_closeSellTypes(), STITSHOP_createBuyWindows(), STITSHOP_createItemListWindows(), STITSHOP_createSellWindows(), STITSHOP_createShopWindows(), STITSHOP_openBuyTotal(), STITSHOP_openEquipQuestion(), STITSHOP_openSellTotal(), STITSHOP_openSellTypes(), STITSHOP_runBuy(), STITSHOP_runSell(), STITSHOP_runShop(), STITSHOP_showListCursor(), STPLNMET_createConfirmWindows(), STPLNMET_runConfirm(), STPLNMET_showConfirmWindows(), STSTATUS_chooseTech(), STSTATUS_closeDigivolvePanel(), STSTATUS_closeDigivolveQuestion(), STSTATUS_closeEntryTechs(), STSTATUS_closeEquipList(), STSTATUS_closeEquipPanel(), STSTATUS_closeEquipSlots(), STSTATUS_closeItemScreen(), STSTATUS_closeItemScreenForList(), STSTATUS_closePartnerTech(), STSTATUS_closeQuestionForBattle(), STSTATUS_closeQuestionForTechs(), STSTATUS_closeSlotsForPartnerTech(), STSTATUS_closeSlotsForQuestion(), STSTATUS_createCardWindows(), STSTATUS_createDemoWindows(), STSTATUS_createDigivolveWindows(), STSTATUS_createEquipWindows(), STSTATUS_createItemListWindows(), STSTATUS_createItemWindows(), STSTATUS_createStatusWindows(), STSTATUS_createTechWindows(), STSTATUS_enterDigivolveQuestion(), STSTATUS_enterEquipList(), STSTATUS_enterQuestionAgain(), STSTATUS_enterSlotsAgain(), STSTATUS_enterTechList(), STSTATUS_openDigivolveStats(), STSTATUS_openEquipSlots(), STSTATUS_openItemScreenAlone(), STSTATUS_openSecondOfTwoItemPages(), STSTATUS_openThirdItemPage(), STSTATUS_reopenItemOptions(), STSTATUS_runDigivolvePanel(), STSTATUS_runItemList(), STSTATUS_runStatusChoice(), STSTATUS_showCardChoices(), STSTATUS_showDemoChoices(), STSTATUS_showItemHelp(), STSTATUS_showPartnerTech(), updateEvent1510(), updateEvent1512(), updateEvent1514(), updateEvent1516(), updateEvent1518(), updateEvent1520(), updateEvent9(), updateInn(), updateInnMenu(), and updateMenu().

◆ setPos

void(* Cursor::setPos) ()

(cursor, x, y)

Definition at line 34 of file text.h.

Referenced by CARDGAME_updateMenuWindow(), CARDGAME_updateMessageWindow(), chooseFieldMenuOption(), chooseInnAnswer(), createCursor(), FIELDSTG_runChoice(), pickBattleDigivolve(), pickMenuOption(), pickSlotOption(), showMessagePrompt(), STCRDDEK_chooseDeckOption(), STCRDDEK_chooseListCard(), STCRDDEK_openDeckOptions(), STCRDDEK_showCardListCursor(), STCRDSHP_chooseOption(), STCRDSHP_choosePack(), STCRDSHP_confirmBuyCard(), STCRDSHP_openBuyTotal(), STCRDSHP_runPackOpen(), STCRDSHP_runShop(), STGDGLAB_answerMark(), STGDGLAB_askMark(), STGDGLAB_pickSkill(), STGDGLAB_runEntryList(), STGDGLAB_updateEntryPanel(), STGDGLAB_updateSkillPanel(), STGMCARD_answerError(), STGMCARD_askError(), STGMCARD_moveChoiceCursor(), STGMCARD_pickPort(), STGMCARD_pickSlot(), STGMCARD_slideInTitle(), STGTRAIN_answerToTrain(), STGTRAIN_askBonusTry(), STGTRAIN_askToTrain(), STGTRAIN_runTraining(), STITSHOP_chooseSellType(), STITSHOP_confirmBuy(), STITSHOP_confirmEquip(), STITSHOP_confirmSell(), STITSHOP_openBuyTotal(), STITSHOP_openEquipQuestion(), STITSHOP_openSellTotal(), STITSHOP_openSellTypes(), STITSHOP_runShop(), STITSHOP_showListCursor(), STITSHOP_updateItemList(), STPLNMET_runConfirm(), STPLNMET_showConfirmWindows(), STSTATUS_answerDigivolveQuestion(), STSTATUS_chooseCardOption(), STSTATUS_chooseDemoOption(), STSTATUS_chooseDigivolveSlot(), STSTATUS_chooseEquipItem(), STSTATUS_chooseEquipSlot(), STSTATUS_chooseItemList(), STSTATUS_chooseTech(), STSTATUS_enterEquipList(), STSTATUS_enterTechList(), STSTATUS_moveItemListCursor(), STSTATUS_openDigivolveStats(), STSTATUS_runDigivolvePanel(), STSTATUS_runItemList(), STSTATUS_runStatusChoice(), STSTATUS_showDemoChoices(), STSTATUS_showPartnerTech(), updateEvent1510(), updateEvent1512(), updateEvent1514(), updateEvent1516(), updateEvent1518(), updateEvent1520(), updateEvent1602(), updateEvent1604(), updateEvent1616(), updateEvent1618(), updateEvent9(), updateListMenu(), and updateMenu().

◆ setPalette

◆ setIdleDelay

void(* Cursor::setIdleDelay) ()

Definition at line 36 of file text.h.

Referenced by CARDGAME_updateMenuWindow(), CARDGAME_updateMessageWindow(), and createCursor().

◆ setFrameDelay

void(* Cursor::setFrameDelay) ()

Definition at line 37 of file text.h.

Referenced by createCursor().

◆ setStill


The documentation for this struct was generated from the following file: