Amulets & Armor
v1.02
Open Source Game
|
Player's Bottom Banner User Interface. More...
Data Structures | |
struct | T_buttonCreateParms |
Macros | |
#define | MANA_BACKCOLOR 225 |
#define | MAX_POTION_PICS 8 |
#define | NUM_AMMO_SLOTS 7 |
#define | NUMBER_BANNER_BUTTONS 11 |
#define | NUMBER_RUNE_BUTTONS 9 |
Player's Bottom Banner User Interface.
The Banner UI system is the top level system for handling the player's banner at the bottom of the screen. It tracks the current sub-window open as well as spells being cast.
#define MANA_BACKCOLOR 225 |
#define MAX_POTION_PICS 8 |
#define NUM_AMMO_SLOTS 7 |
#define NUMBER_BANNER_BUTTONS 11 |
#define NUMBER_RUNE_BUTTONS 9 |
Closes any current form displayed on the right side of the window Deletes main menu buttons
T_void BannerCloseFormByButton | ( | T_buttonID | buttonID) |
BannerCreateBottomButtons creates all the buttons that make up the banner at the bottom of the screen.
NOTE: Don't call if already created.
BannerDestroyBottomButtons gets rid of all the buttons needed by the bottom banner.
NOTE: You can call this multiple times.
T_void BannerFormControl | ( | E_formObjectType | objtype, |
T_word16 | objstatus, | ||
T_word32 | objID | ||
) |
FormCallBack routine set to control events for forms added to gaming window display area
E_Boolean BannerFormIsOpen | ( | E_bannerFormType | formtype) |
E_equipBoltTypes BannerGetSelectedAmmoType | ( | T_void | ) |
BannerInit sets up all the parts necessary to display the banner at the bottom of the screen.
T_void BannerOpenForm | ( | E_bannerFormType | formtype) |
BannerOpenForm changes the view to small screen and displays a form on the right side. Also, BannerOpenForm creates 6 buttons for the 'main menu'
NOTE: Currently only supports main menus (i.e. always adds main menu buttons on top of the form
T_void BannerOpenFormByButton | ( | T_buttonID | buttonID) |
Calls BannerOpenForm with the formtype specified by Button->data
Sets up the mini-status bar displayed at the bottom of the 3d banner
Checks to see if stats have changed and updates the mini-status bar accordingly
PotionInit removes all pictures used by the potion display on the banner.
PotionInit initializes all the pictures for the potion display on the banner.