mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 23:01:58 +00:00
Temporary mapped GPL command StartPlay to handler for Start and reenabled gates' scripts (for added effects and testing).
svn-id: r42684
This commit is contained in:
parent
c1ad0c3926
commit
5faceb595f
@ -311,10 +311,10 @@ void Game::loadRoom(int roomNum) {
|
||||
|
||||
// HACK: Gates' scripts shouldn't be run unconditionally
|
||||
// This is for testing
|
||||
//for (uint i = 0; i < _currentRoom._numGates; ++i) {
|
||||
// debugC(6, kDraciLogicDebugLevel, "Running program for gate %d", i);
|
||||
// _vm->_script->run(_currentRoom._program, gates[i]);
|
||||
//}
|
||||
for (uint i = 0; i < _currentRoom._numGates; ++i) {
|
||||
debugC(6, kDraciLogicDebugLevel, "Running program for gate %d", i);
|
||||
_vm->_script->run(_currentRoom._program, gates[i]);
|
||||
}
|
||||
|
||||
// Set room palette
|
||||
f = _vm->_paletteArchive->getFile(_currentRoom._palette);
|
||||
|
@ -46,7 +46,7 @@ void Script::setupCommandList() {
|
||||
{ 3, 1, "if", 2, { 4, 3 }, &Script::c_If },
|
||||
{ 4, 1, "Start", 2, { 3, 2 }, &Script::start },
|
||||
{ 5, 1, "Load", 2, { 3, 2 }, &Script::load },
|
||||
{ 5, 2, "StartPlay", 2, { 3, 2 }, NULL },
|
||||
{ 5, 2, "StartPlay", 2, { 3, 2 }, &Script::start },
|
||||
{ 5, 3, "JustTalk", 0, { 0 }, NULL },
|
||||
{ 5, 4, "JustStay", 0, { 0 }, NULL },
|
||||
{ 6, 1, "Talk", 2, { 3, 2 }, NULL },
|
||||
|
Loading…
x
Reference in New Issue
Block a user