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 _DRAWPIXMAPS_H
18 
19 #define _DRAWPIXMAPS_H
20 
21 #define PXID_NOTHING           0
22 #define PXID_STONE             1
23 #define PXID_GROUND            2
24 #define PXID_GHOST             3
25 #define PXID_GHOST_LEFT        4
26 #define PXID_GHOST_RIGHT       5
27 #define PXID_GHOST_UP          6
28 #define PXID_DIAMOND           7
29 #define PXID_DIAMOND_BLINK0    8
30 #define PXID_DIAMOND_BLINK1    9
31 #define PXID_DIAMOND_BLINK2   10
32 #define PXID_DIAMOND_BLINK3   11
33 #define PXID_DIAMOND_BLINK4   12
34 #define PXID_DIAMOND_BLINK5   13
35 #define PXID_WALL             16
36 #define PXID_DIGGER           17
37 #define PXID_DIGGER_LEFT0     18
38 #define PXID_DIGGER_LEFT1     19
39 #define PXID_DIGGER_LEFT2     20
40 #define PXID_DIGGER_LEFT3     21
41 #define PXID_DIGGER_RIGHT0    22
42 #define PXID_DIGGER_RIGHT1    23
43 #define PXID_DIGGER_RIGHT2    24
44 #define PXID_DIGGER_RIGHT3    25
45 #define PXID_DIGGER_UP1       26
46 #define PXID_DIGGER_UP2       27
47 #define PXID_DIGGER_DOWN1     28
48 #define PXID_DIGGER_DOWN2     29
49 #define PXID_DIGGER_FOOT      30
50 #define PXID_DIGGER_EYE1      31
51 #define PXID_DIGGER_EYE2      32
52 #define PXID_DIGGER_DEATH     33
53 #define PXID_EXIT             34
54 #define PXID_CHANGER          35
55 
56 #define PXID_GHOST_DOWN_180   36
57 #define PXID_GHOST_UP_180     37
58 #define PXID_GHOST_LEFT_180   38
59 #define PXID_GHOST_RIGHT_180  39
60 #define PXID_GHOST_DOWN_L     40
61 #define PXID_GHOST_UP_L       41
62 #define PXID_GHOST_LEFT_L     42
63 #define PXID_GHOST_RIGHT_L    43
64 #define PXID_GHOST_DOWN_R     44
65 #define PXID_GHOST_UP_R       45
66 #define PXID_GHOST_LEFT_R     46
67 #define PXID_GHOST_RIGHT_R    47
68 #define PXID_GHOST_DOWN_LR    48
69 #define PXID_GHOST_UP_LR      49
70 #define PXID_GHOST_LEFT_LR    50
71 #define PXID_GHOST_RIGHT_LR   51
72 #define CountPixmaps          52
73 
74 #define PXID_ICON_NOTHING      0
75 #define PXID_ICON_DIGGER       1
76 #define PXID_ICON_DIGGER_FOOT  2
77 #define PXID_ICON_DIGGER_EYE1  3
78 #define PXID_ICON_DIGGER_EYE2  4
79 #define CountIconPixmaps       5
80 
81 extern Pixmap /*main_win_icon_pixmap,*/ pixmaps[], iconpixmaps[], xbm_charset[];
82 extern Cursor cursor_digger, cursor_watch;
83 
84 extern void Make16x16Pixmaps_Editor();
85 extern void MakeXPixmaps(Bool first_time);
86 extern void CopyOnePixmap_Window(Window window, unsigned char pixmap_id,
87                                  int x, int y);
88 extern void DrawOnePixmap(unsigned char pixmap_id, int x, int y);
89 extern void DrawPixmapStr(const char *str, int x, int y);
90 extern void ResizeXPixmaps(int newmag);
91 
92 #endif
93