GrantPeaceProcess Class Reference

#include <GrantPeaceProcess.h>

Inheritance diagram for GrantPeaceProcess:

Process List of all members.

Public Member Functions

 GrantPeaceProcess ()
 GrantPeaceProcess (Actor *caster)
 ENABLE_RUNTIME_CLASSTYPE ()
virtual bool run (const uint32 framenum)
 INTRINSIC (I_castGrantPeace)
bool loadData (IDataSource *ids, uint32 version)

Protected Member Functions

virtual void saveData (ODataSource *ods)

Protected Attributes

bool havetarget

Detailed Description

Definition at line 27 of file GrantPeaceProcess.h.


Constructor & Destructor Documentation

GrantPeaceProcess::GrantPeaceProcess (  ) 

Definition at line 44 of file GrantPeaceProcess.cpp.

GrantPeaceProcess::GrantPeaceProcess ( Actor caster  ) 

Definition at line 49 of file GrantPeaceProcess.cpp.

References Object::getObjId(), havetarget, Process::item_num, and Process::type.


Member Function Documentation

GrantPeaceProcess::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from Process.

GrantPeaceProcess::INTRINSIC ( I_castGrantPeace   ) 

bool GrantPeaceProcess::loadData ( IDataSource ids,
uint32  version 
)

load Process data

Reimplemented from Process.

Definition at line 226 of file GrantPeaceProcess.cpp.

References havetarget, and Process::loadData().

bool GrantPeaceProcess::run ( const uint32  framenum  )  [virtual]

Implements Process.

Definition at line 59 of file GrantPeaceProcess.cpp.

References Actor::ACT_DEAD, Actor::ACT_IMMORTAL, Actor::ACT_INVINCIBLE, Kernel::addProcess(), WeaponInfo::DMG_FIRE, WeaponInfo::DMG_MAGIC, WeaponInfo::DMG_PIERCE, WeaponInfo::DMG_UNDEAD, AudioProcess::get_instance(), Kernel::get_instance(), World::get_instance(), getActor(), World::getCurrentMap(), Item::getDirToItemCentre(), getItem(), Gump::GetNotifyProcess(), Process::getPid(), UCList::getSize(), UCList::getuint16(), havetarget, TargetGump::InitGump(), Process::item_num, AudioProcess::playSFX(), Actor::receiveHit(), Process::result, Item::setFrame(), Process::terminate(), Process::waitFor(), x_fact, and y_fact.

void GrantPeaceProcess::saveData ( ODataSource ods  )  [protected, virtual]

save the Process data

Reimplemented from Process.

Definition at line 218 of file GrantPeaceProcess.cpp.

References havetarget, Process::saveData(), and ODataSource::write1().


Member Data Documentation

bool GrantPeaceProcess::havetarget [protected]

Definition at line 44 of file GrantPeaceProcess.h.

Referenced by GrantPeaceProcess(), loadData(), run(), and saveData().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:18 2007 for pentagram by  doxygen 1.4.7