| version 1.1 | | version 1.2 |
|---|
| | |
| | | |
| digi_play_sample(SOUND_HUD_MESSAGE, F1_0); | | digi_play_sample(SOUND_HUD_MESSAGE, F1_0); |
| | | |
| hud_message(MSGC_MULTI_INFO, "'%s' %s\n", their->player.callsign, TXT_JOINING); | | hud_message(MSGC_MULTI_INFO, "'\002%c%s\004' %s",//removed a \n here.. I don't think its supposed to be there. -MPM |
| | | gr_getcolor(player_rgb[pnum].r,player_rgb[pnum].g,player_rgb[pnum].b)+1, |
| | | their->player.callsign, TXT_JOINING); |
| | | |
| multi_make_ghost_player(pnum); | | multi_make_ghost_player(pnum); |
| | | |
| | |
| | | |
| digi_play_sample(SOUND_HUD_MESSAGE, F1_0); | | digi_play_sample(SOUND_HUD_MESSAGE, F1_0); |
| | | |
| hud_message(MSGC_MULTI_INFO, "'%s' %s", Players[player_num].callsign, TXT_REJOIN); | | hud_message(MSGC_MULTI_INFO, "'\002%c%s\004' %s", |
| | | gr_getcolor(player_rgb[player_num].r,player_rgb[player_num].g,player_rgb[player_num].b)+1, |
| | | Players[player_num].callsign, TXT_REJOIN); |
| } | | } |
| | | |
| // Send updated Objects data to the new/returning player | | // Send updated Objects data to the new/returning player |
| | |
| | | |
| digi_play_sample(SOUND_HUD_MESSAGE, F1_0); | | digi_play_sample(SOUND_HUD_MESSAGE, F1_0); |
| | | |
| hud_message(MSGC_MULTI_INFO, "%s %s", Players[playernum].callsign, TXT_DISCONNECTING); | | hud_message(MSGC_MULTI_INFO, "\002%c%s\004 %s", |
| | | gr_getcolor(player_rgb[playernum].r,player_rgb[playernum].g,player_rgb[playernum].b)+1, |
| | | Players[playernum].callsign, TXT_DISCONNECTING); |
| for (i = 0; i < N_players; i++) | | for (i = 0; i < N_players; i++) |
| if (Players[i].connected) | | if (Players[i].connected) |
| n++; | | n++; |
| | |
| //added on 11/18/98 by Victor Rachels to hack ghost disconnects | | //added on 11/18/98 by Victor Rachels to hack ghost disconnects |
| if(Players[i].connected != 1 && Objects[Players[i].objnum].type != OBJ_GHOST) | | if(Players[i].connected != 1 && Objects[Players[i].objnum].type != OBJ_GHOST) |
| { | | { |
| hud_message(MSGC_MULTI_INFO, "%s has left.", Players[i].callsign); | | hud_message(MSGC_MULTI_INFO, "\002%c%s\004 has left.", |
| | | gr_getcolor(player_rgb[i].r,player_rgb[i].g,player_rgb[i].b)+1, |
| | | Players[i].callsign); |
| multi_make_player_ghost(i); | | multi_make_player_ghost(i); |
| } | | } |
| //end this section addition - VR | | //end this section addition - VR |
| | |
| create_player_appearance_effect(&Objects[TheirObjnum]); | | create_player_appearance_effect(&Objects[TheirObjnum]); |
| | | |
| digi_play_sample( SOUND_HUD_MESSAGE, F1_0); | | digi_play_sample( SOUND_HUD_MESSAGE, F1_0); |
| hud_message( MSGC_MULTI_INFO, "'%s' %s", Players[TheirPlayernum].callsign, TXT_REJOIN ); | | hud_message( MSGC_MULTI_INFO, "'\002%c%s\004' %s", |
| | | gr_getcolor(player_rgb[TheirPlayernum].r,player_rgb[TheirPlayernum].g,player_rgb[TheirPlayernum].b)+1, |
| | | Players[TheirPlayernum].callsign, TXT_REJOIN ); |
| | | |
| #ifndef SHAREWARE | | #ifndef SHAREWARE |
| multi_send_score(); | | multi_send_score(); |