# 2.11BSD#431 - /usr/src/games/warp/score.h

##### Variables

    c                 X
    curscore          X
    lastscore         X
    longlognam        X
    oldbenergy        X
    oldbtorp          X
    oldcurscore       X
    oldeenergy        X
    oldenemies        X
    oldetorp          X
    oldstatus         X
    oldstrs           X
    possiblescore     X
    savefilename      X
    totalscore        X

##### Macros

    BASEBOUNDARY      X
    COMPLEN           X
    COMPNAME          X
    COMPOFF           X
    ENTBOUNDARY       X

       1: /* $Header: score.h,v 7.0 86/10/08 15:13:21 lwall Exp $ */
       2:
       3: /* $Log:	score.h,v $
       4:  * Revision 7.0  86/10/08  15:13:21  lwall
       5:  * Split into separate files.  Added amoebas and pirates.
       6:  *
       7:  */
       8:
       9: #define ENTBOUNDARY 100000  /*  point boundary across which a new E is
      10: 					awarded */
      11:
      12: #define BASEBOUNDARY 250000 /*  point boundary across which a new B is
      13: 					awarded */
      14:
      15: EXT int oldstatus;
      16: EXT int oldetorp;
      17: EXT int oldbtorp;
      18: EXT int oldstrs;
      19: EXT int oldenemies;
      20:
      21: EXT long totalscore;
      22: EXT long lastscore INIT(0);
      23: EXT long curscore;
      24: EXT long possiblescore;
      25: EXT long oldeenergy;
      26: EXT long oldbenergy;
      27: EXT long oldcurscore;
      28:
      29: EXT char savefilename[40];
      30:
      31: #ifdef SCOREFULL
      32: #define COMPOFF 0
      33: #define COMPNAME longlognam
      34: #define COMPLEN 24
      35: #else
      36: #define COMPOFF 24
      37: #define COMPNAME longlognam
      38: #define COMPLEN 8
      39: #endif
      40: EXT char longlognam[128];
      41:
      42: EXT char c INIT(' ');
      43:
      44: void score_init();
      45: void wscore();
      46: void display_status();
      47: void wavescore();
      48: void score();
      49: void save_game();

#### Defined variables

c defined in line 42; used 2 times

- in /usr/src/games/warp/score.c line 548, 582

curscore defined in line 23; used 25 times

- in /usr/src/games/warp/init.c line 60
- in /usr/src/games/warp/move.c line 325, 363, 374, 413, 420, 428-430(2), 440-442(2), 470-489(5)
- in /usr/src/games/warp/score.c line 366-369(3), 387-388(2), 404, 431, 485-494(3)

lastscore defined in line 22; used 7 times

- in /usr/src/games/warp/score.c line 488, 494-511(5)
- in /usr/src/games/warp/warp.c line 354

longlognam defined in line 40; used 12 times

- in line 33-37(2)
- in /usr/src/games/warp/score.c line 52-60(10)

oldbenergy defined in line 26; used 5 times

- in /usr/src/games/warp/init.c line 544
- in /usr/src/games/warp/score.c line 280-282(3)
- in /usr/src/games/warp/term.c line 551

oldbtorp defined in line 17; used 4 times

- in /usr/src/games/warp/init.c line 545
- in /usr/src/games/warp/score.c line 285-288(2)
- in /usr/src/games/warp/term.c line 552

oldcurscore defined in line 27; used 5 times

- in /usr/src/games/warp/init.c line 544
- in /usr/src/games/warp/score.c line 345, 366-369(2)
- in /usr/src/games/warp/term.c line 551

oldeenergy defined in line 25; used 5 times

- in /usr/src/games/warp/init.c line 544
- in /usr/src/games/warp/score.c line 261-263(3)
- in /usr/src/games/warp/term.c line 551

oldenemies defined in line 19; used 4 times

- in /usr/src/games/warp/init.c line 545
- in /usr/src/games/warp/score.c line 353-356(2)
- in /usr/src/games/warp/term.c line 552

oldetorp defined in line 16; used 4 times

- in /usr/src/games/warp/init.c line 545
- in /usr/src/games/warp/score.c line 266-269(2)
- in /usr/src/games/warp/term.c line 552

oldstatus defined in line 15; used 4 times

- in /usr/src/games/warp/init.c line 545
- in /usr/src/games/warp/score.c line 255-258(2)
- in /usr/src/games/warp/term.c line 552

oldstrs defined in line 18; used 4 times

- in /usr/src/games/warp/init.c line 545
- in /usr/src/games/warp/score.c line 347-351(2)
- in /usr/src/games/warp/term.c line 552

possiblescore defined in line 24; used 23 times

- in /usr/src/games/warp/init.c line 60, 366, 398, 449-450(2), 461-470(4)
- in /usr/src/games/warp/play.c line 104, 138
- in /usr/src/games/warp/score.c line 387-388(2), 404, 431, 463
- in /usr/src/games/warp/sig.c line 183
- in /usr/src/games/warp/them.c line 218
- in /usr/src/games/warp/weapon.c line 74, 80-82(2), 90-92(2)

savefilename defined in line 29; used 6 times

- in /usr/src/games/warp/score.c line 66-68(2), 141, 686
- in /usr/src/games/warp/warp.c line 330, 401

totalscore defined in line 21; used 18 times

- in /usr/src/games/warp/score.c line 151-156(2), 181, 494-511(6), 548, 567, 582, 667, 692
- in /usr/src/games/warp/sig.c line 183
- in /usr/src/games/warp/warp.c line 319, 337, 354

#### Defined macros

BASEBOUNDARY defined in line 12; used 4 times

- in /usr/src/games/warp/score.c line 506-511(4)

COMPLEN defined in line 38; used 3 times

- in /usr/src/games/warp/score.c line 569, 587, 596

COMPNAME defined in line 37; used 3 times

- in /usr/src/games/warp/score.c line 569, 587, 596

COMPOFF defined in line 36; used 3 times

- in /usr/src/games/warp/score.c line 569, 587, 596

ENTBOUNDARY defined in line 9; used 6 times

- in /usr/src/games/warp/init.c line 449-450(2)
- in /usr/src/games/warp/score.c line 497-502(4)

#### Usage of this include

score.h used 9 times

- in /usr/src/games/warp/init.c line 27
- in /usr/src/games/warp/move.c line 21
- in /usr/src/games/warp/play.c line 15
- in /usr/src/games/warp/score.c line 29
- in /usr/src/games/warp/sig.c line 22
- in /usr/src/games/warp/term.c line 21
- in /usr/src/games/warp/them.c line 29
- in /usr/src/games/warp/warp.c line 126
- in /usr/src/games/warp/weapon.c line 20

Last modified: 1987-06-19 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 714 |