diff options
author | Torbjörn Andersson | 2006-10-02 16:18:48 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-10-02 16:18:48 +0000 |
commit | 9118a731dce8d0118f28e9a5d96f1feae519cdbd (patch) | |
tree | f64ca67d719b94cd061ca68cdf08825ce1aa8448 /engines | |
parent | 53cf7d65dade2cce26c7f92e94a4422ca2890467 (diff) | |
download | scummvm-rg350-9118a731dce8d0118f28e9a5d96f1feae519cdbd.tar.gz scummvm-rg350-9118a731dce8d0118f28e9a5d96f1feae519cdbd.tar.bz2 scummvm-rg350-9118a731dce8d0118f28e9a5d96f1feae519cdbd.zip |
Renamed setupAGOSOpcodes() to setupCommonOpcodes() for consistency.
svn-id: r24073
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.h | 2 | ||||
-rw-r--r-- | engines/agos/items.cpp | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index b35b68f105..b97829d65c 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -149,7 +149,7 @@ class AGOSEngine : public Engine { typedef void (AGOSEngine::*OpcodeProc) (); - void setupAGOSOpcodes(OpcodeProc *op); + void setupCommonOpcodes(OpcodeProc *op); void setupElvira1Opcodes(OpcodeProc *op); void setupElvira2Opcodes(OpcodeProc *op); diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp index def6dda1ae..23dd2ace13 100644 --- a/engines/agos/items.cpp +++ b/engines/agos/items.cpp @@ -36,7 +36,7 @@ extern bool isSmartphone(void); namespace AGOS { -void AGOSEngine::setupAGOSOpcodes(OpcodeProc *op) { +void AGOSEngine::setupCommonOpcodes(OpcodeProc *op) { // A sensible set of opcodes for Simon 1 and later. op[1] = &AGOSEngine::o_at; @@ -304,11 +304,11 @@ void AGOSEngine::setupElvira1Opcodes(OpcodeProc *op) { } void AGOSEngine::setupElvira2Opcodes(OpcodeProc *op) { - setupAGOSOpcodes(op); + setupCommonOpcodes(op); } void AGOSEngine::setupWaxworksOpcodes(OpcodeProc *op) { - setupAGOSOpcodes(op); + setupCommonOpcodes(op); // Confirmed op[55] = &AGOSEngine::oww_goto; @@ -356,7 +356,7 @@ void AGOSEngine::setupWaxworksOpcodes(OpcodeProc *op) { } void AGOSEngine::setupSimon1Opcodes(OpcodeProc *op) { - setupAGOSOpcodes(op); + setupCommonOpcodes(op); op[70] = &AGOSEngine::o1_printLongText; op[83] = &AGOSEngine::o1_rescan; @@ -372,7 +372,7 @@ void AGOSEngine::setupSimon1Opcodes(OpcodeProc *op) { } void AGOSEngine::setupSimon2Opcodes(OpcodeProc *op) { - setupAGOSOpcodes(op); + setupCommonOpcodes(op); op[70] = &AGOSEngine::o2_printLongText; op[83] = &AGOSEngine::o2_rescan; @@ -387,7 +387,7 @@ void AGOSEngine::setupSimon2Opcodes(OpcodeProc *op) { } void AGOSEngine::setupFeebleOpcodes(OpcodeProc *op) { - setupAGOSOpcodes(op); + setupCommonOpcodes(op); op[23] = &AGOSEngine::o3_chance; op[37] = &AGOSEngine::o3_jumpOut; @@ -432,7 +432,7 @@ void AGOSEngine::setupFeebleOpcodes(OpcodeProc *op) { } void AGOSEngine::setupPuzzleOpcodes(OpcodeProc *op) { - setupAGOSOpcodes(op); + setupCommonOpcodes(op); op[23] = &AGOSEngine::o3_chance; op[30] = &AGOSEngine::o4_iconifyWindow; |