diff options
author | B. Watson <yalhcru@gmail.com> | 2015-05-07 16:32:32 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2015-05-07 16:32:32 -0400 |
commit | 013ac7742311556022304e8b30ca170d48b3a016 (patch) | |
tree | 53faa33e75991363f1a6dcc7edc83a66b70e6995 /hack/def.wseg.h | |
download | bsd-games-extra-013ac7742311556022304e8b30ca170d48b3a016.tar.gz |
initial commit
Diffstat (limited to 'hack/def.wseg.h')
-rw-r--r-- | hack/def.wseg.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hack/def.wseg.h b/hack/def.wseg.h new file mode 100644 index 0000000..161ead9 --- /dev/null +++ b/hack/def.wseg.h @@ -0,0 +1,14 @@ +/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ +/* def.wseg.h - version 1.0.2 */ +/* $DragonFly: src/games/hack/def.wseg.h,v 1.2 2004/11/06 12:29:17 eirikn Exp $ */ + +#ifndef NOWORM +/* worm structure */ +struct wseg { + struct wseg *nseg; + xchar wx, wy; + unsigned wdispl:1; +}; + +#define newseg() alloc(sizeof(struct wseg)) +#endif /* NOWORM */ |