diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 13:29:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 13:29:40 +0000 |
commit | 99ec3a044aab32e0fe4aea03a5539cf0e4f129e9 (patch) | |
tree | 8d9cdc4b81d2d7c4a9ca505656b837777e38092a /src/network/core/tcp_content.h | |
parent | 536c581923e456ed6a0d1a47747b7c9e111d8755 (diff) | |
download | openttd-99ec3a044aab32e0fe4aea03a5539cf0e4f129e9.tar.xz |
(svn r22403) -Document: some more network/core code
Diffstat (limited to 'src/network/core/tcp_content.h')
-rw-r--r-- | src/network/core/tcp_content.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index 120324d48..396202f23 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -47,12 +47,14 @@ enum PacketContentType { PACKET_CONTENT_END ///< Must ALWAYS be on the end of this list!! (period) }; +/** Unique identifier for the content. */ enum ContentID { - INVALID_CONTENT_ID = UINT32_MAX + INVALID_CONTENT_ID = UINT32_MAX ///< Sentinel for invalid content. }; /** Container for all important information about a piece of content. */ struct ContentInfo { + /** The state the content can be in. */ enum State { UNSELECTED, ///< The content has not been selected SELECTED, ///< The content has been manually selected |