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 TuneType kTune;
static const char *kVersionNum;
static const char *kCopyright;
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.

View File

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

View File

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

View File

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