Annotation of 43BSD/games/hunt/extern.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  *  Hunt
                      3:  *  Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
                      4:  *  San Francisco, California
                      5:  *
                      6:  *  Copyright (c) 1985 Regents of the University of California.
                      7:  *  All rights reserved.  The Berkeley software License Agreement
                      8:  *  specifies the terms and conditions for redistribution.
                      9:  */
                     10: 
                     11: # include      "hunt.h"
                     12: 
                     13: # ifdef MONITOR
                     14: FLAG   Am_monitor = FALSE;             /* current process is a monitor */
                     15: # endif MONITOR
                     16: 
                     17: char   Buf[BUFSIZ];                    /* general scribbling buffer */
                     18: char   Maze[HEIGHT][WIDTH2];           /* the maze */
                     19: char   Orig_maze[HEIGHT][WIDTH2];      /* the original maze */
                     20: 
                     21: long   Fds_mask;                       /* mask for the file descriptors */
                     22: int    Have_inp;                       /* which file descriptors have input */
                     23: int    Nplayer = 0;                    /* number of players */
                     24: int    Num_fds;                        /* number of maximum file descriptor */
                     25: int    Socket;                         /* main socket */
                     26: long   Sock_mask;                      /* select mask for main socket */
                     27: int    See_over[NASCII];               /* lookup table for determining whether
                     28:                                         * character represents "transparent"
                     29:                                         * item */
                     30: 
                     31: BULLET *Bullets = NULL;                /* linked list of bullets */
                     32: 
                     33: EXPL   *Expl[EXPLEN];                  /* explosion lists */
                     34: 
                     35: PLAYER Player[MAXPL];                  /* all the players */
                     36: PLAYER *End_player = Player;           /* last active player slot */
                     37: IDENT  *Scores;                        /* score cache */
                     38: # ifdef MONITOR
                     39: PLAYER Monitor[MAXMON];                /* all the monitors */
                     40: PLAYER *End_monitor = Monitor;         /* last active monitor slot */
                     41: # endif MONITOR
                     42: 
                     43: # ifdef VOLCANO
                     44: int    volcano = 0;                    /* Explosion size */
                     45: # endif VOLCANO

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.