getObject.cpp File Reference

Go to the source code of this file.

Functions

ObjectgetObject (ObjId id)
ItemgetItem (ObjId id)
ContainergetContainer (ObjId id)
ActorgetActor (ObjId id)
MainActorgetMainActor ()
GumpgetGump (ObjId id)


Function Documentation

Actor* getActor ( ObjId  id  ) 

Definition at line 43 of file getObject.cpp.

References ObjectManager::get_instance(), and ObjectManager::getObject().

Referenced by Actor::areEnemiesNear(), Actor::calculateAttackDamage(), AnimationTracker::checkWeaponHit(), ActorAnimProcess::doHitSpecial(), ActorAnimProcess::doSpecial(), PaperdollGump::DraggingItem(), PaperdollGump::DropItem(), AnimationTracker::evaluateMaxAnimTravel(), CameraProcess::GetCameraLocation(), CombatProcess::getTarget(), CombatProcess::getTargetDirection(), CombatProcess::inAttackRange(), ActorAnimProcess::init(), CombatProcess::isEnemy(), CombatProcess::isValidTarget(), CurrentMap::loadMap(), Item::movedByPlayer(), GameMapGump::OnMouseClick(), PaperdollGump::PaintStats(), PaperdollGump::PaintThis(), Actor::receiveHit(), SchedulerProcess::run(), ResurrectionProcess::run(), PathfinderProcess::run(), LoiterProcess::run(), GrantPeaceProcess::run(), FireballProcess::run(), CombatProcess::run(), ClearFeignDeathProcess::run(), AmbushProcess::run(), ActorBarkNotifyProcess::run(), ActorAnimProcess::run(), CombatProcess::seekTarget(), AnimationTracker::step(), PathfinderProcess::terminate(), CombatProcess::terminate(), ActorAnimProcess::terminate(), PaperdollGump::TraceObjId(), CombatProcess::turnToDirection(), AnimationTracker::updateActorFlags(), and CombatProcess::waitForTarget().

Container* getContainer ( ObjId  id  ) 

Definition at line 38 of file getObject.cpp.

References ObjectManager::get_instance(), and ObjectManager::getObject().

Referenced by Container::CanAddItem(), PaperdollGump::Close(), ContainerGump::Close(), U8Game::ConCmd_cheatEquip(), U8Game::ConCmd_cheatItems(), PaperdollGump::DraggingItem(), GameMapGump::DraggingItem(), ContainerGump::DraggingItem(), PaperdollGump::DropItem(), GameMapGump::DropItem(), ContainerGump::DropItem(), UCMachine::execProcess(), Item::getParentAsContainer(), ContainerGump::getTargetContainer(), ContainerGump::InitGump(), ContainerGump::PaintThis(), ContainerGump::StartDraggingItem(), and ContainerGump::TraceObjId().

Gump* getGump ( ObjId  id  ) 

Definition at line 53 of file getObject.cpp.

References ObjectManager::get_instance(), and ObjectManager::getObject().

Referenced by ContainerGump::Close(), ItemRelativeGump::GetItemLocation(), ButtonWidget::getVlead(), ButtonWidget::InitGump(), ButtonWidget::loadData(), BarkGump::loadData(), ScrollGump::NextText(), BookGump::NextText(), BarkGump::NextText(), ButtonWidget::OnMouseLeft(), and ButtonWidget::OnMouseOver().

Item* getItem ( ObjId  id  ) 

Definition at line 33 of file getObject.cpp.

References ObjectManager::get_instance(), and ObjectManager::getObject().

Referenced by Item::ascend(), AudioProcess::calculateSoundVolume(), CameraProcess::CameraProcess(), PaperdollGump::Close(), ContainerGump::Close(), Item::collideMove(), U8Game::ConCmd_cheatEquip(), MainActor::ConCmd_useBackpack(), ActorAnimProcess::doHitSpecial(), ActorAnimProcess::doSpecial(), ContainerGump::DropItem(), UCMachine::execProcess(), Item::explode(), FireballProcess::explode(), CameraProcess::FindRoof(), MainActor::getAttackingDex(), MainActor::getDamageAmount(), MainActor::getDamageType(), MainActor::getDefendingDex(), ItemRelativeGump::GetItemLocation(), ContainerGump::GetItemLocation(), CameraProcess::GetLerped(), PaperdollGump::GetLocationOfItem(), GameMapGump::GetLocationOfItem(), ContainerGump::GetLocationOfItem(), MainActor::getWeaponOverlay(), Item::grab(), GravityProcess::init(), MissileTracker::isPathClear(), CameraProcess::ItemMoved(), AvatarMoverProcess::jump(), MissileTracker::launchItem(), Item::movedByPlayer(), GUIApp::moveDragging(), GameMapGump::OnMouseClick(), ContainerGump::OnMouseClick(), GameMapGump::OnMouseDouble(), ContainerGump::OnMouseDouble(), TargetGump::OnMouseUp(), PaperdollGump::PaintThis(), GameMapGump::PaintThis(), PathfinderProcess::PathfinderProcess(), Actor::receiveHit(), StartU8Process::run(), SpriteProcess::run(), SplitItemProcess::run(), PathfinderProcess::run(), MissileProcess::run(), GravityProcess::run(), GrantPeaceProcess::run(), FireballProcess::run(), DestroyItemProcess::run(), AmbushProcess::run(), ActorAnimProcess::run(), GUIApp::startDragging(), AnimationTracker::step(), GUIApp::stopDragging(), World::switchMap(), GravityProcess::terminate(), CameraProcess::terminate(), GameMapGump::TraceCoordinates(), PaperdollGump::TraceObjId(), Actor::tryAnim(), MainActor::useInventoryItem(), U8Game::writeSaveInfo(), RemorseGame::writeSaveInfo(), and SpriteProcess::~SpriteProcess().

MainActor* getMainActor (  ) 

Definition at line 48 of file getObject.cpp.

References ObjectManager::get_instance(), and ObjectManager::getObject().

Referenced by Actor::calculateAttackDamage(), Container::CanAddItem(), AvatarMoverProcess::canAttack(), AvatarMoverProcess::checkTurn(), MenuGump::ChildNotify(), U8Game::ConCmd_cheatEquip(), U8Game::ConCmd_cheatItems(), GameMapGump::ConCmd_dumpMap(), MainActor::ConCmd_heal(), MainActor::ConCmd_mark(), MainActor::ConCmd_maxstats(), MainActor::ConCmd_name(), MainActor::ConCmd_recall(), MainActor::ConCmd_teleport(), MainActor::ConCmd_toggleCombat(), MainActor::ConCmd_toggleInvincibility(), MainActor::ConCmd_useBackpack(), MainActor::ConCmd_useBedroll(), MainActor::ConCmd_useInventory(), MainActor::ConCmd_useKeyring(), MainActor::ConCmd_useRecall(), Actor::createActor(), Actor::die(), ActorAnimProcess::doHitSpecial(), ActorAnimProcess::doSpecial(), GameMapGump::DraggingItem(), ContainerGump::DraggingItem(), GameMapGump::DropItem(), HealProcess::feedAvatar(), GUIApp::getMouseFrame(), Item::getThrowRange(), AvatarMoverProcess::handleCombatMode(), AvatarMoverProcess::handleHangingMode(), AvatarMoverProcess::handleNormalMode(), TeleportEgg::hatch(), MenuGump::InitGump(), AvatarMoverProcess::jump(), MenuGump::OnKeyDown(), GameMapGump::OnMouseClick(), MiniStatsGump::OnMouseDouble(), GameMapGump::OnMouseDouble(), ContainerGump::OnMouseDouble(), ItemSorter::PaintSortItem(), MiniStatsGump::PaintThis(), MiniMapGump::PaintThis(), GameMapGump::PaintThis(), MusicProcess::playMusic(), Actor::receiveHit(), TeleportToEggProcess::run(), QuickAvatarMoverProcess::run(), HealProcess::run(), EggHatcherProcess::run(), AvatarMoverProcess::run(), AvatarGravityProcess::run(), AvatarDeathProcess::run(), GUIApp::saveGame(), MenuGump::selectEntry(), GameMapGump::StartDraggingItem(), ContainerGump::StartDraggingItem(), U8Game::startGame(), AvatarMoverProcess::step(), AvatarMoverProcess::turnToDirection(), World::worldStats(), U8Game::writeSaveInfo(), and RemorseGame::writeSaveInfo().

Object* getObject ( ObjId  id  ) 

Definition at line 28 of file getObject.cpp.

References ObjectManager::get_instance(), and ObjectManager::getObject().

Referenced by GUIApp::getGump(), StartU8Process::run(), and EggHatcherProcess::run().


Generated on Fri Jul 27 22:28:03 2007 for pentagram by  doxygen 1.4.7