1 /* XDigger  Copyright (C) 1988-99 Alexander Lang.
2 
3 XDigger is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7 
8 XDigger is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 GNU General Public License for more details.
12 
13 You should have received a copy of the GNU General Public License
14 along with this program; see the file COPYING.  If not, write to
15 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
16 
17 #ifndef _TYPEDEF_H
18 #define _TYPEDEF_H
19 
20 typedef struct
21 {
22   unsigned char c;
23   int fg, bg;
24   Bool todraw;
25 } CharEntry;
26 
27 typedef struct
28 {
29   unsigned char id, flags, pixmap_id, todraw;
30 } FieldEntry;
31 
32 typedef struct
33 {
34   unsigned char x, y, type, arrow, lastturn;
35   Bool dead;
36 } GhostEntry;
37 
38 #endif
39