|
|
@ -19,6 +19,11 @@ namespace Interpreter
|
|
|
|
|
|
|
|
|
|
|
|
virtual void execute (Runtime& runtime, unsigned int arg0)
|
|
|
|
virtual void execute (Runtime& runtime, unsigned int arg0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
// message
|
|
|
|
|
|
|
|
int index = runtime[0].mInteger;
|
|
|
|
|
|
|
|
runtime.pop();
|
|
|
|
|
|
|
|
std::string message = runtime.getStringLiteral (index);
|
|
|
|
|
|
|
|
|
|
|
|
// buttons
|
|
|
|
// buttons
|
|
|
|
std::vector<std::string> buttons;
|
|
|
|
std::vector<std::string> buttons;
|
|
|
|
|
|
|
|
|
|
|
@ -31,11 +36,6 @@ namespace Interpreter
|
|
|
|
|
|
|
|
|
|
|
|
std::reverse (buttons.begin(), buttons.end());
|
|
|
|
std::reverse (buttons.begin(), buttons.end());
|
|
|
|
|
|
|
|
|
|
|
|
// message
|
|
|
|
|
|
|
|
int index = runtime[0].mInteger;
|
|
|
|
|
|
|
|
runtime.pop();
|
|
|
|
|
|
|
|
std::string message = runtime.getStringLiteral (index);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// additional parameters
|
|
|
|
// additional parameters
|
|
|
|
std::string formattedMessage;
|
|
|
|
std::string formattedMessage;
|
|
|
|
|
|
|
|
|
|
|
|