aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-09 14:35:15 -0700
committerPaul Gilbert2019-06-09 14:35:15 -0700
commitbdbad1f3af0e34e992f1b86ad21e351e9cd4e101 (patch)
tree07add73af3fc3e77b798edbe0ef452cf3553d462
parent803bf8073aa2dd1ad9ecf036b9898b4f6abb5c37 (diff)
downloadscummvm-rg350-bdbad1f3af0e34e992f1b86ad21e351e9cd4e101.tar.gz
scummvm-rg350-bdbad1f3af0e34e992f1b86ad21e351e9cd4e101.tar.bz2
scummvm-rg350-bdbad1f3af0e34e992f1b86ad21e351e9cd4e101.zip
XEEN: Fix mistakes in xeen.ccs datafile, bump up version number
-rw-r--r--devtools/create_xeen/constants.cpp6
-rw-r--r--devtools/create_xeen/create_xeen.cpp2
-rw-r--r--dists/engine-data/xeen.ccsbin57554 -> 57604 bytes
-rw-r--r--engines/xeen/files.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/devtools/create_xeen/constants.cpp b/devtools/create_xeen/constants.cpp
index 5553e5f578..0d8ad4ff20 100644
--- a/devtools/create_xeen/constants.cpp
+++ b/devtools/create_xeen/constants.cpp
@@ -748,7 +748,7 @@ const int AGE_RANGES_ADJUST[2][10] = {
const int STAT_VALUES[24] = {
3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 25, 30, 35, 40,
- 50, 75, 100, 125, 150, 175, 200, 225, 250,
+ 50, 75, 100, 125, 150, 175, 200, 225, 250, 65535
};
const int STAT_BONUSES[24] = {
@@ -1206,10 +1206,10 @@ const char *const CURRENT_MAXIMUM_TEXT = "\x2\x3""c%s\n"
"\x3r\t054%u\x3l\t058/ %u";
const char *const RATING_TEXT[24] = {
- "Nonexistant", "Very Poor", "Poor", "Very Low", "Low", "Averarage", "Good",
+ "Nonexistant", "Very Poor", "Poor", "Very Low", "Low", "Average", "Good",
"Very Good", "High", "Very High", "Great", "Super", "Amazing", "Incredible",
"Gigantic", "Fantastic", "Astoundig", "Astonishing", "Monumental", "Tremendous",
- "Collosal", "Awesome", "AweInspiring", "aUltimate"
+ "Collosal", "Awesome", "Awe Inspiring", "Ultimate"
};
const char *const AGE_TEXT = "\x2\x3""c%s\n"
diff --git a/devtools/create_xeen/create_xeen.cpp b/devtools/create_xeen/create_xeen.cpp
index d579fc2665..0ef9cddc59 100644
--- a/devtools/create_xeen/create_xeen.cpp
+++ b/devtools/create_xeen/create_xeen.cpp
@@ -39,7 +39,7 @@
#include "constants.h"
#include "map.h"
-#define VERSION_NUMBER 1
+#define VERSION_NUMBER 2
Common::File outputFile;
diff --git a/dists/engine-data/xeen.ccs b/dists/engine-data/xeen.ccs
index d48f70affb..8fb45f5208 100644
--- a/dists/engine-data/xeen.ccs
+++ b/dists/engine-data/xeen.ccs
Binary files differ
diff --git a/engines/xeen/files.cpp b/engines/xeen/files.cpp
index 284f91be2b..297dfc0156 100644
--- a/engines/xeen/files.cpp
+++ b/engines/xeen/files.cpp
@@ -261,7 +261,7 @@ bool FileManager::setup() {
// Verify the version of the CC is correct
CCArchive *dataCc = new CCArchive("xeen.ccs", "data", true);
- if (!f.open("VERSION", *dataCc) || f.readUint32LE() != 1) {
+ if (!f.open("VERSION", *dataCc) || f.readUint32LE() != 2) {
GUIErrorMessage("xeen.ccs is out of date");
return false;
}