R-PAGE
Resistance's Portable-Adventure-Game-Engine
Main Page
Related Pages
Data Structures
Files
File List
Globals
rpage
aos
mouse_ptr.c
Go to the documentation of this file.
1
/* Athanor 2, Original game by Eric "Atlantis" Safar, (C) Safargames 2019
2
Amiga version by Francois "Astrofra" Gutherz.
3
*/
4
5
#ifdef LATTICE
6
#include <exec/types.h>
7
#include "
rpage/utils.h
"
8
#include "
rpage/aos/mouse_ptr.h
"
9
10
vec2
system_cursors_hotspot
[3] =
11
{
12
{-1, -1},
13
{-1, -1},
14
{-1, -1}
15
};
16
17
/* ------------------------------- */
18
/* --- system_cursors (data) --- */
19
/* Ensure that this data is within chip memory or you'll see nothing !!! */
20
UWORD
chip
system_cursors_img
[3][36]=
21
{
22
/* Sprite #0 */
23
{
24
0x0,0x0,
25
0x0,0xe000,
26
0x4000,0xb000,
27
0x6000,0x9800,
28
0x7000,0xcc00,
29
0x7800,0xc600,
30
0x7c00,0xe300,
31
0x7e00,0xe180,
32
0x7f00,0xf0c0,
33
0x7f80,0xf060,
34
0x7e00,0xf9e0,
35
0x7c00,0xf7e0,
36
0x6600,0xdd80,
37
0x200,0xff80,
38
0x300,0x76c0,
39
0x100,0x3c0,
40
0x0,0x3c0,
41
0x0,0x0
42
},
43
/* Sprite #1 */
44
{
45
0x0,0x0,
46
0xf40,0x16a0,
47
0x3fe0,0x5f50,
48
0x61f0,0xbfe8,
49
0x7bf8,0xfff4,
50
0xf7f8,0xfff6,
51
0xe10c,0xfff2,
52
0x7fdc,0xfff3,
53
0x7fbe,0xbfe1,
54
0x3f0c,0x5ff3,
55
0xff8,0x37c7,
56
0x1e0,0xe1e,
57
0x700,0xef8,
58
0xfc0,0x1730,
59
0x7b0,0xa68,
60
0x38,0x7c4,
61
0x10,0x2e,
62
0x0,0x0
63
},
64
/* Sprite #2 */
65
{
66
0x0,0x0,
67
0x0,0x3ff8,
68
0x3fc0,0x403c,
69
0x7f8c,0xd572,
70
0x7f8c,0xff73,
71
0x3c,0xffcb,
72
0x7fc,0x781b,
73
0x7fc,0xaab,
74
0x7fc,0xd5b,
75
0x7fc,0xaab,
76
0x7fc,0xffb,
77
0x7fc,0x81b,
78
0x3c,0xffdb,
79
0x7fbc,0xff4b,
80
0x3fd8,0x4027,
81
0xaa0,0x355e,
82
0x0,0x1ffc,
83
0x0,0x0
84
},
85
};
86
87
/* -- (end of) system_cursors -- */
88
/* ------------------------------- */
89
90
vec2
game_cursors_hotspot
[4] =
91
{
92
{-4, -4},
93
{-4, -4},
94
{-4, -4},
95
{-8, -8}
96
};
97
98
/* ------------------------------- */
99
/* --- game_cursors (data) --- */
100
/* Ensure that this data is within chip memory or you'll see nothing !!! */
101
UWORD
chip
game_cursors_img
[4][36]=
102
{
103
/* Sprite #0 */
104
{
105
0x0,0x0,
106
0x0,0x7f00,
107
0x7e00,0xff80,
108
0x700,0xfbc0,
109
0x380,0x5e0,
110
0x1c0,0x1ef8,
111
0x18f0,0x376e,
112
0x307c,0x7ffb,
113
0x7e,0x70ff,
114
0x7e,0xff,
115
0x7e,0xe1ff,
116
0x407e,0xbfff,
117
0x78fe,0xb7ff,
118
0x1ffe,0x6fe1,
119
0x7fc,0x3bc3,
120
0x80,0xf7f,
121
0x0,0x3fe,
122
0x0,0x0
123
},
124
/* Sprite #1 */
125
{
126
0x0,0x0,
127
0x0,0x1f00,
128
0xf00,0x3ec0,
129
0x1180,0x7fe0,
130
0x2ee0,0xf950,
131
0x5f60,0xfcf0,
132
0x5fa0,0xe870,
133
0x6fa0,0xf070,
134
0x3060,0xffd0,
135
0x1fc0,0x7fa0,
136
0xf80,0x3770,
137
0x0,0xff8,
138
0x30,0x6c,
139
0x18,0x3e,
140
0xc,0x1f,
141
0x6,0xd,
142
0x0,0x6,
143
0x0,0x0
144
},
145
/* Sprite #2 */
146
{
147
0x0,0x0,
148
0x0,0x3e00,
149
0x1c00,0x3f00,
150
0x600,0xfb00,
151
0x4300,0xee80,
152
0x4700,0xfa80,
153
0x6f00,0xf680,
154
0x3e00,0xffc0,
155
0x1c80,0x6b60,
156
0x1c0,0x3e70,
157
0x1e0,0x6fe,
158
0xfc,0x37f,
159
0x62,0x1bf,
160
0x22,0xf7,
161
0x22,0x7f,
162
0x1e,0x7d,
163
0x0,0x3e,
164
0x0,0x0
165
},
166
/* Sprite #3 */
167
{
168
0x0,0x0,
169
0x0,0x7ffe,
170
0x7ffe,0xbffd,
171
0x7ffe,0xffff,
172
0x7ffe,0xffff,
173
0x7ffe,0xffff,
174
0x7ffe,0xffff,
175
0x6666,0xffff,
176
0x6666,0xffff,
177
0x7ffe,0xffff,
178
0x7ffe,0xbffd,
179
0xe0,0x7f7e,
180
0x70,0x1e8,
181
0x30,0xf8,
182
0x10,0x78,
183
0x0,0x38,
184
0x0,0x18,
185
0x0,0x0
186
},
187
};
188
189
/* -- (end of) game_cursors -- */
190
/* ------------------------------- */
191
192
#endif
system_cursors_img
UWORD chip system_cursors_img[3][36]
vec2
Definition:
utils.h:52
utils.h
game_cursors_img
UWORD chip game_cursors_img[4][36]
system_cursors_hotspot
vec2 system_cursors_hotspot[3]
UWORD
unsigned short UWORD
Definition:
utils.h:28
mouse_ptr.h
game_cursors_hotspot
vec2 game_cursors_hotspot[4]
Generated by
1.8.11