aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-25 06:35:02 +0000
committerNicola Mettifogo2008-07-25 06:35:02 +0000
commit884a6b1dfb465990757c9ea3619d874a0c8c208c (patch)
tree5465df115b32af87e3b86511d59873b1ba442f82 /engines/parallaction/parallaction_br.cpp
parentd1a6b175f5ef7f64435477775015730657195a11 (diff)
downloadscummvm-rg350-884a6b1dfb465990757c9ea3619d874a0c8c208c.tar.gz
scummvm-rg350-884a6b1dfb465990757c9ea3619d874a0c8c208c.tar.bz2
scummvm-rg350-884a6b1dfb465990757c9ea3619d874a0c8c208c.zip
Converted BRA to work with the new menu approach. It is not yet well plugged-in as in NS, but it suffices for the moment.
svn-id: r33272
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r--engines/parallaction/parallaction_br.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp
index 9e2a0f10f1..494544fb03 100644
--- a/engines/parallaction/parallaction_br.cpp
+++ b/engines/parallaction/parallaction_br.cpp
@@ -109,16 +109,10 @@ void Parallaction_br::callFunction(uint index, void* parm) {
int Parallaction_br::go() {
- guiSplash("dyna");
- guiSplash("core");
+ startGui();
while ((_engineFlags & kEngineQuit) == 0) {
- guiStart();
-
- if (_engineFlags & kEngineQuit)
- return 0;
-
// initCharacter();
_input->_inputMode = Input::kInputModeGame;
@@ -195,7 +189,9 @@ void Parallaction_br::freePart() {
_countersNames = 0;
}
-void Parallaction_br::startPart() {
+void Parallaction_br::startPart(uint part) {
+ _part = part;
+ _disk->selectArchive(_partNames[_part]);
initPart();
@@ -320,9 +316,9 @@ void Parallaction_br::changeCharacter(const char *name) {
void Parallaction_br::setArrowCursor() {
-
-
-
+ // TODO: choose the pointer depending on the active character
+ // For now, defaults to 0, that corresponds to the default in the original
+ setMousePointer(0);
}
void Parallaction_br::setInventoryCursor(int pos) {