ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mouse_cursor.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef AGI_MOUSE_CURSOR_H
23 #define AGI_MOUSE_CURSOR_H
24 
25 namespace Agi {
26 
31 static const byte MOUSECURSOR_PALETTE[] = {
32  0x00, 0x00, 0x00, // Black
33  0xFF, 0xFF, 0xFF, // White
34  0xDE, 0x20, 0x21, // Red
35  0xFF, 0xCF, 0xAD // Light red
36 };
37 
44 static const byte MOUSECURSOR_SCI[] = {
45  1,1,0,0,0,0,0,0,0,0,0,
46  1,2,1,0,0,0,0,0,0,0,0,
47  1,2,2,1,0,0,0,0,0,0,0,
48  1,2,2,2,1,0,0,0,0,0,0,
49  1,2,2,2,2,1,0,0,0,0,0,
50  1,2,2,2,2,2,1,0,0,0,0,
51  1,2,2,2,2,2,2,1,0,0,0,
52  1,2,2,2,2,2,2,2,1,0,0,
53  1,2,2,2,2,2,2,2,2,1,0,
54  1,2,2,2,2,2,2,2,2,2,1,
55  1,2,2,2,2,2,1,0,0,0,0,
56  1,2,1,0,1,2,2,1,0,0,0,
57  1,1,0,0,1,2,2,1,0,0,0,
58  0,0,0,0,0,1,2,2,1,0,0,
59  0,0,0,0,0,1,2,2,1,0,0,
60  0,0,0,0,0,0,1,2,2,1,0
61 };
62 
69 static const byte MOUSECURSOR_SCI_BUSY[] = {
70  0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,
71  0,0,0,0,1,1,1,2,2,1,1,1,0,0,0,
72  0,0,0,1,2,2,1,2,2,1,2,2,1,0,0,
73  0,1,1,1,2,2,1,2,2,1,2,2,1,0,0,
74  1,2,2,1,2,2,1,2,2,1,2,2,1,0,0,
75  1,2,2,1,2,2,1,2,2,1,2,2,1,0,0,
76  1,2,2,1,2,2,1,2,2,1,2,1,2,1,0,
77  1,2,2,1,2,2,1,2,2,1,1,2,2,1,1,
78  1,2,2,1,2,2,1,2,2,1,1,2,2,2,1,
79  1,2,2,2,2,2,2,2,2,1,1,2,2,2,1,
80  1,2,2,2,2,2,2,2,1,2,2,2,2,1,0,
81  1,2,2,2,2,2,2,1,2,2,2,2,2,1,0,
82  0,1,2,2,2,2,2,1,2,2,2,2,1,0,0,
83  0,1,2,2,2,2,2,2,2,2,2,2,1,0,0,
84  0,0,1,2,2,2,2,2,2,2,2,1,0,0,0,
85  0,0,0,1,1,1,1,1,1,1,1,0,0,0,0
86 };
87 
94 static const byte MOUSECURSOR_ATARI_ST[] = {
95  2,2,0,0,0,0,0,0,0,0,0,
96  2,1,2,0,0,0,0,0,0,0,0,
97  2,1,1,2,0,0,0,0,0,0,0,
98  2,1,1,1,2,0,0,0,0,0,0,
99  2,1,1,1,1,2,0,0,0,0,0,
100  2,1,1,1,1,1,2,0,0,0,0,
101  2,1,1,1,1,1,1,2,0,0,0,
102  2,1,1,1,1,1,1,1,2,0,0,
103  2,1,1,1,1,1,1,1,1,2,0,
104  2,1,1,1,1,1,2,2,2,2,2,
105  2,1,1,2,1,1,2,0,0,0,0,
106  2,1,2,0,2,1,1,2,0,0,0,
107  2,2,0,0,2,1,1,2,0,0,0,
108  2,0,0,0,0,2,1,1,2,0,0,
109  0,0,0,0,0,2,1,1,2,0,0,
110  0,0,0,0,0,0,2,2,2,0,0
111 };
112 
119 static const byte MOUSECURSOR_APPLE_II_GS[] = {
120  2,2,0,0,0,0,0,0,0,
121  2,1,2,0,0,0,0,0,0,
122  2,1,1,2,0,0,0,0,0,
123  2,1,1,1,2,0,0,0,0,
124  2,1,1,1,1,2,0,0,0,
125  2,1,1,1,1,1,2,0,0,
126  2,1,1,1,1,1,1,2,0,
127  2,1,1,1,1,1,1,1,2,
128  2,1,1,2,1,1,2,2,0,
129  2,2,2,0,2,1,1,2,0,
130  0,0,0,0,0,2,2,2,0
131 };
132 
140 static const byte MOUSECURSOR_AMIGA[] = {
141  3,4,1,0,0,0,0,0,
142  3,3,4,1,0,0,0,0,
143  3,3,3,4,1,0,0,0,
144  3,3,3,3,4,1,0,0,
145  3,3,3,3,3,4,1,0,
146  3,3,3,3,3,3,4,1,
147  3,0,3,3,4,1,0,0,
148  0,0,0,3,4,1,0,0,
149  0,0,0,3,3,4,1,0,
150  0,0,0,0,3,4,1,0,
151  0,0,0,0,3,3,4,1
152 };
153 
161 static const byte MOUSECURSOR_AMIGA_BUSY[] = {
162  1,1,1,1,1,1,1,1,1,1,1,1,1,
163  1,3,3,3,3,3,3,3,3,3,3,3,1,
164  1,3,3,3,3,3,3,3,3,3,3,3,1,
165  0,1,4,4,4,4,4,4,4,4,4,1,0,
166  0,0,1,4,4,4,4,4,4,4,1,0,0,
167  0,0,0,1,4,4,4,4,4,1,0,0,0,
168  0,0,0,0,1,4,4,4,1,0,0,0,0,
169  0,0,0,0,0,1,4,1,0,0,0,0,0,
170  0,0,0,0,0,1,4,1,0,0,0,0,0,
171  0,0,0,0,1,3,4,3,1,0,0,0,0,
172  0,0,0,1,3,3,4,3,3,1,0,0,0,
173  0,0,1,3,3,3,4,3,3,3,1,0,0,
174  0,1,3,3,3,4,4,4,3,3,3,1,0,
175  1,4,4,4,4,4,4,4,4,4,4,4,1,
176  1,4,4,4,4,4,4,4,4,4,4,4,1,
177  1,1,1,1,1,1,1,1,1,1,1,1,1
178 };
179 
186 static const byte MOUSECURSOR_MACINTOSH_BUSY[] = {
187  0,0,1,1,1,1,1,1,0,0,
188  0,0,1,1,1,1,1,1,0,0,
189  0,0,1,1,1,1,1,1,0,0,
190  0,1,2,2,2,2,2,2,1,0,
191  1,2,2,2,2,1,2,2,2,1,
192  1,2,2,2,2,1,2,2,2,1,
193  1,2,2,2,2,1,2,2,2,1,
194  1,2,2,1,1,1,2,2,2,1,
195  1,2,2,2,2,2,2,2,2,1,
196  1,2,2,2,2,2,2,2,2,1,
197  0,1,2,2,2,2,2,2,1,0,
198  0,0,1,1,1,1,1,1,0,0,
199  0,0,1,1,1,1,1,1,0,0,
200  0,0,1,1,1,1,1,1,0,0
201 };
202 
203 } // End of namespace Agi
204 
205 #endif /* AGI_MOUSE_CURSOR_H */
Definition: agi.h:63