mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
GOB: Correctly name the Penetration script variables
This commit is contained in:
parent
c1dd3d5c29
commit
3eeb3d7416
@ -272,12 +272,12 @@ void Inter_Geisha::oGeisha_writeData(OpFuncParams ¶ms) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Inter_Geisha::oGeisha_gamePenetration(OpGobParams ¶ms) {
|
void Inter_Geisha::oGeisha_gamePenetration(OpGobParams ¶ms) {
|
||||||
uint16 var1 = _vm->_game->_script->readUint16();
|
uint16 hasAccessPass = _vm->_game->_script->readUint16();
|
||||||
uint16 var2 = _vm->_game->_script->readUint16();
|
uint16 hasMaxEnergy = _vm->_game->_script->readUint16();
|
||||||
uint16 var3 = _vm->_game->_script->readUint16();
|
uint16 testMode = _vm->_game->_script->readUint16();
|
||||||
uint16 resultVar = _vm->_game->_script->readUint16();
|
uint16 resultVar = _vm->_game->_script->readUint16();
|
||||||
|
|
||||||
bool result = _penetration->play(var1, var2, var3);
|
bool result = _penetration->play(hasAccessPass, hasMaxEnergy, testMode);
|
||||||
|
|
||||||
WRITE_VAR_UINT32(resultVar, result ? 1 : 0);
|
WRITE_VAR_UINT32(resultVar, result ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ Penetration::~Penetration() {
|
|||||||
delete _background;
|
delete _background;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Penetration::play(uint16 var1, uint16 var2, uint16 var3) {
|
bool Penetration::play(bool hasAccessPass, bool hasMaxEnergy, bool testMode) {
|
||||||
init();
|
init();
|
||||||
initScreen();
|
initScreen();
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ public:
|
|||||||
Penetration(GobEngine *vm);
|
Penetration(GobEngine *vm);
|
||||||
~Penetration();
|
~Penetration();
|
||||||
|
|
||||||
bool play(uint16 var1, uint16 var2, uint16 var3);
|
bool play(bool hasAccessPass, bool hasMaxEnergy, bool testMode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
GobEngine *_vm;
|
GobEngine *_vm;
|
||||||
|
Loading…
Reference in New Issue
Block a user