Home
last modified time | relevance | path

Searched refs:GameObject (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/dports/games/meandmyshadow/meandmyshadow-0.5a/src/
H A DGameObjects.cpp24 GameObject::GameObject(Game* parent):type(0),parent(parent){} in GameObject() function in GameObject
25 GameObject::~GameObject(){} in ~GameObject()
27 SDL_Rect GameObject::getBox(int boxType){ in getBox()
42 void GameObject::setLocation(int x,int y){ in setLocation()
53 void GameObject::setSize(int w,int h){ in setSize()
64 void GameObject::saveState(){} in saveState()
65 void GameObject::loadState(){} in loadState()
66 void GameObject::reset(bool save){} in reset()
68 void GameObject::playAnimation(){} in playAnimation()
69 void GameObject::onEvent(int eventType){} in onEvent()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/
H A Dobjproto.cpp285 GameObject *dObjPtr = GameObject::objectAddress(dObj); in close()
1047 GameObject *dObjPtr = GameObject::objectAddress(dObj); in dropAction()
1209 GameObject *itemPtr = GameObject::objectAddress(item); in canContain()
1245 GameObject *dObjPtr = GameObject::objectAddress(dObj); in canOpen()
1254 GameObject *dObjPtr = GameObject::objectAddress(dObj); in openAction()
1288 GameObject *dObjPtr = GameObject::objectAddress(dObj); in canToggleLock()
1297 GameObject *dObjPtr = GameObject::objectAddress(dObj); in acceptLockToggleAction()
1314 GameObject *dObjPtr = GameObject::objectAddress(dObj); in acceptInsertionAction()
1315 GameObject *itemPtr = GameObject::objectAddress(item); in acceptInsertionAction()
1341 GameObject *dObjPtr = GameObject::objectAddress(dObj); in acceptInsertionAtAction()
[all …]
H A Dterrain.h78 class GameObject; variable
85 void drown(GameObject *obj);
87 void lavaDamage(GameObject *obj);
88 void coldDamage(GameObject *obj);
102 GameObject *obj,
121 GameObject *obj,
129 GameObject *obj,
171 GameObject *obj,
178 GameObject *obj,
183 GameObject *obj,
[all …]
H A Dmagic.h37 class GameObject; variable
55 bool validTarget(GameObject *enactor,
56 GameObject *target,
86 bool canCast(GameObject *enactor, SkillProto *spell);
89 bool castUntargetedSpell(GameObject *enactor, SkillProto *spell);
92 bool castSpell(GameObject *enactor, Location &target, SkillProto *spell);
93 bool castSpell(GameObject *enactor, ActiveItem *target, SkillProto *spell);
94 bool castSpell(GameObject *enactor, GameObject *target, SkillProto *spell);
97 bool implementSpell(GameObject *enactor, Location &target, SkillProto *spell);
98 bool implementSpell(GameObject *enactor, ActiveItem *target, SkillProto *spell);
[all …]
H A Dobjects.h110 GameObject *obj;
119 class GameObject {
179 GameObject(void);
214 GameObject *parent(void) { in parent()
217 GameObject *next(void) { in next()
220 GameObject *child(void) { in child()
328 GameObject *obj,
702 static int32 canStackOrMerge(GameObject *dropObj, GameObject *target);
703 static void mergeWith(GameObject *dropObj, GameObject *target, int16 count);
837 GameObject *sibling = GameObject::objectAddress(_data.siblingID); in getMapNum()
[all …]
H A Dobjects.cpp183 GameObject::GameObject(void) { in GameObject() function in Saga2::GameObject
210 GameObject::GameObject(const ResourceGameObject &res) { in GameObject() function in Saga2::GameObject
234 GameObject::GameObject(Common::InSaveFile *in) { in GameObject() function in Saga2::GameObject
365 GameObject *GameObject::objectAddress(ObjectID id) { in objectAddress()
1116 GameObject *GameObject::extractMerged(int16 num) { in extractMerged()
1468 bool GameObject::isContaining(GameObject *item) { in isContaining()
1695 GameObject *obj = GameObject::objectAddress(objID), in placeObject()
2264 int32 GameObject::canStackOrMerge(GameObject *dropObj, GameObject *target) { in canStackOrMerge()
2294 void GameObject::mergeWith(GameObject *dropObj, GameObject *target, int16 count) { in mergeWith()
3193 GameObject *obj = GameObject::objectAddress(anchor); in update()
[all …]
H A Dmotion.h342 GameObject &obj,
344 GameObject &target,
388 GameObject &dObj,
389 GameObject &target);
392 GameObject &dObj,
396 GameObject &dObj,
407 GameObject &dObj,
408 GameObject &target,
429 GameObject &weapon,
433 GameObject &weapon,
[all …]
H A Dcontain.h94 GameObject *containerObject;
132 static GameObject *objToGet;
185 virtual void clickOn(gPanelMessage &msg, GameObject *mObj, GameObject *cObj);
186 virtual void dblClickOn(gPanelMessage &msg, GameObject *mObj, GameObject *cObj);
189 void getMerged(GameObject *obj);
192 virtual void dropPhysical(gPanelMessage &msg, GameObject *mObj, GameObject *cObj, int16 num = 1);
195 virtual void usePhysical(gPanelMessage &msg, GameObject *mObj, GameObject *cObj);
200 virtual void useConcept(gPanelMessage &msg, GameObject *mObj, GameObject *cObj);
204 virtual void useSpell(gPanelMessage &msg, GameObject *mObj, GameObject *cObj);
216 void dblClick(GameObject *mouseObject, GameObject *slotObject, gPanelMessage &msg);
[all …]
H A Dsensor.h93 GameObject *directObject,
102 GameObject *sensedObject;
110 GameObject *obj;
139 GameObject *getObject(void) { in getObject()
150 GameObject *obj;
181 GameObject *getObject(void) { in getObject()
257 GameObject *o, in SpecificObjectSensor()
294 GameObject *o, in ObjectPropertySensor()
349 GameObject *o, in SpecificActorSensor()
386 GameObject *o, in ActorPropertySensor()
[all …]
H A Dweapons.h35 class GameObject; variable
48 …virtual void implement(Actor *enactor, GameObject *target, GameObject *strikingObj, uint8 strengt…
61 void implement(Actor *enactor, GameObject*target, GameObject *strikingObj, uint8 strength);
79 void implement(Actor *enactor, GameObject *target, GameObject *strikingObj, uint8 trength);
97 void implement(Actor *enactor, GameObject *target, GameObject *strikingObj, uint8 strength);
108 GameObject *getShieldItem(GameObject *defender);
H A Denchant.cpp49 GameObject *obj = GameObject::objectAddress(target); in EnchantObject()
50 GameObject *ench; in EnchantObject()
59 ench = GameObject::newObject(); //Create Enchantment in EnchantObject()
98 GameObject *ench = GameObject::objectAddress(enchID); in DispelObjectEnchantment()
99 GameObject *obj = GameObject::objectAddress(target); in DispelObjectEnchantment()
116 GameObject *obj = GameObject::objectAddress(target); in FindObjectEnchantment()
117 GameObject *containedObj; in FindObjectEnchantment()
191 GameObject *obj = nullptr; in evalActorEnchantments()
229 void evalObjectEnchantments(GameObject *obj) { in evalObjectEnchantments()
261 GameObject *object; in next()
[all …]
H A Dsagafunc.cpp110 GameObject *obj = GameObject::objectAddress(*args++); in stringf()
240 GameObject *target = GameObject::objectAddress(targetID); in scriptActorTransfer()
2964 GameObject *obj = GameObject::newObject(); in scriptMakeObject()
3088 GameObject *go = GameObject::objectAddress(args[1]); in scriptPlaySoundFrom()
3322 GameObject *caster = GameObject::objectAddress(*args++); in scriptCanCast()
3331 GameObject *caster = GameObject::objectAddress(*args++); in scriptCastSpellAtObject()
3333 GameObject *target = GameObject::objectAddress(*args++); in scriptCastSpellAtObject()
3343 GameObject *caster = GameObject::objectAddress(*args++); in scriptCastSpellAtActor()
3345 GameObject *target = GameObject::objectAddress(*args++); in scriptCastSpellAtActor()
3355 GameObject *caster = GameObject::objectAddress(*args++); in scriptCastSpellAtWorld()
[all …]
H A Dmagic.cpp74 GameObject *GetOwner(GameObject *go) { in GetOwner()
75 GameObject *obj = go; in GetOwner()
84 obj = GameObject::objectAddress(id); in GetOwner()
98 return (SkillProto *)GameObject::protoAddress(spellOrObjectID); in skillProtoFromID()
133 bool validTarget(GameObject *enactor, GameObject *target, ActiveItem *tag, SkillProto *skill) { in validTarget()
188 bool canCast(GameObject *enactor, SkillProto *spell) { in canCast()
227 bool castUntargetedSpell(GameObject *enactor, SkillProto *spell) { in castUntargetedSpell()
234 bool castSpell(GameObject *enactor, Location &target, SkillProto *spell) { in castSpell()
247 bool castSpell(GameObject *enactor, ActiveItem *target, SkillProto *spell) { in castSpell()
260 bool castSpell(GameObject *enactor, GameObject *target, SkillProto *spell) { in castSpell()
[all …]
H A Dspellbuk.h161 void implement(GameObject *enactor, SpellTarget *target);
162 void implement(GameObject *enactor, GameObject *target);
163 void implement(GameObject *enactor, ActiveItem *target);
164 void implement(GameObject *enactor, Location target);
182 void buildTargetList(GameObject *, SpellTarget &);
186 void apply(ProtoEffect *pe, GameObject *target);
189 void playSound(GameObject *go);
190 void show(GameObject *, SpellTarget &);
H A Dtimers.h40 TimerList *fetchTimerList(GameObject *obj);
60 GameObject *_obj;
64 TimerList(GameObject *o);
78 GameObject *getObject(void) { in getObject()
90 GameObject *_obj;
99 …Timer(GameObject *o, TimerID timerID, int16 frameInterval) : _obj(o), _id(timerID), _interval(fram… in Timer()
117 GameObject *getObject(void) { in getObject()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/supertux/
H A Dgame_object.cpp26 GameObject::GameObject() : in GameObject() function in GameObject
36 GameObject::GameObject(const std::string& name) : in GameObject() function in GameObject
46 GameObject::GameObject(const ReaderMapping& reader) : in GameObject() function in GameObject
47 GameObject() in GameObject()
52 GameObject::~GameObject() in ~GameObject()
61 GameObject::add_remove_listener(ObjectRemoveListener* listener) in add_remove_listener()
67 GameObject::del_remove_listener(ObjectRemoveListener* listener) in del_remove_listener()
76 GameObject::save(Writer& writer) in save()
87 GameObject::get_settings() in get_settings()
95 GameObject::update(float dt_sec) in update()
H A Dgame_object_manager.hpp52 GameObject& add_object(std::unique_ptr<GameObject> object);
82 virtual bool before_object_add(GameObject& object) = 0;
85 virtual void before_object_remove(GameObject& object) = 0;
93 const std::vector<GameObject*>&
99 static std::vector<GameObject*> dummy; in get_objects_by_type_index()
203 void this_before_object_add(GameObject& object);
204 void this_before_object_remove(GameObject& object);
209 std::vector<std::unique_ptr<GameObject>> m_gameobjects;
212 std::vector<std::unique_ptr<GameObject>> m_gameobjects_new;
217 std::unordered_map<std::string, GameObject*> m_objects_by_name;
[all …]
H A Dgame_object.hpp47 class GameObject class
52 GameObject();
53 GameObject(const std::string& name);
54 GameObject(const ReaderMapping& reader);
55 virtual ~GameObject();
190 GameObject(const GameObject&) = delete;
191 GameObject& operator=(const GameObject&) = delete;
/dports/games/viruskiller/viruskiller-1.03/src/
H A DCList.h25 GameObject objectHead;
26 GameObject *objectTail;
32 void add(GameObject *object);
33 void remove(GameObject *previous, GameObject *object);
34 void setTail(GameObject *object);
37 GameObject *getHead();
38 GameObject *getTail();
H A DCList.cpp28 void List::add(GameObject *object) in add()
34 void List::remove(GameObject *previous, GameObject *object) in remove()
44 GameObject *obj, *obj2; in clear()
58 GameObject *List::getHead() in getHead()
63 GameObject *List::getTail() in getTail()
68 void List::setTail(GameObject *object) in setTail()
/dports/games/scummvm/scummvm-2.5.1/engines/ngi/
H A Dinteraction.h30 class GameObject; variable
34 int handleObjectInteraction(StaticANIObject *subject, GameObject *object, int invId);
35 bool canInteractAny(GameObject *obj1, GameObject *obj2, int invId);
60 bool canInteract(GameObject *obj1, GameObject *obj2, int invId);
61 bool isOverlapping(StaticANIObject *subj, GameObject *obj);
65 friend bool canInteractAny(GameObject *obj1, GameObject *obj2, int invId);
86 bool handleInteraction(StaticANIObject *subj, GameObject *obj, int invId);
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/fullpipe/
H A Dinteraction.h30 class GameObject; variable
34 int handleObjectInteraction(StaticANIObject *subject, GameObject *object, int invId);
35 bool canInteractAny(GameObject *obj1, GameObject *obj2, int invId);
60 bool canInteract(GameObject *obj1, GameObject *obj2, int invId);
61 bool isOverlapping(StaticANIObject *subj, GameObject *obj);
65 friend bool canInteractAny(GameObject *obj1, GameObject *obj2, int invId);
86 bool handleInteraction(StaticANIObject *subj, GameObject *obj, int invId);
/dports/games/blobwars/blobwars-2.00/src/
H A DCList.h26 GameObject objectHead;
27 GameObject *objectTail;
33 void add(GameObject *object);
34 void remove(GameObject *previous, GameObject *object);
36 GameObject *getHead();
37 GameObject *getTail();
H A DCList.cpp29 void List::add(GameObject *object) in add()
35 void List::remove(GameObject *previous, GameObject *object) in remove()
50 GameObject *obj, *obj2; in clear()
63 GameObject *List::getHead() in getHead()
68 GameObject *List::getTail() in getTail()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/scripting/
H A Dgame_object.hpp54 auto object_ptr = GameObject<::OBJECT>::get_object_ptr(); \
57 << GameObject<::OBJECT>::m_uid << std::endl; \
63 auto object_ptr = GameObject<::OBJECT>::get_object_ptr(); \
66 << GameObject<::OBJECT>::m_uid << std::endl; \
72 auto object_ptr = GameObject<::OBJECT>::get_object_ptr(); \
75 << GameObject<::OBJECT>::m_uid << std::endl; \
87 class GameObject class
90 GameObject() : in GameObject() function in scripting::GameObject
94 GameObject(UID uid) : in GameObject() function in scripting::GameObject

12345678910>>...20