diff options
author | krzys-h <krzys_h@interia.pl> | 2013-04-20 12:08:48 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-04-20 12:08:48 +0200 |
commit | dd180dd88739eb7dd71a6431b2651a18a36599d3 (patch) | |
tree | 01a92c1d0e69adec8553001d689528b82875126f /src/object/robotmain.h | |
parent | 81fcde4d6740c9c463a20715f92d3a4ad5ab88c4 (diff) | |
download | colobot-dd180dd88739eb7dd71a6431b2651a18a36599d3.tar.gz colobot-dd180dd88739eb7dd71a6431b2651a18a36599d3.tar.bz2 colobot-dd180dd88739eb7dd71a6431b2651a18a36599d3.zip |
Added powermin= and powermax= parameters
Issue #174
Diffstat (limited to 'src/object/robotmain.h')
-rw-r--r-- | src/object/robotmain.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object/robotmain.h b/src/object/robotmain.h index 6ff53f1..7ed84c5 100644 --- a/src/object/robotmain.h +++ b/src/object/robotmain.h @@ -102,6 +102,8 @@ struct EndTake int min; // wins if > int max; // wins if < int lost; // lost if <= + float powermin; // wins if energy cell >= + float powermax; // wins if energy cell <= bool immediat; char message[100]; }; @@ -113,6 +115,8 @@ struct AudioChange ObjectType type; int min; // change if > int max; // change if < + float powermin; // change if energy cell >= + float powermax; // change if energy cell <= char music[100]; bool repeat; bool changed; |