File: extlist.h

package info (click to toggle)
motif 2.3.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,432 kB
  • sloc: ansic: 452,643; sh: 4,613; makefile: 2,030; yacc: 1,604; lex: 352; cpp: 348
file content (41 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * Copyright 1994, Integrated Computer Solutions, Inc.
 *
 * All Rights Reserved.
 *
 * Author: Rick Umali
 *
 * extlist.h
 *
 */

#ifndef _extlist_h
#define _extlist_h
typedef enum { PPORSCHE, PCLOWN, PSTOP, PCRAB } PlayerPix;

#define NUM_PLAYERS 14

/**************************************************************
 *		DATA STRUCTURES
 **************************************************************/
typedef struct _DemoInfo {
  Widget extlist;
  Widget rem_pb;
  Widget player[14];
} DemoStruct, *DemoInfo;

typedef struct _PlayerData {
  PlayerPix picture;
    char *name;
    int at_bats;
    int runs;
    int hits;
    int rbi;
    int average; /* entered as an integer...displayed as a "float" */
    int home_runs;
} PlayerData;

#define NUM_COLUMNS 8
#define MAX_ARGS 15
#define LINEUP_LIMIT 9
#endif