diff options
author | Arnaud Boutonné | 2010-11-12 18:05:23 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-12 18:05:23 +0000 |
commit | fd82c3783d1e563e9c3526aeb0d75e79ebcc0d76 (patch) | |
tree | 13f836fdfe34b35086ee9f1b53d91c0fb5289c0b /tools | |
parent | 103ac9c566df104e4cacdb78e68fc775d047f658 (diff) | |
download | scummvm-rg350-fd82c3783d1e563e9c3526aeb0d75e79ebcc0d76.tar.gz scummvm-rg350-fd82c3783d1e563e9c3526aeb0d75e79ebcc0d76.tar.bz2 scummvm-rg350-fd82c3783d1e563e9c3526aeb0d75e79ebcc0d76.zip |
TOOL+HUGO: Misc modifications
- Fix H1 Dos bug (animations not showing in Hall and after)
- Get rid of _textSchedule and everything related
H1 Dos shoud now be completable (not tested yet)
svn-id: r54218
Diffstat (limited to 'tools')
-rw-r--r-- | tools/create_hugo/create_hugo.cpp | 6 | ||||
-rw-r--r-- | tools/create_hugo/create_hugo.h | 2 | ||||
-rw-r--r-- | tools/create_hugo/dists/msvc9/create_hugo.vcproj | 4 | ||||
-rw-r--r-- | tools/create_hugo/staticschedule.h | 43 |
4 files changed, 2 insertions, 53 deletions
diff --git a/tools/create_hugo/create_hugo.cpp b/tools/create_hugo/create_hugo.cpp index 2b39b80c63..7f4198704c 100644 --- a/tools/create_hugo/create_hugo.cpp +++ b/tools/create_hugo/create_hugo.cpp @@ -50,7 +50,6 @@ #include "staticintro.h" #include "staticmouse.h" #include "staticparser.h" -#include "staticschedule.h" #include "staticutil.h" #include "staticfont.h" @@ -365,9 +364,6 @@ int main(int argc, char *argv[]) { // Write textParser writeTextArray(outFile, textParser, NUM_PARSER_TEXT); - // Write textSchedule - writeTextArray(outFile, textSchedule, NUM_SCHEDULE_TEXT); - // Write textUtil writeTextArray(outFile, textUtil_v1w, NUM_UTIL_TEXT); writeTextArray(outFile, textUtil_v1w, NUM_UTIL_TEXT); @@ -816,7 +812,7 @@ int main(int argc, char *argv[]) { writeUint16BE(outFile, LASTOBJ_1w); writeUint16BE(outFile, LASTOBJ_2w); writeUint16BE(outFile, LASTOBJ_3w); - writeUint16BE(outFile, NUM_PICS_1d); //(not set in original, as Hugo1 DOS doesn't use a DAT file to pack the screens) + writeUint16BE(outFile, LASTOBJ_1d); //(not set in original, as Hugo1 DOS doesn't use a DAT file to pack the screens) writeUint16BE(outFile, LASTOBJ_2d); writeUint16BE(outFile, LASTOBJ_3d); diff --git a/tools/create_hugo/create_hugo.h b/tools/create_hugo/create_hugo.h index a3cca0efe1..3fc768d33e 100644 --- a/tools/create_hugo/create_hugo.h +++ b/tools/create_hugo/create_hugo.h @@ -31,7 +31,7 @@ #define DATAALIGNMENT 4 #define HUGO_DAT_VER_MAJ 0 // 1 byte -#define HUGO_DAT_VER_MIN 28 // 1 byte +#define HUGO_DAT_VER_MIN 29 // 1 byte typedef unsigned char uint8; typedef unsigned char byte; diff --git a/tools/create_hugo/dists/msvc9/create_hugo.vcproj b/tools/create_hugo/dists/msvc9/create_hugo.vcproj index f6680e0280..473d89e43c 100644 --- a/tools/create_hugo/dists/msvc9/create_hugo.vcproj +++ b/tools/create_hugo/dists/msvc9/create_hugo.vcproj @@ -210,10 +210,6 @@ > </File> <File - RelativePath="..\..\staticschedule.h" - > - </File> - <File RelativePath="..\..\staticutil.h" > </File> diff --git a/tools/create_hugo/staticschedule.h b/tools/create_hugo/staticschedule.h deleted file mode 100644 index aa11bd8bf3..0000000000 --- a/tools/create_hugo/staticschedule.h +++ /dev/null @@ -1,43 +0,0 @@ -/* 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 STATICSCHEDULE_H -#define STATICSCHEDULE_H - -#define NUM_SCHEDULE_TEXT 2 - -const char *textSchedule[NUM_SCHEDULE_TEXT] = { - "Can't find background file!", - "Obsolete saved game format will be converted!" -}; - -#endif |