home · contact · privacy
Unify Map struct common to server and client in src/common/map.h.
[plomrogue] / src / client / map.h
index d104c28a897bbebaa7ece711af1688f64c10ec7a..6cef27edf91801864d138797d2935013c073afdb 100644 (file)
@@ -3,17 +3,8 @@
  * Routines for the game map window.
  */
 
-#ifndef MAP_H
-#define MAP_H
-
-#include "../common/yx_uint16.h" /* yx_uint16 struct */
-
-
-struct Map
-{
-    struct yx_uint16 size;   /* map's height/width in number of cells */
-    char * cells;            /* sequence of bytes encoding map cells */
-};
+#ifndef MAP_H_CLIENT
+#define MAP_H_CLIENT