aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2010-11-11 15:01:57 +0000
committerArnaud Boutonné2010-11-11 15:01:57 +0000
commitb0bf67b4245a479e0403ca78bfb9bd9f8b5ab494 (patch)
treea2c189491e3129c7ce6ed09193bc3468de68a6f6 /engines/hugo
parent521f228ceddda2cfc0ed1006682d1b7dfbca7302 (diff)
downloadscummvm-rg350-b0bf67b4245a479e0403ca78bfb9bd9f8b5ab494.tar.gz
scummvm-rg350-b0bf67b4245a479e0403ca78bfb9bd9f8b5ab494.tar.bz2
scummvm-rg350-b0bf67b4245a479e0403ca78bfb9bd9f8b5ab494.zip
TOOL: Suppress useless strings in textUtil
Also add DOS version for this text array svn-id: r54202
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/hugo.cpp2
-rw-r--r--engines/hugo/hugo.h2
-rw-r--r--engines/hugo/util.h11
3 files changed, 3 insertions, 12 deletions
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 {