mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-19 16:18:45 +00:00
AVALANCHE: Rework more strings (still WIP)
This commit is contained in:
parent
2d2ce624a9
commit
524edfcbc3
@ -1917,10 +1917,10 @@ void Acci::doThat() {
|
||||
case kVerbCodeDie:
|
||||
_vm->_lucerna->gameOver();
|
||||
break;
|
||||
case kVerbCodeScore:
|
||||
_vm->_scrolls->displayText(Common::String("Your score is ") + _vm->_gyro->intToStr(_vm->_gyro->_dna._score) + ',' + _vm->_scrolls->kControlCenter
|
||||
+ _vm->_scrolls->kControlNewLine + "out of a possible 128." + _vm->_scrolls->kControlNewLine + _vm->_scrolls->kControlNewLine
|
||||
+ "This gives you a rank of " + rank() + '.' + _vm->_scrolls->kControlNewLine + _vm->_scrolls->kControlNewLine + totalTime());
|
||||
case kVerbCodeScore: {
|
||||
Common::String tmpStr = Common::String::format("Your score is %d,%c%cout of a possible 128.%c%cThis gives you a rank of %s.%c%c%s", _vm->_gyro->_dna._score, Scrolls::kControlCenter, Scrolls::kControlNewLine, Scrolls::kControlNewLine, Scrolls::kControlNewLine, rank().c_str(), Scrolls::kControlNewLine, Scrolls::kControlNewLine, totalTime().c_str());
|
||||
_vm->_scrolls->displayText(tmpStr);
|
||||
}
|
||||
break;
|
||||
case kVerbCodePut:
|
||||
putProc();
|
||||
|
@ -293,8 +293,7 @@ void Lucerna::loadRoom(byte num) {
|
||||
|
||||
_vm->_graphics->fleshColors();
|
||||
|
||||
Common::String filename;
|
||||
filename = filename.format("place%d.avd", num);
|
||||
Common::String filename = Common::String::format("place%d.avd", num);
|
||||
if (!file.open(filename)) {
|
||||
warning("AVALANCHE: Lucerna: File not found: %s", filename.c_str());
|
||||
return;
|
||||
|
@ -714,8 +714,10 @@ void Scrolls::callScrollDriver() {
|
||||
case 6:
|
||||
displayText(_vm->_gyro->_dna._spareEvening + kControlToBuffer);
|
||||
break;
|
||||
case 9:
|
||||
displayText(_vm->_gyro->intToStr(_vm->_gyro->_dna._catacombX) + ',' + _vm->_gyro->intToStr(_vm->_gyro->_dna._catacombY) + kControlToBuffer);
|
||||
case 9: {
|
||||
Common::String tmpStr = Common::String::format("%d,%d%c",_vm->_gyro->_dna._catacombX, _vm->_gyro->_dna._catacombY, kControlToBuffer);
|
||||
displayText(tmpStr);
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
switch (_vm->_gyro->_dna._boxContent) {
|
||||
|
Loading…
Reference in New Issue
Block a user