summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-14 21:47:35 +0000
committertruelight <truelight@openttd.org>2005-01-14 21:47:35 +0000
commite9a57c56b7f900685188d9132d02dff22f2c3d39 (patch)
treef260e8c54aa71ae764d546b59880d05829587afd /network.h
parent3a838447a8b07f880567b452f274e732c0c712b4 (diff)
downloadopenttd-e9a57c56b7f900685188d9132d02dff22f2c3d39.tar.xz
(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
Diffstat (limited to 'network.h')
-rw-r--r--network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/network.h b/network.h
index e104d55bd..c03aedcca 100644
--- a/network.h
+++ b/network.h
@@ -81,6 +81,7 @@ typedef struct NetworkPlayerInfo {
int64 money; // The amount of money the company has
int64 income; // How much did the company earned last year
uint16 performance; // What was his performance last month?
+ byte use_password; // 0: No password 1: There is a password
uint16 num_vehicle[NETWORK_VEHICLE_TYPES]; // How many vehicles are there of this type?
uint16 num_station[NETWORK_STATION_TYPES]; // How many stations are there of this type?
char players[NETWORK_PLAYERS_LENGTH]; // The players that control this company (Name1, name2, ..)