diff options
author | christos <christos@NetBSD.org> | 2020-11-10 22:42:19 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2020-11-10 22:42:19 +0000 |
commit | a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908 (patch) | |
tree | 96a006165d8615e5e0cb4e78ef064e66b8e16437 /warp/object.h | |
parent | 1bb28c57a5d2c06152fff5de57a902bec60cc30d (diff) | |
download | bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.gz bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.zst bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.zip |
Time warp forward 34 years so that it compiles (but not work)
Diffstat (limited to 'warp/object.h')
-rw-r--r-- | warp/object.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/warp/object.h b/warp/object.h index a5d46731..5091a04f 100644 --- a/warp/object.h +++ b/warp/object.h @@ -22,12 +22,8 @@ #define Crusher 7 typedef struct object { - char posx, posy; -#ifdef SIGNEDCHAR - char velx, vely; -#else + short posx, posy; short velx, vely; -#endif struct object *next, *prev, *contend; long energy; long mass; @@ -64,8 +60,7 @@ EXT OBJECT *nuke; EXT OBJECT *occupant[YSIZE][XSIZE]; -OBJECT *make_object(); - -void unmake_object(); -void free_object(); -void object_init(); +void object_init(void); +OBJECT *make_object(char, char, int, int, int, int, long, long, OBJECT *); +void unmake_object(OBJECT *); +void free_object(OBJECT *); |