Add stub for sending message to your friend

This commit is contained in:
simon.kagstrom 2010-02-21 13:05:01 +00:00
parent 1b8b98a394
commit 3610fc19f5
2 changed files with 15 additions and 4 deletions

View File

@ -233,7 +233,7 @@ const char **options_menu_help[14] = {
NULL,
};
const char **network_menu_help[8] = {
const char **network_menu_help[9] = {
(const char*[]){
"Setup username to use on",
"the C64 network. Must be",
@ -260,11 +260,19 @@ const char **network_menu_help[8] = {
},
NULL,
(const char*[]){
"Post message to the C64",
"Post message to everyone",
"connected to the C64",
"network server. You must",
"be connected to use this.",
NULL,
},
(const char*[]){
"Post message to the peer",
"you are playing with. You",
"must be connected to use",
"this feature.",
NULL,
},
NULL,
};

View File

@ -83,6 +83,8 @@ public:
case 6:
printf("Send message NYI\n"); // FIXME! Send message
break;
case 7:
break;
default:
break;
}
@ -117,12 +119,13 @@ private:
this->messages[4] = "Connect to the network!";
this->messages[5] = " ";
this->messages[6] = "Post network message";
this->messages[7] = NULL;
this->messages[7] = "Post peer message";
this->messages[8] = NULL;
this->setText(this->messages);
}
char strs[3][255];
const char *messages[8];
const char *messages[9];
HelpBox *help;
};