diff options
author | Sven Hesse | 2012-06-05 17:01:40 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-05 17:01:40 +0200 |
commit | 4392e4d7aab9114ff66a1fcda34d21f404b4ebcd (patch) | |
tree | 367134fbcfdf9761f3d344b20828c17d9e1570d8 /engines/gob/minigames/geisha/meter.h | |
parent | 73776406686709bc79ff9c6423937dce0e43c5d6 (diff) | |
download | scummvm-rg350-4392e4d7aab9114ff66a1fcda34d21f404b4ebcd.tar.gz scummvm-rg350-4392e4d7aab9114ff66a1fcda34d21f404b4ebcd.tar.bz2 scummvm-rg350-4392e4d7aab9114ff66a1fcda34d21f404b4ebcd.zip |
GOB: Implement health gain/loss for mouths
Diffstat (limited to 'engines/gob/minigames/geisha/meter.h')
-rw-r--r-- | engines/gob/minigames/geisha/meter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/minigames/geisha/meter.h b/engines/gob/minigames/geisha/meter.h index d3e82cb32e..30dc826de0 100644 --- a/engines/gob/minigames/geisha/meter.h +++ b/engines/gob/minigames/geisha/meter.h @@ -55,10 +55,10 @@ public: /** Set the current value the meter is measuring to the max value. */ void setMaxValue(); - /** Increase the current value the meter is measuring. */ - void increase(int32 n = 1); - /** Decrease the current value the meter is measuring. */ - void decrease(int32 n = 1); + /** Increase the current value the meter is measuring, returning the overflow. */ + int32 increase(int32 n = 1); + /** Decrease the current value the meter is measuring, returning the underflow. */ + int32 decrease(int32 n = 1); /** Draw the meter onto the surface and return the affected rectangle. */ void draw(Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom); |