/src/games/warp/ |
move.h | 10 void bounce(OBJECT *); 14 OBJECT *lookimg(int, int, char);
|
object.h | 1 /* Header: object.h,v 7.0.1.2 86/12/12 17:01:38 lwall Exp */ 3 /* Log: object.h,v 24 typedef struct object { struct 27 struct object *next, *prev, *contend; 34 } OBJECT; 43 OBJECT root = {0, 0, 0, 0, &root, &root, 0, 0, 0, Root, '?', 0, 0}; 45 EXT OBJECT root; 49 OBJECT free_root = {0, 0, 0, 0, &free_root, &free_root, 0, 0, 0, Root, '?', 0, 0}; 51 EXT OBJECT free_root; 54 EXT OBJECT *ent [all...] |
weapon.h | 14 EXT OBJECT *isatorp[2][3][3]; 19 void fire_torp(OBJECT *, int, int); 20 void attack(OBJECT *); 21 void fire_phaser(OBJECT *, int, int); 22 int tract(OBJECT *, int, int, int);
|
object.c | 1 /* Header: object.c,v 7.0 86/10/08 15:12:55 lwall Exp */ 3 /* Log: object.c,v 12 #include "object.h" 20 OBJECT * 22 long mas, OBJECT *where) 24 OBJECT *obj; 28 obj = (OBJECT *) malloc(sizeof root); 30 obj = Null(OBJECT*); 59 unmake_object(OBJECT *curobj) 70 free_object(OBJECT *curobj [all...] |
bang.c | 20 #include "object.h" 37 OBJECT *obj; 74 OBJECT *obj; 112 OBJECT *obj;
|
move.c | 18 #include "object.h" 37 bounce(OBJECT *obj) 70 OBJECT *curobj; 73 OBJECT *temp; 74 OBJECT *thenext; 239 OBJECT *biggie = 0; 610 OBJECT *obj; 637 OBJECT *obj; 653 OBJECT* 656 OBJECT *obj [all...] |
play.c | 16 #include "object.h" 36 OBJECT *curobj; 37 OBJECT *to;
|
weapon.c | 18 #include "object.h" 36 fire_torp(OBJECT *from, int ydir, int xdir) 38 OBJECT *to; 101 attack(OBJECT *attackee) 108 OBJECT *obj; 438 fire_phaser(OBJECT *obj, int dy, int dx) 599 tract(OBJECT *obj, int dy, int dx, int to_or_fro) 605 OBJECT *tractee;
|
us.c | 21 #include "object.h" 40 OBJECT *obj; 346 OBJECT *obj; 370 OBJECT *obj;
|
them.c | 27 #include "object.h" 46 OBJECT *curkl; 47 OBJECT *obj = NULL; 256 break; /* okay to move over object */
|
init.c | 24 #include "object.h" 47 OBJECT *obj = NULL; 515 OBJECT *curobj;
|
/src/games/battlestar/ |
words.c | 44 { "knife", KNIFE, OBJECT, NULL }, 46 { "scabbard", SWORD, OBJECT, NULL }, 47 { "fine", SWORD, OBJECT, NULL }, 48 { "two-handed", TWO_HANDED, OBJECT, NULL }, 49 { "cleaver", CLEAVER, OBJECT, NULL }, 50 { "broadsword", BROAD, OBJECT, NULL }, 51 { "mail", MAIL, OBJECT, NULL }, 52 { "coat", MAIL, OBJECT, NULL }, 53 { "helmet", HELM, OBJECT, NULL }, 54 { "shield", SHIELD, OBJECT, NULL } [all...] |
command4.c | 57 OBJECT) { 102 wordtype[wordnumber--] = OBJECT; 107 wordtype[wordnumber--] = OBJECT; 111 wordtype[wordnumber--] = OBJECT; 117 wordtype[wordnumber--] = OBJECT; 121 wordtype[wordnumber--] = OBJECT; 125 wordtype[wordnumber--] = OBJECT; 130 wordtype[wordnumber--] = OBJECT; 134 wordtype[wordnumber--] = OBJECT; 154 wordtype[wordnumber--] = OBJECT; [all...] |
command3.c | 113 while (wordtype[++wordnumber] != OBJECT && 122 wordtype[wordnumber] = OBJECT; 156 wordtype[wordnumber] = OBJECT; 162 if (wordtype[wordnumber] == OBJECT && position > 88 && 221 wordtype[wordnumber] == OBJECT) {
|
parse.c | 148 /* If there is a sequence (NOUN | OBJECT) AND EVERYTHING 158 wordtype[n - 1] == OBJECT) && 165 wordtype[n - 1] = OBJECT;
|
command2.c | 50 while (wordnumber <= wordcount && (wordtype[wordnumber] == OBJECT || 204 if (wordtype[wordnumber] != OBJECT || 280 if (wordtype[wordnumber] != OBJECT ||
|
cypher.c | 55 !(wordtype[wordnumber] == OBJECT && 161 * cannot occur as an object 177 wordtype[wordnumber + 1] = OBJECT;
|
command5.c | 308 while (wordtype[++wordnumber] != OBJECT && 331 * at word 0 for an object to give, and fail, which is OK; then
|
extern.h | 62 #define OBJECT 1 230 * that the object short name is plural; OBJ_AN that it begins with a 232 * that it is a living person; OBJ_NONOBJ that it is not an object (to 234 * Any individual object has at most one of OBJ_PERSON and OBJ_NONOBJ. 259 /* object characteristics */
|
/src/games/rogue/ |
pack.c | 60 static object *check_duplicate(object *, object *); 62 static boolean mask_pack(const object *, unsigned short); 65 object * 66 add_to_pack(object *obj, object *pack, int condense) 68 object *op; 93 take_from_pack(object *obj, object *pack [all...] |
object.c | 1 /* $NetBSD: object.c,v 1.15 2025/04/07 14:36:28 hgutch Exp $ */ 38 static char sccsid[] = "@(#)object.c 8.1 (Berkeley) 5/31/93"; 40 __RCSID("$NetBSD: object.c,v 1.15 2025/04/07 14:36:28 hgutch Exp $"); 45 * object.c 58 object level_objects; 63 static object *free_list = NULL; 165 static void gr_armor(object *); 166 static void gr_potion(object *); 167 static void gr_scroll(object *); 168 static void gr_wand(object *); [all...] |
move.c | 73 object *obj; 138 if (dungeon[row][col] & OBJECT) { 273 if (s & (MONSTER | OBJECT | STAIRS)) {
|
spec_hit.c | 58 static void disappear(object *); 61 static void freeze(object *); 64 static void steal_gold(object *); 65 static void steal_item(object *); 66 static void sting(object *); 67 static boolean try_to_cough(short, short, object *); 73 special_hit(object *monster) 104 rust(object *monster) 123 freeze(object *monster) 156 steal_gold(object *monster [all...] |
trap.c | 128 killed_by((object *)0, POISON_DART); 173 } while (((dungeon[row][col] & (OBJECT|STAIRS|TRAP|TUNNEL)) ||
|
room.c | 116 object *monster; 163 if (!(dungeon[i][j] & (OBJECT | STAIRS)) && 185 if (mask & OBJECT) { 186 object *obj; 288 object *obj; 406 object *monster; 422 dr_course(object *monster, boolean entering, short row, short col)
|