AVALANCHE: more work on variables

This commit is contained in:
Strangerke 2013-10-01 23:23:07 +02:00
parent 199ba0ddf4
commit c9432b8467
4 changed files with 8 additions and 8 deletions

View file

@ -179,9 +179,6 @@ public:
static const uint16 kNotes[12]; static const uint16 kNotes[12];
static const TuneType kTune; static const TuneType kTune;
static const char *kVersionNum;
static const char *kCopyright;
bool _holdLeftMouse; bool _holdLeftMouse;
// If this is greater than zero, the next line you type is stored in the DNA in a position dictated by the value. // If this is greater than zero, the next line you type is stored in the DNA in a position dictated by the value.

View file

@ -37,9 +37,6 @@
namespace Avalanche { namespace Avalanche {
const char *AvalancheEngine::kVersionNum = "1.30";
const char *AvalancheEngine::kCopyright = "1995";
const MouseHotspotType AvalancheEngine::kMouseHotSpots[9] = { const MouseHotspotType AvalancheEngine::kMouseHotSpots[9] = {
{8,0}, // 0 - up-arrow {8,0}, // 0 - up-arrow
{0,0}, // 1 - screwdriver {0,0}, // 1 - screwdriver

View file

@ -41,6 +41,9 @@
namespace Avalanche { namespace Avalanche {
const char *Parser::kCopyright = "1995";
const char *Parser::kVersionNum = "1.30";
Parser::Parser(AvalancheEngine *vm) { Parser::Parser(AvalancheEngine *vm) {
_vm = vm; _vm = vm;
} }
@ -1803,8 +1806,8 @@ void Parser::doThat() {
toDisplay = toDisplay + "LORD AVALOT D'ARGENT" + Dialogs::kControlCenter + Dialogs::kControlNewLine toDisplay = toDisplay + "LORD AVALOT D'ARGENT" + Dialogs::kControlCenter + Dialogs::kControlNewLine
+ "The medi\x91val descendant of" + Dialogs::kControlNewLine + "The medi\x91val descendant of" + Dialogs::kControlNewLine
+ "Denarius Avaricius Sextus" + Dialogs::kControlNewLine + Dialogs::kControlNewLine + "Denarius Avaricius Sextus" + Dialogs::kControlNewLine + Dialogs::kControlNewLine
+ "version " + _vm->kVersionNum + Dialogs::kControlNewLine + Dialogs::kControlNewLine + "Copyright \xEF " + "version " + kVersionNum + Dialogs::kControlNewLine + Dialogs::kControlNewLine + "Copyright \xEF "
+ _vm->kCopyright + ", Mark, Mike and Thomas Thurman." + Dialogs::kControlRegister + 'Y' + Dialogs::kControlIcon; + kCopyright + ", Mark, Mike and Thomas Thurman." + Dialogs::kControlRegister + 'Y' + Dialogs::kControlIcon;
_vm->_dialogs->displayText(toDisplay); _vm->_dialogs->displayText(toDisplay);
_vm->_dialogs->_aboutBox = false; _vm->_dialogs->_aboutBox = false;
} }

View file

@ -103,6 +103,9 @@ private:
Common::String _title; Common::String _title;
}; };
static const char *kCopyright;
static const char *kVersionNum;
Common::String _thats; Common::String _thats;
byte _thing2; byte _thing2;
byte _sworeNum; // number of times you've sworn byte _sworeNum; // number of times you've sworn