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

#include <Module.h>

Inherits Module.

Inherited by ClientUpdateModule, and DrawModule.

Public Member Functions

 DrawableModule (Thing *thing, const ModuleData *moduleData)
 < this abstract class needs memory pool hooks
 
- Public Member Functions inherited from Module
 Module (const ModuleData *moduleData)
 < this abstract class needs memory pool hooks
 
virtual NameKeyType getModuleNameKey () const =0
 
NameKeyType getModuleTagNameKey () const
 
virtual void onObjectCreated ()
 
virtual void onDrawableBoundToObject ()
 
virtual void preloadAssets (TimeOfDay timeOfDay)
 preload any assets we might have for this time of day
 
virtual void onDelete (void)
 
- Public Member Functions inherited from MemoryPoolObject
void deleteInstance ()
 
- Public Member Functions inherited from Snapshot
 Snapshot (void)
 
 ~Snapshot (void)
 

Protected Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from Module
static ModuleDatafriend_newModuleData (INI *ini)
 

Detailed Description

Module interface specific for Drawbles, this is really just to make a clear distinction between modules intended for use in objects and modules intended for use in drawables

Definition at line 289 of file Module.h.

Constructor & Destructor Documentation

◆ DrawableModule()

DrawableModule::DrawableModule ( Thing * thing,
const ModuleData * moduleData )

< this abstract class needs memory pool hooks

Definition at line 175 of file Module.cpp.

Member Function Documentation

◆ crc()

void DrawableModule::crc ( Xfer * xfer)
protectedvirtual

CRC

Reimplemented from Module.

Definition at line 199 of file Module.cpp.

◆ getDrawable() [1/2]

Drawable * DrawableModule::getDrawable ( )
inlineprotected

Definition at line 301 of file Module.h.

◆ getDrawable() [2/2]

const Drawable * DrawableModule::getDrawable ( ) const
inlineprotected

Definition at line 302 of file Module.h.

◆ loadPostProcess()

void DrawableModule::loadPostProcess ( void )
protectedvirtual

load post process

Reimplemented from Module.

Definition at line 228 of file Module.cpp.

◆ xfer()

void DrawableModule::xfer ( Xfer * xfer)
protectedvirtual

Xfer method Version Info: 1: Initial version

Reimplemented from Module.

Definition at line 212 of file Module.cpp.


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