added custom artwork mappings to fix warnings in level set 'rnd_alan_bond'
authorHolger Schemel <info@artsoft.org>
Mon, 29 Oct 2018 20:03:40 +0000 (21:03 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 29 Oct 2018 20:03:40 +0000 (21:03 +0100)
src/libgame/misc.c

index 0a1383fde6378f2c152d41e7b3ca5f045cd11973..da88de962284c3897e3e6bbde4aacf51fda3fa62 100644 (file)
@@ -2636,8 +2636,19 @@ char *get_mapped_token(char *token)
   // !!! make this dynamically configurable (init.c:InitArtworkConfig) !!!
   static char *map_token_prefix[][2] =
   {
-    { "char_procent",          "char_percent"  },
-    { NULL,                                    }
+    { "char_procent",          "char_percent"                  },
+    { "bd_magic_wall_filling", "bd_magic_wall.filling"         },
+    { "bd_magic_wall_emptying",        "bd_magic_wall.emptying"        },
+    { "bd_butterfly_left",     "bd_butterfly.left"             },
+    { "bd_butterfly_right",    "bd_butterfly.right"            },
+    { "bd_butterfly_up",       "bd_butterfly.up"               },
+    { "bd_butterfly_down",     "bd_butterfly.down"             },
+    { "bd_firefly_left",       "bd_firefly.left"               },
+    { "bd_firefly_right",      "bd_firefly.right"              },
+    { "bd_firefly_up",         "bd_firefly.up"                 },
+    { "bd_firefly_down",       "bd_firefly.down"               },
+
+    { NULL,                                                    }
   };
   int i;