diff options
author | Eugene Sandulenko | 2016-09-14 10:57:41 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-14 10:58:36 +0200 |
commit | af286d86fae92b6465d665dae8939afa313fc399 (patch) | |
tree | 2817027ee1ff16a1019383a1220a9e1a641ae863 /engines/fullpipe/scenes.h | |
parent | ea4000088e6a33cb827894081d7484374937527a (diff) | |
download | scummvm-rg350-af286d86fae92b6465d665dae8939afa313fc399.tar.gz scummvm-rg350-af286d86fae92b6465d665dae8939afa313fc399.tar.bz2 scummvm-rg350-af286d86fae92b6465d665dae8939afa313fc399.zip |
FULLPIPE: Remove now unused BallChain class
Diffstat (limited to 'engines/fullpipe/scenes.h')
-rw-r--r-- | engines/fullpipe/scenes.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h index 43bdb38191..fc593a6088 100644 --- a/engines/fullpipe/scenes.h +++ b/engines/fullpipe/scenes.h @@ -211,33 +211,6 @@ int sceneHandlerFinal(ExCommand *cmd); void sceneDbgMenu_initScene(Scene *sc); int sceneHandlerDbgMenu(ExCommand *cmd); -struct Ball { - Ball *p0; - Ball *p1; - StaticANIObject *ani; - - Ball() : p0(0), p1(0), ani(0) {} -}; - -typedef Common::Array<StaticANIObject *> BallArray; - -struct BallChain { - Ball *pHead; - Ball *field_8; - int numBalls; - Ball *pTail; - byte *cPlex; - int cPlexLen; - - BallChain() : pHead(0), field_8(0), pTail(0), numBalls(0), cPlex(0), cPlexLen(0) {} - ~BallChain() { free(cPlex); } - - void init(Ball **ball); - Ball *sub04(Ball *ballP, Ball *ballN); - void removeBall(Ball *ball); - void reset() { pHead = 0; pTail = 0; field_8 = 0; numBalls = 0; free(cPlex); cPlex = 0; cPlexLen = 0; } -}; - class Vars { public: Vars(); |