diff options
author | Paul Gilbert | 2015-04-21 01:12:16 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-04-21 01:12:16 -0500 |
commit | 7e1e0ed3ac7ca8b3233503476162c1ca1e79e0a8 (patch) | |
tree | 8bea14a14a553ce5df7ce1c23d945ea79407ad12 /engines/sherlock/scalpel/darts.h | |
parent | 6a1b12b797c51bdc51c71db67e2df4e8de6281e0 (diff) | |
download | scummvm-rg350-7e1e0ed3ac7ca8b3233503476162c1ca1e79e0a8.tar.gz scummvm-rg350-7e1e0ed3ac7ca8b3233503476162c1ca1e79e0a8.tar.bz2 scummvm-rg350-7e1e0ed3ac7ca8b3233503476162c1ca1e79e0a8.zip |
SHERLOCK: More darts game logic
Diffstat (limited to 'engines/sherlock/scalpel/darts.h')
-rw-r--r-- | engines/sherlock/scalpel/darts.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/darts.h b/engines/sherlock/scalpel/darts.h index 2fbdc3d7e2..a6c8cdba6d 100644 --- a/engines/sherlock/scalpel/darts.h +++ b/engines/sherlock/scalpel/darts.h @@ -46,6 +46,7 @@ private: void loadDarts(); void initDarts(); + void closeDarts(); void showNames(int playerNum); void showStatus(int playerNum); @@ -54,15 +55,16 @@ private: void drawDartThrow(const Common::Point &pt); void erasePowerBars(); - int doPowerBar(const Common::Point &pt, byte color, int goToPower, int orientation); + int doPowerBar(const Common::Point &pt, byte color, int goToPower, bool isVertical); - bool dartHit(); + int dartHit(); int dartScore(const Common::Point &pt); Common::Point getComputerDartDest(int playerNum); bool findNumberOnBoard(int aim, Common::Point &pt); + void setFlagsForDarts(int flagNum); public: Darts(ScalpelEngine *vm); |