From dbb57d52d351e340ce69fccaedbdf758b04ed8fe Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 10 Jul 2016 10:45:44 +0200 Subject: update dice system. --- node/sortresult.cpp | 2 +- result/diceresult.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/sortresult.cpp b/node/sortresult.cpp index 0bf531c..f72d884 100644 --- a/node/sortresult.cpp +++ b/node/sortresult.cpp @@ -96,7 +96,7 @@ void SortResultNode::run(ExecutionNode* node) } else { - m_result = node->getResult(); + //m_result = node->getResult(); //m_errors.append(DIE_RESULT_EXPECTED); } diff --git a/result/diceresult.cpp b/result/diceresult.cpp index 462c989..9f9fbf8 100644 --- a/result/diceresult.cpp +++ b/result/diceresult.cpp @@ -51,7 +51,7 @@ void DiceResult::setResultList(QList list) } DiceResult::~DiceResult() { - qDeleteAll(m_diceValues.begin(), m_diceValues.end()); + qDeleteAll(m_diceValues.begin(), m_diceValues.end()); m_diceValues.clear(); } QVariant DiceResult::getResult(RESULT_TYPE type) -- cgit v1.2.3-70-g09d2 From e391bbb63a367d62253b1e8289f31ac2a3d5f5de Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 2 Oct 2016 09:40:30 +0200 Subject: build instructions build instructions --- HelpMe.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HelpMe.md b/HelpMe.md index 87638ef..d6b0eb0 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -1,6 +1,15 @@ [![Logo](http://www.rolisteam.org/sites/default/files/pixture_reloaded_logo.png)](http://www.rolisteam.org) # Documentation: +## Build +> git clone git@github.com:Rolisteam/DiceParser.git +> cd DiceParser +> mkdir build +> cd build +> cmake ../ +> make +> make install + ## Irc and Chat Please, remember it is important to preffix all you command by `!`. This will allow the system to identify your command. To clarify the documentation, the `!` is not repeated before all commands. -- cgit v1.2.3-70-g09d2 From 6dba1839f580b34980c33b2aaeb7a90dfb27fe3b Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 8 Oct 2016 19:23:29 +0200 Subject: vs compilation --- node/paintnode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/paintnode.cpp b/node/paintnode.cpp index ad13c52..02a9358 100644 --- a/node/paintnode.cpp +++ b/node/paintnode.cpp @@ -97,7 +97,7 @@ void PainterNode::run(ExecutionNode* previous) } Result* PainterNode::getResult() { - m_previousNode->getResult(); + return m_previousNode->getResult(); } QString PainterNode::toString(bool wl) const -- cgit v1.2.3-70-g09d2