|
Digimon World 3 decomp
The European version, SLES_039.36
|
CARDGAME's panels, one a side, with their lights, bars, numbers and icons, and the blinkers. More...
#include "cardgame/card_battle.h"Go to the source code of this file.
Functions | |
| static void | drawPanelParts (CardPanel *panel, s32 side, s32 y, s32 imageY) |
| Draws a side's panel image of its wins, its parts blinking by its flags, and its frame. | |
| void | CARDGAME_drawPanel (CardPanel *panel, CardScreenItems *items, s32 side) |
| Draws a side's panel (CardScreen.panels): its lights, bars, numbers and parts (drawPanelParts), which blink by its flags. | |
| static void | slidePanelIn (CardPanel *panel, s32 shownX, s32 shownY, s32 hiddenX, s32 hiddenY, s32 shownBoxX, s32 hiddenBoxX, s32 shownBoxY, s32 hiddenBoxY, s32 shownWinsX, s32 hiddenWinsX, s32 shownWinsY, s32 hiddenWinsY) |
| Slides a side's whole panel in from its hidden places to its shown ones, where it stays (state 2) | |
| static void | slidePanelOut (CardPanel *panel, s32 shownX, s32 shownY, s32 hiddenX, s32 hiddenY, s32 shownBoxX, s32 hiddenBoxX, s32 shownBoxY, s32 hiddenBoxY, s32 shownWinsX, s32 hiddenWinsX, s32 shownWinsY, s32 hiddenWinsY) |
| Slides a side's whole panel out from its shown places to its hidden ones, where it's gone (state 0) | |
| void | CARDGAME_slidePanel (CardPanel *panel, CardScreenItems *items, s32 side) |
| Moves a side's panel between its shown and hidden places: in (state 1, slidePanelIn), out (3, slidePanelOut), or only x/y in or out (4, 5) | |
| void | CARDGAME_drawPanelIcon (CardScreen *screen, CardScreenItems *items, s32 side, CardPanelScale *scale) |
| Draws a side's panel icon at the panel's open or close scale, and once the panel is open (state 2) its label; the European version takes both positions from CARDGAME_panelIconPositions, by SHIFT_PAL_SCREEN. | |
| void | CARDGAME_updatePanelIcon (CardScreen *screen, CardScreenItems *items, s32 side, CardPanelScale *scale) |
| Grows (state 1) or shrinks (3) side's panel icon, and draws it. | |
| void | CARDGAME_moveBlinker (CardBlinker *blinker) |
| Moves a blinker towards its target; it stops there (state 1) | |
| void | CARDGAME_drawBlinker (CardBlinker *blinker) |
| Draws a blinker, its CLUT row changing every four frames. | |
| void | CARDGAME_updateBlinkers (CardScreen *screen, CardScreenItems *items) |
| Moves and draws the twelve blinkers. | |
| void | CARDGAME_updatePanels (CardScreen *screen, CardScreenItems *items) |
| Runs and draws both panels and their icons. | |
CARDGAME's panels, one a side, with their lights, bars, numbers and icons, and the blinkers.
Definition in file panels.c.
Draws a side's panel image of its wins, its parts blinking by its flags, and its frame.
Definition at line 8 of file panels.c.
Referenced by CARDGAME_drawPanel().
| void CARDGAME_drawPanel | ( | CardPanel * | panel, |
| CardScreenItems * | items, | ||
| s32 | side | ||
| ) |
Draws a side's panel (CardScreen.panels): its lights, bars, numbers and parts (drawPanelParts), which blink by its flags.
Definition at line 57 of file panels.c.
Referenced by CARDGAME_updatePanels().
|
inlinestatic |
Slides a side's whole panel in from its hidden places to its shown ones, where it stays (state 2)
Definition at line 184 of file panels.c.
Referenced by CARDGAME_slidePanel().
|
inlinestatic |
Slides a side's whole panel out from its shown places to its hidden ones, where it's gone (state 0)
Definition at line 209 of file panels.c.
Referenced by CARDGAME_slidePanel().
| void CARDGAME_slidePanel | ( | CardPanel * | panel, |
| CardScreenItems * | items, | ||
| s32 | side | ||
| ) |
Moves a side's panel between its shown and hidden places: in (state 1, slidePanelIn), out (3, slidePanelOut), or only x/y in or out (4, 5)
Definition at line 235 of file panels.c.
Referenced by CARDGAME_updatePanels().
| void CARDGAME_drawPanelIcon | ( | CardScreen * | screen, |
| CardScreenItems * | items, | ||
| s32 | side, | ||
| CardPanelScale * | scale | ||
| ) |
Draws a side's panel icon at the panel's open or close scale, and once the panel is open (state 2) its label; the European version takes both positions from CARDGAME_panelIconPositions, by SHIFT_PAL_SCREEN.
< CARDGM: the card battle's
Definition at line 339 of file panels.c.
Referenced by CARDGAME_updatePanelIcon().
| void CARDGAME_updatePanelIcon | ( | CardScreen * | screen, |
| CardScreenItems * | items, | ||
| s32 | side, | ||
| CardPanelScale * | scale | ||
| ) |
Grows (state 1) or shrinks (3) side's panel icon, and draws it.
Definition at line 390 of file panels.c.
Referenced by CARDGAME_updatePanels().
| void CARDGAME_moveBlinker | ( | CardBlinker * | blinker | ) |
Moves a blinker towards its target; it stops there (state 1)
Definition at line 415 of file panels.c.
Referenced by CARDGAME_updateBlinkers().
| void CARDGAME_drawBlinker | ( | CardBlinker * | blinker | ) |
Draws a blinker, its CLUT row changing every four frames.
Definition at line 430 of file panels.c.
Referenced by CARDGAME_updateBlinkers().
| void CARDGAME_updateBlinkers | ( | CardScreen * | screen, |
| CardScreenItems * | items | ||
| ) |
Moves and draws the twelve blinkers.
Definition at line 456 of file panels.c.
Referenced by CARDGAME_updateScreen().
| void CARDGAME_updatePanels | ( | CardScreen * | screen, |
| CardScreenItems * | items | ||
| ) |
Runs and draws both panels and their icons.
Definition at line 473 of file panels.c.
Referenced by CARDGAME_updateScreen().