changeset 2587:2fd719592d89

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Feb 2024 16:28:48 +0200
parents c9ad27a50988
children 1436eecc751f
files src/liblocfile.h
diffstat 1 files changed, 32 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/src/liblocfile.h	Fri Feb 02 02:09:25 2024 +0200
+++ b/src/liblocfile.h	Sun Feb 11 16:28:48 2024 +0200
@@ -13,9 +13,9 @@
 
 /* Version string
  */
-#define LOC_MAGIC           "MapUtils LOC file"
-#define LOC_VERSION_MAJOR   (4)
-#define LOC_VERSION_MINOR   (0)
+#define LOC_MAGIC              "MapUtils LOC file"
+#define LOC_VERSION_MAJOR      (4)
+#define LOC_VERSION_MINOR      (0)
 
 
 /* LOCD_* is an enum describing the preferred orientation of the
@@ -31,7 +31,7 @@
 
 /* Timestamp used in loc-files, in sscanf() format.
  */
-#define LOC_TIMEFMT         "%02d.%02d.%04d"
+#define LOC_TIMEFMT            "%02d.%02d.%04d"
 
 
 /* These flags are used to describe the marker/location  type and label
@@ -43,52 +43,52 @@
  * of this settings is addition of "GUILD", "SHRINE"-type strings to labels,
  * but this information can be used in other ways too.
  */
-#define LOCF_NONE           (0x00000)
+#define LOCF_NONE              (0x00000)
 
 // Marker types
-#define LOCF_M_SCENIC1      (0x000001)   // '?' Scenic marker
-#define LOCF_M_SCENIC2      (0x000002)   // '%' Shrine marker/etc
-#define LOCF_M_PCITY        (0x000004)   // 'C' Player city
-#define LOCF_M_CITY         (0x000008)   // 'c' Major city
-#define LOCF_M_MASK         (0x00000F)
+#define LOCF_M_SCENIC1         (0x000001)   // '?' Scenic marker
+#define LOCF_M_SCENIC2         (0x000002)   // '%' Shrine marker/etc
+#define LOCF_M_PCITY           (0x000004)   // 'C' Player city
+#define LOCF_M_CITY            (0x000008)   // 'c' Major city
+#define LOCF_M_MASK            (0x00000F)
 
 // Location types
-#define LOCF_T_SHRINE       (0x000010)   // 'S' Raceshrine
-#define LOCF_T_GUILD        (0x000020)   // 'G' Guild
-#define LOCF_T_SS           (0x000040)   // 'P' Player guild/Secret Society
-#define LOCF_T_MONSTER      (0x000080)   // 'M' Special monster
-#define LOCF_T_TRAINER      (0x000100)   // 'T' Guild-related trainer
-#define LOCF_T_FORT         (0x000200)   // 'F' Regional fort
-#define LOCF_T_MASK         (0x00FFF0)
-#define LOCF_MASK           (LOCF_M_MASK | LOCF_T_MASK)
+#define LOCF_T_SHRINE          (0x000010)   // 'S' Raceshrine
+#define LOCF_T_GUILD           (0x000020)   // 'G' Guild
+#define LOCF_T_SS              (0x000040)   // 'P' Player guild/Secret Society
+#define LOCF_T_MONSTER         (0x000080)   // 'M' Special monster
+#define LOCF_T_TRAINER         (0x000100)   // 'T' Guild-related trainer
+#define LOCF_T_FORT            (0x000200)   // 'F' Regional fort
+#define LOCF_T_MASK            (0x00FFF0)
+#define LOCF_MASK              (LOCF_M_MASK | LOCF_T_MASK)
 
 // Extra flags
-#define LOCF_INVIS          (0x010000)   // '-' Invisible marker / Don't show label
-#define LOCF_CLOSED         (0x020000)   // '!' Location is CLOSED
-#define LOCF_INSTANCED      (0x040000)   // 'I' Location is "instanced" for each player
-#define LOCF_INVALID        (0x400000)   // Possibly invalid location
-#define LOCF_NOMARKER       (0x800000)   // Location has no marker in mapdata or explicitly defined
-#define LOCF_Q_MASK         (0xFF0000)
+#define LOCF_INVIS             (0x010000)   // '-' Invisible marker / Don't show label
+#define LOCF_CLOSED            (0x020000)   // '!' Location is CLOSED
+#define LOCF_INSTANCED         (0x040000)   // 'I' Location is "instanced" for each player
+#define LOCF_INVALID           (0x100000)   // Possibly invalid location
+#define LOCF_NOMARKER          (0x200000)   // Location has no marker in mapdata or explicitly defined
+#define LOCF_Q_MASK            (0xFF0000)
 
 
 /* Misc constants
  */
-#define LOC_MAX_NAMES       (64)        // Probably more than enough?
-#define LOC_MARKERS         "?%C"
-#define LOC_MAX_FILES       (64)
+#define LOC_MAX_NAMES          (64)        // Probably more than enough?
+#define LOC_MARKERS            "?%C"
+#define LOC_MAX_FILES          (64)
 
 
 /* Creator roles
  */
-#define CREATOR_ORIG        (0x00001)   // '@' Original area creator
-#define CREATOR_RECODER     (0x00002)   // '!' Converter or recoder of area
-#define CREATOR_MAINTAINER  (0x00004)   // '%' Maintainer
-#define CREATOR_EXPANDER    (0x00008)   // '&' Expander, adding new things
+#define CREATOR_ORIG           (0x00001)   // '@' Original area creator
+#define CREATOR_RECODER        (0x00002)   // '!' Converter or recoder of area
+#define CREATOR_MAINTAINER     (0x00004)   // '%' Maintainer
+#define CREATOR_EXPANDER       (0x00008)   // '&' Expander, adding new things
 
 
 /* Area name flags
  */
-#define NAME_ORIG           (0x00001)   // '@' Original area name
+#define NAME_ORIG              (0x00001)   // '@' Original area name
 
 
 /* Structures