CVEFVidCell Class


Overview

Note

The CVEFVidCell class handles

The structure used for this class is CVEFVidCell


Quick Reference

Quick Ref

void CVEFVidCell::CVEFVidCell()

virtual void CVEFVidCell::~CVEFVidCell()

void CVEFVidCell::Activate(CGameArea* pArea, CPoint& pos, long height, unsigned char listType, long time)

void CVEFVidCell::CalculateFXRect(CRect& rFX, CPoint& ptReference)

void CVEFVidCell::CalculatePos(CPoint& center)

virtual unsigned char CVEFVidCell::CompressTime(unsigned long deltaTime)

void CVEFVidCell::CopyFromBase(CVEFVidCellBase* pBase)

void CVEFVidCell::FrameAdvance(long time)

virtual short __cdecl CVEFVidCell::GetDirection(CPoint& start, CPoint& target, short curDirection)

void CVEFVidCell::PlaySound(CResRef res, int loop, int bFireAndForget)

virtual void CVEFVidCell::Render(CGameArea* pArea, CVidMode* pVidMode)

void CVEFVidCell::SetDirection(CPoint& parentPos, CPoint& parentPosOld, CPoint& targetPos, short targetDirection)

void CVEFVidCell::SetDirectionSequence(long newDirection)

void CVEFVidCell::SetRenderType()

virtual unsigned char CVEFVidCell::CanSaveGame(unsigned long& strError, int restCheck, int combatCheck)


Constructors

Name

Description

CVEFVidCell::CVEFVidCell

Constructs a CVEFVidCell object

CVEFVidCell::CVEFVidCell

Destroys a CVEFVidCell object

CVEFVidCell::CVEFVidCell

Constructs a CVEFVidCell object

void CVEFVidCell::CVEFVidCell();

Remarks

Constructs a CVEFVidCell object


CVEFVidCell::~CVEFVidCell

Destroys the CVEFVidCell object

virtual void CVEFVidCell::~CVEFVidCell();

Remarks

Destroys the CVEFVidCell object


Methods

Name

Description

CVEFVidCell::Activate

CVEFVidCell::CalculateFXRect

CVEFVidCell::CalculatePos

CVEFVidCell::CompressTime

CVEFVidCell::CopyFromBase

CVEFVidCell::FrameAdvance

CVEFVidCell::GetDirection

CVEFVidCell::PlaySound

CVEFVidCell::Render

CVEFVidCell::SetDirection

CVEFVidCell::SetDirectionSequence

CVEFVidCell::SetRenderType

CVEFVidCell::CanSaveGame


CVEFVidCell::Activate

void CVEFVidCell::Activate(
   CGameArea* pArea,
   CPoint& pos,
   long height,
   unsigned char listType,
   long time);

Parameters

  • CGameArea* pArea -

  • CPoint& pos -

  • long height -

  • unsigned char listType -

  • long time -

Remarks


CVEFVidCell::CalculateFXRect

void CVEFVidCell::CalculateFXRect(
   CRect& rFX,
   CPoint& ptReference);

Parameters

Remarks


CVEFVidCell::CalculatePos

void CVEFVidCell::CalculatePos(CPoint& center);

Parameters

Remarks


CVEFVidCell::CompressTime

virtual unsigned char CVEFVidCell::CompressTime(unsigned long deltaTime);

Parameters

  • unsigned long deltaTime -

Return Value

Returns unsigned char

Remarks


CVEFVidCell::CopyFromBase

void CVEFVidCell::CopyFromBase(CVEFVidCellBase* pBase);

Parameters

Remarks


CVEFVidCell::FrameAdvance

void CVEFVidCell::FrameAdvance(long time);

Parameters

  • long time -

Remarks


CVEFVidCell::GetDirection

virtual short __cdecl CVEFVidCell::GetDirection(
   CPoint& start,
   CPoint& target,
   short curDirection);

Parameters

Return Value

Returns short

Remarks


CVEFVidCell::PlaySound

void CVEFVidCell::PlaySound(
   CResRef res,
   int loop,
   int bFireAndForget);

Parameters

  • CResRef res -

  • int loop -

  • int bFireAndForget -

Remarks


CVEFVidCell::Render

virtual void CVEFVidCell::Render(
   CGameArea* pArea,
   CVidMode* pVidMode);

Parameters

Remarks


CVEFVidCell::SetDirection

void CVEFVidCell::SetDirection(
   CPoint& parentPos,
   CPoint& parentPosOld,
   CPoint& targetPos,
   short targetDirection);

Parameters

Remarks


CVEFVidCell::SetDirectionSequence

void CVEFVidCell::SetDirectionSequence(long newDirection);

Parameters

  • long newDirection -

Remarks


CVEFVidCell::SetRenderType

void CVEFVidCell::SetRenderType();

Remarks


CVEFVidCell::CanSaveGame

virtual unsigned char CVEFVidCell::CanSaveGame(
   unsigned long& strError,
   int restCheck,
   int combatCheck);

Parameters

  • unsigned long& strError -

  • int restCheck -

  • int combatCheck -

Return Value

Returns unsigned char

Remarks