diff options
author | Arnaud Boutonné | 2010-11-11 15:01:57 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-11 15:01:57 +0000 |
commit | b0bf67b4245a479e0403ca78bfb9bd9f8b5ab494 (patch) | |
tree | a2c189491e3129c7ce6ed09193bc3468de68a6f6 /tools/create_hugo | |
parent | 521f228ceddda2cfc0ed1006682d1b7dfbca7302 (diff) | |
download | scummvm-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 'tools/create_hugo')
-rw-r--r-- | tools/create_hugo/create_hugo.cpp | 7 | ||||
-rw-r--r-- | tools/create_hugo/create_hugo.h | 2 | ||||
-rw-r--r-- | tools/create_hugo/staticutil.h | 19 |
3 files changed, 14 insertions, 14 deletions
diff --git a/tools/create_hugo/create_hugo.cpp b/tools/create_hugo/create_hugo.cpp index 921d09d7ef..2b39b80c63 100644 --- a/tools/create_hugo/create_hugo.cpp +++ b/tools/create_hugo/create_hugo.cpp @@ -369,7 +369,12 @@ int main(int argc, char *argv[]) { writeTextArray(outFile, textSchedule, NUM_SCHEDULE_TEXT); // Write textUtil - writeTextArray(outFile, textUtil, NUM_UTIL_TEXT); + writeTextArray(outFile, textUtil_v1w, NUM_UTIL_TEXT); + writeTextArray(outFile, textUtil_v1w, NUM_UTIL_TEXT); + writeTextArray(outFile, textUtil_v1w, NUM_UTIL_TEXT); + writeTextArray(outFile, textUtil_v1d, NUM_UTIL_TEXT); + writeTextArray(outFile, textUtil_v1d, NUM_UTIL_TEXT); + writeTextArray(outFile, textUtil_v1d, NUM_UTIL_TEXT); // arrayReqs_1w nbrElem = sizeof(arrayReqs_1w) / sizeof(uint16 *); diff --git a/tools/create_hugo/create_hugo.h b/tools/create_hugo/create_hugo.h index bae0aa4592..a3cca0efe1 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 27 // 1 byte +#define HUGO_DAT_VER_MIN 28 // 1 byte typedef unsigned char uint8; typedef unsigned char byte; diff --git a/tools/create_hugo/staticutil.h b/tools/create_hugo/staticutil.h index 090b07de93..050655a4de 100644 --- a/tools/create_hugo/staticutil.h +++ b/tools/create_hugo/staticutil.h @@ -33,19 +33,14 @@ #ifndef STATICUTIL_H #define STATICUTIL_H -#define NUM_UTIL_TEXT 8 - -const char *textUtil[NUM_UTIL_TEXT] = { - "\n\nPlease read the supplied 'technote' file which may contain information on this problem.", - "File not found: ", - "Unable to write file.\nDisk full or perhaps read-only?\n", - "Bad data file format:\n", - "Insufficient memory to run game.\n", - "Sound missing from sound file:\n", - "An error has occurred.\n", +#define NUM_UTIL_TEXT 1 + +const char *textUtil_v1w[NUM_UTIL_TEXT] = { "I'm afraid all you can do at this point is:\n\n- Load a saved game (Ctrl+L)\n- Start a new game (Ctrl+N)\n- Quit! (Alt+F4)" -// "No timers available, try again later.\n", -// "Unable to find or load VBX file:\n" +}; + +const char *textUtil_v1d[NUM_UTIL_TEXT] = { + "I'm afraid all you can do\nat this point is restore\na saved game or quit!" }; #endif //STATICENGINE_H |