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

View File

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