From 5b0ff520b729fd4c58c800f5c7f64233a5afe8e3 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 24 Apr 2016 20:55:54 +0200 Subject: GNAP: Refactor scene 49 --- engines/gnap/gnap.h | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'engines/gnap/gnap.h') diff --git a/engines/gnap/gnap.h b/engines/gnap/gnap.h index aa8de62de1..5063d90808 100644 --- a/engines/gnap/gnap.h +++ b/engines/gnap/gnap.h @@ -250,17 +250,6 @@ enum { // 0x7AF Gnap walks to the left 1 // 0x7B0 Gnap walks to the left 2 -struct Scene49Obstacle { - int _currSequenceId; - int _closerSequenceId; - int _passedSequenceId; - int _splashSequenceId; - int _collisionSequenceId; - int _prevId; - int _currId; - int _laneNum; -}; - struct Scene51Item { int _currSequenceId; int _droppedSequenceId; @@ -612,23 +601,6 @@ public: bool toyUfoCheckTimer(); void toyUfoFlyTo(int destX, int destY, int minX, int maxX, int minY, int maxY, int animationIndex); - // Scene 49 - int _s49_scoreBarPos, _s49_scoreLevel; - bool _s49_scoreBarFlash; - int _s49_obstacleIndex; - Scene49Obstacle _s49_obstacles[5]; - int _s49_truckSequenceId, _s49_truckId, _s49_truckLaneNum; - int scene49_init(); - void scene49_updateHotspots(); - void scene49_checkObstacles(); - void scene49_updateObstacle(int id); - void scene49_increaseScore(int amount); - void scene49_decreaseScore(int amount); - void scene49_refreshScoreBar(); - void scene49_clearObstacle(int index); - void scene49_run(); - void scene49_updateAnimations(); - // Scene 50 bool _s50_fightDone; int _s50_timesPlayed, _s50_timesPlayedModifier; -- cgit v1.2.3