summaryrefslogtreecommitdiff
path: root/src/network/networkprotocol.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-06-20 03:20:06 +0200
committerest31 <MTest31@outlook.com>2015-06-20 03:37:30 +0200
commitdd91b3d6fbc3a0b4b18b36b14864d703213dd622 (patch)
tree0c73f02ef3357f9557694d489a42df424fab51fc /src/network/networkprotocol.h
parent40226e52747156cbdc5128a416480b226e498fff (diff)
downloadminetest-dd91b3d6fbc3a0b4b18b36b14864d703213dd622.tar.gz
minetest-dd91b3d6fbc3a0b4b18b36b14864d703213dd622.tar.bz2
minetest-dd91b3d6fbc3a0b4b18b36b14864d703213dd622.zip
Generic CAO cleanups and renames for clarification
* Use enum for GENERIC_CMD_* * Rename m_attachements to attachement_parent_ids (public member and clearer name) * Rename GENERIC_CMD_SET_ATTACHMENT to GENERIC_CMD_ATTACH_TO * USHRT_MAX + 1 buffer sizes to prevent overflows as @kahrl suggested * Remove unneccessary m_id from GenericCAO (shadowing protected superclass member for no reason) as @kahrl suggested
Diffstat (limited to 'src/network/networkprotocol.h')
-rw-r--r--src/network/networkprotocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h
index 09617c9d9..852f2ee03 100644
--- a/src/network/networkprotocol.h
+++ b/src/network/networkprotocol.h
@@ -129,6 +129,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Add TOCLIENT_HELLO for presenting server to client after client
presentation
Add TOCLIENT_AUTH_ACCEPT to accept connection from client
+ Rename GENERIC_CMD_SET_ATTACHMENT to GENERIC_CMD_ATTACH_TO
*/
#define LATEST_PROTOCOL_VERSION 25