|
Digimon World 3 decomp
The European version, SLES_039.36
|
The shop's main task, with its menu and the money; the files it loads; and the panels' openings and moves. More...
#include "menus/item_shop.h"#include "shared/start_fade.inc.c"#include "shared/update_fade.inc.c"#include "shared/start_lerp.inc.c"#include "shared/update_lerp.inc.c"Go to the source code of this file.
Functions | |
| void | STITSHOP_createShopWindows (ItemShop *shop, ItemShopWindows *win) |
| Creates the shop's windows: the help, the shop's name, the money, buy and sell, and the cursor. | |
| void | STITSHOP_drawShop (ItemShop *shop, ItemShopWindows *win) |
| Draws the shop's four frames as they open by scaling, and the background, which scrolls one pixel every other frame, wrapping at 96. | |
| void | STITSHOP_runShop (ItemShop *shop, ItemShopWindows *win) |
| Opens the shop's panels, then up/down and cross pick buy or sell and run that dialog, reopening after it; triangle closes the panels and fades out. | |
| void | STITSHOP_updateShop (ItemShop *shop, ItemShopWindows *win) |
| The shop's task: loads its files, then runs it; goes back to the field when killed. | |
| void | STITSHOP_showMoney (ItemShop *shop) |
| Shows the money left (shop->showMoney), after buying or selling. | |
| ItemShop * | STITSHOP_createShop (void) |
| Creates the item shop (task) for the shop of the mode's argument. | |
| void | STITSHOP_loadFiles (void) |
| Loads the shop's textures and requests its strings. | |
| s32 | STITSHOP_filesLoading (void) |
| Whether the shop's strings are still loading. | |
The shop's main task, with its menu and the money; the files it loads; and the panels' openings and moves.
Definition in file shop.c.
| void STITSHOP_createShopWindows | ( | ItemShop * | shop, |
| ItemShopWindows * | win | ||
| ) |
Creates the shop's windows: the help, the shop's name, the money, buy and sell, and the cursor.
shop.c
Definition at line 8 of file shop.c.
Referenced by STITSHOP_updateShop().
| void STITSHOP_drawShop | ( | ItemShop * | shop, |
| ItemShopWindows * | win | ||
| ) |
Draws the shop's four frames as they open by scaling, and the background, which scrolls one pixel every other frame, wrapping at 96.
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
Definition at line 21 of file shop.c.
Referenced by STITSHOP_updateShop().
| void STITSHOP_runShop | ( | ItemShop * | shop, |
| ItemShopWindows * | win | ||
| ) |
Opens the shop's panels, then up/down and cross pick buy or sell and run that dialog, reopening after it; triangle closes the panels and fades out.
< SHPNAM
< ITSHOP: STITSHOP's
< ITSHOP: STITSHOP's
< ITSHOP: STITSHOP's
< ITSHOP: STITSHOP's
< SYSTEM02: a cursor moves
< SYSTEM00: a choice is taken
< SYSTEM01
Definition at line 60 of file shop.c.
Referenced by STITSHOP_updateShop().
| void STITSHOP_updateShop | ( | ItemShop * | shop, |
| ItemShopWindows * | win | ||
| ) |
The shop's task: loads its files, then runs it; goes back to the field when killed.
Definition at line 171 of file shop.c.
Referenced by STITSHOP_createShop().
| void STITSHOP_showMoney | ( | ItemShop * | shop | ) |
Shows the money left (shop->showMoney), after buying or selling.
Definition at line 206 of file shop.c.
Referenced by STITSHOP_createShop().
| ItemShop * STITSHOP_createShop | ( | void | ) |
| void STITSHOP_loadFiles | ( | void | ) |