diff options
author | Strangerke | 2014-10-07 01:55:31 +0200 |
---|---|---|
committer | Strangerke | 2014-10-07 01:55:31 +0200 |
commit | 9e6f3c5964962ca15f4663e75174ca87852334de (patch) | |
tree | 2d9744dd9392d3403054d4013d4106573d5d0c7d | |
parent | f811e4ef5e08d5d0bfec3d29726d3a745ac3ddb8 (diff) | |
download | scummvm-rg350-9e6f3c5964962ca15f4663e75174ca87852334de.tar.gz scummvm-rg350-9e6f3c5964962ca15f4663e75174ca87852334de.tar.bz2 scummvm-rg350-9e6f3c5964962ca15f4663e75174ca87852334de.zip |
TSAGE: R2R - some renaming in scene 1337
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 14 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.h | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index 393e3d1099..1de1d3d2df 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -3884,11 +3884,11 @@ void Scene1337::Action10::signal() { if (found) { switch (scene->_actionPlayerIdx) { case 0: - scene->subC51A0(&scene->_gameBoardSide[0]._handCard[indexFound], scene->_actionCard3); + scene->playInterceptorCard(&scene->_gameBoardSide[0]._handCard[indexFound], scene->_actionCard3); found2 = true; break; case 1: - scene->subC51A0(&scene->_gameBoardSide[1]._handCard[indexFound], scene->_actionCard3); + scene->playInterceptorCard(&scene->_gameBoardSide[1]._handCard[indexFound], scene->_actionCard3); found2 = true; break; case 2: @@ -3896,12 +3896,12 @@ void Scene1337::Action10::signal() { if (MessageDialog::show(USE_INTERCEPTOR, NO_MSG, YES_MSG) == 0) scene->subC4CEC(); else { - scene->subC51A0(&scene->_gameBoardSide[2]._handCard[indexFound], scene->_actionCard3); + scene->playInterceptorCard(&scene->_gameBoardSide[2]._handCard[indexFound], scene->_actionCard3); found2 = true; } break; case 3: - scene->subC51A0(&scene->_gameBoardSide[3]._handCard[indexFound], scene->_actionCard3); + scene->playInterceptorCard(&scene->_gameBoardSide[3]._handCard[indexFound], scene->_actionCard3); found2 = true; break; default: @@ -3976,7 +3976,7 @@ void Scene1337::Action10::signal() { } } -// Use Thieft card (#25) and pick a card from the opponent +// Use Thief card (#25) and pick a card from the opponent void Scene1337::Action11::signal() { Scene1337 *scene = (Scene1337 *)R2_GLOBALS._sceneManager._scene; @@ -4380,6 +4380,7 @@ void Scene1337::Action12::signal() { } } +// Handle the animations of the interceptor card void Scene1337::Action13::signal() { Scene1337 *scene = (Scene1337 *)R2_GLOBALS._sceneManager._scene; @@ -5136,7 +5137,8 @@ void Scene1337::subC4CEC() { } } -void Scene1337::subC51A0(Card *subObj1, Card *subObj2) { +// Play Interceptor card +void Scene1337::playInterceptorCard(Card *subObj1, Card *subObj2) { _actionCard1 = subObj1; _actionCard2 = subObj2; diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.h b/engines/tsage/ringworld2/ringworld2_scenes1.h index 0b868094b2..6c24a4e989 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.h +++ b/engines/tsage/ringworld2/ringworld2_scenes1.h @@ -372,7 +372,7 @@ public: void discardCard(Card *card); void subC4CD2(); void subC4CEC(); - void subC51A0(Card *subObj1, Card *subObj2); + void playInterceptorCard(Card *subObj1, Card *subObj2); void displayDialog(int dialogNumb); void subPostInit(); void displayInstructions(); |