Home
last modified time | relevance | path

Searched refs:GameEntity (Results 1 – 25 of 120) sorted by relevance

12345

/dports/games/opendungeons/OpenDungeons-0.7.1/source/entities/
H A DGameEntity.cpp81 GameEntity::GameEntity( in GameEntity() function in GameEntity
104 void GameEntity::deleteYourself() in deleteYourself()
115 Tile* GameEntity::getPositionTile() const in getPositionTile()
123 void GameEntity::addEntityToPositionTile() in addEntityToPositionTile()
442 void GameEntity::destroyMeshLocal() in destroyMeshLocal()
461 void GameEntity::clientUpkeep() in clientUpkeep()
488 void GameEntity::restoreEntityState() in restoreEntityState()
519 void GameEntity::fireEntityDead() in fireEntityDead()
554 void GameEntity::exportToStream(GameEntity* entity, std::ostream& os) in exportToStream()
565 void GameEntity::createMesh() in createMesh()
[all …]
H A DCreature.h269 std::vector<GameEntity*> getVisibleEnemyObjects();
272 …std::vector<GameEntity*> getReachableAttackableObjects(const std::vector<GameEntity*> &objectsToCh…
275 …std::vector<GameEntity*> getCreaturesFromList(const std::vector<GameEntity*> &objectsToCheck, bool…
278 std::vector<GameEntity*> getVisibleAlliedObjects();
462 inline GameEntity* getCarriedEntity() const in getCarriedEntity()
465 void carryEntity(GameEntity* carriedEntity);
585 …rchBestTargetInList(const std::vector<GameEntity*>& listObjects, const std::vector<Tile*>& tilesFi…
692 std::vector<GameEntity*> mVisibleEnemyObjects;
693 std::vector<GameEntity*> mVisibleAlliedObjects;
694 std::vector<GameEntity*> mReachableAlliedObjects;
[all …]
H A DMissileObject.h50 …const Ogre::Vector3& direction, double speed, GameEntity* entityTarget, bool damageAllies, bool ko…
67 virtual bool hitCreature(Tile* tile, GameEntity* entity) in hitCreature()
72 virtual void hitTargetEntity(Tile* tile, GameEntity* entityTarget) in hitTargetEntity()
85 virtual bool notifyDead(GameEntity* entity) override;
86 virtual bool notifyRemovedFromGameMap(GameEntity* entity) override;
87 virtual bool notifyPickedUp(GameEntity* entity) override;
88 virtual bool notifyDropped(GameEntity* entity) override;
110 GameEntity* mEntityTarget;
H A DGameEntity.h39 class GameEntity; variable
130 virtual bool notifyDead(GameEntity* entity) = 0;
134 virtual bool notifyRemovedFromGameMap(GameEntity* entity) = 0;
138 virtual bool notifyPickedUp(GameEntity* entity) = 0;
142 virtual bool notifyDropped(GameEntity* entity) = 0;
153 class GameEntity
157 GameEntity(
164 virtual ~GameEntity() {} in ~GameEntity()
311 …virtual double takeDamage(GameEntity* attacker, double absoluteDamage, double physicalDamage, doub…
395 static void exportToStream(GameEntity* entity, std::ostream& os);
H A DMissileObject.cpp153 GameEntity* target = mEntityTarget; in doUpkeep()
170 …std::vector<GameEntity*> enemyCreatures = getGameMap()->getVisibleCreatures(tileVector, getSeat(),… in doUpkeep()
171 …for(std::vector<GameEntity*>::iterator it = enemyCreatures.begin(); it != enemyCreatures.end(); ++… in doUpkeep()
173 GameEntity* creature = *it; in doUpkeep()
186 …std::vector<GameEntity*> alliedCreatures = getGameMap()->getVisibleCreatures(tileVector, getSeat()… in doUpkeep()
187 …for(std::vector<GameEntity*>::iterator it = alliedCreatures.begin(); it != alliedCreatures.end(); … in doUpkeep()
189 GameEntity* creature = *it; in doUpkeep()
234 bool MissileObject::notifyDead(GameEntity* entity) in notifyDead()
244 bool MissileObject::notifyRemovedFromGameMap(GameEntity* entity) in notifyRemovedFromGameMap()
254 bool MissileObject::notifyPickedUp(GameEntity* entity) in notifyPickedUp()
[all …]
H A DBuilding.h65 class Building : public GameEntity
70 GameEntity(gameMap) in Building()
122 …double takeDamage(GameEntity* attacker, double absoluteDamage, double physicalDamage, double magic…
131 virtual bool hasCarryEntitySpot(GameEntity* carriedEntity) in hasCarryEntitySpot()
139 virtual Tile* askSpotForCarriedEntity(GameEntity* carriedEntity) in askSpotForCarriedEntity()
146 virtual void notifyCarryingStateChanged(Creature* carrier, GameEntity* carriedEntity) in notifyCarryingStateChanged()
H A DDoorEntity.h46 bool notifyDead(GameEntity* entity) override;
47 bool notifyRemovedFromGameMap(GameEntity* entity) override;
48 bool notifyPickedUp(GameEntity* entity) override;
49 bool notifyDropped(GameEntity* entity) override;
/dports/games/opendungeons/OpenDungeons-0.7.1/source/creatureaction/
H A DCreatureActionGrabEntity.h24 class GameEntity; variable
29 CreatureActionGrabEntity(Creature& creature, GameEntity& entityToCarry);
38 bool notifyDead(GameEntity* entity) override;
39 bool notifyRemovedFromGameMap(GameEntity* entity) override;
40 bool notifyPickedUp(GameEntity* entity) override;
41 bool notifyDropped(GameEntity* entity) override;
43 static bool handleGrabEntity(Creature& creature, GameEntity* entityToCarry);
46 GameEntity* mEntityToCarry;
H A DCreatureActionFight.h24 class GameEntity; variable
29 …CreatureActionFight(Creature& creature, GameEntity* entityAttack, bool koOpponent, bool notifyPlay…
38 bool notifyDead(GameEntity* entity) override;
39 bool notifyRemovedFromGameMap(GameEntity* entity) override;
40 bool notifyPickedUp(GameEntity* entity) override;
41 bool notifyDropped(GameEntity* entity) override;
43 …static bool handleFight(Creature& creature, GameEntity* entityAttack, bool koOpponent, bool notify…
46 GameEntity* mEntityAttack;
H A DCreatureActionCarryEntity.h25 class GameEntity; variable
31 … CreatureActionCarryEntity(Creature& creature, GameEntity& entityToCarry, Building& buildingDest);
41 bool notifyDead(GameEntity* entity) override;
42 bool notifyRemovedFromGameMap(GameEntity* entity) override;
43 bool notifyPickedUp(GameEntity* entity) override;
44 bool notifyDropped(GameEntity* entity) override;
46 static bool handleCarryEntity(Creature& creature, GameEntity* entityToCarry, Tile* tileDest);
49 GameEntity* mEntityToCarry;
H A DCreatureActionFightFriendly.h25 class GameEntity; variable
30 …CreatureActionFightFriendly(Creature& creature, GameEntity* entityAttack, bool koOpponent, const s…
39 bool notifyDead(GameEntity* entity) override;
40 bool notifyRemovedFromGameMap(GameEntity* entity) override;
41 bool notifyPickedUp(GameEntity* entity) override;
42 bool notifyDropped(GameEntity* entity) override;
44 …static bool handleFight(Creature& creature, GameEntity* entityAttack, bool koOpponent, const std::…
47 GameEntity* mEntityAttack;
H A DCreatureActionFight.cpp31 CreatureActionFight::CreatureActionFight(Creature& creature, GameEntity* entityAttack, bool koOppon… in CreatureActionFight()
53 bool CreatureActionFight::handleFight(Creature& creature, GameEntity* entityAttack, bool koOpponent… in handleFight()
64 std::vector<GameEntity*> enemyPrioritaryTargets; in handleFight()
65 std::vector<GameEntity*> enemySecondaryTargets; in handleFight()
99 for(GameEntity* entity : creature.getVisibleEnemyObjects()) in handleFight()
130 GameEntity* entityAttack = nullptr; in handleFight()
167 GameEntity* entityAttack = nullptr; in handleFight()
212 bool CreatureActionFight::notifyDead(GameEntity* entity) in notifyDead()
222 bool CreatureActionFight::notifyRemovedFromGameMap(GameEntity* entity) in notifyRemovedFromGameMap()
232 bool CreatureActionFight::notifyPickedUp(GameEntity* entity) in notifyPickedUp()
[all …]
H A DCreatureActionFightFriendly.cpp31 CreatureActionFightFriendly::CreatureActionFightFriendly(Creature& creature, GameEntity* entityAtta… in CreatureActionFightFriendly()
54 bool CreatureActionFightFriendly::handleFight(Creature& creature, GameEntity* entityAttack, bool ko… in handleFight()
64 std::vector<GameEntity*> enemyPrioritaryTargets; in handleFight()
65 std::vector<GameEntity*> enemySecondaryTargets; in handleFight()
99 for(GameEntity* entity : creature.getVisibleEnemyObjects()) in handleFight()
130 GameEntity* entityAttack = nullptr; in handleFight()
167 GameEntity* entityAttack = nullptr; in handleFight()
212 bool CreatureActionFightFriendly::notifyDead(GameEntity* entity) in notifyDead()
222 bool CreatureActionFightFriendly::notifyRemovedFromGameMap(GameEntity* entity) in notifyRemovedFromGameMap()
232 bool CreatureActionFightFriendly::notifyPickedUp(GameEntity* entity) in notifyPickedUp()
[all …]
H A DCreatureActionEatChicken.h25 class GameEntity; variable
39 bool notifyDead(GameEntity* entity) override;
40 bool notifyRemovedFromGameMap(GameEntity* entity) override;
41 bool notifyPickedUp(GameEntity* entity) override;
42 bool notifyDropped(GameEntity* entity) override;
H A DCreatureActionGrabEntity.cpp29 CreatureActionGrabEntity::CreatureActionGrabEntity(Creature& creature, GameEntity& entityToCarry) : in CreatureActionGrabEntity()
52 bool CreatureActionGrabEntity::handleGrabEntity(Creature& creature, GameEntity* entityToCarry) in handleGrabEntity()
132 bool CreatureActionGrabEntity::notifyDead(GameEntity* entity) in notifyDead()
143 bool CreatureActionGrabEntity::notifyRemovedFromGameMap(GameEntity* entity) in notifyRemovedFromGameMap()
154 bool CreatureActionGrabEntity::notifyPickedUp(GameEntity* entity) in notifyPickedUp()
165 bool CreatureActionGrabEntity::notifyDropped(GameEntity* entity) in notifyDropped()
H A DCreatureActionUseRoom.h38 bool notifyDead(GameEntity* entity) override;
39 bool notifyRemovedFromGameMap(GameEntity* entity) override;
40 bool notifyPickedUp(GameEntity* entity) override;
41 bool notifyDropped(GameEntity* entity) override;
H A DCreatureActionCarryEntity.cpp26 CreatureActionCarryEntity::CreatureActionCarryEntity(Creature& creature, GameEntity& entityToCarry,… in CreatureActionCarryEntity()
67 bool CreatureActionCarryEntity::handleCarryEntity(Creature& creature, GameEntity* entityToCarry, Ti… in handleCarryEntity()
113 bool CreatureActionCarryEntity::notifyDead(GameEntity* entity) in notifyDead()
133 bool CreatureActionCarryEntity::notifyRemovedFromGameMap(GameEntity* entity) in notifyRemovedFromGameMap()
153 bool CreatureActionCarryEntity::notifyPickedUp(GameEntity* entity) in notifyPickedUp()
168 bool CreatureActionCarryEntity::notifyDropped(GameEntity* entity) in notifyDropped()
/dports/games/emptyepsilon/SeriousProton-EE-2021.06.23/src/
H A DgameEntity.cpp3 PVector<GameEntity> entityList;
4 GameEntity::~GameEntity(){} in ~GameEntity()
5 void GameEntity::update(float /*delta*/){} in update()
6 void GameEntity::render(sf::RenderTarget& /*window*/) {} in render()
7 bool GameEntity::takeDamage(sf::Vector2f /*position*/, int /*damageType*/, int /*damage_amount*/) {… in takeDamage()
H A DgameEntity.h16 class GameEntity; variable
17 extern PVector<GameEntity> entityList;
18 class GameEntity: public Updatable, public Renderable
23 GameEntity() in GameEntity() function
27 GameEntity(RenderLayer* renderLayer) in GameEntity() function
33 virtual ~GameEntity();
/dports/games/quakeforge/quakeforge-0.7.2/ruamoko/game/
H A DWorld.r16 - (void) addEntity: (GameEntity *)ent;
30 local GameEntity* ent = nil;
31 ent = [[GameEntity alloc] init];
36 bodies[i] = [[[GameEntity alloc] init] ent];
42 - (void) addEntity: (GameEntity*)ent
61 @interface World: GameEntity
67 - (void) copyToBodyQueue: (GameEntity *)ent;
79 - (void) copyToBodyQueue: (GameEntity *)ent
/dports/devel/atlas/Atlas-C++-0.5.2/Atlas/Objects/Entity/
H A DGameEntity.h19 class GameEntity : public RootEntity
23 GameEntity();
26 GameEntity(const char *,const char *);
29 virtual ~GameEntity();
32 static GameEntity Class();
/dports/devel/atlas-devel/Atlas-C++-0.6.4/benchmark/
H A DObjects3_Move.cpp13 using Atlas::Objects::Entity::GameEntity;
38 ((GameEntity&)op->getArgs()[0])-> in move()
49 GameEntity human; in move()
85 GameEntity human; in main()
119 GameEntity human; in main()
133 ((GameEntity&) in main()
/dports/games/opendungeons/OpenDungeons-0.7.1/source/render/
H A DRenderManager.h35 class GameEntity; variable
104 void rrDetachEntity(GameEntity* curEntity);
105 void rrAttachEntity(GameEntity* curEntity);
118 void rrPickUpEntity(GameEntity* curEntity, Player* localPlayer);
119 void rrDropHand(GameEntity* curEntity, Player* localPlayer);
126 void rrMoveEntity(GameEntity* entity, const Ogre::Vector3& position);
128 void rrCarryEntity(Creature* carrier, GameEntity* carried);
129 void rrReleaseCarriedEntity(Creature* carrier, GameEntity* carried);
130 …Ogre::ParticleSystem* rrEntityAddParticleEffect(GameEntity* entity, const std::string& particleNam…
132 void rrEntityRemoveParticleEffect(GameEntity* entity, Ogre::ParticleSystem* particleSystem);
/dports/games/opendungeons/OpenDungeons-0.7.1/source/rooms/
H A DRoomArena.h46 bool notifyDead(GameEntity* entity) override;
47 bool notifyRemovedFromGameMap(GameEntity* entity) override;
48 bool notifyPickedUp(GameEntity* entity) override;
49 bool notifyDropped(GameEntity* entity) override;
/dports/games/opendungeons/OpenDungeons-0.7.1/source/gamemap/
H A DGameMap.h41 class GameEntity; variable
148 void queueEntityForDeletion(GameEntity *ge);
175 void addClientUpkeepEntity(GameEntity* entity);
176 void removeClientUpkeepEntity(GameEntity* entity);
178 void addActiveObject(GameEntity* a);
179 void removeActiveObject(GameEntity* a);
474 GameEntity* getEntityFromTypeAndName(GameEntityType entityType,
514 void playerSelects(std::vector<GameEntity*>& entities, int tileX1, int tileY1, int tileX2,
605 std::vector<GameEntity*> mGameEntityClientUpkeep;
613 std::vector<GameEntity*> mActiveObjects;
[all …]

12345