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

#include <LocomotorSet.h>

Inherits Snapshot.

Public Member Functions

 LocomotorSet ()
 
 ~LocomotorSet ()
 
void clear ()
 
void addLocomotor (const LocomotorTemplate *lt)
 
LocomotorfindLocomotor (LocomotorSurfaceTypeMask t)
 
void xferSelfAndCurLocoPtr (Xfer *xfer, Locomotor **loco)
 
LocomotorSurfaceTypeMask getValidSurfaces () const
 
Bool isDownhillOnly (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)
 

Detailed Description

Definition at line 80 of file LocomotorSet.h.

Constructor & Destructor Documentation

◆ LocomotorSet()

LocomotorSet::LocomotorSet ( )

Definition at line 2620 of file Locomotor.cpp.

◆ ~LocomotorSet()

LocomotorSet::~LocomotorSet ( )

Definition at line 2645 of file Locomotor.cpp.

Member Function Documentation

◆ addLocomotor()

void LocomotorSet::addLocomotor ( const LocomotorTemplate * lt)

Definition at line 2777 of file Locomotor.cpp.

◆ clear()

void LocomotorSet::clear ( )

Definition at line 2764 of file Locomotor.cpp.

◆ crc()

void LocomotorSet::crc ( Xfer * xfer)
protectedvirtual

CRC

Implements Snapshot.

Definition at line 2653 of file Locomotor.cpp.

◆ findLocomotor()

Locomotor * LocomotorSet::findLocomotor ( LocomotorSurfaceTypeMask t)

Definition at line 2797 of file Locomotor.cpp.

◆ getValidSurfaces()

LocomotorSurfaceTypeMask LocomotorSet::getValidSurfaces ( ) const
inline

Definition at line 109 of file LocomotorSet.h.

◆ isDownhillOnly()

Bool LocomotorSet::isDownhillOnly ( void ) const
inline

Definition at line 110 of file LocomotorSet.h.

◆ loadPostProcess()

void LocomotorSet::loadPostProcess ( void )
protectedvirtual

Load post process

Implements Snapshot.

Definition at line 2720 of file Locomotor.cpp.

◆ xfer()

void LocomotorSet::xfer ( Xfer * xfer)
protectedvirtual

Xfer method Version Info: 1: Initial version

Implements Snapshot.

Definition at line 2663 of file Locomotor.cpp.

◆ xferSelfAndCurLocoPtr()

void LocomotorSet::xferSelfAndCurLocoPtr ( Xfer * xfer,
Locomotor ** loco )

Definition at line 2726 of file Locomotor.cpp.


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