afxZodiacData

Engine/source/afx/ce/afxZodiac.h

More...

Public Types

enum
BlendType {
  BLEND_NORMAL = 0x0
  BLEND_ADDITIVE = 0x1
  BLEND_SUBTRACTIVE = 0x2
  BLEND_RESERVED = 0x3
  BLEND_MASK = 0x3
}

Private Types

Parent 

Public Static Functions

Public Functions

calcRotationAngle(F32 elapsed, F32 rate_factor)
bool

Called when the object is added to the sim.

onStaticModified(const char * slotName, const char * newValue)

Specifically, these are called by setDataField when a static or dynamic field is modified, see the console details.

bool
preload(bool server, String & errorStr)

Called to prepare the datablock for use, after it has been unpacked.

Detailed Description

Public Types

BlendType

Enumerator

BLEND_NORMAL = 0x0
BLEND_ADDITIVE = 0x1
BLEND_SUBTRACTIVE = 0x2
BLEND_RESERVED = 0x3
BLEND_MASK = 0x3

Private Types

typedef GameBaseData Parent 

Public Attributes

bool altitude_fades 
F32 altitude_falloff 
F32 altitude_max 
bool altitude_shrinks 
F32 ang_per_sec 
U32 blend_flags 
LinearColorF color 
F32 distance_falloff 
F32 distance_max 
Point2F grade_range 
Point2F grade_range_user 
F32 grow_in_time 
F32 growth_rate 
bool interior_back_ignore 
bool interior_h_only 
bool interior_opaque_ignore 
bool interior_transp_ignore 
bool interior_v_ignore 
bool interiors_ok 
bool inv_grade_range 
bool non_reflected_ok 
bool prefer_dest_grade 
F32 radius_xy 
bool reflected_ok 
bool respect_ori_cons 
bool scale_vert_range 
F32 shrink_out_time 
F32 start_ang 
bool terrain_ok 
GFXTexHandle txr 
StringTableEntry txr_name 
bool use_grade_range 
Point2F vert_range 
U32 zflags 

Public Static Attributes

StringTableEntry GradientRangeSlot 
bool sPreferDestinationGradients 

Public Static Functions

convertGradientRangeFromDegrees(Point2F & gradrange, const Point2F & gradrange_deg)

initPersistFields()

Public Functions

afxZodiacData()

afxZodiacData(const afxZodiacData & , bool )

allowSubstitutions()

Reimplemented from: SimObject

calcRotationAngle(F32 elapsed, F32 rate_factor)

DECLARE_CATEGORY("AFX" )

DECLARE_CONOBJECT(afxZodiacData )

expand_zflags()

merge_zflags()

onAdd()

Reimplemented from: SimObject

onPerformSubstitutions()

Reimplemented from: SimDataBlock

onStaticModified(const char * slotName, const char * newValue)

Reimplemented from: SimDataBlock

packData(BitStream * )

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

unpackData(BitStream * )

Reimplemented from: SimDataBlock