home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / games / hack / def.wseg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-02  |  285 b   |  14 lines

  1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  2. /* def.wseg.h - version 1.0.2 */
  3.  
  4. #ifndef NOWORM
  5. /* worm structure */
  6. struct wseg {
  7.     struct wseg *nseg;
  8.     xchar wx,wy;
  9.     unsigned wdispl:1;
  10. };
  11.  
  12. #define newseg()    (struct wseg *) alloc(sizeof(struct wseg))
  13. #endif NOWORM
  14.