diff options
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/core.h | 1 | ||||
-rw-r--r-- | src/network/core/tcp.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/network/core/core.h b/src/network/core/core.h index 865213471..729145e7f 100644 --- a/src/network/core/core.h +++ b/src/network/core/core.h @@ -19,6 +19,7 @@ void NetworkCoreShutdown(void); typedef enum { NETWORK_RECV_STATUS_OKAY, ///< Everything is okay NETWORK_RECV_STATUS_DESYNC, ///< A desync did occur + NETWORK_RECV_STATUS_NEWGRF_MISMATCH, ///< We did not have the required NewGRFs NETWORK_RECV_STATUS_SAVEGAME, ///< Something went wrong (down)loading the savegame NETWORK_RECV_STATUS_CONN_LOST, ///< The conection is 'just' lost NETWORK_RECV_STATUS_MALFORMED_PACKET, ///< We apparently send a malformed packet diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 74e2880e7..232d6f91a 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -52,6 +52,8 @@ enum { PACKET_SERVER_NEWGAME, PACKET_SERVER_RCON, PACKET_CLIENT_RCON, + PACKET_SERVER_CHECK_NEWGRFS, + PACKET_CLIENT_NEWGRFS_CHECKED, PACKET_END ///< Must ALWAYS be on the end of this list!! (period) }; |