From ce287c6b7104b11bb3b71cc5ddb79cf3d66c1ccb Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Wed, 8 Jan 2014 18:16:56 +0100 Subject: Update diceparser.h reroll wroking --- diceparser.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/diceparser.h b/diceparser.h index 30f1362..434ae85 100644 --- a/diceparser.h +++ b/diceparser.h @@ -3,7 +3,10 @@ #include #include + #include "node/executionnode.h" +#include "node/dicerollernode.h" + #include "validator.h" #include "range.h" #include "booleancondition.h" @@ -40,7 +43,7 @@ public: /** * @brief The OptionOperator enum gathering all options availables for result. */ - enum OptionOperator {KeepAndReRoll,keep,Reroll,Explosing,Sort,Count}; + enum OptionOperator {KeepAndExplose,keep,Reroll,Explosing,Sort,Count}; /** * @brief DiceParser default constructor @@ -92,7 +95,7 @@ private: /** * @brief readOption */ - bool readOption(QString&,ExecutionNode* node); + bool readOption(QString&,ExecutionNode* node, DiceRollerNode* diceNode); /** * @brief addSort -- cgit v1.2.3-70-g09d2