ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <icon_menu.h>

Collaboration diagram for ICB::_icon_menu:

List of all members.

Public Member Functions

 _icon_menu ()
 ~_icon_menu ()
bool8 CycleIconMenu (const _input &sKeyboardState)
void DrawArmedMenu (const int nBullets, const int maxBullets, const int nClips, const int maxClips)
void DrawIconMenu ()
void CloseDownIconMenu ()
void Activate (const _icon_list *pIconList, const _icon_menu_duplicates &sDuplicates, bool8 bAllowEscape, uint32 nSelected)
void ReActivate ()
bool8 IsActive () const
bool8 IsHolding () const
void CycleHoldingLogic ()
void SetAddingClipsCount (uint32 nNumClips)
void SetAddingMedipacksCount (uint32 nNumMedipacks)
bool8 IsAdding () const
void CycleAddingLogic ()
void DrawAdding ()
void SetEmailArrived ()
void ClearEmailArrived ()
const char * GetLastSelection ()
uint32 GetLastSelectionHash () const
void ClearSelection ()
uint32 GetTransparencyKey () const
void SetTransparencyColourKey ()
void PreloadIcon (const char *pcIconPath, const char *pcIconName)

Private Types

enum  IconMenuGameState { INACTIVE = 0, ACTIVE }

Private Member Functions

int GetScrollingPosition (const int nInputX, uint &nIconIndex)
 _icon_menu (const _icon_menu &)
void operator= (const _icon_menu &)
void CloseDownIconMenuDisplay ()
void SetUpOffScreenArrows ()
void SetupAdding (const char *pcIconName, uint32 &nSurfaceID)
void CloseDownAdding ()

Private Attributes

IconMenuGameState m_eIconMenuGameState
const _icon_listm_pIconList
uint32 m_nLastSelection
uint32 m_nSelectedIcon
uint32 m_nHighlightCounter
const char * m_pcSelectedIconName
uint32 m_nSelectedIconHash
uint32 m_nIconClusterHash
_icon_menu_duplicates m_sDuplicates
uint32 m_nGlobalClusterHash
uint32 m_pnIconSurfaceIDs [ICON_MENU_MAX_ICONS]
uint32 m_pnHiLiteSurfaceIDs [ICON_MENU_MAX_ICONS]
uint32 m_nLeftArrowID
uint32 m_nRightArrowID
uint32 m_nLeftArrowHiLiteID
uint32 m_nRightArrowHiLiteID
uint32 m_nAddedClipsSurface
uint32 m_nAddedMedipacksSurface
uint32 m_nEmailArrivedSurface
uint32 m_nMenuY
uint32 m_nTransparentKey
char m_pcGlobalClusterFile [MAXLEN_CLUSTER_URL]
char m_pcIconCluster [MAXLEN_CLUSTER_URL]
bool8 m_bValidSelection
bool8 m_nKeyLock
bool8 m_bHighlightVisible
bool8 m_bAllowEscape
bool8 m_bWiderThanScreen
uint8 m_nScrollCycles
uint8 m_nLastIconIndex
uint8 m_nScrollDirection
uint8 m_nAddedMedipacks
uint8 m_nAddedClips
uint8 m_nAddedSymbol
uint8 m_nAddedFlashCount
bool8 m_bEmailArrived
uint8 m_nMaxIconsDisplayed
uint8 m_bPad2
uint8 m_bPad3

Detailed Description

Definition at line 97 of file icon_menu.h.


Member Enumeration Documentation

Enumerator:
INACTIVE 
ACTIVE 

Definition at line 165 of file icon_menu.h.


Constructor & Destructor Documentation

ICB::_icon_menu::_icon_menu (  ) 

Definition at line 44 of file icon_menu.cpp.

ICB::_icon_menu::~_icon_menu (  )  [inline]

Definition at line 101 of file icon_menu.h.

ICB::_icon_menu::_icon_menu ( const _icon_menu  )  [inline, private]

Definition at line 221 of file icon_menu.h.


Member Function Documentation

void ICB::_icon_menu::Activate ( const _icon_list pIconList,
const _icon_menu_duplicates sDuplicates,
bool8  bAllowEscape,
uint32  nSelected 
)

Definition at line 46 of file icon_menu_pc.cpp.

void ICB::_icon_menu::ClearEmailArrived (  )  [inline]

Definition at line 141 of file icon_menu.h.

void ICB::_icon_menu::ClearSelection (  )  [inline]

Definition at line 148 of file icon_menu.h.

void ICB::_icon_menu::CloseDownAdding (  )  [private]

Definition at line 516 of file icon_menu_pc.cpp.

void ICB::_icon_menu::CloseDownIconMenu (  ) 

Definition at line 365 of file icon_menu.cpp.

void ICB::_icon_menu::CloseDownIconMenuDisplay (  )  [private]

Definition at line 408 of file icon_menu_pc.cpp.

void ICB::_icon_menu::CycleAddingLogic (  ) 

Definition at line 265 of file icon_menu.cpp.

void ICB::_icon_menu::CycleHoldingLogic (  ) 

Definition at line 257 of file icon_menu.cpp.

bool8 ICB::_icon_menu::CycleIconMenu ( const _input sKeyboardState  ) 

Definition at line 73 of file icon_menu.cpp.

void ICB::_icon_menu::DrawAdding (  ) 

Definition at line 492 of file icon_menu_pc.cpp.

void ICB::_icon_menu::DrawArmedMenu ( const int  nBullets,
const int  maxBullets,
const int  nClips,
const int  maxClips 
)

Definition at line 564 of file icon_menu_pc.cpp.

void ICB::_icon_menu::DrawIconMenu (  ) 

Definition at line 244 of file icon_menu_pc.cpp.

const char * ICB::_icon_menu::GetLastSelection (  ) 

Definition at line 341 of file icon_menu.cpp.

uint32 ICB::_icon_menu::GetLastSelectionHash (  )  const

Definition at line 353 of file icon_menu.cpp.

int ICB::_icon_menu::GetScrollingPosition ( const int  nInputX,
uint nIconIndex 
) [private]

Definition at line 391 of file icon_menu.cpp.

uint32 ICB::_icon_menu::GetTransparencyKey (  )  const [inline]

Definition at line 151 of file icon_menu.h.

bool8 ICB::_icon_menu::IsActive (  )  const [inline]

Definition at line 124 of file icon_menu.h.

bool8 ICB::_icon_menu::IsAdding (  )  const

Definition at line 378 of file icon_menu.cpp.

bool8 ICB::_icon_menu::IsHolding (  )  const [inline]

Definition at line 127 of file icon_menu.h.

void ICB::_icon_menu::operator= ( const _icon_menu  )  [inline, private]

Definition at line 223 of file icon_menu.h.

void ICB::_icon_menu::PreloadIcon ( const char *  pcIconPath,
const char *  pcIconName 
)

Definition at line 323 of file icon_menu.cpp.

void ICB::_icon_menu::ReActivate (  ) 

Definition at line 166 of file icon_menu_pc.cpp.

void ICB::_icon_menu::SetAddingClipsCount ( uint32  nNumClips  ) 

Definition at line 526 of file icon_menu_pc.cpp.

void ICB::_icon_menu::SetAddingMedipacksCount ( uint32  nNumMedipacks  ) 

Definition at line 537 of file icon_menu_pc.cpp.

void ICB::_icon_menu::SetEmailArrived (  ) 

Definition at line 548 of file icon_menu_pc.cpp.

void ICB::_icon_menu::SetTransparencyColourKey (  ) 

Definition at line 433 of file icon_menu_pc.cpp.

void ICB::_icon_menu::SetupAdding ( const char *  pcIconName,
uint32 nSurfaceID 
) [private]

Definition at line 459 of file icon_menu_pc.cpp.

void ICB::_icon_menu::SetUpOffScreenArrows (  )  [private]

Definition at line 603 of file icon_menu_pc.cpp.


Member Data Documentation

Definition at line 203 of file icon_menu.h.

Definition at line 215 of file icon_menu.h.

Definition at line 202 of file icon_menu.h.

Definition at line 217 of file icon_menu.h.

Definition at line 218 of file icon_menu.h.

Definition at line 200 of file icon_menu.h.

Definition at line 205 of file icon_menu.h.

Definition at line 211 of file icon_menu.h.

Definition at line 185 of file icon_menu.h.

Definition at line 213 of file icon_menu.h.

Definition at line 210 of file icon_menu.h.

Definition at line 186 of file icon_menu.h.

Definition at line 212 of file icon_menu.h.

Definition at line 187 of file icon_menu.h.

Definition at line 176 of file icon_menu.h.

Definition at line 171 of file icon_menu.h.

Definition at line 174 of file icon_menu.h.

Definition at line 201 of file icon_menu.h.

Definition at line 207 of file icon_menu.h.

Definition at line 169 of file icon_menu.h.

Definition at line 183 of file icon_menu.h.

Definition at line 181 of file icon_menu.h.

Definition at line 216 of file icon_menu.h.

Definition at line 188 of file icon_menu.h.

Definition at line 184 of file icon_menu.h.

Definition at line 182 of file icon_menu.h.

Definition at line 206 of file icon_menu.h.

Definition at line 208 of file icon_menu.h.

Definition at line 170 of file icon_menu.h.

Definition at line 173 of file icon_menu.h.

Definition at line 189 of file icon_menu.h.

char ICB::_icon_menu::m_pcGlobalClusterFile[MAXLEN_CLUSTER_URL] [private]

Definition at line 190 of file icon_menu.h.

char ICB::_icon_menu::m_pcIconCluster[MAXLEN_CLUSTER_URL] [private]

Definition at line 191 of file icon_menu.h.

Definition at line 172 of file icon_menu.h.

Definition at line 168 of file icon_menu.h.

uint32 ICB::_icon_menu::m_pnHiLiteSurfaceIDs[ICON_MENU_MAX_ICONS] [private]

Definition at line 180 of file icon_menu.h.

uint32 ICB::_icon_menu::m_pnIconSurfaceIDs[ICON_MENU_MAX_ICONS] [private]

Definition at line 179 of file icon_menu.h.


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


Generated on Sat Sep 26 2020 05:03:40 for ResidualVM by doxygen 1.7.1
curved edge   curved edge