Ares
Classes | Public Types | Static Public Member Functions | Static Public Attributes

TechnoTypeExt Class Reference

#include <src/Ext/TechnoType/Body.h>

List of all members.

Classes

class  ExtData

Public Types

enum  SpotlightAttachment { sa_Body, sa_Turret, sa_Barrel }
typedef TechnoTypeClass TT

Static Public Member Functions

static void PointerGotInvalid (void *ptr)
static void InferEMPImmunity (TechnoTypeClass *Type, CCINIClass *pINI)

Static Public Attributes

static Container< TechnoTypeExtExtMap

Member Typedef Documentation

typedef TechnoTypeClass TechnoTypeExt::TT

Member Enumeration Documentation

Enumerator:
sa_Body 
sa_Turret 
sa_Barrel 

Member Function Documentation

void TechnoTypeExt::InferEMPImmunity ( TechnoTypeClass *  Type,
CCINIClass *  pINI 
) [static]
                                                                            {
        TechnoTypeExt::ExtData *pData = TechnoTypeExt::ExtMap.Find(Type);

        // EMP immunity. The default for each type is decided by the EMPulse class.
        pData->ImmuneToEMP.BindEx(!EMPulse::IsTypeEMPProne(Type));
        pData->ImmuneToEMP.Set(pINI->ReadBool(Type->ID, "ImmuneToEMP", pData->ImmuneToEMP.Get()));
}
static void TechnoTypeExt::PointerGotInvalid ( void *  ptr) [static]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines