(svn r1510) -Add: Improved Network Lobby GUI: (bociusz)

- Added green dot if company income is positive (else red dot)
 - Added lock icon if company is password protected
This commit is contained in:
truelight
2005-01-14 21:47:35 +00:00
parent 3a838447a8
commit e9a57c56b7
6 changed files with 25 additions and 1 deletions

View File

@@ -169,6 +169,13 @@ DEF_UDP_RECEIVE_COMMAND(PACKET_UDP_CLIENT_DETAIL_INFO)
NetworkSend_uint64(packet, _network_player_info[player->index].income);
NetworkSend_uint16(packet, _network_player_info[player->index].performance);
/* Send 1 if there is a passord for the company else send 0 */
if (_network_player_info[player->index].password[0] != '\0') {
NetworkSend_uint8 (p, 1);
} else {
NetworkSend_uint8 (p, 0);
}
for (i = 0; i < NETWORK_VEHICLE_TYPES; i++)
NetworkSend_uint16(packet, _network_player_info[player->index].num_vehicle[i]);