diff options
author | Eugene Sandulenko | 2010-08-17 09:28:20 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-17 09:28:20 +0000 |
commit | 06960d33e15bc80f9912fa92f11dd82388199bd6 (patch) | |
tree | da4750e75d343227f9e522bbc1c5d983de831e85 /tools/create_hugo/staticintro.h | |
parent | e075f0539568c5d14a61889a0233558376cdb5ce (diff) | |
download | scummvm-rg350-06960d33e15bc80f9912fa92f11dd82388199bd6.tar.gz scummvm-rg350-06960d33e15bc80f9912fa92f11dd82388199bd6.tar.bz2 scummvm-rg350-06960d33e15bc80f9912fa92f11dd82388199bd6.zip |
HUGO: Adding engine to the main tree
svn-id: r52137
Diffstat (limited to 'tools/create_hugo/staticintro.h')
-rwxr-xr-x | tools/create_hugo/staticintro.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tools/create_hugo/staticintro.h b/tools/create_hugo/staticintro.h new file mode 100755 index 0000000000..f9e59952e7 --- /dev/null +++ b/tools/create_hugo/staticintro.h @@ -0,0 +1,59 @@ +/* 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. + * + * $URL$ + * $Id$ + * + */ + +/* + * This code is based on original Hugo Trilogy source code + * + * Copyright (c) 1989-1995 David P. Gray + * + */ + +#ifndef STATICINTRO_H +#define STATICINTRO_H + +#define NUM_INTRO_TEXT 3 +#define NUM_INTRO_TICK 36 +// We use intro_tick as an index into the following coordinate list for the plane path. +const byte x_intro[NUM_INTRO_TICK] = { + 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 +}; + +const byte y_intro[NUM_INTRO_TICK] = { + 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 +}; + +const char *textIntro[NUM_INTRO_TEXT] = { + "Hugo and Penelope are returning\nhome from their vacation at the\ncottage of Great Uncle Horace.", + "Suddenly, a freak magnetic storm\ncauses the compass in their light\naircraft to spin wildly! Unable\nto navigate, Hugo loses all sense\nof direction...", + "Finally, hopelessly lost over a\nSouth American Jungle, the plane\nabout to run out of gas, Hugo\nspots a clearing just big enough\nto land it.\n\nWith fingers clenching the controls\nhe shouts: Hold on Penelope, we're\ngoing down...!" +}; + +#endif |