Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

DeusEx.PersonaScreenHealth

Extends
PersonaScreenBaseWindow

Core.Object
|   
+-- Extension.ExtensionObject
   |   
   +-- Extension.Window
      |   
      +-- Extension.TabGroupWindow
         |   
         +-- Extension.ModalWindow
            |   
            +-- DeusEx.DeusExBaseWindow
               |   
               +-- DeusEx.PersonaScreenBaseWindow
                  |   
                  +-- DeusEx.PersonaScreenHealth

Direct Known Subclasses:

HUDMedBotHealthScreen

Variables Summary
BoolbShowHealButtons
PersonaActionButtonWindowbtnHealAll
StringHealAllButtonLabel
StringHealthLocationHead
StringHealthLocationLeftArm
StringHealthLocationLeftLeg
StringHealthLocationRightArm
StringHealthLocationRightLeg
StringHealthLocationTorso
StringHealthPartDesc[4]
StringHealthTitleText
StringMedKitUseText
PersonaHealthItemButtonpartButtons[6]
FloatplayerHealth[6]
StringPointsHealedLabel
PersonaHealthRegionWindowregionWindows[6]
PersonaHealthItemButtonselectedHealthButton
PersonaHealthBodyWindowwinBody
PersonaInfoWindowwinInfo
PersonaItemDetailWindowwinMedKits
PersonaOverlaysWindowwinOverlays
Inherited Variables from DeusEx.PersonaScreenBaseWindow
clientBorderHeight, clientBorderOffsetX, clientBorderOffsetY, clientBorderTextureCols, clientBorderTextureRows, clientBorderTextures[6], clientBorderWidth, clientHeight, clientOffsetX, clientOffsetY, clientTextureCols, clientTextureRows, clientTextures[6], clientWidth, screenHeight, screenWidth, txtTitle, winClient, winClientBorder, winNavBar, winStatus
Inherited Variables from DeusEx.DeusExBaseWindow
colBlack, colBlue, colCyan, colDarkBlue, colDarkCyan, colDarkGreen, colDarkRed, colGreen, colGrey, colLightBlue, colRed, colWhite, player, root, ScreenType

Enumerations Summary
Inherited Enumerations from DeusEx.DeusExBaseWindow
EScreenType

Functions Summary
functionbool ButtonActivated (Window buttonPressed))
function CreateBodyWindow ()))
function CreateButtons ()))
function CreateControls ()))
function CreateInfoWindow ()))
function CreateMedKitWindow ()))
function CreateOverlaysWindow ()))
functionPersonaHealthItemButton CreatePartButton (int partIndex, int posX, int posY, int sizeX, int sizeY, String partDesc, String partTitle))
function CreatePartButtons ()))
functionPersonaHealthRegionWindow CreateRegionWindow (int partIndex, int posX, int posY, int healthValue, int maxHealthValue, String partTitle))
function CreateRegionWindows ()))
function CreateStatusWindow ()))
function EnableButtons ()))
functionint GetMedKitHealPoints ()))
functionint HealAllParts ()))
functionint HealPart (PersonaHealthRegionWindow region, optional float pointsToHeal, optional bool bLeaveMedKit))
event InitWindow ()))
functionbool IsPlayerDamaged ()))
function PushHealth ()))
function RemoveMedKits (int healPointsUsed))
function SelectHealth (PersonaHealthItemButton buttonPressed))
function UpdateMedKits ()))
function UpdateRegionWindows ()))
function UseMedKit (MedKit medkit))
Inherited Functions from DeusEx.PersonaScreenBaseWindow
AddLog, CreateClientBorderWindow, CreateClientWindow, CreateControls, CreateNavBarWindow, CreatePersonaButton, CreatePersonaHeaderText, CreateScrollAreaWindow, CreateScrollTileWindow, CreateTileWindow, CreateTitleWindow, DestroyWindow, InitWindow, SaveSettings, StyleChanged, VirtualKeyPressed
Inherited Functions from DeusEx.DeusExBaseWindow
CanPushScreen, CanStack, InitWindow, RefreshWindow


Variables Detail

bShowHealButtons Source code

var Bool bShowHealButtons;

btnHealAll Source code

var PersonaActionButtonWindow btnHealAll;

HealAllButtonLabel Source code

var localized String HealAllButtonLabel;

HealthLocationHead Source code

var localized String HealthLocationHead;

HealthLocationLeftArm Source code

var localized String HealthLocationLeftArm;

HealthLocationLeftLeg Source code

var localized String HealthLocationLeftLeg;

HealthLocationRightArm Source code

var localized String HealthLocationRightArm;

HealthLocationRightLeg Source code

var localized String HealthLocationRightLeg;

HealthLocationTorso Source code

var localized String HealthLocationTorso;

HealthPartDesc[4] Source code

var localized String HealthPartDesc[4];

HealthTitleText Source code

var localized String HealthTitleText;

MedKitUseText Source code

var localized String MedKitUseText;

partButtons[6] Source code

var PersonaHealthItemButton partButtons[6];

playerHealth[6] Source code

var Float playerHealth[6];

PointsHealedLabel Source code

var localized String PointsHealedLabel;

regionWindows[6] Source code

var PersonaHealthRegionWindow regionWindows[6];

selectedHealthButton Source code

var PersonaHealthItemButton selectedHealthButton;

winBody Source code

var PersonaHealthBodyWindow winBody;

winInfo Source code

var PersonaInfoWindow winInfo;

winMedKits Source code

var PersonaItemDetailWindow winMedKits;

winOverlays Source code

var PersonaOverlaysWindow winOverlays;


Functions Detail

ButtonActivated Source code

function bool ButtonActivated ( Window buttonPressed) )

CreateBodyWindow Source code

function CreateBodyWindow ( ) )

CreateButtons Source code

function CreateButtons ( ) )

CreateControls Source code

function CreateControls ( ) )

CreateInfoWindow Source code

function CreateInfoWindow ( ) )

CreateMedKitWindow Source code

function CreateMedKitWindow ( ) )

CreateOverlaysWindow Source code

function CreateOverlaysWindow ( ) )

CreatePartButton Source code

function PersonaHealthItemButton CreatePartButton ( int partIndex, int posX, int posY, int sizeX, int sizeY, String partDesc, String partTitle) )

CreatePartButtons Source code

function CreatePartButtons ( ) )

CreateRegionWindow Source code

function PersonaHealthRegionWindow CreateRegionWindow ( int partIndex, int posX, int posY, int healthValue, int maxHealthValue, String partTitle) )

CreateRegionWindows Source code

function CreateRegionWindows ( ) )

CreateStatusWindow Source code

function CreateStatusWindow ( ) )

EnableButtons Source code

function EnableButtons ( ) )

GetMedKitHealPoints Source code

function int GetMedKitHealPoints ( ) )

HealAllParts Source code

function int HealAllParts ( ) )

HealPart Source code

function int HealPart ( PersonaHealthRegionWindow region, optional float pointsToHeal, optional bool bLeaveMedKit) )

InitWindow Source code

event InitWindow ( ) )

IsPlayerDamaged Source code

function bool IsPlayerDamaged ( ) )

PushHealth Source code

function PushHealth ( ) )

RemoveMedKits Source code

function RemoveMedKits ( int healPointsUsed) )

SelectHealth Source code

function SelectHealth ( PersonaHealthItemButton buttonPressed) )

UpdateMedKits Source code

function UpdateMedKits ( ) )

UpdateRegionWindows Source code

function UpdateRegionWindows ( ) )

UseMedKit Source code

function UseMedKit ( MedKit medkit) )


Defaultproperties

defaultproperties
{
     HealthPartDesc(0)="Head wounds are fatal in the vast majority of threat scenarios; however, in those cases where death is not instantaneous, agents will often find that head injuries impair vision and aim. Care should be taken to heal such injuries as quickly as possible or death may result.|n|nLight Wounds: Slightly decreased accuracy.|nMedium Wounds: Wavering vision.|nHeavy Wounds: Death."
     HealthPartDesc(1)="The torso is by far the portion of the human anatomy able to absorb the most damage, but it is also the easiest to target in close quarters combat. As progressively more damage is inflicted to the torso, agents may find their movements impaired and eventually bleed to death even if a mortal blow to a vital organ is not suffered.|n|nLight Wounds: Slightly impaired movement.|nMedium Wounds: Significantly impaired movement.|nMajor Wounds: Death."
     HealthPartDesc(2)="Obviously damage to the arm is of concern in any combat situation as it has a direct effect on the agent's ability to utilize a variety of weapons. Losing the use of one arm will certainly lower the agent's combat efficiency, while the loss of both arms will render it nearly impossible for an agent to present even a nominal threat to most hostiles.|n|nLight Wounds: Slightly decreased accuracy.|nMedium Wounds: Moderately decreased accuracy.|nMajor Wounds: Significantly decreased accuracy."
     HealthPartDesc(3)="Injuries to the leg will result in drastically diminished mobility. If an agent in hostile territory is unfortunate enough to lose the use of both legs but still remain otherwise viable, they are ordered to execute UNATCO Special Operations Order 99009 (Self-Termination).|n|nLight Wounds: Slightly impaired movement.|nMedium Wounds: Moderately impaired movement.|nHeavy Wounds: Significantly impaired movement."
     bShowHealButtons=True
     MedKitUseText="To heal a specific region of the body, click on the region, then click the Heal button."
     HealthTitleText="Health"
     HealAllButtonLabel="H|&eal All"
     HealthLocationHead="Head"
     HealthLocationTorso="Torso"
     HealthLocationRightArm="Right Arm"
     HealthLocationLeftArm="Left Arm"
     HealthLocationRightLeg="Right Leg"
     HealthLocationLeftLeg="Left Leg"
     PointsHealedLabel="%d points healed"
     clientBorderOffsetY=32
     ClientWidth=596
     ClientHeight=427
     clientOffsetX=25
     clientOffsetY=5
     clientTextures(0)=Texture'DeusExUI.UserInterface.HealthBackground_1'
     clientTextures(1)=Texture'DeusExUI.UserInterface.HealthBackground_2'
     clientTextures(2)=Texture'DeusExUI.UserInterface.HealthBackground_3'
     clientTextures(3)=Texture'DeusExUI.UserInterface.HealthBackground_4'
     clientTextures(4)=Texture'DeusExUI.UserInterface.HealthBackground_5'
     clientTextures(5)=Texture'DeusExUI.UserInterface.HealthBackground_6'
     clientBorderTextures(0)=Texture'DeusExUI.UserInterface.HealthBorder_1'
     clientBorderTextures(1)=Texture'DeusExUI.UserInterface.HealthBorder_2'
     clientBorderTextures(2)=Texture'DeusExUI.UserInterface.HealthBorder_3'
     clientBorderTextures(3)=Texture'DeusExUI.UserInterface.HealthBorder_4'
     clientBorderTextures(4)=Texture'DeusExUI.UserInterface.HealthBorder_5'
     clientBorderTextures(5)=Texture'DeusExUI.UserInterface.HealthBorder_6'
     clientTextureRows=2
     clientTextureCols=3
     clientBorderTextureRows=2
     clientBorderTextureCols=3
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mon 8/11/2021 16:31:14.232 - Created with UnCodeX