From b0bf67b4245a479e0403ca78bfb9bd9f8b5ab494 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Thu, 11 Nov 2010 15:01:57 +0000 Subject: TOOL: Suppress useless strings in textUtil Also add DOS version for this text array svn-id: r54202 --- engines/hugo/hugo.cpp | 2 +- engines/hugo/hugo.h | 2 +- engines/hugo/util.h | 11 +---------- 3 files changed, 3 insertions(+), 12 deletions(-) (limited to 'engines/hugo') diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index 5c1b7d8d4e..f648473bdb 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -464,7 +464,7 @@ bool HugoEngine::loadHugoDat() { _textSchedule = loadTexts(in); // Read textUtil - _textUtil = loadTexts(in); + _textUtil = loadTextsVariante(in, 0); // Read _arrayReqs _arrayReqs = loadLongArray(in); diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h index 4cfd9b0485..4f371117ab 100644 --- a/engines/hugo/hugo.h +++ b/engines/hugo/hugo.h @@ -34,7 +34,7 @@ #include "hugo/game.h" #define HUGO_DAT_VER_MAJ 0 // 1 byte -#define HUGO_DAT_VER_MIN 27 // 1 byte +#define HUGO_DAT_VER_MIN 28 // 1 byte #define DATAALIGNMENT 4 #define EDGE 10 // Closest object can get to edge of screen #define EDGE2 (EDGE * 2) // Push object further back on edge collision diff --git a/engines/hugo/util.h b/engines/hugo/util.h index 7120ebf771..4cf30b1903 100644 --- a/engines/hugo/util.h +++ b/engines/hugo/util.h @@ -36,16 +36,7 @@ namespace Hugo { enum seqTextUtil { - kTech = 0, - kErr1 = 1, - kErr2 = 2, - kErr3 = 3, - kErr4 = 4, - kErr5 = 5, - kErr6 = 6, - kGameOver = 7 -// kObsoleteErr1 = 8, -// kObsoleteErr2 = 9 + kGameOver = 0 }; namespace Utils { -- cgit v1.2.3