[Scummvm-git-logs] scummvm master -> bdbad1f3af0e34e992f1b86ad21e351e9cd4e101
dreammaster
paulfgilbert at gmail.com
Sun Jun 9 23:35:29 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bdbad1f3af XEEN: Fix mistakes in xeen.ccs datafile, bump up version number
Commit: bdbad1f3af0e34e992f1b86ad21e351e9cd4e101
https://github.com/scummvm/scummvm/commit/bdbad1f3af0e34e992f1b86ad21e351e9cd4e101
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-06-09T14:35:15-07:00
Commit Message:
XEEN: Fix mistakes in xeen.ccs datafile, bump up version number
Changed paths:
devtools/create_xeen/constants.cpp
devtools/create_xeen/create_xeen.cpp
dists/engine-data/xeen.ccs
engines/xeen/files.cpp
diff --git a/devtools/create_xeen/constants.cpp b/devtools/create_xeen/constants.cpp
index 5553e5f..0d8ad4f 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 d579fc2..0ef9cdd 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 d48f70a..8fb45f5 100644
Binary files a/dists/engine-data/xeen.ccs and b/dists/engine-data/xeen.ccs differ
diff --git a/engines/xeen/files.cpp b/engines/xeen/files.cpp
index 284f91b..297dfc0 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;
}
More information about the Scummvm-git-logs
mailing list