Skip to content

Commit

Permalink
TSAGE: Implemented Blue Force scene 830 - Outside Boat Rentals
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 15, 2011
1 parent b24f9b4 commit 559d40a
Show file tree
Hide file tree
Showing 6 changed files with 509 additions and 8 deletions.
7 changes: 7 additions & 0 deletions engines/tsage/blue_force/blueforce_logic.cpp
Expand Up @@ -137,6 +137,8 @@ Scene *BlueForceGame::createScene(int sceneNumber) {
case 810:
case 820:
case 830:
// Outside Boat Rentals
return new Scene830();
case 840:
case 850:
case 860:
Expand Down Expand Up @@ -688,6 +690,11 @@ void PalettedScene::remove() {
BF_GLOBALS._scenePalette._field412 = 0;
}

PaletteFader *PalettedScene::addFader(const byte *arrBufferRGB, int step, Action *action) {
_field794 = 1;
return BF_GLOBALS._scenePalette.addFader(arrBufferRGB, 1, step, action);
}

/*--------------------------------------------------------------------------*/

void SceneHandlerExt::postInit(SceneObjectList *OwnerList) {
Expand Down
1 change: 1 addition & 0 deletions engines/tsage/blue_force/blueforce_logic.h
Expand Up @@ -182,6 +182,7 @@ class PalettedScene: public SceneExt {
virtual void synchronize(Serializer &s);
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void remove();
PaletteFader *addFader(const byte *arrBufferRGB, int step, Action *action);
};

class SceneHandlerExt: public SceneHandler {
Expand Down

0 comments on commit 559d40a

Please sign in to comment.