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

Relics.HUDMutator


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
class HUDMutator expands Mutator;

// crappy hack to work with version 400 (which didn't have the NextHUDMutator variable)
// this means its not compatible with other HUD mutators that aren't subclassed from RelicHUDMutator :(
var HUDMutator NextRHUDMutator;
var PlayerPawn PlayerOwner;// Registers the current mutator on the client to receive PostRender calls.
var bool bIsHudMutator;

// Fixed version of the Mutator function
simulated function RegisteraHUDMutator()
{
    local PlayerPawn P;

    ForEach AllActors(class'PlayerPawn', P)
        if ( P.myHUD != None )
        {
            NextRHUDMutator = HUDMutator(P.myHud.HUDMutator);
            P.myHUD.HUDMutator = Self;
            PlayerOwner = P;
            bIsHUDMutator = True;
        }   
}

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: So 5.12.2004 09:34:48.000 - Creation time: Fr 7.6.2013 13:15:47.301 - Created with UnCodeX