summaryrefslogtreecommitdiff
path: root/src/net/protocoloutdefine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-01 22:39:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-01 22:39:44 +0300
commit83915bb5c10c8b694e633b8e3089603d3281b8a0 (patch)
treecd5f26cb0f2feca3baa5a1dc0910379ef487795e /src/net/protocoloutdefine.h
parent910d7bb8267d38c2ca68f963d2239f23f0abc83f (diff)
downloadManaVerse-83915bb5c10c8b694e633b8e3089603d3281b8a0.tar.gz
ManaVerse-83915bb5c10c8b694e633b8e3089603d3281b8a0.tar.bz2
ManaVerse-83915bb5c10c8b694e633b8e3089603d3281b8a0.tar.xz
ManaVerse-83915bb5c10c8b694e633b8e3089603d3281b8a0.zip
Add packet sizes to packetin.inc. But for now size unused.
Diffstat (limited to 'src/net/protocoloutdefine.h')
-rw-r--r--src/net/protocoloutdefine.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/net/protocoloutdefine.h b/src/net/protocoloutdefine.h
new file mode 100644
index 000000000..ed739e2a0
--- /dev/null
+++ b/src/net/protocoloutdefine.h
@@ -0,0 +1,26 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2015 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NET_PROTOCOLOUTDEFINE_H
+#define NET_PROTOCOLOUTDEFINE_H
+
+#define packet(name, id) static const int name = id
+
+#endif // NET_PROTOCOLOUTDEFINE_H