Difference for main/multi.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 1759
 
Line 1759
         if ((strlen(buf+loc) > 3) && !strnicmp("/ME",buf+loc,3))          if ((strlen(buf+loc) > 3) && !strnicmp("/ME",buf+loc,3))
         {          {
                 digi_play_sample(SOUND_HUD_MESSAGE, F1_0);                  digi_play_sample(SOUND_HUD_MESSAGE, F1_0);
                 hud_message(MSGC_MULTI_USERMSG, "*%s%s", Players[(int)buf[1]].callsign, buf+loc+3*sizeof(char));                  //hud_message(MSGC_MULTI_USERMSG, "*%s%s", Players[pnum].callsign, buf+loc+3*sizeof(char));
                   hud_message(MSGC_MULTI_USERMSG, "\001%c*%s\002%s",
    gr_getcolor(player_rgb[pnum].r,player_rgb[pnum].g,player_rgb[pnum].b)+1,// note the +1 !
    Players[pnum].callsign, buf+loc+3*sizeof(char));
         }          }
 //end this addition - VR  //end this addition - VR
         else if (((colon = strrchr(buf+loc, ':')) == NULL) || (colon-(buf+loc) < 1) || (colon-(buf+loc) > CALLSIGN_LEN))          else if (((colon = strrchr(buf+loc, ':')) == NULL) || (colon-(buf+loc) < 1) || (colon-(buf+loc) > CALLSIGN_LEN))
  {   {
  digi_play_sample(SOUND_HUD_MESSAGE, F1_0);   digi_play_sample(SOUND_HUD_MESSAGE, F1_0);
                 hud_message(MSGC_MULTI_USERMSG, "%s %s '%s'", Players[(int)buf[1]].callsign, TXT_SAYS, buf+loc);                  //hud_message(MSGC_MULTI_USERMSG, "%s %s '%s'", Players[(int)buf[1]].callsign, TXT_SAYS, buf+loc);
                   hud_message(MSGC_MULTI_USERMSG, "\001%c%s\002 %s '%s'",
    gr_getcolor(player_rgb[pnum].r,player_rgb[pnum].g,player_rgb[pnum].b)+1,// note the +1 !
    Players[pnum].callsign, TXT_SAYS, buf+loc);
  }   }
 //added on 11/10/98 by Victor Rachels to add handicapping  //added on 11/10/98 by Victor Rachels to add handicapping
         else if ( (!strncasecmp(Players[Player_num].callsign, buf+loc, colon-(buf+loc))) &&          else if ( (!strncasecmp(Players[Player_num].callsign, buf+loc, colon-(buf+loc))) &&
Line 1800
 
Line 1806
    ((Game_mode & GM_TEAM) && ( (get_team(Player_num) == atoi(buf+loc)-1) || !strncasecmp(Netgame.team_name[get_team(Player_num)], buf+loc, colon-(buf+loc)))) )     ((Game_mode & GM_TEAM) && ( (get_team(Player_num) == atoi(buf+loc)-1) || !strncasecmp(Netgame.team_name[get_team(Player_num)], buf+loc, colon-(buf+loc)))) )
  {   {
  digi_play_sample(SOUND_HUD_MESSAGE, F1_0);   digi_play_sample(SOUND_HUD_MESSAGE, F1_0);
  hud_message(MSGC_MULTI_USERMSG, "%s %s '%s'", Players[(int)buf[1]].callsign, TXT_TELLS_YOU, (colon+1));   //hud_message(MSGC_MULTI_USERMSG, "%s %s '%s'", Players[(int)buf[1]].callsign, TXT_TELLS_YOU, (colon+1));
    hud_message(MSGC_MULTI_USERMSG, "\001%c%s\002 %s '%s'",
    gr_getcolor(player_rgb[pnum].r,player_rgb[pnum].g,player_rgb[pnum].b)+1,// note the +1 !
    Players[pnum].callsign, TXT_TELLS_YOU, (colon+1));
  }   }
  else if (colon - (buf + loc) == 4)   else if (colon - (buf + loc) == 4)
  {   {

Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4