# SpatialFear.SFHUDWindowMgr

Spatial Fear
Class: SFHUDWindowMgr
Description: Management class for all HUD windows. Handy-Dandy :)
Author: Markus Nuebel
Modified By: Chris Rogers

Extends:
Modifiers:
Source code

    SpatialFear.SFHUDWindowMgr

%%

## Variables

%function_comment% |  |  | bool | bShowAll
%function_comment% |  |  | bool | m_bComActive
%function_comment% |  |  | bool | m_bMarkComOnShow
%function_comment% |  |  | float | m_fHUDScale
%function_comment% |  |  | int | m_nActiveItemBeltHeight
%function_comment% |  |  | int | m_nActiveItemBeltWidth
%function_comment% |  |  | int | m_nActiveItemBeltX
%function_comment% |  |  | int | m_nActiveItemBeltY
%function_comment% |  |  | int | m_nCapWndHeight
%function_comment% |  |  | int | m_nCapWndWidth
%function_comment% |  |  | int | m_nCapWndX
%function_comment% |  |  | int | m_nCapWndY
%function_comment% |  |  | int | m_nItemDescHeight
%function_comment% |  |  | int | m_nItemDescWidth
%function_comment% |  |  | int | m_nItemDescX
%function_comment% |  |  | int | m_nItemDescY
%function_comment% |  |  | int | m_nNodeWndHeight
%function_comment% |  |  | int | m_nNodeWndWidth
%function_comment% |  |  | int | m_nNodeWndX
%function_comment% |  |  | int | m_nNodeWndY
%function_comment% |  |  | int | m_nNPCWndHeight
%function_comment% |  |  | int | m_nNPCWndWidth
%function_comment% |  |  | int | m_nNPCWndX
%function_comment% |  |  | int | m_nNPCWndY
%function_comment% |  |  | int | m_nPassiveItemBeltHeight
%function_comment% |  |  | int | m_nPassiveItemBeltWidth
%function_comment% |  |  | int | m_nPassiveItemBeltX
%function_comment% |  |  | int | m_nPassiveItemBeltY
%function_comment% |  |  | int | m_nSelectWeaponBeltX
%function_comment% |  |  | int | m_nSelectWeaponBeltY
%function_comment% |  |  | int | m_nSelectWeaponHeight
%function_comment% |  |  | int | m_nSelectWeaponWidth
%function_comment% |  |  | int | m_nWeaponDescHeight
%function_comment% |  |  | int | m_nWeaponDescWidth
%function_comment% |  |  | int | m_nWeaponDescX
%function_comment% |  |  | int | m_nWeaponDescY
%function_comment% |  |  | int | m_nWeaponIconOffsetX
%function_comment% |  |  | int | m_nWeaponIconOffsetY
%function_comment% |  |  | SFTextWindow | m_oActiveComWnd
%function_comment% |  |  | SFCommunication | m_oCurrComm
%function_comment% |  |  | SFTextWindow | m_oNextActiveWindow
%function_comment% |  |  | SFPlayer | m_oPlayer
%function_comment% | travel |  | SFActiveItemBelt | m_winActiveItemBelt
%function_comment% |  |  | SFCapWindow | m_winCapComm
%function_comment% |  |  | SFItemDescWindow | m_winItemDesc
%function_comment% |  |  | SFDataNodeWindow | m_winNodeComm
%function_comment% |  |  | SFNPCWindow | m_winNPCComm
%function_comment% | travel |  | SFPassiveItemBelt | m_winPassiveItemBelt
%function_comment% | travel |  | SFSelectWeaponBelt | m_winSelectWeaponBelt
%function_comment% |  |  | SFWeaponDescWindow | m_winWeaponDesc

## Functions

|  |  | activateItem ()
|  | BOOL | canCancelCurrentCom ()
|  |  | cancelComm ()
|  |  | CommunicationEnded ()
|  | class | getActiveWindowClass ()
|  | int | GetFlashlightLevel ()
|  | int | GetFlashlightState ()
|  |  | hideActiveComWnd ()
|  |  | hideWeaponDesc ()
|  |  | init (SFPlayer oPlayer, float fHUDScale)
|  |  | insertActiveItem (SFPickup oPickup)
|  |  | insertItemIntoBelt (SFPickup oSFPickup)
|  |  | insertPassiveItem (SFPickup oPickup)
|  |  | nextItem ()
|  |  | passiveItem ()
|  |  | pauseCommunication ()
|  |  | playCommunication (SFCommunication oComm)
|  |  | prevItem ()
|  |  | removeActiveItem (SFPickup oItem)
|  |  | removeItemFromBelt (SFPickup oSFPickup)
|  |  | removePassiveItem (SFPickup oItem)
|  |  | render (Canvas C, float fHUDScale)
|  |  | renderWeaponUgradeText (Canvas C)
|  |  | resetActiveItemBelt ()
|  |  | resetNPCCommunication ()
|  |  | resetPassiveItemBelt ()
|  |  | resumeCommunication (bool bYesNo)
|  |  | setupNPCCommunication ()
|  |  | showActiveComWnd (SFTextWindow oWnd)
|  |  | showItemDesc (Inventory oItem)
|  |  | showWeaponDesc (TournamentWeapon oWeapon, optional bool bIntroduce)
|  |  | showWeaponSelection (SFPickup oPickup)
|  |  | terminate ()
|  |  | Tick (float fDelta)

## Default properties

    {
         m_nCapWndX=950
         m_nCapWndY=50
         m_nCapWndHeight=440
         m_nCapWndWidth=300
         m_nNodeWndX=450
         m_nNodeWndY=450
         m_nNodeWndHeight=400
         m_nNodeWndWidth=400
         m_nNPCWndX=290
         m_nNPCWndY=680
         m_nNPCWndHeight=256
         m_nNPCWndWidth=700
         m_nWeaponDescX=175
         m_nWeaponDescY=455
         m_nWeaponDescHeight=440
         m_nWeaponDescWidth=440
         m_nWeaponIconOffsetX=10
         m_nWeaponIconOffsetY=400
         m_nItemDescX=175
         m_nItemDescY=560
         m_nItemDescHeight=340
         m_nItemDescWidth=570
         m_nActiveItemBeltX=1000
         m_nActiveItemBeltY=910
         m_nActiveItemBeltHeight=40
         m_nActiveItemBeltWidth=260
         m_nPassiveItemBeltX=185
         m_nPassiveItemBeltY=910
         m_nPassiveItemBeltHeight=40
         m_nPassiveItemBeltWidth=260
         m_nSelectWeaponBeltX=1000
         m_nSelectWeaponBeltY=910
         m_nSelectWeaponHeight=32
         m_nSelectWeaponWidth=260
    }

class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:40 PM
Created with UnCodeX