src/Network/Protocol.hh
changeset 203 3ec7ab40755f
parent 200 2dbf40661580
child 223 2fcaf54ed37b
--- a/src/Network/Protocol.hh	Thu Dec 04 22:14:45 2008 +0000
+++ b/src/Network/Protocol.hh	Thu Dec 04 22:33:43 2008 +0000
@@ -9,7 +9,16 @@
     /*
      * Core channel used for NetworkSession
      */
-    NETCHAN_CORE            = 0x01,
+    NETCHAN_CORE            = 0x0001,
+
+    /*
+     * Channel used to send initial terrain array
+     *
+     * uint32_t                 map_w
+     * uint32_t                 map_h
+     * uint8_t[map_w][map_h]    terrain
+     */
+    NETCHAN_TERRAIN_ARRAY   = 0x0010,
 };
 
 enum NetworkPhysicsFlags {