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

#include <GhostObject.h>

Inherits Snapshot.

Inherited by W3DGhostObject.

Public Member Functions

 GhostObject ()
 
virtual ~GhostObject ()
 
virtual void snapShot (int playerIndex)=0
 
virtual void updateParentObject (Object *object, PartitionData *mod)=0
 
virtual void freeSnapShot (int playerIndex)=0
 
PartitionDatafriend_getPartitionData (void) const
 
GeometryType getGeometryType (void) const
 
Bool getGeometrySmall (void) const
 
Real getGeometryMajorRadius (void) const
 
Real getGeometryMinorRadius (void) const
 
Real getParentAngle (void) const
 
const Coord3DgetParentPosition (void) const
 
- 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 Attributes

Objectm_parentObject
 object which we are ghosting
 
GeometryType m_parentGeometryType
 
Bool m_parentGeometryIsSmall
 
Real m_parentGeometryMajorRadius
 
Real m_parentGeometryminorRadius
 
Real m_parentAngle
 
Coord3D m_parentPosition
 
PartitionDatam_partitionData
 our PartitionData
 

Detailed Description

Definition at line 49 of file GhostObject.h.

Constructor & Destructor Documentation

◆ GhostObject()

GhostObject::GhostObject ( void )

Definition at line 41 of file GhostObject.cpp.

◆ ~GhostObject()

GhostObject::~GhostObject ( )
virtual

Definition at line 57 of file GhostObject.cpp.

Member Function Documentation

◆ crc()

void GhostObject::crc ( Xfer * xfer)
protectedvirtual

CRC

Implements Snapshot.

Reimplemented in W3DGhostObject.

Definition at line 65 of file GhostObject.cpp.

◆ freeSnapShot()

virtual void GhostObject::freeSnapShot ( int playerIndex)
pure virtual

Implemented in W3DGhostObject.

◆ friend_getPartitionData()

PartitionData * GhostObject::friend_getPartitionData ( void ) const
inline

Definition at line 57 of file GhostObject.h.

◆ getGeometryMajorRadius()

Real GhostObject::getGeometryMajorRadius ( void ) const
inline

Definition at line 60 of file GhostObject.h.

◆ getGeometryMinorRadius()

Real GhostObject::getGeometryMinorRadius ( void ) const
inline

Definition at line 61 of file GhostObject.h.

◆ getGeometrySmall()

Bool GhostObject::getGeometrySmall ( void ) const
inline

Definition at line 59 of file GhostObject.h.

◆ getGeometryType()

GeometryType GhostObject::getGeometryType ( void ) const
inline

Definition at line 58 of file GhostObject.h.

◆ getParentAngle()

Real GhostObject::getParentAngle ( void ) const
inline

Definition at line 62 of file GhostObject.h.

◆ getParentPosition()

const Coord3D * GhostObject::getParentPosition ( void ) const
inline

Definition at line 63 of file GhostObject.h.

◆ loadPostProcess()

void GhostObject::loadPostProcess ( void )
protectedvirtual

Load post process

Implements Snapshot.

Reimplemented in W3DGhostObject.

Definition at line 132 of file GhostObject.cpp.

◆ snapShot()

virtual void GhostObject::snapShot ( int playerIndex)
pure virtual

Implemented in W3DGhostObject.

◆ updateParentObject()

virtual void GhostObject::updateParentObject ( Object * object,
PartitionData * mod )
pure virtual

Implemented in W3DGhostObject.

◆ xfer()

void GhostObject::xfer ( Xfer * xfer)
protectedvirtual

Xfer Method Version Info: 1: Initial version

Todo
write me ---> !!!!!

Implements Snapshot.

Reimplemented in W3DGhostObject.

Definition at line 75 of file GhostObject.cpp.

Member Data Documentation

◆ m_parentAngle

Real GhostObject::m_parentAngle
protected

Definition at line 76 of file GhostObject.h.

◆ m_parentGeometryIsSmall

Bool GhostObject::m_parentGeometryIsSmall
protected

Definition at line 73 of file GhostObject.h.

◆ m_parentGeometryMajorRadius

Real GhostObject::m_parentGeometryMajorRadius
protected

Definition at line 74 of file GhostObject.h.

◆ m_parentGeometryminorRadius

Real GhostObject::m_parentGeometryminorRadius
protected

Definition at line 75 of file GhostObject.h.

◆ m_parentGeometryType

GeometryType GhostObject::m_parentGeometryType
protected

Definition at line 72 of file GhostObject.h.

◆ m_parentObject

Object* GhostObject::m_parentObject
protected

object which we are ghosting

Definition at line 71 of file GhostObject.h.

◆ m_parentPosition

Coord3D GhostObject::m_parentPosition
protected

Definition at line 77 of file GhostObject.h.

◆ m_partitionData

PartitionData* GhostObject::m_partitionData
protected

our PartitionData

Definition at line 78 of file GhostObject.h.


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