2010-08-17 09:28:20 +00:00
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers , whose names
* are too numerous to list here . Please refer to the COPYRIGHT
* file distributed with this source distribution .
*
* This program is free software ; you can redistribute it and / or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation ; either version 2
* of the License , or ( at your option ) any later version .
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software
* Foundation , Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 , USA .
*
*/
/*
* This code is based on original Hugo Trilogy source code
*
* Copyright ( c ) 1989 - 1995 David P . Gray
*
*/
# ifndef STATICINTRO_H
# define STATICINTRO_H
2010-09-26 11:27:08 +00:00
# define NUM_INTRO_TEXT_DUMMY 1
# define NUM_INTRO_TEXT_V3 3
// Hugo1 DOS have 11 intro ticks, Hugo3 DOS and Hugo3 have 36
# define NUM_INTRO_TICK_DUMMY 1
# define NUM_INTRO_TICK_V1D 11
# define NUM_INTRO_TICK_V3 36
2010-08-17 09:28:20 +00:00
// We use intro_tick as an index into the following coordinate list for the plane path.
2010-10-12 02:18:11 +00:00
// This is only used in v3.
// v1 Dos uses TICKS too, for displaying the texts at a specific pace. x and y arrays
2010-09-26 11:27:08 +00:00
// are dummy
const byte x_intro_dummy [ ] = { 0 } ;
const byte x_intro_v1d [ NUM_INTRO_TICK_V1D ] = {
0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
0
} ;
const byte x_intro_v3 [ NUM_INTRO_TICK_V3 ] = {
2010-08-17 09:28:20 +00:00
210 , 204 , 198 , 192 , 186 , 180 , 174 , 168 , 162 , 156 ,
152 , 149 , 152 , 158 , 165 , 171 , 170 , 165 , 161 , 157 ,
150 , 144 , 138 , 134 , 133 , 134 , 138 , 144 , 146 , 142 ,
137 , 132 , 128 , 124 , 120 , 115
} ;
2010-09-26 11:27:08 +00:00
const byte y_intro_dummy [ ] = { 0 } ;
const byte y_intro_v1d [ NUM_INTRO_TICK_V1D ] = {
0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,
0
} ;
const byte y_intro_v3 [ NUM_INTRO_TICK_V3 ] = {
2010-08-17 09:28:20 +00:00
61 , 61 , 61 , 61 , 61 , 61 , 61 , 61 , 61 , 61 ,
63 , 66 , 71 , 74 , 72 , 75 , 80 , 82 , 83 , 84 ,
84 , 84 , 85 , 89 , 94 , 99 , 103 , 104 , 100 , 98 ,
100 , 103 , 106 , 109 , 111 , 112
} ;
2010-09-26 11:27:08 +00:00
// Only Hugo 3 uses texts during intro
const char * textIntro_dummy [ NUM_INTRO_TEXT_DUMMY ] = { " " } ;
const char * textIntro_v3 [ NUM_INTRO_TEXT_V3 ] = {
2010-08-17 09:28:20 +00:00
" Hugo and Penelope are returning \n home from their vacation at the \n cottage of Great Uncle Horace. " ,
" Suddenly, a freak magnetic storm \n causes the compass in their light \n aircraft to spin wildly! Unable \n to navigate, Hugo loses all sense \n of direction... " ,
" Finally, hopelessly lost over a \n South American Jungle, the plane \n about to run out of gas, Hugo \n spots a clearing just big enough \n to land it. \n \n With fingers clenching the controls \n he shouts: Hold on Penelope, we're \n going down...! "
} ;
# endif