DynRPG v0.32 Unofficial
Plugin SDK
RPG::SceneMenu Class Reference

Used to access the menu windows and its variables. More...

#include <SceneMenu.h>

Public Attributes

MenuSubScreen_T screen
 The RPG::MenuSubScreen currently being displayed (replaces getMenuScreen() function from the days of yore)
 
bool repaint
 The flag to repaint the screen.
 
Window * winOptions
 Pointer to the Options window's objects (Items, Skills, etc.).
 
Window * winGold
 Pointer to the Gold window's objects.
 
Window * winParty
 Pointer to the Party window's objects.
 
WindowMenuTarget * winItemSkillUse
 Pointer to the Item/Skill Use window's objects.
 
WindowMenuItem * winItems
 Pointer to the Item window's objects. (See RPG::WindowMenuItem)
 
WindowMenuSkill * winSkills
 Pointer to the Skills window's objects. (See RPG::WindowMenuSkill)
 
Window * winTeleport
 Pointer to the Teleport pseudo-window's objects.
 
WindowMenuEquip * winEquip
 Pointer to the Equip window's objects. (See RPG::WindowMenuEquip)
 
WindowMenuEnd * winQuit
 Pointer to the Quit window's objects. (See RPG::WindowMenuEnd)
 
int scrollUpCountItem
 The number of rows off-screen after a scroll (for items)
 
int inventoryPositionItem
 The item selection index (relative to the screen).
 
int scrollUpCountSkill
 The number of rows off-screen after a scroll (for skills)
 
int inventoryPositionSkill
 The skill selection index (relative to the screen).
 
int selectedItem
 The database ID of the item selected for the MENU_ITEM_USE RPG::MenuSubScreen.
 
int selectedSkill
 The database ID of the skill selected for the MENU_SKILL_USE RPG::MenuSubScreen.
 
WindowMenuStatus * winStatus
 Pointer to the Status window's objects.
 
WindowMenuOrder * winOrder
 Pointer to the Order window's objects.
 

Detailed Description

Used to access the menu windows and its variables.

See also
RPG::menu
RPG::Window

Member Data Documentation

◆ inventoryPositionItem

int RPG::SceneMenu::inventoryPositionItem

The item selection index (relative to the screen).

Note
indexes are zero-based starting from the top-left, and zig-zag to the right position, followed by the down-left position.

◆ inventoryPositionSkill

int RPG::SceneMenu::inventoryPositionSkill

The skill selection index (relative to the screen).

Note
indexes are zero-based starting from the top-left, and zig-zag to the right position, followed by the down-left position.

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