Annotation of 43BSD/games/mille/types.c, revision 1.1.1.1

1.1       root        1: # include      "mille.h"
                      2: 
                      3: /*
                      4:  * @(#)types.c 1.1 (Berkeley) 4/1/82
                      5:  */
                      6: 
                      7: isrepair(card)
                      8: reg CARD       card; {
                      9: 
                     10:        return card == C_GAS || card == C_SPARE || card == C_REPAIRS || card == C_INIT;
                     11: }
                     12: 
                     13: safety(card)
                     14: reg CARD       card; {
                     15: 
                     16:        switch (card) {
                     17:          case C_EMPTY:
                     18:          case C_GAS:
                     19:          case C_GAS_SAFE:
                     20:                return C_GAS_SAFE;
                     21:          case C_FLAT:
                     22:          case C_SPARE:
                     23:          case C_SPARE_SAFE:
                     24:                return C_SPARE_SAFE;
                     25:          case C_CRASH:
                     26:          case C_REPAIRS:
                     27:          case C_DRIVE_SAFE:
                     28:                return C_DRIVE_SAFE;
                     29:          case C_GO:
                     30:          case C_STOP:
                     31:          case C_RIGHT_WAY:
                     32:          case C_LIMIT:
                     33:          case C_END_LIMIT:
                     34:                return C_RIGHT_WAY;
                     35:        }
                     36:        /* NOTREACHED */
                     37: }
                     38: 

unix.superglobalmegacorp.com

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