From fd82c3783d1e563e9c3526aeb0d75e79ebcc0d76 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Fri, 12 Nov 2010 18:05:23 +0000 Subject: 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 --- tools/create_hugo/create_hugo.cpp | 6 +--- tools/create_hugo/create_hugo.h | 2 +- tools/create_hugo/dists/msvc9/create_hugo.vcproj | 4 --- tools/create_hugo/staticschedule.h | 43 ------------------------ 4 files changed, 2 insertions(+), 53 deletions(-) delete mode 100644 tools/create_hugo/staticschedule.h (limited to 'tools/create_hugo') 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 @@ -209,10 +209,6 @@ RelativePath="..\..\staticparser.h" > - - 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 -- cgit v1.2.3