home · contact · privacy
Client: Fit interface_conf to new config file style. Also, refactorings.
[plomrogue] / src / server / map_objects.h
index f30b016468f3dcc9d66a5d1775d58ae54b77cf2d..fdd11f91c9180cc4226e199ac3d1a0abba28cc8c 100644 (file)
@@ -27,10 +27,10 @@ struct MapObj
 
 struct MapObjDef
 {
+    uint8_t id;         /* map object definition identifier / sets .type */
     struct MapObjDef * next;
     char char_on_map;   /* map object symbol to appear on map */
     char * name;        /* string to describe object in game log */
-    uint8_t id;         /* map object definition identifier / sets .type */
     uint8_t corpse_id;  /* type to change map object into upon destruction */
     uint8_t lifepoints; /* default start value for map object's .lifepoints */
     uint8_t consumable; /* can be eaten if !0, for so much hitpoint win */
@@ -38,9 +38,6 @@ struct MapObjDef
 
 
 
-/* Initialize map object definitions chain. */
-extern void init_map_object_defs();
-
 /* Free map object definitions chain starting at "mod_start". */
 extern void free_map_object_defs(struct MapObjDef * mod_start);