From 33ed4ddbfbdcd269c7234ea6093acc21e7a63e7c Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 17 Oct 2010 17:31:03 +0000 Subject: (svn r20963) -Add: stubs for a remote administration connection --- src/network/network_type.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/network/network_type.h') diff --git a/src/network/network_type.h b/src/network/network_type.h index 5b83620e6..f40a1cdd5 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -49,6 +49,14 @@ enum ClientID { /** Indices into the client tables */ typedef uint8 ClientIndex; +/** Indices into the admin tables. */ +typedef uint8 AdminIndex; + +/** Maximum number of allowed admins. */ +static const AdminIndex MAX_ADMINS = 16; +/** An invalid admin marker. */ +static const AdminIndex INVALID_ADMIN_ID = UINT8_MAX; + /** Simple calculated statistics of a company */ struct NetworkCompanyStats { uint16 num_vehicle[NETWORK_VEH_END]; ///< How many vehicles are there of this type? -- cgit v1.2.3-70-g09d2