diff options
author | Kamil Zbróg | 2014-01-07 00:13:05 +0000 |
---|---|---|
committer | Kamil Zbróg | 2014-01-07 00:13:05 +0000 |
commit | e94fabc37407a7d300af04493b0f5cbced42a092 (patch) | |
tree | 998bfaa03109a49d2bb9ec5b17e817ef7cc32a4c /engines/fullpipe/floaters.h | |
parent | 165b8be77f4621ff5de8a483c6cd9ac497492a0a (diff) | |
parent | 4f6c3efa15c68dfa49bf5e6fe75dec034abe903b (diff) | |
download | scummvm-rg350-e94fabc37407a7d300af04493b0f5cbced42a092.tar.gz scummvm-rg350-e94fabc37407a7d300af04493b0f5cbced42a092.tar.bz2 scummvm-rg350-e94fabc37407a7d300af04493b0f5cbced42a092.zip |
Merge remote-tracking branch 'sync/master' into prince-malik
Diffstat (limited to 'engines/fullpipe/floaters.h')
-rw-r--r-- | engines/fullpipe/floaters.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/fullpipe/floaters.h b/engines/fullpipe/floaters.h index a4d64dd79d..3ecbbeea9c 100644 --- a/engines/fullpipe/floaters.h +++ b/engines/fullpipe/floaters.h @@ -27,10 +27,13 @@ namespace Fullpipe { class StaticANIObject; class Scene; +class ReactPolygonal; struct FloaterArray1 { int val1; int val2; + + FloaterArray1() { val1 = 0; val2 = 0; } }; struct FloaterArray2 { @@ -48,16 +51,21 @@ struct FloaterArray2 { int countdown; int val15; int fflags; + + FloaterArray2() : ani(0), val2(0), val3(0), val4(0), val5(0), val6(0), val7(0), val8(0), + val9(0.0), val11(0.0), val13(0), countdown(0), val15(0), fflags(0) {} }; class Floaters { public: - //HRGN hRgn; + ReactPolygonal *_hRgn; Common::Array<FloaterArray1 *> _array1; Common::Array<FloaterArray2 *> _array2; + Floaters() { _hRgn = 0; } + ~Floaters(); void init(GameVar *var); - void genFlies(Scene *sc, int x, int y, int a5, int a6); + void genFlies(Scene *sc, int x, int y, int priority, int flags); void update(); void stopAll(); }; |