Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
TintEnvelope Class Reference

#include <Drawable.h>

Inherits MemoryPoolObject, and Snapshot.

Public Member Functions

 TintEnvelope (void)
 
void update (void)
 does all the work
 
void play (const RGBColor *peak, UnsignedInt atackFrames=DEF_ATTACK_FRAMES, UnsignedInt decayFrames=DEF_DECAY_FRAMES, UnsignedInt sustainAtPeak=DEF_SUSTAIN_FRAMES)
 
void sustain (void)
 
void release (void)
 
void rest (void)
 
Bool isEffective () const
 
const Vector3getColor () const
 
- Public Member Functions inherited from MemoryPoolObject
void deleteInstance ()
 
- Public Member Functions inherited from Snapshot
 Snapshot (void)
 
 ~Snapshot (void)
 

Protected Member Functions

virtual void crc (Xfer *xfer)
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 
- Protected Member Functions inherited from MemoryPoolObject
virtual ~MemoryPoolObject ()
 
void * operator new (size_t s)
 
void operator delete (void *p)
 
virtual MemoryPoolgetObjectMemoryPool ()=0
 

Detailed Description

Definition at line 166 of file Drawable.h.

Constructor & Destructor Documentation

◆ TintEnvelope()

TintEnvelope::TintEnvelope ( void )

Definition at line 5479 of file Drawable.cpp.

Member Function Documentation

◆ crc()

void TintEnvelope::crc ( Xfer * xfer)
protectedvirtual

CRC

Implements Snapshot.

Definition at line 5602 of file Drawable.cpp.

◆ getColor()

const Vector3 * TintEnvelope::getColor ( ) const
inline

Definition at line 181 of file Drawable.h.

◆ isEffective()

Bool TintEnvelope::isEffective ( ) const
inline

Definition at line 180 of file Drawable.h.

◆ loadPostProcess()

void TintEnvelope::loadPostProcess ( void )
protectedvirtual

Load Post Process

Implements Snapshot.

Definition at line 5646 of file Drawable.cpp.

◆ play()

void TintEnvelope::play ( const RGBColor * peak,
UnsignedInt atackFrames = DEF_ATTACK_FRAMES,
UnsignedInt decayFrames = DEF_DECAY_FRAMES,
UnsignedInt sustainAtPeak = DEF_SUSTAIN_FRAMES )

Definition at line 5494 of file Drawable.cpp.

◆ release()

void TintEnvelope::release ( void )
inline

Definition at line 178 of file Drawable.h.

◆ rest()

void TintEnvelope::rest ( void )
inline

Definition at line 179 of file Drawable.h.

◆ sustain()

void TintEnvelope::sustain ( void )
inline

Definition at line 177 of file Drawable.h.

◆ update()

void TintEnvelope::update ( void )

does all the work

Definition at line 5531 of file Drawable.cpp.

◆ xfer()

void TintEnvelope::xfer ( Xfer * xfer)
protectedvirtual

Xfer Method Version Info; 1: Initial version

Implements Snapshot.

Definition at line 5612 of file Drawable.cpp.


The documentation for this class was generated from the following files: