XEEN: Fix mistakes in xeen.ccs datafile, bump up version number

This commit is contained in:
Paul Gilbert 2019-06-09 14:35:15 -07:00
parent 803bf8073a
commit bdbad1f3af
4 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -39,7 +39,7 @@
#include "constants.h"
#include "map.h"
#define VERSION_NUMBER 1
#define VERSION_NUMBER 2
Common::File outputFile;

Binary file not shown.

View File

@ -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;
}