aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/lucerna2.cpp
diff options
context:
space:
mode:
authoruruk2013-09-04 18:12:06 +0200
committeruruk2013-09-04 18:12:06 +0200
commitd77eafb0dbbb2c797d014fcf84c908cf6914b184 (patch)
tree351da655f5b2db9e6c2350996b025ce6a0269ac8 /engines/avalanche/lucerna2.cpp
parentd148d08683606f3feadf4f461762eb2487ea2eca (diff)
downloadscummvm-rg350-d77eafb0dbbb2c797d014fcf84c908cf6914b184.tar.gz
scummvm-rg350-d77eafb0dbbb2c797d014fcf84c908cf6914b184.tar.bz2
scummvm-rg350-d77eafb0dbbb2c797d014fcf84c908cf6914b184.zip
AVALANCHE: Partially do the renaming in Dropdown.
Diffstat (limited to 'engines/avalanche/lucerna2.cpp')
-rw-r--r--engines/avalanche/lucerna2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp
index 2b4c5fe363..8100c5a829 100644
--- a/engines/avalanche/lucerna2.cpp
+++ b/engines/avalanche/lucerna2.cpp
@@ -325,7 +325,7 @@ void Lucerna::exitroom(byte x) {
}
void Lucerna::new_town() { /* You've just entered a town from the map. */
- _vm->_dropdown->standard_bar();
+ _vm->_dropdown->setupMenu();
switch (_vm->_gyro->dna.room) {
case r__outsidenottspub: /* Entry into Nottingham. */
@@ -947,7 +947,7 @@ void Lucerna::points(byte num) { /* Add on no. of points */
}
void Lucerna::topcheck(Common::Point cursorPos) {
- _vm->_dropdown->ddm_m.getmenu(cursorPos.x);
+ _vm->_dropdown->_menuBar.chooseMenuItem(cursorPos.x);
}
void Lucerna::mouseway(const Common::Point &cursorPos) {
@@ -1107,7 +1107,7 @@ void Lucerna::checkclick() {
if (holdLeftMouse)
if ((0 <= cursorPos.y) && (cursorPos.y <= 21)) { // Click on the dropdown menu.
if (_vm->_gyro->dropsok)
- _vm->_dropdown->menu_link();
+ _vm->_dropdown->updateMenu();
} else if ((317 <= cursorPos.y) && (cursorPos.y <= 339)) { // Click on the command line.
_vm->_parser->_inputTextPos = (cursorPos.x - 23) / 8;
if (_vm->_parser->_inputTextPos > _vm->_parser->_inputText.size() + 1)