Subversion Repositories Games.Rick Dangerous

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
/*
2
 * src/dat_screens.c
3
 *
4
 * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
5
 *
6
 * The use and distribution terms for this software are contained in the file
7
 * named README, which can be found in the root of this distribution. By
8
 * using this software in any fashion, you are agreeing to be bound by the
9
 * terms of this license.
10
 *
11
 * You must not remove this notice, or any other, from this software.
12
 */
13
 
14
#include "system.h"
15
#include "screens.h"
16
 
17
 
18
/*
19
 * map intro, sprites lists
20
 */
21
U8 screen_imapsl[] =
22
{
23
   0x1b, 0x00,
24
   0x1c, 0x1d, 0x00,
25
   0x01, 0x00,
26
   0x02, 0x03, 0x04, 0x05, 0x06, 0x00,
27
   0x1e, 0x00,
28
   0x0d, 0x00,
29
   0x13, 0x14, 0x00,
30
   0x1f, 0x00
31
};
32
 
33
 
34
/*
35
 * map intro, steps
36
 */
37
screen_imapsteps_t screen_imapsteps[] =
38
{
39
   { 0x0000, 0x0002, 0x0002, 0x0000 },
40
   { 0x000b, 0x0000, 0x0001, 0x0000 },
41
   { 0x0008, 0x0001, 0x0000, 0x0002 },
42
   { 0x0000, 0x0000, 0x000c, 0x0000 },
43
   { 0x000a, 0x0000, 0x0000, 0x0005 },
44
   { 0x0006, 0x0002, 0x0000, 0x0007 },
45
   { 0x0005, 0x0000, 0x0000, 0x0005 },
46
   { 0x0000, 0x0006, 0x0000, 0x0000 },
47
   { 0x000c, 0x0000, 0x0001, 0x0000 },
48
   { 0x0005, 0x0000, 0x0000, 0x000d },
49
   { 0x0000, 0x000c, 0x000c, 0x0000 },
50
   { 0x0005, 0x0000, 0x0000, 0x0005 },
51
   { 0x000a, 0x0000, 0x0000, 0x000f },
52
   { 0x000c, 0xffff, 0x0000, 0x0011 },
53
   { 0x0005, 0x0000, 0x0000, 0x000f },
54
   { 0x0000, 0x0006, 0x0001, 0x0000 },
55
   { 0x000a, 0x0000, 0x0000, 0x0014 },
56
   { 0x0006, 0x0000, 0x0001, 0x0014 },
57
   { 0x0005, 0x0000, 0x0000, 0x0014 },
58
   { 0x0003, 0x0001, 0x0000, 0x0014 },
59
   { 0x0006, 0xffff, 0x0000, 0x0014 },
60
   { 0x0003, 0x0000, 0xffff, 0x0014 },
61
   { 0x0000, 0x0000, 0x0000, 0x0000 }
62
};
63
 
64
 
65
/*
66
 * map intro, step offset per map
67
 */
68
U8 screen_imapsofs[] =
69
{
70
   0x00, 0x03, 0x07, 0x0a, 0x0f
71
};
72
 
73
 
74
/*
75
 * map intro, text
76
 * (from ds + 0x8810 + 0x2000, 0x2138, 0x2251, 0x236a, 0x2464)
77
 *
78
 * \376=0xfe \377=0xff
79
 */
80
U8 screen_imaptext_amazon[] = "\
81
@@@@@SOUTH@AMERICA@1945@@@@@@@\377\
82
RICK@DANGEROUS@CRASH@LANDS@HIS\377\
83
@PLANE@OVER@THE@AMAZON@WHILE@@\377\
84
@SEARCHING@FOR@THE@LOST@GOOLU@\377\
85
@@@@@@@@@@@@TRIBE.@@@@@@@@@@@@\377\377\
86
@BUT,@BY@A@TERRIBLE@TWIST@OF@@\377\
87
FATE@HE@LANDS@IN@THE@MIDDLE@OF\377\
88
@@@A@BUNCH@OF@WILD@GOOLUS.@@@@\377\377\
89
@@CAN@RICK@ESCAPE@THESE@ANGRY@\377\
90
@@@AMAZONIAN@ANTAGONISTS@?@@@@\376";
91
 
92
 
93
U8 screen_imaptext_egypt[] = "\
94
@@@@EGYPT,@SOMETIMES@LATER@@@@\377\
95
RICK@HEADS@FOR@THE@PYRAMIDS@AT\377\
96
@@@@THE@REQUEST@OF@LONDON.@@@@\377\377\
97
HE@IS@TO@RECOVER@THE@JEWEL@OF@\377\
98
ANKHEL@THAT@HAS@BEEN@STOLEN@BY\377\
99
FANATICS@WHO@THREATEN@TO@SMASH\377\
100
@IT,@IF@A@RANSOM@IS@NOT@PAID.@\377\377\
101
CAN@RICK@SAVE@THE@GEM,@OR@WILL\377\
102
HE@JUST@GET@A@BROKEN@ANKHEL@?@\376";
103
 
104
 
105
U8 screen_imaptext_castle[] = "\
106
@@@@EUROPE,@LATER@THAT@WEEK@@@\377\
107
@@RICK@RECEIVES@A@COMMUNIQUE@@\377\
108
@@FROM@BRITISH@INTELLIGENCE@@@\377\
109
@@ASKING@HIM@TO@RESCUE@ALLIED@\377\
110
@PRISONERS@FROM@THE@NOTORIOUS@\377\
111
@@@@SCHWARZENDUMPF@CASTLE.@@@@\377\377\
112
@@RICK@ACCEPTS@THE@MISSION.@@@\377\377\
113
@@@BUT@CAN@HE@LIBERATE@THE@@@@\377\
114
@CRUELLY@CAPTURED@COOMANDOS@?@\376";
115
 
116
 
117
U8 screen_imaptext_missile[] = "\
118
@@@@@@EUROPE,@EVEN@LATER@@@@@@\377\
119
RICK@LEARNS@FROM@THE@PRISONERS\377\
120
@THAT@THE@ENEMY@ARE@TO@LAUNCH@\377\
121
AN@ATTACK@ON@LONDON@FROM@THEIR\377\
122
@@@@@SECRET@MISSILE@BASE.@@@@@\377\377\
123
WITHOUT@HESITATION,@HE@DECIDES\377\
124
@@@TO@INFILTRATE@THE@BASE.@@@@\377\377\
125
CAN@RICK@SAVE@LONDON@IN@TIME@?\376";
126
 
127
 
128
U8 screen_imaptext_muchlater[] = "\
129
@@@LONDON,@MUCH,@MUCH@LATER@@@\377\
130
@RICK@RETURNS@TO@A@TRIUMPHANT@\377\
131
@@WELCOME@HOME@HAVING@HELPED@@\377\
132
@@@@SECURE@ALLIED@VICTORY.@@@@\377\377\
133
BUT,@MEANWHILE,@IN@SPACE,@THE@\377\
134
@@@MASSED@STARSHIPS@OF@THE@@@@\377\
135
@@@BARFIAN@EMPIRE@ARE@POISED@@\377\
136
@@@@@TO@INVADE@THE@EARTH.@@@@@\377\377\
137
@WHAT@WILL@RICK@DO@NEXT@...@?@\376";
138
 
139
 
140
U8 *screen_imaptext[5] =
141
{
142
   screen_imaptext_amazon,
143
   screen_imaptext_egypt,
144
   screen_imaptext_castle,
145
   screen_imaptext_missile,
146
   screen_imaptext_muchlater
147
};
148
 
149
 
150
/*
151
 * main intro, hall of fame title
152
 * (from ds + 0x8810 + 0x2642)
153
 */
154
U8 screen_imainhoft[] =
155
{ 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0xd4, 0xb7, 0xb1,
156
   0xac, 0xc6, 0x2f, 0xc6, 0x2f, 0x2f, 0xa4, 0xac,
157
   0x9b, 0xc1, 0x2f, 0x9b, 0xc1, 0xb1, 0xac, 0xb6,
158
   0xbd, 0x9b, 0xc1, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f,
159
   0xff,
160
   0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0xb2, 0xb3, 0xb2,
161
   0xb3, 0xad, 0x2f, 0xad, 0x2f, 0x2f, 0xa6, 0xae,
162
   0xc2, 0xc3, 0x2f, 0xc2, 0xc3, 0xb2, 0xb3, 0xbe,
163
   0xbf, 0xc2, 0xc3, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f,
164
   0xff,
165
   0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x9f, 0xc0, 0xb4,
166
   0xb5, 0xaf, 0xc4, 0xaf, 0xc4, 0x2f, 0xa7, 0xb0,
167
   0xb4, 0x2f, 0x2f, 0xb4, 0x2f, 0xb4, 0xb5, 0xb4,
168
   0xb5, 0xaf, 0xc4, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f,
169
   0xfe
170
};
171
 
172
 
173
/*
174
 * congratulations
175
 * (from ds + 0x8810 + 0x257d)
176
 */
177
U8 screen_congrats[] =
178
{ 0xa4, 0xa5, 0xa4, 0xac, 0xb6, 0xb7, 0xa4, 0xa5,
179
   0x9b, 0x9c, 0xb1, 0xac, 0xcd, 0xce, 0xc6, 0xc7,
180
   0xd3, 0x2f, 0xb1, 0xac, 0xcd, 0xce, 0xa1, 0xa4,
181
   0xac, 0xb6, 0xb7, 0xc8, 0xc9, 0x2f, 0xd5, 0xd6,
182
   0xff,
183
   0xa6, 0x2f, 0xa6, 0xae, 0xb8, 0xb9, 0xa6, 0xbb,
184
   0x9d, 0x9e, 0xb2, 0xb3, 0xcf, 0xd0, 0xad, 0xae,
185
   0xad, 0x2f, 0xb2, 0xb3, 0xcf, 0xd0, 0xa2, 0xa6,
186
   0xae, 0xb8, 0xb9, 0xca, 0xcb, 0x2f, 0xd7, 0xd8,
187
   0xff,
188
   0xa7, 0xa8, 0xa7, 0xb0, 0x9f, 0xba, 0xa7, 0xbc,
189
   0x9f, 0xa0, 0xb4, 0xb5, 0xd1, 0xd2, 0xc5, 0xb0,
190
   0xaf, 0xc4, 0xb4, 0xb5, 0xd1, 0xd2, 0xa3, 0xa7,
191
   0xb0, 0x9f, 0xba, 0xcc, 0xb0, 0x2f, 0xd9, 0xda,
192
   0xfe
193
};
194
 
195
 
196
/*
197
 * main intro, Core Design copyright text
198
 * (from ds + 0x8810 + 0x2288)
199
 *
200
 * \376=0xfe \377=0xff
201
 */
202
U8 screen_imaincdc[] = "\
203
\377\377\
204
@C@@1989@CORE@DESIGN\377\377\377\
205
@PRESS@SPACE@TO@START\376";
206
 
207
 
208
/*
209
 * gameover
210
 * (from ds + 0x8810 + 0x2864)
211
 *
212
 * \376=0xfe \377=0xff
213
 */
214
U8 screen_gameovertxt[] = "\
215
@@@@@@@@@@@\377\
216
@GAME@OVER@\377\
217
@@@@@@@@@@@\376";
218
 
219
 
220
/*
221
 * paused
222
 *
223
 * \376=0xfe \377=0xff
224
 */
225
U8 screen_pausedtxt[] = "\
226
@@@@@@@@@@\377\
227
@@PAUSED@@\377\
228
@@@@@@@@@@\376";