CGameFireball3d Class¶
The structure used for this class is CGameFireball3d
Quick Ref |
void CGameFireball3d::CGameFireball3d(unsigned char type, unsigned short projectileID, unsigned char* colorRangeValues, short radius, unsigned char speed, unsigned char collision, unsigned long projectileFlags, short holdDuration, int bCone, unsigned short coneSize, CPoint& posEdge) |
virtual void CGameFireball3d::~CGameFireball3d() |
virtual void CGameFireball3d::AIUpdate() |
int CGameFireball3d::AddToAreaFireball(CGameArea* pArea, CPoint& pos, long posZ, unsigned char listType) |
virtual unsigned char CGameFireball3d::CanSaveGame(unsigned long& strError, int restCheck, int combatCheck) |
void CGameFireball3d::CreateStaticTemporal(short duration, CPoint& ptTemp, CPoint& ptSpeed) |
void CGameFireball3d::CreateTemporal(short duration, CPoint& ptTemp, CPoint& ptSpeed) |
virtual void CGameFireball3d::RemoveFromArea() |
virtual void CGameFireball3d::Render(CGameArea* pArea, CVidMode* pVidMode) |
void CGameFireball3d::SetFlags(unsigned long flags) |
void CGameFireball3d::SetSndExplosion(CResRef resref) |
void CGameFireball3d::SetSpriteSplashVidCell(CResRef resref, int paletted) |
Constructors¶
Name |
Description |
Constructs a |
|
Destroys a |
CGameFireball3d::CGameFireball3d¶
Constructs a CGameFireball3d
object
void CGameFireball3d::CGameFireball3d(
unsigned char type,
unsigned short projectileID,
unsigned char* colorRangeValues,
short radius,
unsigned char speed,
unsigned char collision,
unsigned long projectileFlags,
short holdDuration,
int bCone,
unsigned short coneSize,
CPoint& posEdge);
Parameters
unsigned char
type -unsigned short
projectileID -unsigned char
* colorRangeValues -short
radius -unsigned char
speed -unsigned char
collision -unsigned long
projectileFlags -short
holdDuration -int
bCone -unsigned short
coneSize -CPoint& posEdge -
Remarks
Constructs a CGameFireball3d
object
CGameFireball3d::~CGameFireball3d¶
Destroys the CGameFireball3d
object
virtual void **CGameFireball3d\:\:~CGameFireball3d**\();
Remarks
Destroys the CGameFireball3d
object
Methods¶
Name |
Description |
Add fireball object to area |
|
Remove fireball object from area |
|
Render fireball object |
|
Set fireball object flags |
|
Set sound explosion for the fireball object |
|
Set sprite splash for the fireball object |
CGameFireball3d::AIUpdate¶
virtual void CGameFireball3d::AIUpdate();
Remarks
CGameFireball3d::AddToAreaFireball¶
Add fireball object to area
int CGameFireball3d::AddToAreaFireball(
CGameArea* pArea,
CPoint& pos,
long posZ,
unsigned char listType);
Parameters
CGameArea* pArea - pointer to area to add fireball to
CPoint& pos - x and y coordinates where to add fireball
long
posZ - z height position of fireballunsigned char
listType -
Return Value
Returns int
Remarks
CGameFireball3d::CanSaveGame¶
virtual unsigned char CGameFireball3d::CanSaveGame(
unsigned long& strError,
int restCheck,
int combatCheck);
Parameters
unsigned long
& strError -int
restCheck -int
combatCheck -
Return Value
Returns unsigned char
Remarks
CGameFireball3d::CreateStaticTemporal¶
void CGameFireball3d::CreateStaticTemporal(
short duration,
CPoint& ptTemp,
CPoint& ptSpeed);
Parameters
Remarks
CGameFireball3d::CreateTemporal¶
void CGameFireball3d::CreateTemporal(
short duration,
CPoint& ptTemp,
CPoint& ptSpeed);
Parameters
Remarks
CGameFireball3d::RemoveFromArea¶
Remove fireball object from area
virtual void CGameFireball3d::RemoveFromArea();
Remarks
CGameFireball3d::Render¶
Render fireball object
virtual void CGameFireball3d::Render(
CGameArea* pArea,
CVidMode* pVidMode);
Parameters
Remarks
CGameFireball3d::SetFlags¶
Set fireball object flags
void CGameFireball3d::SetFlags(unsigned long flags);
Parameters
unsigned long
flags -
Remarks
CGameFireball3d::SetSndExplosion¶
Set sound explosion for the fireball object
void CGameFireball3d::SetSndExplosion(CResRef resref);
Parameters
CResRef resref - resource reference for explosion sound to play
Remarks
CGameFireball3d::SetSpriteSplashVidCell¶
Set sprite splash for the fireball object
void CGameFireball3d::SetSpriteSplashVidCell(
CResRef resref,
int paletted);
Parameters
CResRef resref - resource reference for sprite splash
int
paletted - true or false?
Remarks