Home
last modified time | relevance | path

Searched refs:rpgobj (Results 1 – 7 of 7) sorted by relevance

/dports/games/sauerbraten/sauerbraten/src/rpggame/
H A Drpg.h23 struct rpgobj;
37 extern vector<rpgobj *> objects, stack;
38 extern rpgobj *pointingat;
39 extern rpgobj *playerobj;
40 extern rpgobj *selected;
44 extern void pushobj(rpgobj *o);
49 extern void removefromworld(rpgobj *worldobj);
50 extern void removefromsystem(rpgobj *o);
51 extern void taken(rpgobj *worldobj, rpgobj *newowner);
H A Dobjset.cpp5 vector<rpgobj *> objects, stack;
8 rpgobj *pointingat = NULL;
9 rpgobj *playerobj = NULL;
10 rpgobj *selected = NULL;
24 playerobj = new rpgobj("player"); in clearworld()
35 void removefromsystem(rpgobj *o) in removefromsystem()
62 rpgobj *o = new rpgobj(name); in spawn()
82 void removefromworld(rpgobj *worldobj) in removefromworld()
88 void taken(rpgobj *worldobj, rpgobj *newowner) in taken()
96 rpgobj *o = playerobj->take(name); in takefromplayer()
[all …]
H A Drpgobj.h1 struct rpgobj;
14 void exec(rpgobj *obj, rpgobj *target, rpgobj *user) in exec()
25 struct rpgobj : g3d_callback, stats struct
28 rpgobj *inventory; // contained objects, if any argument
63 ~rpgobj() in ~rpgobj() argument
83 void add(rpgobj *o, int itemflags) in add() argument
93 void remove(rpgobj *o) in remove() argument
95 for(rpgobj **l = &inventory; *l; ) in remove()
112 rpgobj &selectedweapon() in selectedweapon() argument
180 rpgobj *take(char *name) in take() argument
[all …]
H A Drpgent.h3 rpgobj *ro;
10 rpgobj *mpweapon;
27 …rpgent(rpgobj *_ro, const vec &_pos, float _yaw, int _maxspeed = 40, int _type = ENT_AI) : ro(_ro)… in ro()
45 void tryattackobj(rpgobj &eo, rpgobj &weapon);
46 void tryattack(vec &lookatpos, rpgobj &weapon);
H A Dent.cpp7 void rpgent::tryattackobj(rpgobj &eo, rpgobj &weapon) in tryattackobj()
53 …#define loopallrpgobjsexcept(ro) loop(i, objects.length()+1) for(rpgobj *eo = i ? objects[i-1] : p…
55 void rpgent::tryattack(vec &lookatpos, rpgobj &weapon) in tryattack()
78 rpgobj *best = NULL; in tryattack()
227 rpgobj &weapon = ro->selectedweapon(); in update()
H A DMakefile414 ../rpggame/ent.o: stats.h rpgent.h rpgobj.h
419 ../rpggame/entities.o: rpgobj.h
423 ../rpggame/objset.o: ../shared/igame.h stats.h rpgent.h rpgobj.h
427 ../rpggame/rpg.o: stats.h rpgent.h rpgobj.h
435 ../rpggame/rpg.h.gch: stats.h rpgent.h rpgobj.h
/dports/games/sauerbraten/sauerbraten/src/xcode/sauerbraten.xcodeproj/
H A Dproject.pbxproj181 …753EF /* rpgobj.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c…