]>
git.cameronkatri.com Git - bsdgames-darwin.git/blob - warp/object.h
a5d4673149fcb4a0c4c44ce3e251f2e2f4fe06d9
1 /* Header: object.h,v 7.0.1.2 86/12/12 17:01:38 lwall Exp */
4 * Revision 7.0.1.2 86/12/12 17:01:38 lwall
5 * Baseline for net release.
7 * Revision 7.0.1.1 86/10/16 10:52:30 lwall
8 * Added Damage. Fixed random bugs.
10 * Revision 7.0 86/10/08 15:13:04 lwall
11 * Split into separate files. Added amoebas and pirates.
24 typedef struct object
{
31 struct object
*next
, *prev
, *contend
;
40 #define PIRATE 1 /* we may mutiny */
41 #define FRIENDLY 2 /* we aren't really an enemy, for now */
42 #define STATIC 4 /* we are not in the movers list at the moment */
43 #define COUNTDOWN 8 /* we are counting down for something */
44 #define CLOAKS 16 /* we can cloak */
47 OBJECT root
= {0, 0, 0, 0, &root
, &root
, 0, 0, 0, Root
, '?', 0, 0};
53 OBJECT free_root
= {0, 0, 0, 0, &free_root
, &free_root
, 0, 0, 0, Root
, '?', 0, 0};
62 EXT OBJECT
*realapollo
;
65 EXT OBJECT
*occupant
[YSIZE
][XSIZE
];
67 OBJECT
*make_object();