Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 97e00b735e
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (41 sloc) 1.053 kB
struct Tmessage
{
unsigned char bgCmd;
unsigned char fgCmd;
int length;
String *message;
};
int numMessages = 4;
int getNumMessages()
{
return numMessages;
}
Tmessage RopeMessages[4];
String message0 = " MALENE ";
String message1 = char(0x8E);
String message2 = " MADS ";
String message3 = " ~~~ " ;
void initRopeMessages()
{
Tmessage *msg;
msg = &RopeMessages[0];
msg->bgCmd = getRopeCommand(0,0,0);
msg->fgCmd = getRopeCommand(1,1,1);
msg->message = &message0;
msg->length = msg->message->length();
msg = &RopeMessages[1];
msg->bgCmd = getRopeCommand(0,0,0);
msg->fgCmd = getRopeCommand(1,0,0);
msg->message = &message1;
msg->length = msg->message->length();
msg = &RopeMessages[2];
msg->bgCmd = getRopeCommand(0,0,0);
msg->fgCmd = getRopeCommand(1,1,1);
msg->message = &message2;
msg->length = msg->message->length();
msg = &RopeMessages[3];
msg->bgCmd = getRopeCommand(0,0,0);
msg->fgCmd = getRopeCommand(0,0,1);
msg->message = &message3;
msg->length = msg->message->length();
}
Jump to Line
Something went wrong with that request. Please try again.