Skip to content

Commit

Permalink
ACCESS: MM - Implement cmdPushLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Feb 11, 2015
1 parent a54bb5e commit 232775c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion engines/access/inventory.cpp
Expand Up @@ -216,7 +216,6 @@ int InventoryManager::newDisplayInv() {
}

int InventoryManager::displayInv() {
warning("TODO: displayInv");
int *inv = (int *) malloc (Martian::INVENTORY_SIZE * sizeof(int));

for (int i = 0; i < Martian::INVENTORY_SIZE; i++)
Expand Down
8 changes: 6 additions & 2 deletions engines/access/scripts.cpp
Expand Up @@ -1048,7 +1048,7 @@ void Scripts::cmdDispAbout() {
}

void Scripts::cmdPushLocation() {
error("TODO cmdPushLocation");
_choiceStart = _data->pos() - 1;
}

void Scripts::cmdCheckTravel() {
Expand All @@ -1062,7 +1062,11 @@ void Scripts::cmdCheckTravel() {
}

void Scripts::cmdBlock() {
error("TODO: DEMO - cmdBlock");
error("TODO: cmdBlock");
int val1 = _data->readSint16LE();
int val2 = _data->readUint16LE();
int val3 = _data->readSint16LE();
int val4 = _data->readUint16LE();
}

void Scripts::cmdPlayerOff() {
Expand Down

0 comments on commit 232775c

Please sign in to comment.