added support for line-shifting wrap-around in BD engine to level editor
[rocksndiamonds.git] / src / main.c
1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // main.c
10 // ============================================================================
11
12 #include "libgame/libgame.h"
13
14 #include "main.h"
15 #include "init.h"
16 #include "game.h"
17 #include "tape.h"
18 #include "tools.h"
19 #include "files.h"
20 #include "events.h"
21 #include "config.h"
22
23 Bitmap                         *bitmap_db_field;
24 Bitmap                         *bitmap_db_door_1;
25 Bitmap                         *bitmap_db_door_2;
26 Bitmap                         *bitmap_db_store_1;
27 Bitmap                         *bitmap_db_store_2;
28 DrawBuffer                     *fieldbuffer;
29 DrawBuffer                     *drawto_field;
30
31 int                             game_status = -1;
32 int                             game_status_last_screen = -1;
33 boolean                         level_editor_test_game = FALSE;
34 boolean                         score_info_tape_play = FALSE;
35 boolean                         network_playing = FALSE;
36
37 int                             key_joystick_mapping = 0;
38
39 short                           Tile[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
40 short                           Last[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
41 short                           MovPos[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
42 short                           MovDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
43 short                           MovDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
44 short                           ChangeDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
45 short                           ChangePage[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
46 short                           CustomValue[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
47 short                           Store[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
48 short                           Store2[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
49 short                           StorePlayer[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
50 short                           Back[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
51 boolean                         Stop[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
52 boolean                         Pushed[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
53 short                           ChangeCount[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
54 short                           ChangeEvent[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
55 short                           WasJustMoving[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
56 short                           WasJustFalling[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
57 short                           CheckCollision[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
58 short                           CheckImpact[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
59 short                           AmoebaNr[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
60 short                           AmoebaCnt[MAX_NUM_AMOEBA];
61 short                           AmoebaCnt2[MAX_NUM_AMOEBA];
62 short                           ExplodeField[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
63 short                           ExplodePhase[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
64 short                           ExplodeDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
65 int                             RunnerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
66 int                             PlayerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
67
68 int                             GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
69 int                             GfxRandom[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
70 int                             GfxRandomStatic[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
71 int                             GfxElement[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
72 int                             GfxElementEmpty[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
73 int                             GfxAction[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
74 int                             GfxDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
75 int                             GfxRedraw[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
76
77 int                             ActiveElement[MAX_NUM_ELEMENTS];
78 int                             ActiveButton[NUM_IMAGE_FILES];
79 int                             ActiveFont[NUM_FONTS];
80
81 int                             lev_fieldx, lev_fieldy;
82 int                             scroll_x, scroll_y;
83
84 int                             WIN_XSIZE = WIN_XSIZE_DEFAULT;
85 int                             WIN_YSIZE = WIN_YSIZE_DEFAULT;
86
87 int                             SCR_FIELDX = SCR_FIELDX_DEFAULT;
88 int                             SCR_FIELDY = SCR_FIELDY_DEFAULT;
89
90 int                             REAL_SX = 6, REAL_SY = 6;
91 int                             SX = 8, SY = 8;
92 int                             DX = 566, DY = 60;
93 int                             VX = 566, VY = 400;
94 int                             EX = 566, EY = 356;
95 int                             dDX, dDY;
96
97 int                             FULL_SXSIZE = 2 + SXSIZE_DEFAULT + 2;
98 int                             FULL_SYSIZE = 2 + SYSIZE_DEFAULT + 2;
99 int                             SXSIZE = SXSIZE_DEFAULT;
100 int                             SYSIZE = SYSIZE_DEFAULT;
101
102 int                             FADE_SX = 6, FADE_SY = 6;
103 int                             FADE_SXSIZE = 2 + SXSIZE_DEFAULT + 2;
104 int                             FADE_SYSIZE = 2 + SXSIZE_DEFAULT + 2;
105
106 int                             DXSIZE = 100;
107 int                             DYSIZE = 280;
108 int                             VXSIZE = 100;
109 int                             VYSIZE = 100;
110 int                             EXSIZE = 100;
111 int                             EYSIZE = 144;
112 int                             TILESIZE_VAR = TILESIZE;
113
114 int                             FX, FY;
115 int                             ScrollStepSize;
116 int                             ScreenMovDir = MV_NONE, ScreenMovPos = 0;
117 int                             ScreenGfxPos = 0;
118 int                             BorderElement = EL_STEELWALL;
119 int                             MenuFrameDelay = MENU_FRAME_DELAY;
120 int                             GameFrameDelay = GAME_FRAME_DELAY;
121 int                             FfwdFrameDelay = FFWD_FRAME_DELAY;
122 int                             BX1, BY1;
123 int                             BX2, BY2;
124 int                             SBX_Left, SBX_Right;
125 int                             SBY_Upper, SBY_Lower;
126
127 int                             TimeFrames, TimePlayed, TimeLeft;
128 int                             TapeTimeFrames, TapeTime;
129
130 boolean                         network_player_action_received = FALSE;
131
132 struct LevelInfo                level, level_template;
133 struct PlayerInfo               stored_player[MAX_PLAYERS], *local_player = NULL;
134 struct ScoreInfo                scores, server_scores;
135 struct TapeInfo                 tape;
136 struct GameInfo                 game;
137 struct GlobalInfo               global;
138 struct BorderInfo               border;
139 struct ViewportInfo             viewport;
140 struct TitleFadingInfo          fading;
141 struct TitleFadingInfo          title_initial_first_default;
142 struct TitleFadingInfo          title_initial_default;
143 struct TitleFadingInfo          title_first_default;
144 struct TitleFadingInfo          title_default;
145 struct TitleMessageInfo         titlescreen_initial_first_default;
146 struct TitleMessageInfo         titlescreen_initial_first[MAX_NUM_TITLE_IMAGES];
147 struct TitleMessageInfo         titlescreen_initial_default;
148 struct TitleMessageInfo         titlescreen_initial[MAX_NUM_TITLE_IMAGES];
149 struct TitleMessageInfo         titlescreen_first_default;
150 struct TitleMessageInfo         titlescreen_first[MAX_NUM_TITLE_IMAGES];
151 struct TitleMessageInfo         titlescreen_default;
152 struct TitleMessageInfo         titlescreen[MAX_NUM_TITLE_IMAGES];
153 struct TitleMessageInfo         titlemessage_initial_first_default;
154 struct TitleMessageInfo         titlemessage_initial_first[MAX_NUM_TITLE_MESSAGES];
155 struct TitleMessageInfo         titlemessage_initial_default;
156 struct TitleMessageInfo         titlemessage_initial[MAX_NUM_TITLE_MESSAGES];
157 struct TitleMessageInfo         titlemessage_first_default;
158 struct TitleMessageInfo         titlemessage_first[MAX_NUM_TITLE_MESSAGES];
159 struct TitleMessageInfo         titlemessage_default;
160 struct TitleMessageInfo         titlemessage[MAX_NUM_TITLE_MESSAGES];
161 struct TitleMessageInfo         readme;
162 struct InitInfo                 init, init_last;
163 struct MenuInfo                 menu;
164 struct DoorInfo                 door_1, door_2;
165 struct RequestInfo              request;
166 struct PreviewInfo              preview;
167 struct EditorInfo               editor;
168
169 struct GraphicInfo             *graphic_info = NULL;
170 struct SoundInfo               *sound_info = NULL;
171 struct MusicInfo               *music_info = NULL;
172 struct MusicFileInfo           *music_file_info = NULL;
173 struct HelpAnimInfo            *helpanim_info = NULL;
174
175 SetupFileHash                  *helptext_info = NULL;
176 SetupFileHash                  *image_config_hash = NULL;
177 SetupFileHash                  *sound_config_hash = NULL;
178 SetupFileHash                  *element_token_hash = NULL;
179 SetupFileHash                  *graphic_token_hash = NULL;
180 SetupFileHash                  *font_token_hash = NULL;
181 SetupFileHash                  *hide_setup_hash = NULL;
182 SetupFileHash                  *anim_url_hash = NULL;
183
184
185 // ----------------------------------------------------------------------------
186 // element definitions
187 // ----------------------------------------------------------------------------
188
189 struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1];
190
191 // this contains predefined structure elements to initialize "element_info"
192 struct ElementNameInfo element_name_info[MAX_NUM_ELEMENTS + 1] =
193 {
194   // keyword to start parser: "ELEMENT_INFO_START" <-- do not change!
195
196   // --------------------------------------------------------------------------
197   // "real" level file elements
198   // --------------------------------------------------------------------------
199
200   {
201     "empty_space",
202     "empty_space",
203     "empty space"
204   },
205   {
206     "sand",
207     "sand",
208     "sand"
209   },
210   {
211     "wall",
212     "wall",
213     "normal wall"
214   },
215   {
216     "wall_slippery",
217     "wall",
218     "slippery wall"
219   },
220   {
221     "rock",
222     "rock",
223     "rock"
224   },
225   {
226     "key_obsolete",
227     "obsolete",
228     "key (OBSOLETE)"
229   },
230   {
231     "emerald",
232     "emerald",
233     "emerald"
234   },
235   {
236     "exit_closed",
237     "exit",
238     "closed exit"
239   },
240   {
241     "player_obsolete",
242     "obsolete",
243     "player (OBSOLETE)"
244   },
245   {
246     "bug",
247     "bug",
248     "bug (random start direction)"
249   },
250   {
251     "spaceship",
252     "spaceship",
253     "spaceship (random start direction)"
254   },
255   {
256     "yamyam",
257     "yamyam",
258     "yam yam (random start direction)"
259   },
260   {
261     "robot",
262     "robot",
263     "robot"
264   },
265   {
266     "steelwall",
267     "steelwall",
268     "steel wall"
269   },
270   {
271     "diamond",
272     "diamond",
273     "diamond"
274   },
275   {
276     "amoeba_dead",
277     "amoeba",
278     "dead amoeba"
279   },
280   {
281     "quicksand_empty",
282     "quicksand",
283     "quicksand (empty)"
284   },
285   {
286     "quicksand_full",
287     "quicksand",
288     "quicksand (with rock)"
289   },
290   {
291     "amoeba_drop",
292     "amoeba",
293     "amoeba drop"
294   },
295   {
296     "bomb",
297     "bomb",
298     "bomb"
299   },
300   {
301     "magic_wall",
302     "magic_wall",
303     "magic wall"
304   },
305   {
306     "speed_pill",
307     "speed_pill",
308     "speed pill"
309   },
310   {
311     "acid",
312     "acid",
313     "acid"
314   },
315   {
316     "amoeba_wet",
317     "amoeba",
318     "dropping amoeba (EM style)"
319   },
320   {
321     "amoeba_dry",
322     "amoeba",
323     "normal amoeba"
324   },
325   {
326     "nut",
327     "nut",
328     "nut with emerald"
329   },
330   {
331     "game_of_life",
332     "game_of_life",
333     "Conway's wall of life"
334   },
335   {
336     "biomaze",
337     "biomaze",
338     "biomaze"
339   },
340   {
341     "dynamite.active",
342     "dynamite",
343     "burning dynamite"
344   },
345   {
346     "stoneblock",
347     "wall",
348     "wall"
349   },
350   {
351     "robot_wheel",
352     "robot_wheel",
353     "magic wheel"
354   },
355   {
356     "robot_wheel.active",
357     "robot_wheel",
358     "magic wheel (running)"
359   },
360   {
361     "key_1",
362     "key",
363     "key 1"
364   },
365   {
366     "key_2",
367     "key",
368     "key 2"
369   },
370   {
371     "key_3",
372     "key",
373     "key 3"
374   },
375   {
376     "key_4",
377     "key",
378     "key 4"
379   },
380   {
381     "gate_1",
382     "gate",
383     "door 1"
384   },
385   {
386     "gate_2",
387     "gate",
388     "door 2"
389   },
390   {
391     "gate_3",
392     "gate",
393     "door 3"
394   },
395   {
396     "gate_4",
397     "gate",
398     "door 4"
399   },
400   {
401     "gate_1_gray",
402     "gate",
403     "gray door (opened by key 1)"
404   },
405   {
406     "gate_2_gray",
407     "gate",
408     "gray door (opened by key 2)"
409   },
410   {
411     "gate_3_gray",
412     "gate",
413     "gray door (opened by key 3)"
414   },
415   {
416     "gate_4_gray",
417     "gate",
418     "gray door (opened by key 4)"
419   },
420   {
421     "dynamite",
422     "dynamite",
423     "dynamite"
424   },
425   {
426     "pacman",
427     "pacman",
428     "pac man (random start direction)"
429   },
430   {
431     "invisible_wall",
432     "wall",
433     "invisible normal wall"
434   },
435   {
436     "lamp",
437     "lamp",
438     "lamp (off)"
439   },
440   {
441     "lamp.active",
442     "lamp",
443     "lamp (on)"
444   },
445   {
446     "wall_emerald",
447     "wall",
448     "wall with emerald"
449   },
450   {
451     "wall_diamond",
452     "wall",
453     "wall with diamond"
454   },
455   {
456     "amoeba_full",
457     "amoeba",
458     "amoeba with content"
459   },
460   {
461     "bd_amoeba",
462     "bd_amoeba",
463     "amoeba (BD style)"
464   },
465   {
466     "time_orb_full",
467     "time_orb_full",
468     "time orb (full)"
469   },
470   {
471     "time_orb_empty",
472     "time_orb_empty",
473     "time orb (empty)"
474   },
475   {
476     "expandable_wall",
477     "wall",
478     "growing wall (horizontal, visible)"
479   },
480   {
481     "bd_diamond",
482     "bd_diamond",
483     "diamond (BD style)"
484   },
485   {
486     "emerald_yellow",
487     "emerald",
488     "yellow emerald"
489   },
490   {
491     "wall_bd_diamond",
492     "wall",
493     "wall with BD style diamond"
494   },
495   {
496     "wall_emerald_yellow",
497     "wall",
498     "wall with yellow emerald"
499   },
500   {
501     "dark_yamyam",
502     "dark_yamyam",
503     "dark yam yam"
504   },
505   {
506     "bd_magic_wall",
507     "bd_magic_wall",
508     "magic wall (BD style)"
509   },
510   {
511     "invisible_steelwall",
512     "steelwall",
513     "invisible steel wall"
514   },
515   {
516     "sokoban_field_player",
517     "sokoban",
518     "sokoban field with player"
519   },
520   {
521     "dynabomb_increase_number",
522     "dynabomb",
523     "increases number of bombs"
524   },
525   {
526     "dynabomb_increase_size",
527     "dynabomb",
528     "increases explosion size"
529   },
530   {
531     "dynabomb_increase_power",
532     "dynabomb",
533     "increases power of explosion"
534   },
535   {
536     "sokoban_object",
537     "sokoban",
538     "sokoban object"
539   },
540   {
541     "sokoban_field_empty",
542     "sokoban",
543     "sokoban empty field"
544   },
545   {
546     "sokoban_field_full",
547     "sokoban",
548     "sokoban field with object"
549   },
550   {
551     "bd_butterfly.right",
552     "bd_butterfly",
553     "butterfly (starts moving right)"
554   },
555   {
556     "bd_butterfly.up",
557     "bd_butterfly",
558     "butterfly (starts moving up)"
559   },
560   {
561     "bd_butterfly.left",
562     "bd_butterfly",
563     "butterfly (starts moving left)"
564   },
565   {
566     "bd_butterfly.down",
567     "bd_butterfly",
568     "butterfly (starts moving down)"
569   },
570   {
571     "bd_firefly.right",
572     "bd_firefly",
573     "firefly (starts moving right)"
574   },
575   {
576     "bd_firefly.up",
577     "bd_firefly",
578     "firefly (starts moving up)"
579   },
580   {
581     "bd_firefly.left",
582     "bd_firefly",
583     "firefly (starts moving left)"
584   },
585   {
586     "bd_firefly.down",
587     "bd_firefly",
588     "firefly (starts moving down)"
589   },
590   {
591     "bd_butterfly",
592     "bd_butterfly",
593     "butterfly (random start direction)"
594   },
595   {
596     "bd_firefly",
597     "bd_firefly",
598     "firefly (random start direction)"
599   },
600   {
601     "player_1",
602     "player",
603     "player 1"
604   },
605   {
606     "player_2",
607     "player",
608     "player 2"
609   },
610   {
611     "player_3",
612     "player",
613     "player 3"
614   },
615   {
616     "player_4",
617     "player",
618     "player 4"
619   },
620   {
621     "bug.right",
622     "bug",
623     "bug (starts moving right)"
624   },
625   {
626     "bug.up",
627     "bug",
628     "bug (starts moving up)"
629   },
630   {
631     "bug.left",
632     "bug",
633     "bug (starts moving left)"
634   },
635   {
636     "bug.down",
637     "bug",
638     "bug (starts moving down)"
639   },
640   {
641     "spaceship.right",
642     "spaceship",
643     "spaceship (starts moving right)"
644   },
645   {
646     "spaceship.up",
647     "spaceship",
648     "spaceship (starts moving up)"
649   },
650   {
651     "spaceship.left",
652     "spaceship",
653     "spaceship (starts moving left)"
654   },
655   {
656     "spaceship.down",
657     "spaceship",
658     "spaceship (starts moving down)"
659   },
660   {
661     "pacman.right",
662     "pacman",
663     "pac man (starts moving right)"
664   },
665   {
666     "pacman.up",
667     "pacman",
668     "pac man (starts moving up)"
669   },
670   {
671     "pacman.left",
672     "pacman",
673     "pac man (starts moving left)"
674   },
675   {
676     "pacman.down",
677     "pacman",
678     "pac man (starts moving down)"
679   },
680   {
681     "emerald_red",
682     "emerald",
683     "red emerald"
684   },
685   {
686     "emerald_purple",
687     "emerald",
688     "purple emerald"
689   },
690   {
691     "wall_emerald_red",
692     "wall",
693     "wall with red emerald"
694   },
695   {
696     "wall_emerald_purple",
697     "wall",
698     "wall with purple emerald"
699   },
700   {
701     "acid_pool_topleft",
702     "wall",
703     "acid pool (top left)"
704   },
705   {
706     "acid_pool_topright",
707     "wall",
708     "acid pool (top right)"
709   },
710   {
711     "acid_pool_bottomleft",
712     "wall",
713     "acid pool (bottom left)"
714   },
715   {
716     "acid_pool_bottom",
717     "wall",
718     "acid pool (bottom)"
719   },
720   {
721     "acid_pool_bottomright",
722     "wall",
723     "acid pool (bottom right)"
724   },
725   {
726     "bd_wall",
727     "wall",
728     "normal wall (BD style)"
729   },
730   {
731     "bd_rock",
732     "bd_rock",
733     "rock (BD style)"
734   },
735   {
736     "exit_open",
737     "exit",
738     "open exit"
739   },
740   {
741     "black_orb",
742     "black_orb",
743     "black orb bomb"
744   },
745   {
746     "amoeba_to_diamond",
747     "amoeba",
748     "amoeba"
749   },
750   {
751     "mole",
752     "mole",
753     "mole (random start direction)"
754   },
755   {
756     "penguin",
757     "penguin",
758     "penguin"
759   },
760   {
761     "satellite",
762     "satellite",
763     "satellite"
764   },
765   {
766     "arrow_left",
767     "arrow",
768     "arrow left"
769   },
770   {
771     "arrow_right",
772     "arrow",
773     "arrow right"
774   },
775   {
776     "arrow_up",
777     "arrow",
778     "arrow up"
779   },
780   {
781     "arrow_down",
782     "arrow",
783     "arrow down"
784   },
785   {
786     "pig",
787     "pig",
788     "pig"
789   },
790   {
791     "dragon",
792     "dragon",
793     "fire breathing dragon"
794   },
795   {
796     "em_key_1_file_obsolete",
797     "obsolete",
798     "key (OBSOLETE)"
799   },
800   {
801     "char_space",
802     "char",
803     "letter ' '"
804   },
805   {
806     "char_exclam",
807     "char",
808     "letter '!'"
809   },
810   {
811     "char_quotedbl",
812     "char",
813     "letter '\"'"
814   },
815   {
816     "char_numbersign",
817     "char",
818     "letter '#'"
819   },
820   {
821     "char_dollar",
822     "char",
823     "letter '$'"
824   },
825   {
826     "char_percent",
827     "char",
828     "letter '%'"
829   },
830   {
831     "char_ampersand",
832     "char",
833     "letter '&'"
834   },
835   {
836     "char_apostrophe",
837     "char",
838     "letter '''"
839   },
840   {
841     "char_parenleft",
842     "char",
843     "letter '('"
844   },
845   {
846     "char_parenright",
847     "char",
848     "letter ')'"
849   },
850   {
851     "char_asterisk",
852     "char",
853     "letter '*'"
854   },
855   {
856     "char_plus",
857     "char",
858     "letter '+'"
859   },
860   {
861     "char_comma",
862     "char",
863     "letter ','"
864   },
865   {
866     "char_minus",
867     "char",
868     "letter '-'"
869   },
870   {
871     "char_period",
872     "char",
873     "letter '.'"
874   },
875   {
876     "char_slash",
877     "char",
878     "letter '/'"
879   },
880   {
881     "char_0",
882     "char",
883     "letter '0'"
884   },
885   {
886     "char_1",
887     "char",
888     "letter '1'"
889   },
890   {
891     "char_2",
892     "char",
893     "letter '2'"
894   },
895   {
896     "char_3",
897     "char",
898     "letter '3'"
899   },
900   {
901     "char_4",
902     "char",
903     "letter '4'"
904   },
905   {
906     "char_5",
907     "char",
908     "letter '5'"
909   },
910   {
911     "char_6",
912     "char",
913     "letter '6'"
914   },
915   {
916     "char_7",
917     "char",
918     "letter '7'"
919   },
920   {
921     "char_8",
922     "char",
923     "letter '8'"
924   },
925   {
926     "char_9",
927     "char",
928     "letter '9'"
929   },
930   {
931     "char_colon",
932     "char",
933     "letter ':'"
934   },
935   {
936     "char_semicolon",
937     "char",
938     "letter ';'"
939   },
940   {
941     "char_less",
942     "char",
943     "letter '<'"
944   },
945   {
946     "char_equal",
947     "char",
948     "letter '='"
949   },
950   {
951     "char_greater",
952     "char",
953     "letter '>'"
954   },
955   {
956     "char_question",
957     "char",
958     "letter '?'"
959   },
960   {
961     "char_at",
962     "char",
963     "letter '@'"
964   },
965   {
966     "char_a",
967     "char",
968     "letter 'A'"
969   },
970   {
971     "char_b",
972     "char",
973     "letter 'B'"
974   },
975   {
976     "char_c",
977     "char",
978     "letter 'C'"
979   },
980   {
981     "char_d",
982     "char",
983     "letter 'D'"
984   },
985   {
986     "char_e",
987     "char",
988     "letter 'E'"
989   },
990   {
991     "char_f",
992     "char",
993     "letter 'F'"
994   },
995   {
996     "char_g",
997     "char",
998     "letter 'G'"
999   },
1000   {
1001     "char_h",
1002     "char",
1003     "letter 'H'"
1004   },
1005   {
1006     "char_i",
1007     "char",
1008     "letter 'I'"
1009   },
1010   {
1011     "char_j",
1012     "char",
1013     "letter 'J'"
1014   },
1015   {
1016     "char_k",
1017     "char",
1018     "letter 'K'"
1019   },
1020   {
1021     "char_l",
1022     "char",
1023     "letter 'L'"
1024   },
1025   {
1026     "char_m",
1027     "char",
1028     "letter 'M'"
1029   },
1030   {
1031     "char_n",
1032     "char",
1033     "letter 'N'"
1034   },
1035   {
1036     "char_o",
1037     "char",
1038     "letter 'O'"
1039   },
1040   {
1041     "char_p",
1042     "char",
1043     "letter 'P'"
1044   },
1045   {
1046     "char_q",
1047     "char",
1048     "letter 'Q'"
1049   },
1050   {
1051     "char_r",
1052     "char",
1053     "letter 'R'"
1054   },
1055   {
1056     "char_s",
1057     "char",
1058     "letter 'S'"
1059   },
1060   {
1061     "char_t",
1062     "char",
1063     "letter 'T'"
1064   },
1065   {
1066     "char_u",
1067     "char",
1068     "letter 'U'"
1069   },
1070   {
1071     "char_v",
1072     "char",
1073     "letter 'V'"
1074   },
1075   {
1076     "char_w",
1077     "char",
1078     "letter 'W'"
1079   },
1080   {
1081     "char_x",
1082     "char",
1083     "letter 'X'"
1084   },
1085   {
1086     "char_y",
1087     "char",
1088     "letter 'Y'"
1089   },
1090   {
1091     "char_z",
1092     "char",
1093     "letter 'Z'"
1094   },
1095   {
1096     "char_bracketleft",
1097     "char",
1098     "letter '['"
1099   },
1100   {
1101     "char_backslash",
1102     "char",
1103     "letter '\\'"
1104   },
1105   {
1106     "char_bracketright",
1107     "char",
1108     "letter ']'"
1109   },
1110   {
1111     "char_asciicircum",
1112     "char",
1113     "letter '^'"
1114   },
1115   {
1116     "char_underscore",
1117     "char",
1118     "letter '_'"
1119   },
1120   {
1121     "char_copyright",
1122     "char",
1123     "letter '\xa9'"
1124   },
1125   {
1126     "char_aumlaut",
1127     "char",
1128     "letter '\xc4'"
1129   },
1130   {
1131     "char_oumlaut",
1132     "char",
1133     "letter '\xd6'"
1134   },
1135   {
1136     "char_uumlaut",
1137     "char",
1138     "letter '\xdc'"
1139   },
1140   {
1141     "char_degree",
1142     "char",
1143     "letter '\xb0'"
1144   },
1145   {
1146     "char_trademark",
1147     "char",
1148     "letter '\xae'"
1149   },
1150   {
1151     "char_cursor",
1152     "char",
1153     "letter '\xa0'"
1154   },
1155   {
1156     "char_unused",
1157     "char",
1158     "letter ''"
1159   },
1160   {
1161     "char_unused",
1162     "char",
1163     "letter ''"
1164   },
1165   {
1166     "char_unused",
1167     "char",
1168     "letter ''"
1169   },
1170   {
1171     "char_unused",
1172     "char",
1173     "letter ''"
1174   },
1175   {
1176     "char_unused",
1177     "char",
1178     "letter ''"
1179   },
1180   {
1181     "char_unused",
1182     "char",
1183     "letter ''"
1184   },
1185   {
1186     "char_button",
1187     "char",
1188     "letter 'button'"
1189   },
1190   {
1191     "char_up",
1192     "char",
1193     "letter 'up'"
1194   },
1195   {
1196     "char_down",
1197     "char",
1198     "letter 'down'"
1199   },
1200   {
1201     "expandable_wall_horizontal",
1202     "wall",
1203     "growing wall (horizontal)"
1204   },
1205   {
1206     "expandable_wall_vertical",
1207     "wall",
1208     "growing wall (vertical)"
1209   },
1210   {
1211     "expandable_wall_any",
1212     "wall",
1213     "growing wall (any direction)"
1214   },
1215   {
1216     "em_gate_1",
1217     "gate",
1218     "door 1 (EM style)"
1219   },
1220   {
1221     "em_gate_2",
1222     "gate",
1223     "door 2 (EM style)"
1224   },
1225   {
1226     "em_gate_3",
1227     "gate",
1228     "door 3 (EM style)"
1229   },
1230   {
1231     "em_gate_4",
1232     "gate",
1233     "door 4 (EM style)"
1234   },
1235   {
1236     "em_key_2_file_obsolete",
1237     "obsolete",
1238     "key (OBSOLETE)"
1239   },
1240   {
1241     "em_key_3_file_obsolete",
1242     "obsolete",
1243     "key (OBSOLETE)"
1244   },
1245   {
1246     "em_key_4_file_obsolete",
1247     "obsolete",
1248     "key (OBSOLETE)"
1249   },
1250   {
1251     "sp_empty_space",
1252     "empty_space",
1253     "empty space"
1254   },
1255   {
1256     "sp_zonk",
1257     "sp_zonk",
1258     "zonk"
1259   },
1260   {
1261     "sp_base",
1262     "sp_base",
1263     "base"
1264   },
1265   {
1266     "sp_murphy",
1267     "player",
1268     "murphy"
1269   },
1270   {
1271     "sp_infotron",
1272     "sp_infotron",
1273     "infotron"
1274   },
1275   {
1276     "sp_chip_single",
1277     "wall",
1278     "chip (single)"
1279   },
1280   {
1281     "sp_hardware_gray",
1282     "wall",
1283     "hardware"
1284   },
1285   {
1286     "sp_exit_closed",
1287     "sp_exit",
1288     "exit"
1289   },
1290   {
1291     "sp_disk_orange",
1292     "sp_disk_orange",
1293     "orange disk"
1294   },
1295   {
1296     "sp_port_right",
1297     "sp_port",
1298     "port (leading right)"
1299   },
1300   {
1301     "sp_port_down",
1302     "sp_port",
1303     "port (leading down)"
1304   },
1305   {
1306     "sp_port_left",
1307     "sp_port",
1308     "port (leading left)"
1309   },
1310   {
1311     "sp_port_up",
1312     "sp_port",
1313     "port (leading up)"
1314   },
1315   {
1316     "sp_gravity_port_right",
1317     "sp_gravity_port",
1318     "gravity-on/off port (leading right)"
1319   },
1320   {
1321     "sp_gravity_port_down",
1322     "sp_gravity_port",
1323     "gravity-on/off port (leading down)"
1324   },
1325   {
1326     "sp_gravity_port_left",
1327     "sp_gravity_port",
1328     "gravity-on/off port (leading left)"
1329   },
1330   {
1331     "sp_gravity_port_up",
1332     "sp_gravity_port",
1333     "gravity-on/off port (leading up)"
1334   },
1335   {
1336     "sp_sniksnak",
1337     "sp_sniksnak",
1338     "snik snak"
1339   },
1340   {
1341     "sp_disk_yellow",
1342     "sp_disk_yellow",
1343     "yellow disk"
1344   },
1345   {
1346     "sp_terminal",
1347     "sp_terminal",
1348     "terminal"
1349   },
1350   {
1351     "sp_disk_red",
1352     "dynamite",
1353     "red disk"
1354   },
1355   {
1356     "sp_port_vertical",
1357     "sp_port",
1358     "port (vertical)"
1359   },
1360   {
1361     "sp_port_horizontal",
1362     "sp_port",
1363     "port (horizontal)"
1364   },
1365   {
1366     "sp_port_any",
1367     "sp_port",
1368     "port (any direction)"
1369   },
1370   {
1371     "sp_electron",
1372     "sp_electron",
1373     "electron"
1374   },
1375   {
1376     "sp_buggy_base",
1377     "sp_buggy_base",
1378     "buggy base"
1379   },
1380   {
1381     "sp_chip_left",
1382     "wall",
1383     "chip (left half)"
1384   },
1385   {
1386     "sp_chip_right",
1387     "wall",
1388     "chip (right half)"
1389   },
1390   {
1391     "sp_hardware_base_1",
1392     "wall",
1393     "hardware"
1394   },
1395   {
1396     "sp_hardware_green",
1397     "wall",
1398     "hardware"
1399   },
1400   {
1401     "sp_hardware_blue",
1402     "wall",
1403     "hardware"
1404   },
1405   {
1406     "sp_hardware_red",
1407     "wall",
1408     "hardware"
1409   },
1410   {
1411     "sp_hardware_yellow",
1412     "wall",
1413     "hardware"
1414   },
1415   {
1416     "sp_hardware_base_2",
1417     "wall",
1418     "hardware"
1419   },
1420   {
1421     "sp_hardware_base_3",
1422     "wall",
1423     "hardware"
1424   },
1425   {
1426     "sp_hardware_base_4",
1427     "wall",
1428     "hardware"
1429   },
1430   {
1431     "sp_hardware_base_5",
1432     "wall",
1433     "hardware"
1434   },
1435   {
1436     "sp_hardware_base_6",
1437     "wall",
1438     "hardware"
1439   },
1440   {
1441     "sp_chip_top",
1442     "wall",
1443     "chip (upper half)"
1444   },
1445   {
1446     "sp_chip_bottom",
1447     "wall",
1448     "chip (lower half)"
1449   },
1450   {
1451     "em_gate_1_gray",
1452     "gate",
1453     "gray door (EM style, key 1)"
1454   },
1455   {
1456     "em_gate_2_gray",
1457     "gate",
1458     "gray door (EM style, key 2)"
1459   },
1460   {
1461     "em_gate_3_gray",
1462     "gate",
1463     "gray door (EM style, key 3)"
1464   },
1465   {
1466     "em_gate_4_gray",
1467     "gate",
1468     "gray door (EM style, key 4)"
1469   },
1470   {
1471     "em_dynamite",
1472     "dynamite",
1473     "dynamite (EM style)"
1474   },
1475   {
1476     "em_dynamite.active",
1477     "dynamite",
1478     "burning dynamite (EM style)"
1479   },
1480   {
1481     "pearl",
1482     "pearl",
1483     "pearl"
1484   },
1485   {
1486     "crystal",
1487     "crystal",
1488     "crystal"
1489   },
1490   {
1491     "wall_pearl",
1492     "wall",
1493     "wall with pearl"
1494   },
1495   {
1496     "wall_crystal",
1497     "wall",
1498     "wall with crystal"
1499   },
1500   {
1501     "dc_gate_white",
1502     "gate",
1503     "white door"
1504   },
1505   {
1506     "dc_gate_white_gray",
1507     "gate",
1508     "gray door (opened by white key)"
1509   },
1510   {
1511     "dc_key_white",
1512     "key",
1513     "white key"
1514   },
1515   {
1516     "shield_normal",
1517     "shield_normal",
1518     "shield (normal)"
1519   },
1520   {
1521     "extra_time",
1522     "extra_time",
1523     "extra time"
1524   },
1525   {
1526     "switchgate_open",
1527     "switchgate",
1528     "switch gate (open)"
1529   },
1530   {
1531     "switchgate_closed",
1532     "switchgate",
1533     "switch gate (closed)"
1534   },
1535   {
1536     "switchgate_switch_up",
1537     "switchgate_switch",
1538     "switch for switch gate"
1539   },
1540   {
1541     "switchgate_switch_down",
1542     "switchgate_switch",
1543     "switch for switch gate"
1544   },
1545   {
1546     "unused_269",
1547     "unused",
1548     "-"
1549   },
1550   {
1551     "unused_270",
1552     "unused",
1553     "-"
1554   },
1555   {
1556     "conveyor_belt_1_left",
1557     "conveyor_belt",
1558     "conveyor belt 1 (left)"
1559   },
1560   {
1561     "conveyor_belt_1_middle",
1562     "conveyor_belt",
1563     "conveyor belt 1 (middle)"
1564   },
1565   {
1566     "conveyor_belt_1_right",
1567     "conveyor_belt",
1568     "conveyor belt 1 (right)"
1569   },
1570   {
1571     "conveyor_belt_1_switch_left",
1572     "conveyor_belt_switch",
1573     "switch for conveyor belt 1 (left)"
1574   },
1575   {
1576     "conveyor_belt_1_switch_middle",
1577     "conveyor_belt_switch",
1578     "switch for conveyor belt 1 (middle)"
1579   },
1580   {
1581     "conveyor_belt_1_switch_right",
1582     "conveyor_belt_switch",
1583     "switch for conveyor belt 1 (right)"
1584   },
1585   {
1586     "conveyor_belt_2_left",
1587     "conveyor_belt",
1588     "conveyor belt 2 (left)"
1589   },
1590   {
1591     "conveyor_belt_2_middle",
1592     "conveyor_belt",
1593     "conveyor belt 2 (middle)"
1594   },
1595   {
1596     "conveyor_belt_2_right",
1597     "conveyor_belt",
1598     "conveyor belt 2 (right)"
1599   },
1600   {
1601     "conveyor_belt_2_switch_left",
1602     "conveyor_belt_switch",
1603     "switch for conveyor belt 2 (left)"
1604   },
1605   {
1606     "conveyor_belt_2_switch_middle",
1607     "conveyor_belt_switch",
1608     "switch for conveyor belt 2 (middle)"
1609   },
1610   {
1611     "conveyor_belt_2_switch_right",
1612     "conveyor_belt_switch",
1613     "switch for conveyor belt 2 (right)"
1614   },
1615   {
1616     "conveyor_belt_3_left",
1617     "conveyor_belt",
1618     "conveyor belt 3 (left)"
1619   },
1620   {
1621     "conveyor_belt_3_middle",
1622     "conveyor_belt",
1623     "conveyor belt 3 (middle)"
1624   },
1625   {
1626     "conveyor_belt_3_right",
1627     "conveyor_belt",
1628     "conveyor belt 3 (right)"
1629   },
1630   {
1631     "conveyor_belt_3_switch_left",
1632     "conveyor_belt_switch",
1633     "switch for conveyor belt 3 (left)"
1634   },
1635   {
1636     "conveyor_belt_3_switch_middle",
1637     "conveyor_belt_switch",
1638     "switch for conveyor belt 3 (middle)"
1639   },
1640   {
1641     "conveyor_belt_3_switch_right",
1642     "conveyor_belt_switch",
1643     "switch for conveyor belt 3 (right)"
1644   },
1645   {
1646     "conveyor_belt_4_left",
1647     "conveyor_belt",
1648     "conveyor belt 4 (left)"
1649   },
1650   {
1651     "conveyor_belt_4_middle",
1652     "conveyor_belt",
1653     "conveyor belt 4 (middle)"
1654   },
1655   {
1656     "conveyor_belt_4_right",
1657     "conveyor_belt",
1658     "conveyor belt 4 (right)"
1659   },
1660   {
1661     "conveyor_belt_4_switch_left",
1662     "conveyor_belt_switch",
1663     "switch for conveyor belt 4 (left)"
1664   },
1665   {
1666     "conveyor_belt_4_switch_middle",
1667     "conveyor_belt_switch",
1668     "switch for conveyor belt 4 (middle)"
1669   },
1670   {
1671     "conveyor_belt_4_switch_right",
1672     "conveyor_belt_switch",
1673     "switch for conveyor belt 4 (right)"
1674   },
1675   {
1676     "landmine",
1677     "landmine",
1678     "land mine (not removable)"
1679   },
1680   {
1681     "envelope_obsolete",
1682     "obsolete",
1683     "envelope (OBSOLETE)"
1684   },
1685   {
1686     "light_switch",
1687     "light_switch",
1688     "light switch (off)"
1689   },
1690   {
1691     "light_switch.active",
1692     "light_switch",
1693     "light switch (on)"
1694   },
1695   {
1696     "sign_exclamation",
1697     "sign",
1698     "sign (exclamation)"
1699   },
1700   {
1701     "sign_radioactivity",
1702     "sign",
1703     "sign (radio activity)"
1704   },
1705   {
1706     "sign_stop",
1707     "sign",
1708     "sign (stop)"
1709   },
1710   {
1711     "sign_wheelchair",
1712     "sign",
1713     "sign (wheel chair)"
1714   },
1715   {
1716     "sign_parking",
1717     "sign",
1718     "sign (parking)"
1719   },
1720   {
1721     "sign_no_entry",
1722     "sign",
1723     "sign (no entry)"
1724   },
1725   {
1726     "sign_unused_1",
1727     "sign",
1728     "sign (unused)"
1729   },
1730   {
1731     "sign_give_way",
1732     "sign",
1733     "sign (give way)"
1734   },
1735   {
1736     "sign_entry_forbidden",
1737     "sign",
1738     "sign (entry forbidden)"
1739   },
1740   {
1741     "sign_emergency_exit",
1742     "sign",
1743     "sign (emergency exit)"
1744   },
1745   {
1746     "sign_yin_yang",
1747     "sign",
1748     "sign (yin yang)"
1749   },
1750   {
1751     "sign_unused_2",
1752     "sign",
1753     "sign (unused)"
1754   },
1755   {
1756     "mole.left",
1757     "mole",
1758     "mole (starts moving left)"
1759   },
1760   {
1761     "mole.right",
1762     "mole",
1763     "mole (starts moving right)"
1764   },
1765   {
1766     "mole.up",
1767     "mole",
1768     "mole (starts moving up)"
1769   },
1770   {
1771     "mole.down",
1772     "mole",
1773     "mole (starts moving down)"
1774   },
1775   {
1776     "steelwall_slippery",
1777     "steelwall",
1778     "slippery steel wall"
1779   },
1780   {
1781     "invisible_sand",
1782     "sand",
1783     "invisible sand"
1784   },
1785   {
1786     "dx_unknown_15",
1787     "unknown",
1788     "dx unknown element 15"
1789   },
1790   {
1791     "dx_unknown_42",
1792     "unknown",
1793     "dx unknown element 42"
1794   },
1795   {
1796     "unused_319",
1797     "unused",
1798     "(not used)"
1799   },
1800   {
1801     "unused_320",
1802     "unused",
1803     "(not used)"
1804   },
1805   {
1806     "shield_deadly",
1807     "shield_deadly",
1808     "shield (deadly, kills enemies)"
1809   },
1810   {
1811     "timegate_open",
1812     "timegate",
1813     "time gate (open)"
1814   },
1815   {
1816     "timegate_closed",
1817     "timegate",
1818     "time gate (closed)"
1819   },
1820   {
1821     "timegate_switch.active",
1822     "timegate_switch",
1823     "switch for time gate"
1824   },
1825   {
1826     "timegate_switch",
1827     "timegate_switch",
1828     "switch for time gate"
1829   },
1830   {
1831     "balloon",
1832     "balloon",
1833     "balloon"
1834   },
1835   {
1836     "balloon_switch_left",
1837     "balloon_switch",
1838     "wind switch (left)"
1839   },
1840   {
1841     "balloon_switch_right",
1842     "balloon_switch",
1843     "wind switch (right)"
1844   },
1845   {
1846     "balloon_switch_up",
1847     "balloon_switch",
1848     "wind switch (up)"
1849   },
1850   {
1851     "balloon_switch_down",
1852     "balloon_switch",
1853     "wind switch (down)"
1854   },
1855   {
1856     "balloon_switch_any",
1857     "balloon_switch",
1858     "wind switch (any direction)"
1859   },
1860   {
1861     "emc_steelwall_1",
1862     "steelwall",
1863     "steel wall 1 (EMC style)"
1864   },
1865   {
1866     "emc_steelwall_2",
1867     "steelwall",
1868     "steel wall 2 (EMC style)"
1869   },
1870   {
1871     "emc_steelwall_3",
1872     "steelwall",
1873     "steel wall 3 (EMC style)"
1874   },
1875   {
1876     "emc_steelwall_4",
1877     "steelwall",
1878     "steel wall 4 (EMC style)"
1879   },
1880   {
1881     "emc_wall_1",
1882     "wall",
1883     "normal wall 1 (EMC style)"
1884   },
1885   {
1886     "emc_wall_2",
1887     "wall",
1888     "normal wall 2 (EMC style)"
1889   },
1890   {
1891     "emc_wall_3",
1892     "wall",
1893     "normal wall 3 (EMC style)"
1894   },
1895   {
1896     "emc_wall_4",
1897     "wall",
1898     "normal wall 4 (EMC style)"
1899   },
1900   {
1901     "emc_wall_5",
1902     "wall",
1903     "normal wall 5 (EMC style)"
1904   },
1905   {
1906     "emc_wall_6",
1907     "wall",
1908     "normal wall 6 (EMC style)"
1909   },
1910   {
1911     "emc_wall_7",
1912     "wall",
1913     "normal wall 7 (EMC style)"
1914   },
1915   {
1916     "emc_wall_8",
1917     "wall",
1918     "normal wall 8 (EMC style)"
1919   },
1920   {
1921     "tube_any",
1922     "tube",
1923     "tube (any direction)"
1924   },
1925   {
1926     "tube_vertical",
1927     "tube",
1928     "tube (vertical)"
1929   },
1930   {
1931     "tube_horizontal",
1932     "tube",
1933     "tube (horizontal)"
1934   },
1935   {
1936     "tube_vertical_left",
1937     "tube",
1938     "tube (vertical & left)"
1939   },
1940   {
1941     "tube_vertical_right",
1942     "tube",
1943     "tube (vertical & right)"
1944   },
1945   {
1946     "tube_horizontal_up",
1947     "tube",
1948     "tube (horizontal & up)"
1949   },
1950   {
1951     "tube_horizontal_down",
1952     "tube",
1953     "tube (horizontal & down)"
1954   },
1955   {
1956     "tube_left_up",
1957     "tube",
1958     "tube (left & up)"
1959   },
1960   {
1961     "tube_left_down",
1962     "tube",
1963     "tube (left & down)"
1964   },
1965   {
1966     "tube_right_up",
1967     "tube",
1968     "tube (right & up)"
1969   },
1970   {
1971     "tube_right_down",
1972     "tube",
1973     "tube (right & down)"
1974   },
1975   {
1976     "spring",
1977     "spring",
1978     "spring"
1979   },
1980   {
1981     "trap",
1982     "trap",
1983     "trap"
1984   },
1985   {
1986     "dx_supabomb",
1987     "bomb",
1988     "stable bomb (DX style)"
1989   },
1990   {
1991     "unused_358",
1992     "unused",
1993     "-"
1994   },
1995   {
1996     "unused_359",
1997     "unused",
1998     "-"
1999   },
2000   {
2001     "custom_1",
2002     "custom",
2003     "custom element 1"
2004   },
2005   {
2006     "custom_2",
2007     "custom",
2008     "custom element 2"
2009   },
2010   {
2011     "custom_3",
2012     "custom",
2013     "custom element 3"
2014   },
2015   {
2016     "custom_4",
2017     "custom",
2018     "custom element 4"
2019   },
2020   {
2021     "custom_5",
2022     "custom",
2023     "custom element 5"
2024   },
2025   {
2026     "custom_6",
2027     "custom",
2028     "custom element 6"
2029   },
2030   {
2031     "custom_7",
2032     "custom",
2033     "custom element 7"
2034   },
2035   {
2036     "custom_8",
2037     "custom",
2038     "custom element 8"
2039   },
2040   {
2041     "custom_9",
2042     "custom",
2043     "custom element 9"
2044   },
2045   {
2046     "custom_10",
2047     "custom",
2048     "custom element 10"
2049   },
2050   {
2051     "custom_11",
2052     "custom",
2053     "custom element 11"
2054   },
2055   {
2056     "custom_12",
2057     "custom",
2058     "custom element 12"
2059   },
2060   {
2061     "custom_13",
2062     "custom",
2063     "custom element 13"
2064   },
2065   {
2066     "custom_14",
2067     "custom",
2068     "custom element 14"
2069   },
2070   {
2071     "custom_15",
2072     "custom",
2073     "custom element 15"
2074   },
2075   {
2076     "custom_16",
2077     "custom",
2078     "custom element 16"
2079   },
2080   {
2081     "custom_17",
2082     "custom",
2083     "custom element 17"
2084   },
2085   {
2086     "custom_18",
2087     "custom",
2088     "custom element 18"
2089   },
2090   {
2091     "custom_19",
2092     "custom",
2093     "custom element 19"
2094   },
2095   {
2096     "custom_20",
2097     "custom",
2098     "custom element 20"
2099   },
2100   {
2101     "custom_21",
2102     "custom",
2103     "custom element 21"
2104   },
2105   {
2106     "custom_22",
2107     "custom",
2108     "custom element 22"
2109   },
2110   {
2111     "custom_23",
2112     "custom",
2113     "custom element 23"
2114   },
2115   {
2116     "custom_24",
2117     "custom",
2118     "custom element 24"
2119   },
2120   {
2121     "custom_25",
2122     "custom",
2123     "custom element 25"
2124   },
2125   {
2126     "custom_26",
2127     "custom",
2128     "custom element 26"
2129   },
2130   {
2131     "custom_27",
2132     "custom",
2133     "custom element 27"
2134   },
2135   {
2136     "custom_28",
2137     "custom",
2138     "custom element 28"
2139   },
2140   {
2141     "custom_29",
2142     "custom",
2143     "custom element 29"
2144   },
2145   {
2146     "custom_30",
2147     "custom",
2148     "custom element 30"
2149   },
2150   {
2151     "custom_31",
2152     "custom",
2153     "custom element 31"
2154   },
2155   {
2156     "custom_32",
2157     "custom",
2158     "custom element 32"
2159   },
2160   {
2161     "custom_33",
2162     "custom",
2163     "custom element 33"
2164   },
2165   {
2166     "custom_34",
2167     "custom",
2168     "custom element 34"
2169   },
2170   {
2171     "custom_35",
2172     "custom",
2173     "custom element 35"
2174   },
2175   {
2176     "custom_36",
2177     "custom",
2178     "custom element 36"
2179   },
2180   {
2181     "custom_37",
2182     "custom",
2183     "custom element 37"
2184   },
2185   {
2186     "custom_38",
2187     "custom",
2188     "custom element 38"
2189   },
2190   {
2191     "custom_39",
2192     "custom",
2193     "custom element 39"
2194   },
2195   {
2196     "custom_40",
2197     "custom",
2198     "custom element 40"
2199   },
2200   {
2201     "custom_41",
2202     "custom",
2203     "custom element 41"
2204   },
2205   {
2206     "custom_42",
2207     "custom",
2208     "custom element 42"
2209   },
2210   {
2211     "custom_43",
2212     "custom",
2213     "custom element 43"
2214   },
2215   {
2216     "custom_44",
2217     "custom",
2218     "custom element 44"
2219   },
2220   {
2221     "custom_45",
2222     "custom",
2223     "custom element 45"
2224   },
2225   {
2226     "custom_46",
2227     "custom",
2228     "custom element 46"
2229   },
2230   {
2231     "custom_47",
2232     "custom",
2233     "custom element 47"
2234   },
2235   {
2236     "custom_48",
2237     "custom",
2238     "custom element 48"
2239   },
2240   {
2241     "custom_49",
2242     "custom",
2243     "custom element 49"
2244   },
2245   {
2246     "custom_50",
2247     "custom",
2248     "custom element 50"
2249   },
2250   {
2251     "custom_51",
2252     "custom",
2253     "custom element 51"
2254   },
2255   {
2256     "custom_52",
2257     "custom",
2258     "custom element 52"
2259   },
2260   {
2261     "custom_53",
2262     "custom",
2263     "custom element 53"
2264   },
2265   {
2266     "custom_54",
2267     "custom",
2268     "custom element 54"
2269   },
2270   {
2271     "custom_55",
2272     "custom",
2273     "custom element 55"
2274   },
2275   {
2276     "custom_56",
2277     "custom",
2278     "custom element 56"
2279   },
2280   {
2281     "custom_57",
2282     "custom",
2283     "custom element 57"
2284   },
2285   {
2286     "custom_58",
2287     "custom",
2288     "custom element 58"
2289   },
2290   {
2291     "custom_59",
2292     "custom",
2293     "custom element 59"
2294   },
2295   {
2296     "custom_60",
2297     "custom",
2298     "custom element 60"
2299   },
2300   {
2301     "custom_61",
2302     "custom",
2303     "custom element 61"
2304   },
2305   {
2306     "custom_62",
2307     "custom",
2308     "custom element 62"
2309   },
2310   {
2311     "custom_63",
2312     "custom",
2313     "custom element 63"
2314   },
2315   {
2316     "custom_64",
2317     "custom",
2318     "custom element 64"
2319   },
2320   {
2321     "custom_65",
2322     "custom",
2323     "custom element 65"
2324   },
2325   {
2326     "custom_66",
2327     "custom",
2328     "custom element 66"
2329   },
2330   {
2331     "custom_67",
2332     "custom",
2333     "custom element 67"
2334   },
2335   {
2336     "custom_68",
2337     "custom",
2338     "custom element 68"
2339   },
2340   {
2341     "custom_69",
2342     "custom",
2343     "custom element 69"
2344   },
2345   {
2346     "custom_70",
2347     "custom",
2348     "custom element 70"
2349   },
2350   {
2351     "custom_71",
2352     "custom",
2353     "custom element 71"
2354   },
2355   {
2356     "custom_72",
2357     "custom",
2358     "custom element 72"
2359   },
2360   {
2361     "custom_73",
2362     "custom",
2363     "custom element 73"
2364   },
2365   {
2366     "custom_74",
2367     "custom",
2368     "custom element 74"
2369   },
2370   {
2371     "custom_75",
2372     "custom",
2373     "custom element 75"
2374   },
2375   {
2376     "custom_76",
2377     "custom",
2378     "custom element 76"
2379   },
2380   {
2381     "custom_77",
2382     "custom",
2383     "custom element 77"
2384   },
2385   {
2386     "custom_78",
2387     "custom",
2388     "custom element 78"
2389   },
2390   {
2391     "custom_79",
2392     "custom",
2393     "custom element 79"
2394   },
2395   {
2396     "custom_80",
2397     "custom",
2398     "custom element 80"
2399   },
2400   {
2401     "custom_81",
2402     "custom",
2403     "custom element 81"
2404   },
2405   {
2406     "custom_82",
2407     "custom",
2408     "custom element 82"
2409   },
2410   {
2411     "custom_83",
2412     "custom",
2413     "custom element 83"
2414   },
2415   {
2416     "custom_84",
2417     "custom",
2418     "custom element 84"
2419   },
2420   {
2421     "custom_85",
2422     "custom",
2423     "custom element 85"
2424   },
2425   {
2426     "custom_86",
2427     "custom",
2428     "custom element 86"
2429   },
2430   {
2431     "custom_87",
2432     "custom",
2433     "custom element 87"
2434   },
2435   {
2436     "custom_88",
2437     "custom",
2438     "custom element 88"
2439   },
2440   {
2441     "custom_89",
2442     "custom",
2443     "custom element 89"
2444   },
2445   {
2446     "custom_90",
2447     "custom",
2448     "custom element 90"
2449   },
2450   {
2451     "custom_91",
2452     "custom",
2453     "custom element 91"
2454   },
2455   {
2456     "custom_92",
2457     "custom",
2458     "custom element 92"
2459   },
2460   {
2461     "custom_93",
2462     "custom",
2463     "custom element 93"
2464   },
2465   {
2466     "custom_94",
2467     "custom",
2468     "custom element 94"
2469   },
2470   {
2471     "custom_95",
2472     "custom",
2473     "custom element 95"
2474   },
2475   {
2476     "custom_96",
2477     "custom",
2478     "custom element 96"
2479   },
2480   {
2481     "custom_97",
2482     "custom",
2483     "custom element 97"
2484   },
2485   {
2486     "custom_98",
2487     "custom",
2488     "custom element 98"
2489   },
2490   {
2491     "custom_99",
2492     "custom",
2493     "custom element 99"
2494   },
2495   {
2496     "custom_100",
2497     "custom",
2498     "custom element 100"
2499   },
2500   {
2501     "custom_101",
2502     "custom",
2503     "custom element 101"
2504   },
2505   {
2506     "custom_102",
2507     "custom",
2508     "custom element 102"
2509   },
2510   {
2511     "custom_103",
2512     "custom",
2513     "custom element 103"
2514   },
2515   {
2516     "custom_104",
2517     "custom",
2518     "custom element 104"
2519   },
2520   {
2521     "custom_105",
2522     "custom",
2523     "custom element 105"
2524   },
2525   {
2526     "custom_106",
2527     "custom",
2528     "custom element 106"
2529   },
2530   {
2531     "custom_107",
2532     "custom",
2533     "custom element 107"
2534   },
2535   {
2536     "custom_108",
2537     "custom",
2538     "custom element 108"
2539   },
2540   {
2541     "custom_109",
2542     "custom",
2543     "custom element 109"
2544   },
2545   {
2546     "custom_110",
2547     "custom",
2548     "custom element 110"
2549   },
2550   {
2551     "custom_111",
2552     "custom",
2553     "custom element 111"
2554   },
2555   {
2556     "custom_112",
2557     "custom",
2558     "custom element 112"
2559   },
2560   {
2561     "custom_113",
2562     "custom",
2563     "custom element 113"
2564   },
2565   {
2566     "custom_114",
2567     "custom",
2568     "custom element 114"
2569   },
2570   {
2571     "custom_115",
2572     "custom",
2573     "custom element 115"
2574   },
2575   {
2576     "custom_116",
2577     "custom",
2578     "custom element 116"
2579   },
2580   {
2581     "custom_117",
2582     "custom",
2583     "custom element 117"
2584   },
2585   {
2586     "custom_118",
2587     "custom",
2588     "custom element 118"
2589   },
2590   {
2591     "custom_119",
2592     "custom",
2593     "custom element 119"
2594   },
2595   {
2596     "custom_120",
2597     "custom",
2598     "custom element 120"
2599   },
2600   {
2601     "custom_121",
2602     "custom",
2603     "custom element 121"
2604   },
2605   {
2606     "custom_122",
2607     "custom",
2608     "custom element 122"
2609   },
2610   {
2611     "custom_123",
2612     "custom",
2613     "custom element 123"
2614   },
2615   {
2616     "custom_124",
2617     "custom",
2618     "custom element 124"
2619   },
2620   {
2621     "custom_125",
2622     "custom",
2623     "custom element 125"
2624   },
2625   {
2626     "custom_126",
2627     "custom",
2628     "custom element 126"
2629   },
2630   {
2631     "custom_127",
2632     "custom",
2633     "custom element 127"
2634   },
2635   {
2636     "custom_128",
2637     "custom",
2638     "custom element 128"
2639   },
2640   {
2641     "custom_129",
2642     "custom",
2643     "custom element 129"
2644   },
2645   {
2646     "custom_130",
2647     "custom",
2648     "custom element 130"
2649   },
2650   {
2651     "custom_131",
2652     "custom",
2653     "custom element 131"
2654   },
2655   {
2656     "custom_132",
2657     "custom",
2658     "custom element 132"
2659   },
2660   {
2661     "custom_133",
2662     "custom",
2663     "custom element 133"
2664   },
2665   {
2666     "custom_134",
2667     "custom",
2668     "custom element 134"
2669   },
2670   {
2671     "custom_135",
2672     "custom",
2673     "custom element 135"
2674   },
2675   {
2676     "custom_136",
2677     "custom",
2678     "custom element 136"
2679   },
2680   {
2681     "custom_137",
2682     "custom",
2683     "custom element 137"
2684   },
2685   {
2686     "custom_138",
2687     "custom",
2688     "custom element 138"
2689   },
2690   {
2691     "custom_139",
2692     "custom",
2693     "custom element 139"
2694   },
2695   {
2696     "custom_140",
2697     "custom",
2698     "custom element 140"
2699   },
2700   {
2701     "custom_141",
2702     "custom",
2703     "custom element 141"
2704   },
2705   {
2706     "custom_142",
2707     "custom",
2708     "custom element 142"
2709   },
2710   {
2711     "custom_143",
2712     "custom",
2713     "custom element 143"
2714   },
2715   {
2716     "custom_144",
2717     "custom",
2718     "custom element 144"
2719   },
2720   {
2721     "custom_145",
2722     "custom",
2723     "custom element 145"
2724   },
2725   {
2726     "custom_146",
2727     "custom",
2728     "custom element 146"
2729   },
2730   {
2731     "custom_147",
2732     "custom",
2733     "custom element 147"
2734   },
2735   {
2736     "custom_148",
2737     "custom",
2738     "custom element 148"
2739   },
2740   {
2741     "custom_149",
2742     "custom",
2743     "custom element 149"
2744   },
2745   {
2746     "custom_150",
2747     "custom",
2748     "custom element 150"
2749   },
2750   {
2751     "custom_151",
2752     "custom",
2753     "custom element 151"
2754   },
2755   {
2756     "custom_152",
2757     "custom",
2758     "custom element 152"
2759   },
2760   {
2761     "custom_153",
2762     "custom",
2763     "custom element 153"
2764   },
2765   {
2766     "custom_154",
2767     "custom",
2768     "custom element 154"
2769   },
2770   {
2771     "custom_155",
2772     "custom",
2773     "custom element 155"
2774   },
2775   {
2776     "custom_156",
2777     "custom",
2778     "custom element 156"
2779   },
2780   {
2781     "custom_157",
2782     "custom",
2783     "custom element 157"
2784   },
2785   {
2786     "custom_158",
2787     "custom",
2788     "custom element 158"
2789   },
2790   {
2791     "custom_159",
2792     "custom",
2793     "custom element 159"
2794   },
2795   {
2796     "custom_160",
2797     "custom",
2798     "custom element 160"
2799   },
2800   {
2801     "custom_161",
2802     "custom",
2803     "custom element 161"
2804   },
2805   {
2806     "custom_162",
2807     "custom",
2808     "custom element 162"
2809   },
2810   {
2811     "custom_163",
2812     "custom",
2813     "custom element 163"
2814   },
2815   {
2816     "custom_164",
2817     "custom",
2818     "custom element 164"
2819   },
2820   {
2821     "custom_165",
2822     "custom",
2823     "custom element 165"
2824   },
2825   {
2826     "custom_166",
2827     "custom",
2828     "custom element 166"
2829   },
2830   {
2831     "custom_167",
2832     "custom",
2833     "custom element 167"
2834   },
2835   {
2836     "custom_168",
2837     "custom",
2838     "custom element 168"
2839   },
2840   {
2841     "custom_169",
2842     "custom",
2843     "custom element 169"
2844   },
2845   {
2846     "custom_170",
2847     "custom",
2848     "custom element 170"
2849   },
2850   {
2851     "custom_171",
2852     "custom",
2853     "custom element 171"
2854   },
2855   {
2856     "custom_172",
2857     "custom",
2858     "custom element 172"
2859   },
2860   {
2861     "custom_173",
2862     "custom",
2863     "custom element 173"
2864   },
2865   {
2866     "custom_174",
2867     "custom",
2868     "custom element 174"
2869   },
2870   {
2871     "custom_175",
2872     "custom",
2873     "custom element 175"
2874   },
2875   {
2876     "custom_176",
2877     "custom",
2878     "custom element 176"
2879   },
2880   {
2881     "custom_177",
2882     "custom",
2883     "custom element 177"
2884   },
2885   {
2886     "custom_178",
2887     "custom",
2888     "custom element 178"
2889   },
2890   {
2891     "custom_179",
2892     "custom",
2893     "custom element 179"
2894   },
2895   {
2896     "custom_180",
2897     "custom",
2898     "custom element 180"
2899   },
2900   {
2901     "custom_181",
2902     "custom",
2903     "custom element 181"
2904   },
2905   {
2906     "custom_182",
2907     "custom",
2908     "custom element 182"
2909   },
2910   {
2911     "custom_183",
2912     "custom",
2913     "custom element 183"
2914   },
2915   {
2916     "custom_184",
2917     "custom",
2918     "custom element 184"
2919   },
2920   {
2921     "custom_185",
2922     "custom",
2923     "custom element 185"
2924   },
2925   {
2926     "custom_186",
2927     "custom",
2928     "custom element 186"
2929   },
2930   {
2931     "custom_187",
2932     "custom",
2933     "custom element 187"
2934   },
2935   {
2936     "custom_188",
2937     "custom",
2938     "custom element 188"
2939   },
2940   {
2941     "custom_189",
2942     "custom",
2943     "custom element 189"
2944   },
2945   {
2946     "custom_190",
2947     "custom",
2948     "custom element 190"
2949   },
2950   {
2951     "custom_191",
2952     "custom",
2953     "custom element 191"
2954   },
2955   {
2956     "custom_192",
2957     "custom",
2958     "custom element 192"
2959   },
2960   {
2961     "custom_193",
2962     "custom",
2963     "custom element 193"
2964   },
2965   {
2966     "custom_194",
2967     "custom",
2968     "custom element 194"
2969   },
2970   {
2971     "custom_195",
2972     "custom",
2973     "custom element 195"
2974   },
2975   {
2976     "custom_196",
2977     "custom",
2978     "custom element 196"
2979   },
2980   {
2981     "custom_197",
2982     "custom",
2983     "custom element 197"
2984   },
2985   {
2986     "custom_198",
2987     "custom",
2988     "custom element 198"
2989   },
2990   {
2991     "custom_199",
2992     "custom",
2993     "custom element 199"
2994   },
2995   {
2996     "custom_200",
2997     "custom",
2998     "custom element 200"
2999   },
3000   {
3001     "custom_201",
3002     "custom",
3003     "custom element 201"
3004   },
3005   {
3006     "custom_202",
3007     "custom",
3008     "custom element 202"
3009   },
3010   {
3011     "custom_203",
3012     "custom",
3013     "custom element 203"
3014   },
3015   {
3016     "custom_204",
3017     "custom",
3018     "custom element 204"
3019   },
3020   {
3021     "custom_205",
3022     "custom",
3023     "custom element 205"
3024   },
3025   {
3026     "custom_206",
3027     "custom",
3028     "custom element 206"
3029   },
3030   {
3031     "custom_207",
3032     "custom",
3033     "custom element 207"
3034   },
3035   {
3036     "custom_208",
3037     "custom",
3038     "custom element 208"
3039   },
3040   {
3041     "custom_209",
3042     "custom",
3043     "custom element 209"
3044   },
3045   {
3046     "custom_210",
3047     "custom",
3048     "custom element 210"
3049   },
3050   {
3051     "custom_211",
3052     "custom",
3053     "custom element 211"
3054   },
3055   {
3056     "custom_212",
3057     "custom",
3058     "custom element 212"
3059   },
3060   {
3061     "custom_213",
3062     "custom",
3063     "custom element 213"
3064   },
3065   {
3066     "custom_214",
3067     "custom",
3068     "custom element 214"
3069   },
3070   {
3071     "custom_215",
3072     "custom",
3073     "custom element 215"
3074   },
3075   {
3076     "custom_216",
3077     "custom",
3078     "custom element 216"
3079   },
3080   {
3081     "custom_217",
3082     "custom",
3083     "custom element 217"
3084   },
3085   {
3086     "custom_218",
3087     "custom",
3088     "custom element 218"
3089   },
3090   {
3091     "custom_219",
3092     "custom",
3093     "custom element 219"
3094   },
3095   {
3096     "custom_220",
3097     "custom",
3098     "custom element 220"
3099   },
3100   {
3101     "custom_221",
3102     "custom",
3103     "custom element 221"
3104   },
3105   {
3106     "custom_222",
3107     "custom",
3108     "custom element 222"
3109   },
3110   {
3111     "custom_223",
3112     "custom",
3113     "custom element 223"
3114   },
3115   {
3116     "custom_224",
3117     "custom",
3118     "custom element 224"
3119   },
3120   {
3121     "custom_225",
3122     "custom",
3123     "custom element 225"
3124   },
3125   {
3126     "custom_226",
3127     "custom",
3128     "custom element 226"
3129   },
3130   {
3131     "custom_227",
3132     "custom",
3133     "custom element 227"
3134   },
3135   {
3136     "custom_228",
3137     "custom",
3138     "custom element 228"
3139   },
3140   {
3141     "custom_229",
3142     "custom",
3143     "custom element 229"
3144   },
3145   {
3146     "custom_230",
3147     "custom",
3148     "custom element 230"
3149   },
3150   {
3151     "custom_231",
3152     "custom",
3153     "custom element 231"
3154   },
3155   {
3156     "custom_232",
3157     "custom",
3158     "custom element 232"
3159   },
3160   {
3161     "custom_233",
3162     "custom",
3163     "custom element 233"
3164   },
3165   {
3166     "custom_234",
3167     "custom",
3168     "custom element 234"
3169   },
3170   {
3171     "custom_235",
3172     "custom",
3173     "custom element 235"
3174   },
3175   {
3176     "custom_236",
3177     "custom",
3178     "custom element 236"
3179   },
3180   {
3181     "custom_237",
3182     "custom",
3183     "custom element 237"
3184   },
3185   {
3186     "custom_238",
3187     "custom",
3188     "custom element 238"
3189   },
3190   {
3191     "custom_239",
3192     "custom",
3193     "custom element 239"
3194   },
3195   {
3196     "custom_240",
3197     "custom",
3198     "custom element 240"
3199   },
3200   {
3201     "custom_241",
3202     "custom",
3203     "custom element 241"
3204   },
3205   {
3206     "custom_242",
3207     "custom",
3208     "custom element 242"
3209   },
3210   {
3211     "custom_243",
3212     "custom",
3213     "custom element 243"
3214   },
3215   {
3216     "custom_244",
3217     "custom",
3218     "custom element 244"
3219   },
3220   {
3221     "custom_245",
3222     "custom",
3223     "custom element 245"
3224   },
3225   {
3226     "custom_246",
3227     "custom",
3228     "custom element 246"
3229   },
3230   {
3231     "custom_247",
3232     "custom",
3233     "custom element 247"
3234   },
3235   {
3236     "custom_248",
3237     "custom",
3238     "custom element 248"
3239   },
3240   {
3241     "custom_249",
3242     "custom",
3243     "custom element 249"
3244   },
3245   {
3246     "custom_250",
3247     "custom",
3248     "custom element 250"
3249   },
3250   {
3251     "custom_251",
3252     "custom",
3253     "custom element 251"
3254   },
3255   {
3256     "custom_252",
3257     "custom",
3258     "custom element 252"
3259   },
3260   {
3261     "custom_253",
3262     "custom",
3263     "custom element 253"
3264   },
3265   {
3266     "custom_254",
3267     "custom",
3268     "custom element 254"
3269   },
3270   {
3271     "custom_255",
3272     "custom",
3273     "custom element 255"
3274   },
3275   {
3276     "custom_256",
3277     "custom",
3278     "custom element 256"
3279   },
3280   {
3281     "em_key_1",
3282     "key",
3283     "key 1 (EM style)"
3284     },
3285   {
3286     "em_key_2",
3287     "key",
3288     "key 2 (EM style)"
3289     },
3290   {
3291     "em_key_3",
3292     "key",
3293     "key 3 (EM style)"
3294   },
3295   {
3296     "em_key_4",
3297     "key",
3298     "key 4 (EM style)"
3299   },
3300   {
3301     "envelope_1",
3302     "envelope",
3303     "mail envelope 1"
3304   },
3305   {
3306     "envelope_2",
3307     "envelope",
3308     "mail envelope 2"
3309   },
3310   {
3311     "envelope_3",
3312     "envelope",
3313     "mail envelope 3"
3314   },
3315   {
3316     "envelope_4",
3317     "envelope",
3318     "mail envelope 4"
3319   },
3320   {
3321     "group_1",
3322     "group",
3323     "group element 1"
3324   },
3325   {
3326     "group_2",
3327     "group",
3328     "group element 2"
3329   },
3330   {
3331     "group_3",
3332     "group",
3333     "group element 3"
3334   },
3335   {
3336     "group_4",
3337     "group",
3338     "group element 4"
3339   },
3340   {
3341     "group_5",
3342     "group",
3343     "group element 5"
3344   },
3345   {
3346     "group_6",
3347     "group",
3348     "group element 6"
3349   },
3350   {
3351     "group_7",
3352     "group",
3353     "group element 7"
3354   },
3355   {
3356     "group_8",
3357     "group",
3358     "group element 8"
3359   },
3360   {
3361     "group_9",
3362     "group",
3363     "group element 9"
3364   },
3365   {
3366     "group_10",
3367     "group",
3368     "group element 10"
3369   },
3370   {
3371     "group_11",
3372     "group",
3373     "group element 11"
3374   },
3375   {
3376     "group_12",
3377     "group",
3378     "group element 12"
3379   },
3380   {
3381     "group_13",
3382     "group",
3383     "group element 13"
3384   },
3385   {
3386     "group_14",
3387     "group",
3388     "group element 14"
3389   },
3390   {
3391     "group_15",
3392     "group",
3393     "group element 15"
3394   },
3395   {
3396     "group_16",
3397     "group",
3398     "group element 16"
3399   },
3400   {
3401     "group_17",
3402     "group",
3403     "group element 17"
3404   },
3405   {
3406     "group_18",
3407     "group",
3408     "group element 18"
3409   },
3410   {
3411     "group_19",
3412     "group",
3413     "group element 19"
3414   },
3415   {
3416     "group_20",
3417     "group",
3418     "group element 20"
3419   },
3420   {
3421     "group_21",
3422     "group",
3423     "group element 21"
3424   },
3425   {
3426     "group_22",
3427     "group",
3428     "group element 22"
3429   },
3430   {
3431     "group_23",
3432     "group",
3433     "group element 23"
3434   },
3435   {
3436     "group_24",
3437     "group",
3438     "group element 24"
3439   },
3440   {
3441     "group_25",
3442     "group",
3443     "group element 25"
3444   },
3445   {
3446     "group_26",
3447     "group",
3448     "group element 26"
3449   },
3450   {
3451     "group_27",
3452     "group",
3453     "group element 27"
3454   },
3455   {
3456     "group_28",
3457     "group",
3458     "group element 28"
3459   },
3460   {
3461     "group_29",
3462     "group",
3463     "group element 29"
3464   },
3465   {
3466     "group_30",
3467     "group",
3468     "group element 30"
3469   },
3470   {
3471     "group_31",
3472     "group",
3473     "group element 31"
3474   },
3475   {
3476     "group_32",
3477     "group",
3478     "group element 32"
3479   },
3480   {
3481     "unknown",
3482     "unknown",
3483     "unknown element"
3484   },
3485   {
3486     "trigger_element",
3487     "trigger",
3488     "element triggering change"
3489   },
3490   {
3491     "trigger_player",
3492     "trigger",
3493     "player triggering change"
3494   },
3495   {
3496     "sp_gravity_on_port_right",
3497     "sp_gravity_on_port",
3498     "gravity-on port (leading right)"
3499   },
3500   {
3501     "sp_gravity_on_port_down",
3502     "sp_gravity_on_port",
3503     "gravity-on port (leading down)"
3504   },
3505   {
3506     "sp_gravity_on_port_left",
3507     "sp_gravity_on_port",
3508     "gravity-on port (leading left)"
3509   },
3510   {
3511     "sp_gravity_on_port_up",
3512     "sp_gravity_on_port",
3513     "gravity-on port (leading up)"
3514   },
3515   {
3516     "sp_gravity_off_port_right",
3517     "sp_gravity_off_port",
3518     "gravity-off port (leading right)"
3519   },
3520   {
3521     "sp_gravity_off_port_down",
3522     "sp_gravity_off_port",
3523     "gravity-off port (leading down)"
3524   },
3525   {
3526     "sp_gravity_off_port_left",
3527     "sp_gravity_off_port",
3528     "gravity-off port (leading left)"
3529   },
3530   {
3531     "sp_gravity_off_port_up",
3532     "sp_gravity_off_port",
3533     "gravity-off port (leading up)"
3534   },
3535   {
3536     "balloon_switch_none",
3537     "balloon_switch",
3538     "wind switch (off)"
3539   },
3540   {
3541     "emc_gate_5",
3542     "gate",
3543     "door 5 (EMC style)",
3544   },
3545   {
3546     "emc_gate_6",
3547     "gate",
3548     "door 6 (EMC style)",
3549   },
3550   {
3551     "emc_gate_7",
3552     "gate",
3553     "door 7 (EMC style)",
3554   },
3555   {
3556     "emc_gate_8",
3557     "gate",
3558     "door 8 (EMC style)",
3559   },
3560   {
3561     "emc_gate_5_gray",
3562     "gate",
3563     "gray door (EMC style, key 5)",
3564   },
3565   {
3566     "emc_gate_6_gray",
3567     "gate",
3568     "gray door (EMC style, key 6)",
3569   },
3570   {
3571     "emc_gate_7_gray",
3572     "gate",
3573     "gray door (EMC style, key 7)",
3574   },
3575   {
3576     "emc_gate_8_gray",
3577     "gate",
3578     "gray door (EMC style, key 8)",
3579   },
3580   {
3581     "emc_key_5",
3582     "key",
3583     "key 5 (EMC style)",
3584   },
3585   {
3586     "emc_key_6",
3587     "key",
3588     "key 6 (EMC style)",
3589   },
3590   {
3591     "emc_key_7",
3592     "key",
3593     "key 7 (EMC style)",
3594   },
3595   {
3596     "emc_key_8",
3597     "key",
3598     "key 8 (EMC style)",
3599   },
3600   {
3601     "emc_android",
3602     "emc_android",
3603     "android",
3604   },
3605   {
3606     "emc_grass",
3607     "emc_grass",
3608     "grass",
3609   },
3610   {
3611     "emc_magic_ball",
3612     "emc_magic_ball",
3613     "magic ball",
3614   },
3615   {
3616     "emc_magic_ball.active",
3617     "emc_magic_ball",
3618     "magic ball (activated)",
3619   },
3620   {
3621     "emc_magic_ball_switch",
3622     "emc_magic_ball_switch",
3623     "magic ball switch (off)",
3624   },
3625   {
3626     "emc_magic_ball_switch.active",
3627     "emc_magic_ball_switch",
3628     "magic ball switch (on)",
3629   },
3630   {
3631     "emc_spring_bumper",
3632     "emc_spring_bumper",
3633     "spring bumper",
3634   },
3635   {
3636     "emc_plant",
3637     "emc_plant",
3638     "plant",
3639   },
3640   {
3641     "emc_lenses",
3642     "emc_lenses",
3643     "lenses",
3644   },
3645   {
3646     "emc_magnifier",
3647     "emc_magnifier",
3648     "magnifier",
3649   },
3650   {
3651     "emc_wall_9",
3652     "wall",
3653     "normal wall 9 (EMC style)"
3654   },
3655   {
3656     "emc_wall_10",
3657     "wall",
3658     "normal wall 10 (EMC style)"
3659   },
3660   {
3661     "emc_wall_11",
3662     "wall",
3663     "normal wall 11 (EMC style)"
3664   },
3665   {
3666     "emc_wall_12",
3667     "wall",
3668     "normal wall 12 (EMC style)"
3669   },
3670   {
3671     "emc_wall_13",
3672     "wall",
3673     "normal wall 13 (EMC style)"
3674   },
3675   {
3676     "emc_wall_14",
3677     "wall",
3678     "normal wall 14 (EMC style)"
3679   },
3680   {
3681     "emc_wall_15",
3682     "wall",
3683     "normal wall 15 (EMC style)"
3684   },
3685   {
3686     "emc_wall_16",
3687     "wall",
3688     "normal wall 16 (EMC style)"
3689   },
3690   {
3691     "emc_wall_slippery_1",
3692     "wall",
3693     "slippery wall 1 (EMC style)"
3694   },
3695   {
3696     "emc_wall_slippery_2",
3697     "wall",
3698     "slippery wall 2 (EMC style)"
3699   },
3700   {
3701     "emc_wall_slippery_3",
3702     "wall",
3703     "slippery wall 3 (EMC style)"
3704   },
3705   {
3706     "emc_wall_slippery_4",
3707     "wall",
3708     "slippery wall 4 (EMC style)"
3709   },
3710   {
3711     "emc_fake_grass",
3712     "fake_grass",
3713     "fake grass"
3714   },
3715   {
3716     "emc_fake_acid",
3717     "fake_acid",
3718     "fake acid"
3719   },
3720   {
3721     "emc_dripper",
3722     "dripper",
3723     "dripper"
3724   },
3725   {
3726     "trigger_ce_value",
3727     "trigger",
3728     "CE value of element triggering change"
3729   },
3730   {
3731     "trigger_ce_score",
3732     "trigger",
3733     "CE score of element triggering change"
3734   },
3735   {
3736     "current_ce_value",
3737     "current",
3738     "CE value of current element"
3739   },
3740   {
3741     "current_ce_score",
3742     "current",
3743     "CE score of current element"
3744   },
3745   {
3746     "yamyam.left",
3747     "yamyam",
3748     "yam yam (starts moving left)"
3749   },
3750   {
3751     "yamyam.right",
3752     "yamyam",
3753     "yam yam (starts moving right)"
3754   },
3755   {
3756     "yamyam.up",
3757     "yamyam",
3758     "yam yam (starts moving up)"
3759   },
3760   {
3761     "yamyam.down",
3762     "yamyam",
3763     "yam yam (starts moving down)"
3764   },
3765   {
3766     "bd_expandable_wall",
3767     "bd_expandable_wall",
3768     "growing wall (horizontal, BD style)"
3769   },
3770   {
3771     "prev_ce_8",
3772     "prev_ce",
3773     "CE 8 positions earlier in list"
3774   },
3775   {
3776     "prev_ce_7",
3777     "prev_ce",
3778     "CE 7 positions earlier in list"
3779   },
3780   {
3781     "prev_ce_6",
3782     "prev_ce",
3783     "CE 6 positions earlier in list"
3784   },
3785   {
3786     "prev_ce_5",
3787     "prev_ce",
3788     "CE 5 positions earlier in list"
3789   },
3790   {
3791     "prev_ce_4",
3792     "prev_ce",
3793     "CE 4 positions earlier in list"
3794   },
3795   {
3796     "prev_ce_3",
3797     "prev_ce",
3798     "CE 3 positions earlier in list"
3799   },
3800   {
3801     "prev_ce_2",
3802     "prev_ce",
3803     "CE 2 positions earlier in list"
3804   },
3805   {
3806     "prev_ce_1",
3807     "prev_ce",
3808     "CE 1 position earlier in list"
3809   },
3810   {
3811     "self",
3812     "self",
3813     "the current custom element"
3814   },
3815   {
3816     "next_ce_1",
3817     "next_ce",
3818     "CE 1 position later in list"
3819   },
3820   {
3821     "next_ce_2",
3822     "next_ce",
3823     "CE 2 positions later in list"
3824   },
3825   {
3826     "next_ce_3",
3827     "next_ce",
3828     "CE 3 positions later in list"
3829   },
3830   {
3831     "next_ce_4",
3832     "next_ce",
3833     "CE 4 positions later in list"
3834   },
3835   {
3836     "next_ce_5",
3837     "next_ce",
3838     "CE 5 positions later in list"
3839   },
3840   {
3841     "next_ce_6",
3842     "next_ce",
3843     "CE 6 positions later in list"
3844   },
3845   {
3846     "next_ce_7",
3847     "next_ce",
3848     "CE 7 positions later in list"
3849   },
3850   {
3851     "next_ce_8",
3852     "next_ce",
3853     "CE 8 positions later in list"
3854   },
3855   {
3856     "any_element",
3857     "any_element",
3858     "this element matches any element"
3859   },
3860   {
3861     "steel_char_space",
3862     "steel_char",
3863     "steel letter ' '"
3864   },
3865   {
3866     "steel_char_exclam",
3867     "steel_char",
3868     "steel letter '!'"
3869   },
3870   {
3871     "steel_char_quotedbl",
3872     "steel_char",
3873     "steel letter '\"'"
3874   },
3875   {
3876     "steel_char_numbersign",
3877     "steel_char",
3878     "steel letter '#'"
3879   },
3880   {
3881     "steel_char_dollar",
3882     "steel_char",
3883     "steel letter '$'"
3884   },
3885   {
3886     "steel_char_percent",
3887     "steel_char",
3888     "steel letter '%'"
3889   },
3890   {
3891     "steel_char_ampersand",
3892     "steel_char",
3893     "steel letter '&'"
3894   },
3895   {
3896     "steel_char_apostrophe",
3897     "steel_char",
3898     "steel letter '''"
3899   },
3900   {
3901     "steel_char_parenleft",
3902     "steel_char",
3903     "steel letter '('"
3904   },
3905   {
3906     "steel_char_parenright",
3907     "steel_char",
3908     "steel letter ')'"
3909   },
3910   {
3911     "steel_char_asterisk",
3912     "steel_char",
3913     "steel letter '*'"
3914   },
3915   {
3916     "steel_char_plus",
3917     "steel_char",
3918     "steel letter '+'"
3919   },
3920   {
3921     "steel_char_comma",
3922     "steel_char",
3923     "steel letter ','"
3924   },
3925   {
3926     "steel_char_minus",
3927     "steel_char",
3928     "steel letter '-'"
3929   },
3930   {
3931     "steel_char_period",
3932     "steel_char",
3933     "steel letter '.'"
3934   },
3935   {
3936     "steel_char_slash",
3937     "steel_char",
3938     "steel letter '/'"
3939   },
3940   {
3941     "steel_char_0",
3942     "steel_char",
3943     "steel letter '0'"
3944   },
3945   {
3946     "steel_char_1",
3947     "steel_char",
3948     "steel letter '1'"
3949   },
3950   {
3951     "steel_char_2",
3952     "steel_char",
3953     "steel letter '2'"
3954   },
3955   {
3956     "steel_char_3",
3957     "steel_char",
3958     "steel letter '3'"
3959   },
3960   {
3961     "steel_char_4",
3962     "steel_char",
3963     "steel letter '4'"
3964   },
3965   {
3966     "steel_char_5",
3967     "steel_char",
3968     "steel letter '5'"
3969   },
3970   {
3971     "steel_char_6",
3972     "steel_char",
3973     "steel letter '6'"
3974   },
3975   {
3976     "steel_char_7",
3977     "steel_char",
3978     "steel letter '7'"
3979   },
3980   {
3981     "steel_char_8",
3982     "steel_char",
3983     "steel letter '8'"
3984   },
3985   {
3986     "steel_char_9",
3987     "steel_char",
3988     "steel letter '9'"
3989   },
3990   {
3991     "steel_char_colon",
3992     "steel_char",
3993     "steel letter ':'"
3994   },
3995   {
3996     "steel_char_semicolon",
3997     "steel_char",
3998     "steel letter ';'"
3999   },
4000   {
4001     "steel_char_less",
4002     "steel_char",
4003     "steel letter '<'"
4004   },
4005   {
4006     "steel_char_equal",
4007     "steel_char",
4008     "steel letter '='"
4009   },
4010   {
4011     "steel_char_greater",
4012     "steel_char",
4013     "steel letter '>'"
4014   },
4015   {
4016     "steel_char_question",
4017     "steel_char",
4018     "steel letter '?'"
4019   },
4020   {
4021     "steel_char_at",
4022     "steel_char",
4023     "steel letter '@'"
4024   },
4025   {
4026     "steel_char_a",
4027     "steel_char",
4028     "steel letter 'A'"
4029   },
4030   {
4031     "steel_char_b",
4032     "steel_char",
4033     "steel letter 'B'"
4034   },
4035   {
4036     "steel_char_c",
4037     "steel_char",
4038     "steel letter 'C'"
4039   },
4040   {
4041     "steel_char_d",
4042     "steel_char",
4043     "steel letter 'D'"
4044   },
4045   {
4046     "steel_char_e",
4047     "steel_char",
4048     "steel letter 'E'"
4049   },
4050   {
4051     "steel_char_f",
4052     "steel_char",
4053     "steel letter 'F'"
4054   },
4055   {
4056     "steel_char_g",
4057     "steel_char",
4058     "steel letter 'G'"
4059   },
4060   {
4061     "steel_char_h",
4062     "steel_char",
4063     "steel letter 'H'"
4064   },
4065   {
4066     "steel_char_i",
4067     "steel_char",
4068     "steel letter 'I'"
4069   },
4070   {
4071     "steel_char_j",
4072     "steel_char",
4073     "steel letter 'J'"
4074   },
4075   {
4076     "steel_char_k",
4077     "steel_char",
4078     "steel letter 'K'"
4079   },
4080   {
4081     "steel_char_l",
4082     "steel_char",
4083     "steel letter 'L'"
4084   },
4085   {
4086     "steel_char_m",
4087     "steel_char",
4088     "steel letter 'M'"
4089   },
4090   {
4091     "steel_char_n",
4092     "steel_char",
4093     "steel letter 'N'"
4094   },
4095   {
4096     "steel_char_o",
4097     "steel_char",
4098     "steel letter 'O'"
4099   },
4100   {
4101     "steel_char_p",
4102     "steel_char",
4103     "steel letter 'P'"
4104   },
4105   {
4106     "steel_char_q",
4107     "steel_char",
4108     "steel letter 'Q'"
4109   },
4110   {
4111     "steel_char_r",
4112     "steel_char",
4113     "steel letter 'R'"
4114   },
4115   {
4116     "steel_char_s",
4117     "steel_char",
4118     "steel letter 'S'"
4119   },
4120   {
4121     "steel_char_t",
4122     "steel_char",
4123     "steel letter 'T'"
4124   },
4125   {
4126     "steel_char_u",
4127     "steel_char",
4128     "steel letter 'U'"
4129   },
4130   {
4131     "steel_char_v",
4132     "steel_char",
4133     "steel letter 'V'"
4134   },
4135   {
4136     "steel_char_w",
4137     "steel_char",
4138     "steel letter 'W'"
4139   },
4140   {
4141     "steel_char_x",
4142     "steel_char",
4143     "steel letter 'X'"
4144   },
4145   {
4146     "steel_char_y",
4147     "steel_char",
4148     "steel letter 'Y'"
4149   },
4150   {
4151     "steel_char_z",
4152     "steel_char",
4153     "steel letter 'Z'"
4154   },
4155   {
4156     "steel_char_bracketleft",
4157     "steel_char",
4158     "steel letter '['"
4159   },
4160   {
4161     "steel_char_backslash",
4162     "steel_char",
4163     "steel letter '\\'"
4164   },
4165   {
4166     "steel_char_bracketright",
4167     "steel_char",
4168     "steel letter ']'"
4169   },
4170   {
4171     "steel_char_asciicircum",
4172     "steel_char",
4173     "steel letter '^'"
4174   },
4175   {
4176     "steel_char_underscore",
4177     "steel_char",
4178     "steel letter '_'"
4179   },
4180   {
4181     "steel_char_copyright",
4182     "steel_char",
4183     "steel letter '\xa9'"
4184   },
4185   {
4186     "steel_char_aumlaut",
4187     "steel_char",
4188     "steel letter '\xc4'"
4189   },
4190   {
4191     "steel_char_oumlaut",
4192     "steel_char",
4193     "steel letter '\xd6'"
4194   },
4195   {
4196     "steel_char_uumlaut",
4197     "steel_char",
4198     "steel letter '\xdc'"
4199   },
4200   {
4201     "steel_char_degree",
4202     "steel_char",
4203     "steel letter '\xb0'"
4204   },
4205   {
4206     "steel_char_trademark",
4207     "steel_char",
4208     "steel letter '\xae'"
4209   },
4210   {
4211     "steel_char_cursor",
4212     "steel_char",
4213     "steel letter '\xa0'"
4214   },
4215   {
4216     "steel_char_unused",
4217     "steel_char",
4218     "steel letter ''"
4219   },
4220   {
4221     "steel_char_unused",
4222     "steel_char",
4223     "steel letter ''"
4224   },
4225   {
4226     "steel_char_unused",
4227     "steel_char",
4228     "steel letter ''"
4229   },
4230   {
4231     "steel_char_unused",
4232     "steel_char",
4233     "steel letter ''"
4234   },
4235   {
4236     "steel_char_unused",
4237     "steel_char",
4238     "steel letter ''"
4239   },
4240   {
4241     "steel_char_unused",
4242     "steel_char",
4243     "steel letter ''"
4244   },
4245   {
4246     "steel_char_button",
4247     "steel_char",
4248     "steel letter 'button'"
4249   },
4250   {
4251     "steel_char_up",
4252     "steel_char",
4253     "steel letter 'up'"
4254   },
4255   {
4256     "steel_char_down",
4257     "steel_char",
4258     "steel letter 'down'"
4259   },
4260   {
4261     "sperms",
4262     "frankie",
4263     "sperms"
4264   },
4265   {
4266     "bullet",
4267     "frankie",
4268     "bullet"
4269   },
4270   {
4271     "heart",
4272     "frankie",
4273     "heart"
4274   },
4275   {
4276     "cross",
4277     "frankie",
4278     "cross"
4279   },
4280   {
4281     "frankie",
4282     "frankie",
4283     "frankie"
4284   },
4285   {
4286     "sign_sperms",
4287     "sign",
4288     "sign (sperms)"
4289   },
4290   {
4291     "sign_bullet",
4292     "sign",
4293     "sign (bullet)"
4294   },
4295   {
4296     "sign_heart",
4297     "sign",
4298     "sign (heart)"
4299   },
4300   {
4301     "sign_cross",
4302     "sign",
4303     "sign (cross)"
4304   },
4305   {
4306     "sign_frankie",
4307     "sign",
4308     "sign (frankie)"
4309   },
4310   {
4311     "steel_exit_closed",
4312     "steel_exit",
4313     "closed steel exit"
4314   },
4315   {
4316     "steel_exit_open",
4317     "steel_exit",
4318     "open steel exit"
4319   },
4320   {
4321     "dc_steelwall_1_left",
4322     "steelwall",
4323     "steel wall 1 (left)"
4324   },
4325   {
4326     "dc_steelwall_1_right",
4327     "steelwall",
4328     "steel wall 1 (right)"
4329   },
4330   {
4331     "dc_steelwall_1_top",
4332     "steelwall",
4333     "steel wall 1 (top)"
4334   },
4335   {
4336     "dc_steelwall_1_bottom",
4337     "steelwall",
4338     "steel wall 1 (bottom)"
4339   },
4340   {
4341     "dc_steelwall_1_horizontal",
4342     "steelwall",
4343     "steel wall 1 (top/bottom)"
4344   },
4345   {
4346     "dc_steelwall_1_vertical",
4347     "steelwall",
4348     "steel wall 1 (left/right)"
4349   },
4350   {
4351     "dc_steelwall_1_topleft",
4352     "steelwall",
4353     "steel wall 1 (top/left)"
4354   },
4355   {
4356     "dc_steelwall_1_topright",
4357     "steelwall",
4358     "steel wall 1 (top/right)"
4359   },
4360   {
4361     "dc_steelwall_1_bottomleft",
4362     "steelwall",
4363     "steel wall 1 (bottom/left)"
4364   },
4365   {
4366     "dc_steelwall_1_bottomright",
4367     "steelwall",
4368     "steel wall 1 (bottom/right)"
4369   },
4370   {
4371     "dc_steelwall_1_topleft_2",
4372     "steelwall",
4373     "steel wall 1 (top/left corner)"
4374   },
4375   {
4376     "dc_steelwall_1_topright_2",
4377     "steelwall",
4378     "steel wall 1 (top/right corner)"
4379   },
4380   {
4381     "dc_steelwall_1_bottomleft_2",
4382     "steelwall",
4383     "steel wall 1 (bottom/left corner)"
4384   },
4385   {
4386     "dc_steelwall_1_bottomright_2",
4387     "steelwall",
4388     "steel wall 1 (bottom/right corner)"
4389   },
4390   {
4391     "dc_steelwall_2_left",
4392     "steelwall",
4393     "steel wall 2 (left)"
4394   },
4395   {
4396     "dc_steelwall_2_right",
4397     "steelwall",
4398     "steel wall 2 (right)"
4399   },
4400   {
4401     "dc_steelwall_2_top",
4402     "steelwall",
4403     "steel wall 2 (top)"
4404   },
4405   {
4406     "dc_steelwall_2_bottom",
4407     "steelwall",
4408     "steel wall 2 (bottom)"
4409   },
4410   {
4411     "dc_steelwall_2_horizontal",
4412     "steelwall",
4413     "steel wall 2 (horizontal)"
4414   },
4415   {
4416     "dc_steelwall_2_vertical",
4417     "steelwall",
4418     "steel wall 2 (vertical)"
4419   },
4420   {
4421     "dc_steelwall_2_middle",
4422     "steelwall",
4423     "steel wall 2 (middle)"
4424   },
4425   {
4426     "dc_steelwall_2_single",
4427     "steelwall",
4428     "steel wall 2 (single)"
4429   },
4430   {
4431     "dc_switchgate_switch_up",
4432     "switchgate_switch",
4433     "switch for switch gate (steel)"
4434   },
4435   {
4436     "dc_switchgate_switch_down",
4437     "switchgate_switch",
4438     "switch for switch gate (steel)"
4439   },
4440   {
4441     "dc_timegate_switch",
4442     "timegate_switch",
4443     "switch for time gate (steel)"
4444   },
4445   {
4446     "dc_timegate_switch.active",
4447     "timegate_switch",
4448     "switch for time gate (steel)"
4449   },
4450   {
4451     "dc_landmine",
4452     "dc_landmine",
4453     "land mine (DC style, removable)"
4454   },
4455   {
4456     "expandable_steelwall",
4457     "steelwall",
4458     "growing steel wall"
4459   },
4460   {
4461     "expandable_steelwall_horizontal",
4462     "steelwall",
4463     "growing steel wall (horizontal)"
4464   },
4465   {
4466     "expandable_steelwall_vertical",
4467     "steelwall",
4468     "growing steel wall (vertical)"
4469   },
4470   {
4471     "expandable_steelwall_any",
4472     "steelwall",
4473     "growing steel wall (any direction)"
4474   },
4475   {
4476     "em_exit_closed",
4477     "em_exit",
4478     "closed exit (EM style)"
4479   },
4480   {
4481     "em_exit_open",
4482     "em_exit",
4483     "open exit (EM style)"
4484   },
4485   {
4486     "em_steel_exit_closed",
4487     "em_steel_exit",
4488     "closed steel exit (EM style)"
4489   },
4490   {
4491     "em_steel_exit_open",
4492     "em_steel_exit",
4493     "open steel exit (EM style)"
4494   },
4495   {
4496     "dc_gate_fake_gray",
4497     "gate",
4498     "gray door (opened by no key)"
4499   },
4500   {
4501     "dc_magic_wall",
4502     "dc_magic_wall",
4503     "magic wall (DC style)"
4504   },
4505   {
4506     "quicksand_fast_empty",
4507     "quicksand",
4508     "fast quicksand (empty)"
4509   },
4510   {
4511     "quicksand_fast_full",
4512     "quicksand",
4513     "fast quicksand (with rock)"
4514   },
4515   {
4516     "from_level_template",
4517     "from_level_template",
4518     "element taken from level template"
4519   },
4520   {
4521     "mm_empty_space",
4522     "empty_space",
4523     "empty space"
4524   },
4525   {
4526     "mm_mirror_1",
4527     "mm_mirror",
4528     "mirror (0\xb0)"
4529   },
4530   {
4531     "mm_mirror_2",
4532     "mm_mirror",
4533     "mirror (11.25\xb0)"
4534   },
4535   {
4536     "mm_mirror_3",
4537     "mm_mirror",
4538     "mirror (22.5\xb0)"
4539   },
4540   {
4541     "mm_mirror_4",
4542     "mm_mirror",
4543     "mirror (33.75\xb0)"
4544   },
4545   {
4546     "mm_mirror_5",
4547     "mm_mirror",
4548     "mirror (45\xb0)"
4549   },
4550   {
4551     "mm_mirror_6",
4552     "mm_mirror",
4553     "mirror (56.25\xb0)"
4554   },
4555   {
4556     "mm_mirror_7",
4557     "mm_mirror",
4558     "mirror (67.5\xb0)"
4559   },
4560   {
4561     "mm_mirror_8",
4562     "mm_mirror",
4563     "mirror (78.75\xb0)"
4564   },
4565   {
4566     "mm_mirror_9",
4567     "mm_mirror",
4568     "mirror (90\xb0)"
4569   },
4570   {
4571     "mm_mirror_10",
4572     "mm_mirror",
4573     "mirror (101.25\xb0)"
4574   },
4575   {
4576     "mm_mirror_11",
4577     "mm_mirror",
4578     "mirror (112.5\xb0)"
4579   },
4580   {
4581     "mm_mirror_12",
4582     "mm_mirror",
4583     "mirror (123.75\xb0)"
4584   },
4585   {
4586     "mm_mirror_13",
4587     "mm_mirror",
4588     "mirror (135\xb0)"
4589   },
4590   {
4591     "mm_mirror_14",
4592     "mm_mirror",
4593     "mirror (146.25\xb0)"
4594   },
4595   {
4596     "mm_mirror_15",
4597     "mm_mirror",
4598     "mirror (157.5\xb0)"
4599   },
4600   {
4601     "mm_mirror_16",
4602     "mm_mirror",
4603     "mirror (168.75\xb0)"
4604   },
4605   {
4606     "mm_steel_grid_fixed_1",
4607     "mm_steel_grid_fixed",
4608     "fixed steel polarizer (0\xb0)"
4609   },
4610   {
4611     "mm_steel_grid_fixed_2",
4612     "mm_steel_grid_fixed",
4613     "fixed steel polarizer (90\xb0)"
4614   },
4615   {
4616     "mm_steel_grid_fixed_3",
4617     "mm_steel_grid_fixed",
4618     "fixed steel polarizer (45\xb0)"
4619   },
4620   {
4621     "mm_steel_grid_fixed_4",
4622     "mm_steel_grid_fixed",
4623     "fixed steel polarizer (135\xb0)"
4624   },
4625   {
4626     "mm_mcduffin.right",
4627     "mm_mcduffin",
4628     "Gregor McDuffin (looking right)"
4629   },
4630   {
4631     "mm_mcduffin.up",
4632     "mm_mcduffin",
4633     "Gregor McDuffin (looking up)"
4634   },
4635   {
4636     "mm_mcduffin.left",
4637     "mm_mcduffin",
4638     "Gregor McDuffin (looking left)"
4639   },
4640   {
4641     "mm_mcduffin.down",
4642     "mm_mcduffin",
4643     "Gregor McDuffin (looking down)"
4644   },
4645   {
4646     "mm_exit_closed",
4647     "mm_exit",
4648     "closed exit (MM style)"
4649   },
4650   {
4651     "mm_exit_opening_1",
4652     "mm_exit",
4653     "opening exit 1"
4654   },
4655   {
4656     "mm_exit_opening_2",
4657     "mm_exit",
4658     "opening exit 2"
4659   },
4660   {
4661     "mm_exit_open",
4662     "mm_exit",
4663     "open exit (MM style)"
4664   },
4665   {
4666     "mm_kettle",
4667     "mm_kettle",
4668     "magic cauldron"
4669   },
4670   {
4671     "mm_bomb",
4672     "mm_bomb",
4673     "bomb (MM style)"
4674   },
4675   {
4676     "mm_prism",
4677     "mm_prism",
4678     "prism"
4679   },
4680   {
4681     "mm_steel_wall_1",
4682     "mm_steel_wall",
4683     "steel wall 1 (MM style)"
4684   },
4685   {
4686     "mm_steel_wall_2",
4687     "mm_steel_wall",
4688     "steel wall 2 (MM style)"
4689   },
4690   {
4691     "mm_steel_wall_3",
4692     "mm_steel_wall",
4693     "steel wall 3 (MM style)"
4694   },
4695   {
4696     "mm_steel_wall_4",
4697     "mm_steel_wall",
4698     "steel wall 4 (MM style)"
4699   },
4700   {
4701     "mm_steel_wall_5",
4702     "mm_steel_wall",
4703     "steel wall 5 (MM style)"
4704   },
4705   {
4706     "mm_steel_wall_6",
4707     "mm_steel_wall",
4708     "steel wall 6 (MM style)"
4709   },
4710   {
4711     "mm_steel_wall_7",
4712     "mm_steel_wall",
4713     "steel wall 7 (MM style)"
4714   },
4715   {
4716     "mm_steel_wall_8",
4717     "mm_steel_wall",
4718     "steel wall 8 (MM style)"
4719   },
4720   {
4721     "mm_steel_wall_9",
4722     "mm_steel_wall",
4723     "steel wall 9 (MM style)"
4724   },
4725   {
4726     "mm_steel_wall_10",
4727     "mm_steel_wall",
4728     "steel wall 10 (MM style)"
4729   },
4730   {
4731     "mm_steel_wall_11",
4732     "mm_steel_wall",
4733     "steel wall 11 (MM style)"
4734   },
4735   {
4736     "mm_steel_wall_12",
4737     "mm_steel_wall",
4738     "steel wall 12 (MM style)"
4739   },
4740   {
4741     "mm_steel_wall_13",
4742     "mm_steel_wall",
4743     "steel wall 13 (MM style)"
4744   },
4745   {
4746     "mm_steel_wall_14",
4747     "mm_steel_wall",
4748     "steel wall 14 (MM style)"
4749   },
4750   {
4751     "mm_steel_wall_15",
4752     "mm_steel_wall",
4753     "steel wall 15 (MM style)"
4754   },
4755   {
4756     "mm_steel_wall_16",
4757     "mm_steel_wall",
4758     "steel wall 16 (MM style)"
4759   },
4760   {
4761     "mm_wooden_wall_1",
4762     "mm_wooden_wall",
4763     "wooden wall 1 (MM style)"
4764   },
4765   {
4766     "mm_wooden_wall_2",
4767     "mm_wooden_wall",
4768     "wooden wall 2 (MM style)"
4769   },
4770   {
4771     "mm_wooden_wall_3",
4772     "mm_wooden_wall",
4773     "wooden wall 3 (MM style)"
4774   },
4775   {
4776     "mm_wooden_wall_4",
4777     "mm_wooden_wall",
4778     "wooden wall 4 (MM style)"
4779   },
4780   {
4781     "mm_wooden_wall_5",
4782     "mm_wooden_wall",
4783     "wooden wall 5 (MM style)"
4784   },
4785   {
4786     "mm_wooden_wall_6",
4787     "mm_wooden_wall",
4788     "wooden wall 6 (MM style)"
4789   },
4790   {
4791     "mm_wooden_wall_7",
4792     "mm_wooden_wall",
4793     "wooden wall 7 (MM style)"
4794   },
4795   {
4796     "mm_wooden_wall_8",
4797     "mm_wooden_wall",
4798     "wooden wall 8 (MM style)"
4799   },
4800   {
4801     "mm_wooden_wall_9",
4802     "mm_wooden_wall",
4803     "wooden wall 9 (MM style)"
4804   },
4805   {
4806     "mm_wooden_wall_10",
4807     "mm_wooden_wall",
4808     "wooden wall 10 (MM style)"
4809   },
4810   {
4811     "mm_wooden_wall_11",
4812     "mm_wooden_wall",
4813     "wooden wall 11 (MM style)"
4814   },
4815   {
4816     "mm_wooden_wall_12",
4817     "mm_wooden_wall",
4818     "wooden wall 12 (MM style)"
4819   },
4820   {
4821     "mm_wooden_wall_13",
4822     "mm_wooden_wall",
4823     "wooden wall 13 (MM style)"
4824   },
4825   {
4826     "mm_wooden_wall_14",
4827     "mm_wooden_wall",
4828     "wooden wall 14 (MM style)"
4829   },
4830   {
4831     "mm_wooden_wall_15",
4832     "mm_wooden_wall",
4833     "wooden wall 15 (MM style)"
4834   },
4835   {
4836     "mm_wooden_wall_16",
4837     "mm_wooden_wall",
4838     "wooden wall 16 (MM style)"
4839   },
4840   {
4841     "mm_ice_wall_1",
4842     "mm_ice_wall",
4843     "ice wall 1"
4844   },
4845   {
4846     "mm_ice_wall_2",
4847     "mm_ice_wall",
4848     "ice wall 2"
4849   },
4850   {
4851     "mm_ice_wall_3",
4852     "mm_ice_wall",
4853     "ice wall 3"
4854   },
4855   {
4856     "mm_ice_wall_4",
4857     "mm_ice_wall",
4858     "ice wall 4"
4859   },
4860   {
4861     "mm_ice_wall_5",
4862     "mm_ice_wall",
4863     "ice wall 5"
4864   },
4865   {
4866     "mm_ice_wall_6",
4867     "mm_ice_wall",
4868     "ice wall 6"
4869   },
4870   {
4871     "mm_ice_wall_7",
4872     "mm_ice_wall",
4873     "ice wall 7"
4874   },
4875   {
4876     "mm_ice_wall_8",
4877     "mm_ice_wall",
4878     "ice wall 8"
4879   },
4880   {
4881     "mm_ice_wall_9",
4882     "mm_ice_wall",
4883     "ice wall 9"
4884   },
4885   {
4886     "mm_ice_wall_10",
4887     "mm_ice_wall",
4888     "ice wall 10"
4889   },
4890   {
4891     "mm_ice_wall_11",
4892     "mm_ice_wall",
4893     "ice wall 11"
4894   },
4895   {
4896     "mm_ice_wall_12",
4897     "mm_ice_wall",
4898     "ice wall 12"
4899   },
4900   {
4901     "mm_ice_wall_13",
4902     "mm_ice_wall",
4903     "ice wall 13"
4904   },
4905   {
4906     "mm_ice_wall_14",
4907     "mm_ice_wall",
4908     "ice wall 14"
4909   },
4910   {
4911     "mm_ice_wall_15",
4912     "mm_ice_wall",
4913     "ice wall 15"
4914   },
4915   {
4916     "mm_ice_wall_16",
4917     "mm_ice_wall",
4918     "ice wall 16"
4919   },
4920   {
4921     "mm_amoeba_wall_1",
4922     "mm_amoeba_wall",
4923     "amoeba wall 1"
4924   },
4925   {
4926     "mm_amoeba_wall_2",
4927     "mm_amoeba_wall",
4928     "amoeba wall 2"
4929   },
4930   {
4931     "mm_amoeba_wall_3",
4932     "mm_amoeba_wall",
4933     "amoeba wall 3"
4934   },
4935   {
4936     "mm_amoeba_wall_4",
4937     "mm_amoeba_wall",
4938     "amoeba wall 4"
4939   },
4940   {
4941     "mm_amoeba_wall_5",
4942     "mm_amoeba_wall",
4943     "amoeba wall 5"
4944   },
4945   {
4946     "mm_amoeba_wall_6",
4947     "mm_amoeba_wall",
4948     "amoeba wall 6"
4949   },
4950   {
4951     "mm_amoeba_wall_7",
4952     "mm_amoeba_wall",
4953     "amoeba wall 7"
4954   },
4955   {
4956     "mm_amoeba_wall_8",
4957     "mm_amoeba_wall",
4958     "amoeba wall 8"
4959   },
4960   {
4961     "mm_amoeba_wall_9",
4962     "mm_amoeba_wall",
4963     "amoeba wall 9"
4964   },
4965   {
4966     "mm_amoeba_wall_10",
4967     "mm_amoeba_wall",
4968     "amoeba wall 10"
4969   },
4970   {
4971     "mm_amoeba_wall_11",
4972     "mm_amoeba_wall",
4973     "amoeba wall 11"
4974   },
4975   {
4976     "mm_amoeba_wall_12",
4977     "mm_amoeba_wall",
4978     "amoeba wall 12"
4979   },
4980   {
4981     "mm_amoeba_wall_13",
4982     "mm_amoeba_wall",
4983     "amoeba wall 13"
4984   },
4985   {
4986     "mm_amoeba_wall_14",
4987     "mm_amoeba_wall",
4988     "amoeba wall 14"
4989   },
4990   {
4991     "mm_amoeba_wall_15",
4992     "mm_amoeba_wall",
4993     "amoeba wall 15"
4994   },
4995   {
4996     "mm_amoeba_wall_16",
4997     "mm_amoeba_wall",
4998     "amoeba wall 16"
4999   },
5000   {
5001     "mm_wooden_block",
5002     "mm_wooden_block",
5003     "wooden block"
5004   },
5005   {
5006     "mm_gray_ball",
5007     "mm_gray_ball",
5008     "gray ball"
5009   },
5010   {
5011     "mm_teleporter_1",
5012     "mm_teleporter",
5013     "teleporter (0\xb0)"
5014   },
5015   {
5016     "mm_teleporter_2",
5017     "mm_teleporter",
5018     "teleporter (22.5\xb0)"
5019   },
5020   {
5021     "mm_teleporter_3",
5022     "mm_teleporter",
5023     "teleporter (45\xb0)"
5024   },
5025   {
5026     "mm_teleporter_4",
5027     "mm_teleporter",
5028     "teleporter (67.5\xb0)"
5029   },
5030   {
5031     "mm_teleporter_5",
5032     "mm_teleporter",
5033     "teleporter (90\xb0)"
5034   },
5035   {
5036     "mm_teleporter_6",
5037     "mm_teleporter",
5038     "teleporter (112.5\xb0)"
5039   },
5040   {
5041     "mm_teleporter_7",
5042     "mm_teleporter",
5043     "teleporter (135\xb0)"
5044   },
5045   {
5046     "mm_teleporter_8",
5047     "mm_teleporter",
5048     "teleporter (157.5\xb0)"
5049   },
5050   {
5051     "mm_teleporter_9",
5052     "mm_teleporter",
5053     "teleporter (180\xb0)"
5054   },
5055   {
5056     "mm_teleporter_10",
5057     "mm_teleporter",
5058     "teleporter (202.5\xb0)"
5059   },
5060   {
5061     "mm_teleporter_11",
5062     "mm_teleporter",
5063     "teleporter (225\xb0)"
5064   },
5065   {
5066     "mm_teleporter_12",
5067     "mm_teleporter",
5068     "teleporter (247.5\xb0)"
5069   },
5070   {
5071     "mm_teleporter_13",
5072     "mm_teleporter",
5073     "teleporter (270\xb0)"
5074   },
5075   {
5076     "mm_teleporter_14",
5077     "mm_teleporter",
5078     "teleporter (292.5\xb0)"
5079   },
5080   {
5081     "mm_teleporter_15",
5082     "mm_teleporter",
5083     "teleporter (315\xb0)"
5084   },
5085   {
5086     "mm_teleporter_16",
5087     "mm_teleporter",
5088     "teleporter (337.5\xb0)"
5089   },
5090   {
5091     "mm_fuse.active",
5092     "mm_fuse",
5093     "fuse (on)"
5094   },
5095   {
5096     "mm_pacman.right",
5097     "mm_pacman",
5098     "pac man (starts moving right)"
5099   },
5100   {
5101     "mm_pacman.up",
5102     "mm_pacman",
5103     "pac man (starts moving up)"
5104   },
5105   {
5106     "mm_pacman.left",
5107     "mm_pacman",
5108     "pac man (starts moving left)"
5109   },
5110   {
5111     "mm_pacman.down",
5112     "mm_pacman",
5113     "pac man (starts moving down)"
5114   },
5115   {
5116     "mm_polarizer_1",
5117     "mm_polarizer",
5118     "polarizer (0\xb0)"
5119   },
5120   {
5121     "mm_polarizer_2",
5122     "mm_polarizer",
5123     "polarizer (11.25\xb0)"
5124   },
5125   {
5126     "mm_polarizer_3",
5127     "mm_polarizer",
5128     "polarizer (22.5\xb0)"
5129   },
5130   {
5131     "mm_polarizer_4",
5132     "mm_polarizer",
5133     "polarizer (33.75\xb0)"
5134   },
5135   {
5136     "mm_polarizer_5",
5137     "mm_polarizer",
5138     "polarizer (45\xb0)"
5139   },
5140   {
5141     "mm_polarizer_6",
5142     "mm_polarizer",
5143     "polarizer (56.25\xb0)"
5144   },
5145   {
5146     "mm_polarizer_7",
5147     "mm_polarizer",
5148     "polarizer (67.5\xb0)"
5149   },
5150   {
5151     "mm_polarizer_8",
5152     "mm_polarizer",
5153     "polarizer (78.75\xb0)"
5154   },
5155   {
5156     "mm_polarizer_9",
5157     "mm_polarizer",
5158     "polarizer (90\xb0)"
5159   },
5160   {
5161     "mm_polarizer_10",
5162     "mm_polarizer",
5163     "polarizer (101.25\xb0)"
5164   },
5165   {
5166     "mm_polarizer_11",
5167     "mm_polarizer",
5168     "polarizer (112.5\xb0)"
5169   },
5170   {
5171     "mm_polarizer_12",
5172     "mm_polarizer",
5173     "polarizer (123.75\xb0)"
5174   },
5175   {
5176     "mm_polarizer_13",
5177     "mm_polarizer",
5178     "polarizer (135\xb0)"
5179   },
5180   {
5181     "mm_polarizer_14",
5182     "mm_polarizer",
5183     "polarizer (146.25\xb0)"
5184   },
5185   {
5186     "mm_polarizer_15",
5187     "mm_polarizer",
5188     "polarizer (157.5\xb0)"
5189   },
5190   {
5191     "mm_polarizer_16",
5192     "mm_polarizer",
5193     "polarizer (168.75\xb0)"
5194   },
5195   {
5196     "mm_polarizer_cross_1",
5197     "mm_polarizer_cross",
5198     "two-way polarizer (0\xb0)"
5199   },
5200   {
5201     "mm_polarizer_cross_2",
5202     "mm_polarizer_cross",
5203     "two-way polarizer (22.5\xb0)"
5204   },
5205   {
5206     "mm_polarizer_cross_3",
5207     "mm_polarizer_cross",
5208     "two-way polarizer (45\xb0)"
5209   },
5210   {
5211     "mm_polarizer_cross_4",
5212     "mm_polarizer_cross",
5213     "two-way polarizer (67.5\xb0)"
5214   },
5215   {
5216     "mm_mirror_fixed_1",
5217     "mm_mirror_fixed",
5218     "fixed mirror (0\xb0)"
5219   },
5220   {
5221     "mm_mirror_fixed_2",
5222     "mm_mirror_fixed",
5223     "fixed mirror (45\xb0)"
5224   },
5225   {
5226     "mm_mirror_fixed_3",
5227     "mm_mirror_fixed",
5228     "fixed mirror (90\xb0)"
5229   },
5230   {
5231     "mm_mirror_fixed_4",
5232     "mm_mirror_fixed",
5233     "fixed mirror (135\xb0)"
5234   },
5235   {
5236     "mm_steel_lock",
5237     "mm_steel_lock",
5238     "steel lock"
5239   },
5240   {
5241     "mm_key",
5242     "mm_key",
5243     "key (MM style)"
5244   },
5245   {
5246     "mm_lightbulb",
5247     "mm_lightbulb",
5248     "light bulb (off)"
5249   },
5250   {
5251     "mm_lightbulb.active",
5252     "mm_lightbulb",
5253     "light bulb (on)"
5254   },
5255   {
5256     "mm_lightball",
5257     "mm_lightball",
5258     "bonus ball"
5259   },
5260   {
5261     "mm_steel_block",
5262     "mm_steel_block",
5263     "steel block"
5264   },
5265   {
5266     "mm_wooden_lock",
5267     "mm_wooden_lock",
5268     "wooden lock"
5269   },
5270   {
5271     "mm_fuel_full",
5272     "mm_fuel",
5273     "extra energy ball (full)"
5274   },
5275   {
5276     "mm_wooden_grid_fixed_1",
5277     "mm_wooden_grid_fixed",
5278     "fixed wooden polarizer (0\xb0)"
5279   },
5280   {
5281     "mm_wooden_grid_fixed_2",
5282     "mm_wooden_grid_fixed",
5283     "fixed wooden polarizer (90\xb0)"
5284   },
5285   {
5286     "mm_wooden_grid_fixed_3",
5287     "mm_wooden_grid_fixed",
5288     "fixed wooden polarizer (45\xb0)"
5289   },
5290   {
5291     "mm_wooden_grid_fixed_4",
5292     "mm_wooden_grid_fixed",
5293     "fixed wooden polarizer (135\xb0)"
5294   },
5295   {
5296     "mm_fuel_empty",
5297     "mm_fuel",
5298     "extra energy ball (empty)"
5299   },
5300   {
5301     "mm_envelope_1",
5302     "mm_envelope",
5303     "mail envelope 1 (MM style)"
5304   },
5305   {
5306     "mm_envelope_2",
5307     "mm_envelope",
5308     "mail envelope 2 (MM style)"
5309   },
5310   {
5311     "mm_envelope_3",
5312     "mm_envelope",
5313     "mail envelope 3 (MM style)"
5314   },
5315   {
5316     "mm_envelope_4",
5317     "mm_envelope",
5318     "mail envelope 4 (MM style)"
5319   },
5320   {
5321     "df_mirror_1",
5322     "df_mirror",
5323     "mirror (DF style) (0\xb0)"
5324   },
5325   {
5326     "df_mirror_2",
5327     "df_mirror",
5328     "mirror (DF style) (11.25\xb0)"
5329   },
5330   {
5331     "df_mirror_3",
5332     "df_mirror",
5333     "mirror (DF style) (22.5\xb0)"
5334   },
5335   {
5336     "df_mirror_4",
5337     "df_mirror",
5338     "mirror (DF style) (33.75\xb0)"
5339   },
5340   {
5341     "df_mirror_5",
5342     "df_mirror",
5343     "mirror (DF style) (45\xb0)"
5344   },
5345   {
5346     "df_mirror_6",
5347     "df_mirror",
5348     "mirror (DF style) (56.25\xb0)"
5349   },
5350   {
5351     "df_mirror_7",
5352     "df_mirror",
5353     "mirror (DF style) (67.5\xb0)"
5354   },
5355   {
5356     "df_mirror_8",
5357     "df_mirror",
5358     "mirror (DF style) (78.75\xb0)"
5359   },
5360   {
5361     "df_mirror_9",
5362     "df_mirror",
5363     "mirror (DF style) (90\xb0)"
5364   },
5365   {
5366     "df_mirror_10",
5367     "df_mirror",
5368     "mirror (DF style) (101.25\xb0)"
5369   },
5370   {
5371     "df_mirror_11",
5372     "df_mirror",
5373     "mirror (DF style) (112.5\xb0)"
5374   },
5375   {
5376     "df_mirror_12",
5377     "df_mirror",
5378     "mirror (DF style) (123.75\xb0)"
5379   },
5380   {
5381     "df_mirror_13",
5382     "df_mirror",
5383     "mirror (DF style) (135\xb0)"
5384   },
5385   {
5386     "df_mirror_14",
5387     "df_mirror",
5388     "mirror (DF style) (146.25\xb0)"
5389   },
5390   {
5391     "df_mirror_15",
5392     "df_mirror",
5393     "mirror (DF style) (157.5\xb0)"
5394   },
5395   {
5396     "df_mirror_16",
5397     "df_mirror",
5398     "mirror (DF style) (168.75\xb0)"
5399   },
5400   {
5401     "df_wooden_grid_fixed_1",
5402     "df_wooden_grid_fixed",
5403     "fixed wooden polarizer (DF) (0\xb0)"
5404   },
5405   {
5406     "df_wooden_grid_fixed_2",
5407     "df_wooden_grid_fixed",
5408     "fixed wooden polarizer (DF) (22.5\xb0)"
5409   },
5410   {
5411     "df_wooden_grid_fixed_3",
5412     "df_wooden_grid_fixed",
5413     "fixed wooden polarizer (DF) (45\xb0)"
5414   },
5415   {
5416     "df_wooden_grid_fixed_4",
5417     "df_wooden_grid_fixed",
5418     "fixed wooden polarizer (DF) (67.5\xb0)"
5419   },
5420   {
5421     "df_wooden_grid_fixed_5",
5422     "df_wooden_grid_fixed",
5423     "fixed wooden polarizer (DF) (90\xb0)"
5424   },
5425   {
5426     "df_wooden_grid_fixed_6",
5427     "df_wooden_grid_fixed",
5428     "fixed wooden polarizer (DF) (112.5\xb0)"
5429   },
5430   {
5431     "df_wooden_grid_fixed_7",
5432     "df_wooden_grid_fixed",
5433     "fixed wooden polarizer (DF) (135\xb0)"
5434   },
5435   {
5436     "df_wooden_grid_fixed_8",
5437     "df_wooden_grid_fixed",
5438     "fixed wooden polarizer (DF) (157.5\xb0)"
5439   },
5440   {
5441     "df_steel_grid_fixed_1",
5442     "df_steel_grid_fixed",
5443     "fixed steel polarizer (DF) (0\xb0)"
5444   },
5445   {
5446     "df_steel_grid_fixed_2",
5447     "df_steel_grid_fixed",
5448     "fixed steel polarizer (DF) (22.5\xb0)"
5449   },
5450   {
5451     "df_steel_grid_fixed_3",
5452     "df_steel_grid_fixed",
5453     "fixed steel polarizer (DF) (45\xb0)"
5454   },
5455   {
5456     "df_steel_grid_fixed_4",
5457     "df_steel_grid_fixed",
5458     "fixed steel polarizer (DF) (67.5\xb0)"
5459   },
5460   {
5461     "df_steel_grid_fixed_5",
5462     "df_steel_grid_fixed",
5463     "fixed steel polarizer (DF) (90\xb0)"
5464   },
5465   {
5466     "df_steel_grid_fixed_6",
5467     "df_steel_grid_fixed",
5468     "fixed steel polarizer (DF) (112.5\xb0)"
5469   },
5470   {
5471     "df_steel_grid_fixed_7",
5472     "df_steel_grid_fixed",
5473     "fixed steel polarizer (DF) (135\xb0)"
5474   },
5475   {
5476     "df_steel_grid_fixed_8",
5477     "df_steel_grid_fixed",
5478     "fixed steel polarizer (DF) (157.5\xb0)"
5479   },
5480   {
5481     "df_wooden_wall_1",
5482     "df_wooden_wall",
5483     "wooden wall 1 (DF style)"
5484   },
5485   {
5486     "df_wooden_wall_2",
5487     "df_wooden_wall",
5488     "wooden wall 2 (DF style)"
5489   },
5490   {
5491     "df_wooden_wall_3",
5492     "df_wooden_wall",
5493     "wooden wall 3 (DF style)"
5494   },
5495   {
5496     "df_wooden_wall_4",
5497     "df_wooden_wall",
5498     "wooden wall 4 (DF style)"
5499   },
5500   {
5501     "df_wooden_wall_5",
5502     "df_wooden_wall",
5503     "wooden wall 5 (DF style)"
5504   },
5505   {
5506     "df_wooden_wall_6",
5507     "df_wooden_wall",
5508     "wooden wall 6 (DF style)"
5509   },
5510   {
5511     "df_wooden_wall_7",
5512     "df_wooden_wall",
5513     "wooden wall 7 (DF style)"
5514   },
5515   {
5516     "df_wooden_wall_8",
5517     "df_wooden_wall",
5518     "wooden wall 8 (DF style)"
5519   },
5520   {
5521     "df_wooden_wall_9",
5522     "df_wooden_wall",
5523     "wooden wall 9 (DF style)"
5524   },
5525   {
5526     "df_wooden_wall_10",
5527     "df_wooden_wall",
5528     "wooden wall 10 (DF style)"
5529   },
5530   {
5531     "df_wooden_wall_11",
5532     "df_wooden_wall",
5533     "wooden wall 11 (DF style)"
5534   },
5535   {
5536     "df_wooden_wall_12",
5537     "df_wooden_wall",
5538     "wooden wall 12 (DF style)"
5539   },
5540   {
5541     "df_wooden_wall_13",
5542     "df_wooden_wall",
5543     "wooden wall 13 (DF style)"
5544   },
5545   {
5546     "df_wooden_wall_14",
5547     "df_wooden_wall",
5548     "wooden wall 14 (DF style)"
5549   },
5550   {
5551     "df_wooden_wall_15",
5552     "df_wooden_wall",
5553     "wooden wall 15 (DF style)"
5554   },
5555   {
5556     "df_wooden_wall_16",
5557     "df_wooden_wall",
5558     "wooden wall 16 (DF style)"
5559   },
5560   {
5561     "df_steel_wall_1",
5562     "df_steel_wall",
5563     "steel wall 1 (DF style)"
5564   },
5565   {
5566     "df_steel_wall_2",
5567     "df_steel_wall",
5568     "steel wall 2 (DF style)"
5569   },
5570   {
5571     "df_steel_wall_3",
5572     "df_steel_wall",
5573     "steel wall 3 (DF style)"
5574   },
5575   {
5576     "df_steel_wall_4",
5577     "df_steel_wall",
5578     "steel wall 4 (DF style)"
5579   },
5580   {
5581     "df_steel_wall_5",
5582     "df_steel_wall",
5583     "steel wall 5 (DF style)"
5584   },
5585   {
5586     "df_steel_wall_6",
5587     "df_steel_wall",
5588     "steel wall 6 (DF style)"
5589   },
5590   {
5591     "df_steel_wall_7",
5592     "df_steel_wall",
5593     "steel wall 7 (DF style)"
5594   },
5595   {
5596     "df_steel_wall_8",
5597     "df_steel_wall",
5598     "steel wall 8 (DF style)"
5599   },
5600   {
5601     "df_steel_wall_9",
5602     "df_steel_wall",
5603     "steel wall 9 (DF style)"
5604   },
5605   {
5606     "df_steel_wall_10",
5607     "df_steel_wall",
5608     "steel wall 10 (DF style)"
5609   },
5610   {
5611     "df_steel_wall_11",
5612     "df_steel_wall",
5613     "steel wall 11 (DF style)"
5614   },
5615   {
5616     "df_steel_wall_12",
5617     "df_steel_wall",
5618     "steel wall 12 (DF style)"
5619   },
5620   {
5621     "df_steel_wall_13",
5622     "df_steel_wall",
5623     "steel wall 13 (DF style)"
5624   },
5625   {
5626     "df_steel_wall_14",
5627     "df_steel_wall",
5628     "steel wall 14 (DF style)"
5629   },
5630   {
5631     "df_steel_wall_15",
5632     "df_steel_wall",
5633     "steel wall 15 (DF style)"
5634   },
5635   {
5636     "df_steel_wall_16",
5637     "df_steel_wall",
5638     "steel wall 16 (DF style)"
5639   },
5640   {
5641     "df_empty_space",
5642     "empty_space",
5643     "empty space"
5644   },
5645   {
5646     "df_cell",
5647     "df_cell",
5648     "cell"
5649   },
5650   {
5651     "df_mine",
5652     "df_mine",
5653     "mine"
5654   },
5655   {
5656     "df_refractor",
5657     "df_refractor",
5658     "refractor"
5659   },
5660   {
5661     "df_laser.right",
5662     "df_laser",
5663     "laser cannon (shooting right)"
5664   },
5665   {
5666     "df_laser.up",
5667     "df_laser",
5668     "laser cannon (shooting up)"
5669   },
5670   {
5671     "df_laser.left",
5672     "df_laser",
5673     "laser cannon (shooting left)"
5674   },
5675   {
5676     "df_laser.down",
5677     "df_laser",
5678     "laser cannon (shooting down)"
5679   },
5680   {
5681     "df_receiver.right",
5682     "df_receiver",
5683     "laser receiver (directed right)"
5684   },
5685   {
5686     "df_receiver.up",
5687     "df_receiver",
5688     "laser receiver (directed up)"
5689   },
5690   {
5691     "df_receiver.left",
5692     "df_receiver",
5693     "laser receiver (directed left)"
5694   },
5695   {
5696     "df_receiver.down",
5697     "df_receiver",
5698     "laser receiver (directed down)"
5699   },
5700   {
5701     "df_fibre_optic_red_1",
5702     "df_fibre_optic",
5703     "red fibre optic (part 1)"
5704   },
5705   {
5706     "df_fibre_optic_red_2",
5707     "df_fibre_optic",
5708     "red fibre optic (part 2)"
5709   },
5710   {
5711     "df_fibre_optic_yellow_1",
5712     "df_fibre_optic",
5713     "yellow fibre optic (part 1)"
5714   },
5715   {
5716     "df_fibre_optic_yellow_2",
5717     "df_fibre_optic",
5718     "yellow fibre optic (part 2)"
5719   },
5720   {
5721     "df_fibre_optic_green_1",
5722     "df_fibre_optic",
5723     "green fibre optic (part 1)"
5724   },
5725   {
5726     "df_fibre_optic_green_2",
5727     "df_fibre_optic",
5728     "green fibre optic (part 2)"
5729   },
5730   {
5731     "df_fibre_optic_blue_1",
5732     "df_fibre_optic",
5733     "blue fibre optic (part 1)"
5734   },
5735   {
5736     "df_fibre_optic_blue_2",
5737     "df_fibre_optic",
5738     "blue fibre optic (part 2)"
5739   },
5740   {
5741     "df_mirror_rotating_1",
5742     "df_mirror_rotating",
5743     "rotating mirror (0\xb0)"
5744   },
5745   {
5746     "df_mirror_rotating_2",
5747     "df_mirror_rotating",
5748     "rotating mirror (11.25\xb0)"
5749   },
5750   {
5751     "df_mirror_rotating_3",
5752     "df_mirror_rotating",
5753     "rotating mirror (22.5\xb0)"
5754   },
5755   {
5756     "df_mirror_rotating_4",
5757     "df_mirror_rotating",
5758     "rotating mirror (33.75\xb0)"
5759   },
5760   {
5761     "df_mirror_rotating_5",
5762     "df_mirror_rotating",
5763     "rotating mirror (45\xb0)"
5764   },
5765   {
5766     "df_mirror_rotating_6",
5767     "df_mirror_rotating",
5768     "rotating mirror (56.25\xb0)"
5769   },
5770   {
5771     "df_mirror_rotating_7",
5772     "df_mirror_rotating",
5773     "rotating mirror (67.5\xb0)"
5774   },
5775   {
5776     "df_mirror_rotating_8",
5777     "df_mirror_rotating",
5778     "rotating mirror (78.75\xb0)"
5779   },
5780   {
5781     "df_mirror_rotating_9",
5782     "df_mirror_rotating",
5783     "rotating mirror (90\xb0)"
5784   },
5785   {
5786     "df_mirror_rotating_10",
5787     "df_mirror_rotating",
5788     "rotating mirror (101.25\xb0)"
5789   },
5790   {
5791     "df_mirror_rotating_11",
5792     "df_mirror_rotating",
5793     "rotating mirror (112.5\xb0)"
5794   },
5795   {
5796     "df_mirror_rotating_12",
5797     "df_mirror_rotating",
5798     "rotating mirror (123.75\xb0)"
5799   },
5800   {
5801     "df_mirror_rotating_13",
5802     "df_mirror_rotating",
5803     "rotating mirror (135\xb0)"
5804   },
5805   {
5806     "df_mirror_rotating_14",
5807     "df_mirror_rotating",
5808     "rotating mirror (146.25\xb0)"
5809   },
5810   {
5811     "df_mirror_rotating_15",
5812     "df_mirror_rotating",
5813     "rotating mirror (157.5\xb0)"
5814   },
5815   {
5816     "df_mirror_rotating_16",
5817     "df_mirror_rotating",
5818     "rotating mirror (168.75\xb0)"
5819   },
5820   {
5821     "df_wooden_grid_rotating_1",
5822     "df_wooden_grid_rotating",
5823     "rotating wooden polarizer (0\xb0)"
5824   },
5825   {
5826     "df_wooden_grid_rotating_2",
5827     "df_wooden_grid_rotating",
5828     "rotating wooden polarizer (22.5\xb0)"
5829   },
5830   {
5831     "df_wooden_grid_rotating_3",
5832     "df_wooden_grid_rotating",
5833     "rotating wooden polarizer (45\xb0)"
5834   },
5835   {
5836     "df_wooden_grid_rotating_4",
5837     "df_wooden_grid_rotating",
5838     "rotating wooden polarizer (67.5\xb0)"
5839   },
5840   {
5841     "df_wooden_grid_rotating_5",
5842     "df_wooden_grid_rotating",
5843     "rotating wooden polarizer (90\xb0)"
5844   },
5845   {
5846     "df_wooden_grid_rotating_6",
5847     "df_wooden_grid_rotating",
5848     "rotating wooden polarizer (112.5\xb0)"
5849   },
5850   {
5851     "df_wooden_grid_rotating_7",
5852     "df_wooden_grid_rotating",
5853     "rotating wooden polarizer (135\xb0)"
5854   },
5855   {
5856     "df_wooden_grid_rotating_8",
5857     "df_wooden_grid_rotating",
5858     "rotating wooden polarizer (157.5\xb0)"
5859   },
5860   {
5861     "df_steel_grid_rotating_1",
5862     "df_steel_grid_rotating",
5863     "rotating steel polarizer (0\xb0)"
5864   },
5865   {
5866     "df_steel_grid_rotating_2",
5867     "df_steel_grid_rotating",
5868     "rotating steel polarizer (22.5\xb0)"
5869   },
5870   {
5871     "df_steel_grid_rotating_3",
5872     "df_steel_grid_rotating",
5873     "rotating steel polarizer (45\xb0)"
5874   },
5875   {
5876     "df_steel_grid_rotating_4",
5877     "df_steel_grid_rotating",
5878     "rotating steel polarizer (67.5\xb0)"
5879   },
5880   {
5881     "df_steel_grid_rotating_5",
5882     "df_steel_grid_rotating",
5883     "rotating steel polarizer (90\xb0)"
5884   },
5885   {
5886     "df_steel_grid_rotating_6",
5887     "df_steel_grid_rotating",
5888     "rotating steel polarizer (112.5\xb0)"
5889   },
5890   {
5891     "df_steel_grid_rotating_7",
5892     "df_steel_grid_rotating",
5893     "rotating steel polarizer (135\xb0)"
5894   },
5895   {
5896     "df_steel_grid_rotating_8",
5897     "df_steel_grid_rotating",
5898     "rotating steel polarizer (157.5\xb0)"
5899   },
5900   {
5901     "mm_teleporter_red_1",
5902     "mm_teleporter",
5903     "red teleporter (0\xb0)"
5904   },
5905   {
5906     "mm_teleporter_red_2",
5907     "mm_teleporter",
5908     "red teleporter (22.5\xb0)"
5909   },
5910   {
5911     "mm_teleporter_red_3",
5912     "mm_teleporter",
5913     "red teleporter (45\xb0)"
5914   },
5915   {
5916     "mm_teleporter_red_4",
5917     "mm_teleporter",
5918     "red teleporter (67.5\xb0)"
5919   },
5920   {
5921     "mm_teleporter_red_5",
5922     "mm_teleporter",
5923     "red teleporter (90\xb0)"
5924   },
5925   {
5926     "mm_teleporter_red_6",
5927     "mm_teleporter",
5928     "red teleporter (112.5\xb0)"
5929   },
5930   {
5931     "mm_teleporter_red_7",
5932     "mm_teleporter",
5933     "red teleporter (135\xb0)"
5934   },
5935   {
5936     "mm_teleporter_red_8",
5937     "mm_teleporter",
5938     "red teleporter (157.5\xb0)"
5939   },
5940   {
5941     "mm_teleporter_red_9",
5942     "mm_teleporter",
5943     "red teleporter (180\xb0)"
5944   },
5945   {
5946     "mm_teleporter_red_10",
5947     "mm_teleporter",
5948     "red teleporter (202.5\xb0)"
5949   },
5950   {
5951     "mm_teleporter_red_11",
5952     "mm_teleporter",
5953     "red teleporter (225\xb0)"
5954   },
5955   {
5956     "mm_teleporter_red_12",
5957     "mm_teleporter",
5958     "red teleporter (247.5\xb0)"
5959   },
5960   {
5961     "mm_teleporter_red_13",
5962     "mm_teleporter",
5963     "red teleporter (270\xb0)"
5964   },
5965   {
5966     "mm_teleporter_red_14",
5967     "mm_teleporter",
5968     "red teleporter (292.5\xb0)"
5969   },
5970   {
5971     "mm_teleporter_red_15",
5972     "mm_teleporter",
5973     "red teleporter (315\xb0)"
5974   },
5975   {
5976     "mm_teleporter_red_16",
5977     "mm_teleporter",
5978     "red teleporter (337.5\xb0)"
5979   },
5980   {
5981     "mm_teleporter_yellow_1",
5982     "mm_teleporter",
5983     "yellow teleporter (0\xb0)"
5984   },
5985   {
5986     "mm_teleporter_yellow_2",
5987     "mm_teleporter",
5988     "yellow teleporter (22.5\xb0)"
5989   },
5990   {
5991     "mm_teleporter_yellow_3",
5992     "mm_teleporter",
5993     "yellow teleporter (45\xb0)"
5994   },
5995   {
5996     "mm_teleporter_yellow_4",
5997     "mm_teleporter",
5998     "yellow teleporter (67.5\xb0)"
5999   },
6000   {
6001     "mm_teleporter_yellow_5",
6002     "mm_teleporter",
6003     "yellow teleporter (90\xb0)"
6004   },
6005   {
6006     "mm_teleporter_yellow_6",
6007     "mm_teleporter",
6008     "yellow teleporter (112.5\xb0)"
6009   },
6010   {
6011     "mm_teleporter_yellow_7",
6012     "mm_teleporter",
6013     "yellow teleporter (135\xb0)"
6014   },
6015   {
6016     "mm_teleporter_yellow_8",
6017     "mm_teleporter",
6018     "yellow teleporter (157.5\xb0)"
6019   },
6020   {
6021     "mm_teleporter_yellow_9",
6022     "mm_teleporter",
6023     "yellow teleporter (180\xb0)"
6024   },
6025   {
6026     "mm_teleporter_yellow_10",
6027     "mm_teleporter",
6028     "yellow teleporter (202.5\xb0)"
6029   },
6030   {
6031     "mm_teleporter_yellow_11",
6032     "mm_teleporter",
6033     "yellow teleporter (225\xb0)"
6034   },
6035   {
6036     "mm_teleporter_yellow_12",
6037     "mm_teleporter",
6038     "yellow teleporter (247.5\xb0)"
6039   },
6040   {
6041     "mm_teleporter_yellow_13",
6042     "mm_teleporter",
6043     "yellow teleporter (270\xb0)"
6044   },
6045   {
6046     "mm_teleporter_yellow_14",
6047     "mm_teleporter",
6048     "yellow teleporter (292.5\xb0)"
6049   },
6050   {
6051     "mm_teleporter_yellow_15",
6052     "mm_teleporter",
6053     "yellow teleporter (315\xb0)"
6054   },
6055   {
6056     "mm_teleporter_yellow_16",
6057     "mm_teleporter",
6058     "yellow teleporter (337.5\xb0)"
6059   },
6060   {
6061     "mm_teleporter_green_1",
6062     "mm_teleporter",
6063     "green teleporter (0\xb0)"
6064   },
6065   {
6066     "mm_teleporter_green_2",
6067     "mm_teleporter",
6068     "green teleporter (22.5\xb0)"
6069   },
6070   {
6071     "mm_teleporter_green_3",
6072     "mm_teleporter",
6073     "green teleporter (45\xb0)"
6074   },
6075   {
6076     "mm_teleporter_green_4",
6077     "mm_teleporter",
6078     "green teleporter (67.5\xb0)"
6079   },
6080   {
6081     "mm_teleporter_green_5",
6082     "mm_teleporter",
6083     "green teleporter (90\xb0)"
6084   },
6085   {
6086     "mm_teleporter_green_6",
6087     "mm_teleporter",
6088     "green teleporter (112.5\xb0)"
6089   },
6090   {
6091     "mm_teleporter_green_7",
6092     "mm_teleporter",
6093     "green teleporter (135\xb0)"
6094   },
6095   {
6096     "mm_teleporter_green_8",
6097     "mm_teleporter",
6098     "green teleporter (157.5\xb0)"
6099   },
6100   {
6101     "mm_teleporter_green_9",
6102     "mm_teleporter",
6103     "green teleporter (180\xb0)"
6104   },
6105   {
6106     "mm_teleporter_green_10",
6107     "mm_teleporter",
6108     "green teleporter (202.5\xb0)"
6109   },
6110   {
6111     "mm_teleporter_green_11",
6112     "mm_teleporter",
6113     "green teleporter (225\xb0)"
6114   },
6115   {
6116     "mm_teleporter_green_12",
6117     "mm_teleporter",
6118     "green teleporter (247.5\xb0)"
6119   },
6120   {
6121     "mm_teleporter_green_13",
6122     "mm_teleporter",
6123     "green teleporter (270\xb0)"
6124   },
6125   {
6126     "mm_teleporter_green_14",
6127     "mm_teleporter",
6128     "green teleporter (292.5\xb0)"
6129   },
6130   {
6131     "mm_teleporter_green_15",
6132     "mm_teleporter",
6133     "green teleporter (315\xb0)"
6134   },
6135   {
6136     "mm_teleporter_green_16",
6137     "mm_teleporter",
6138     "green teleporter (337.5\xb0)"
6139   },
6140   {
6141     "mm_teleporter_blue_1",
6142     "mm_teleporter",
6143     "blue teleporter (0\xb0)"
6144   },
6145   {
6146     "mm_teleporter_blue_2",
6147     "mm_teleporter",
6148     "blue teleporter (22.5\xb0)"
6149   },
6150   {
6151     "mm_teleporter_blue_3",
6152     "mm_teleporter",
6153     "blue teleporter (45\xb0)"
6154   },
6155   {
6156     "mm_teleporter_blue_4",
6157     "mm_teleporter",
6158     "blue teleporter (67.5\xb0)"
6159   },
6160   {
6161     "mm_teleporter_blue_5",
6162     "mm_teleporter",
6163     "blue teleporter (90\xb0)"
6164   },
6165   {
6166     "mm_teleporter_blue_6",
6167     "mm_teleporter",
6168     "blue teleporter (112.5\xb0)"
6169   },
6170   {
6171     "mm_teleporter_blue_7",
6172     "mm_teleporter",
6173     "blue teleporter (135\xb0)"
6174   },
6175   {
6176     "mm_teleporter_blue_8",
6177     "mm_teleporter",
6178     "blue teleporter (157.5\xb0)"
6179   },
6180   {
6181     "mm_teleporter_blue_9",
6182     "mm_teleporter",
6183     "blue teleporter (180\xb0)"
6184   },
6185   {
6186     "mm_teleporter_blue_10",
6187     "mm_teleporter",
6188     "blue teleporter (202.5\xb0)"
6189   },
6190   {
6191     "mm_teleporter_blue_11",
6192     "mm_teleporter",
6193     "blue teleporter (225\xb0)"
6194   },
6195   {
6196     "mm_teleporter_blue_12",
6197     "mm_teleporter",
6198     "blue teleporter (247.5\xb0)"
6199   },
6200   {
6201     "mm_teleporter_blue_13",
6202     "mm_teleporter",
6203     "blue teleporter (270\xb0)"
6204   },
6205   {
6206     "mm_teleporter_blue_14",
6207     "mm_teleporter",
6208     "blue teleporter (292.5\xb0)"
6209   },
6210   {
6211     "mm_teleporter_blue_15",
6212     "mm_teleporter",
6213     "blue teleporter (315\xb0)"
6214   },
6215   {
6216     "mm_teleporter_blue_16",
6217     "mm_teleporter",
6218     "blue teleporter (337.5\xb0)"
6219   },
6220   {
6221     "mm_mcduffin",
6222     "mm_mcduffin",
6223     "Gregor McDuffin"
6224   },
6225   {
6226     "mm_pacman",
6227     "mm_pacman",
6228     "pac man (MM style)"
6229   },
6230   {
6231     "mm_fuse",
6232     "mm_fuse",
6233     "fuse (off)",
6234   },
6235   {
6236     "mm_steel_wall",
6237     "mm_steel_wall",
6238     "steel wall (MM style)",
6239   },
6240   {
6241     "mm_wooden_wall",
6242     "mm_wooden_wall",
6243     "wooden wall (MM style)",
6244   },
6245   {
6246     "mm_ice_wall",
6247     "mm_ice_wall",
6248     "ice wall",
6249   },
6250   {
6251     "mm_amoeba_wall",
6252     "mm_amoeba_wall",
6253     "amoeba wall",
6254   },
6255   {
6256     "df_laser",
6257     "df_laser",
6258     "laser cannon"
6259   },
6260   {
6261     "df_receiver",
6262     "df_receiver",
6263     "laser receiver"
6264   },
6265   {
6266     "df_steel_wall",
6267     "df_steel_wall",
6268     "steel wall (DF style)",
6269   },
6270   {
6271     "df_wooden_wall",
6272     "df_wooden_wall",
6273     "wooden wall (DF style)",
6274   },
6275   {
6276     "spring.left",
6277     "spring",
6278     "spring (starts moving left)"
6279   },
6280   {
6281     "spring.right",
6282     "spring",
6283     "spring (starts moving right)"
6284   },
6285   {
6286     "empty_space_1",
6287     "empty_space",
6288     "empty space 1"
6289   },
6290   {
6291     "empty_space_2",
6292     "empty_space",
6293     "empty space 2"
6294   },
6295   {
6296     "empty_space_3",
6297     "empty_space",
6298     "empty space 3"
6299   },
6300   {
6301     "empty_space_4",
6302     "empty_space",
6303     "empty space 4"
6304   },
6305   {
6306     "empty_space_5",
6307     "empty_space",
6308     "empty space 5"
6309   },
6310   {
6311     "empty_space_6",
6312     "empty_space",
6313     "empty space 6"
6314   },
6315   {
6316     "empty_space_7",
6317     "empty_space",
6318     "empty space 7"
6319   },
6320   {
6321     "empty_space_8",
6322     "empty_space",
6323     "empty space 8"
6324   },
6325   {
6326     "empty_space_9",
6327     "empty_space",
6328     "empty space 9"
6329   },
6330   {
6331     "empty_space_10",
6332     "empty_space",
6333     "empty space 10"
6334   },
6335   {
6336     "empty_space_11",
6337     "empty_space",
6338     "empty space 11"
6339   },
6340   {
6341     "empty_space_12",
6342     "empty_space",
6343     "empty space 12"
6344   },
6345   {
6346     "empty_space_13",
6347     "empty_space",
6348     "empty space 13"
6349   },
6350   {
6351     "empty_space_14",
6352     "empty_space",
6353     "empty space 14"
6354   },
6355   {
6356     "empty_space_15",
6357     "empty_space",
6358     "empty space 15"
6359   },
6360   {
6361     "empty_space_16",
6362     "empty_space",
6363     "empty space 16"
6364   },
6365   {
6366     "df_mirror_fixed_1",
6367     "df_mirror_fixed",
6368     "fixed mirror (DF style) (0\xb0)"
6369   },
6370   {
6371     "df_mirror_fixed_2",
6372     "df_mirror_fixed",
6373     "fixed mirror (DF style) (11.25\xb0)"
6374   },
6375   {
6376     "df_mirror_fixed_3",
6377     "df_mirror_fixed",
6378     "fixed mirror (DF style) (22.5\xb0)"
6379   },
6380   {
6381     "df_mirror_fixed_4",
6382     "df_mirror_fixed",
6383     "fixed mirror (DF style) (33.75\xb0)"
6384   },
6385   {
6386     "df_mirror_fixed_5",
6387     "df_mirror_fixed",
6388     "fixed mirror (DF style) (45\xb0)"
6389   },
6390   {
6391     "df_mirror_fixed_6",
6392     "df_mirror_fixed",
6393     "fixed mirror (DF style) (56.25\xb0)"
6394   },
6395   {
6396     "df_mirror_fixed_7",
6397     "df_mirror_fixed",
6398     "fixed mirror (DF style) (67.5\xb0)"
6399   },
6400   {
6401     "df_mirror_fixed_8",
6402     "df_mirror_fixed",
6403     "fixed mirror (DF style) (78.75\xb0)"
6404   },
6405   {
6406     "df_mirror_fixed_9",
6407     "df_mirror_fixed",
6408     "fixed mirror (DF style) (90\xb0)"
6409   },
6410   {
6411     "df_mirror_fixed_10",
6412     "df_mirror_fixed",
6413     "fixed mirror (DF style) (101.25\xb0)"
6414   },
6415   {
6416     "df_mirror_fixed_11",
6417     "df_mirror_fixed",
6418     "fixed mirror (DF style) (112.5\xb0)"
6419   },
6420   {
6421     "df_mirror_fixed_12",
6422     "df_mirror_fixed",
6423     "fixed mirror (DF style) (123.75\xb0)"
6424   },
6425   {
6426     "df_mirror_fixed_13",
6427     "df_mirror_fixed",
6428     "fixed mirror (DF style) (135\xb0)"
6429   },
6430   {
6431     "df_mirror_fixed_14",
6432     "df_mirror_fixed",
6433     "fixed mirror (DF style) (146.25\xb0)"
6434   },
6435   {
6436     "df_mirror_fixed_15",
6437     "df_mirror_fixed",
6438     "fixed mirror (DF style) (157.5\xb0)"
6439   },
6440   {
6441     "df_mirror_fixed_16",
6442     "df_mirror_fixed",
6443     "fixed mirror (DF style) (168.75\xb0)"
6444   },
6445   {
6446     "df_slope_1",
6447     "df_slope",
6448     "slope (DF style) (45\xb0)"
6449   },
6450   {
6451     "df_slope_2",
6452     "df_slope",
6453     "slope (DF style) (135\xb0)"
6454   },
6455   {
6456     "df_slope_3",
6457     "df_slope",
6458     "slope (DF style) (225\xb0)"
6459   },
6460   {
6461     "df_slope_4",
6462     "df_slope",
6463     "slope (DF style) (315\xb0)"
6464   },
6465   {
6466     "bd_empty_space",
6467     "empty_space",
6468     "empty space"
6469   },
6470   {
6471     "bd_sand",
6472     "bd_sand",
6473     "sand"
6474   },
6475   {
6476     "bd_sand_2",
6477     "bd_sand",
6478     "sand 2"
6479   },
6480   {
6481     "bd_sand_ball",
6482     "bd_sand_ball",
6483     "sand ball"
6484   },
6485   {
6486     "bd_sand_loose",
6487     "bd_sand_loose",
6488     "sand (loose)"
6489   },
6490   {
6491     "bd_sand_sloped_up_right",
6492     "bd_sand_sloped",
6493     "sand (sloped up right)"
6494   },
6495   {
6496     "bd_sand_sloped_up_left",
6497     "bd_sand_sloped",
6498     "sand (sloped up left)"
6499   },
6500   {
6501     "bd_sand_sloped_down_left",
6502     "bd_sand_sloped",
6503     "sand (sloped down left)"
6504   },
6505   {
6506     "bd_sand_sloped_down_right",
6507     "bd_sand_sloped",
6508     "sand (sloped down right)"
6509   },
6510   {
6511     "bd_sand_glued",
6512     "bd_sand_glued",
6513     "glued sand"
6514   },
6515   {
6516     "bd_wall_sloped_up_right",
6517     "bd_wall_sloped",
6518     "wall (sloped up right)"
6519   },
6520   {
6521     "bd_wall_sloped_up_left",
6522     "bd_wall_sloped",
6523     "wall (sloped up left)"
6524   },
6525   {
6526     "bd_wall_sloped_down_left",
6527     "bd_wall_sloped",
6528     "wall (sloped down left)"
6529   },
6530   {
6531     "bd_wall_sloped_down_right",
6532     "bd_wall_sloped",
6533     "wall (sloped down right)"
6534   },
6535   {
6536     "bd_wall_non_sloped",
6537     "bd_wall",
6538     "wall (non sloped)"
6539   },
6540   {
6541     "bd_wall_diggable",
6542     "bd_wall",
6543     "diggable wall"
6544   },
6545   {
6546     "bd_wall_diamond",
6547     "bd_wall",
6548     "wall with diamond"
6549   },
6550   {
6551     "bd_wall_key_1",
6552     "bd_wall",
6553     "wall with key 1"
6554   },
6555   {
6556     "bd_wall_key_2",
6557     "bd_wall",
6558     "wall with key 2"
6559   },
6560   {
6561     "bd_wall_key_3",
6562     "bd_wall",
6563     "wall with key 3"
6564   },
6565   {
6566     "bd_falling_wall",
6567     "bd_wall",
6568     "falling wall"
6569   },
6570   {
6571     "bd_steelwall",
6572     "bd_steelwall",
6573     "steel wall"
6574   },
6575   {
6576     "bd_steelwall_sloped_up_right",
6577     "bd_steelwall_sloped",
6578     "steel wall (sloped up right)"
6579   },
6580   {
6581     "bd_steelwall_sloped_up_left",
6582     "bd_steelwall_sloped",
6583     "steel wall (sloped up left)"
6584   },
6585   {
6586     "bd_steelwall_sloped_down_left",
6587     "bd_steelwall_sloped",
6588     "steel wall (sloped down left)"
6589   },
6590   {
6591     "bd_steelwall_sloped_down_right",
6592     "bd_steelwall_sloped",
6593     "steel wall (sloped down right)"
6594   },
6595   {
6596     "bd_steelwall_explodable",
6597     "bd_steelwall",
6598     "explodable steel wall"
6599   },
6600   {
6601     "bd_steelwall_diggable",
6602     "bd_steelwall",
6603     "diggable steel wall"
6604   },
6605   {
6606     "bd_expandable_wall_horizontal",
6607     "bd_expandable_wall",
6608     "expandable wall (horizontal)"
6609   },
6610   {
6611     "bd_expandable_wall_vertical",
6612     "bd_expandable_wall",
6613     "expandable wall (vertical)"
6614   },
6615   {
6616     "bd_expandable_wall_any",
6617     "bd_expandable_wall",
6618     "expandable wall (any direction)"
6619   },
6620   {
6621     "bd_expandable_steelwall_horizontal",
6622     "bd_expandable_steelwall",
6623     "expandable steelwall (horizontal)"
6624   },
6625   {
6626     "bd_expandable_steelwall_vertical",
6627     "bd_expandable_steelwall",
6628     "expandable steelwall (vertical)"
6629   },
6630   {
6631     "bd_expandable_steelwall_any",
6632     "bd_expandable_steelwall",
6633     "expandable steelwall (any direction)"
6634   },
6635   {
6636     "bd_expandable_wall_switch_horizontal",
6637     "bd_expandable_wall_switch",
6638     "switch for expandable wall (horizontal)"
6639   },
6640   {
6641     "bd_expandable_wall_switch_vertical",
6642     "bd_expandable_wall_switch",
6643     "switch for expandable wall (vertical)"
6644   },
6645   {
6646     "bd_inbox",
6647     "bd_inbox",
6648     "inbox"
6649   },
6650   {
6651     "bd_exit_closed",
6652     "bd_exit",
6653     "closed exit"
6654   },
6655   {
6656     "bd_exit_open",
6657     "bd_exit",
6658     "open exit"
6659   },
6660   {
6661     "bd_invisible_exit_closed",
6662     "bd_invisible_exit",
6663     "invisible exit (closed)"
6664   },
6665   {
6666     "bd_invisible_exit_open",
6667     "bd_invisible_exit",
6668     "invisible exit (open)"
6669   },
6670   {
6671     "bd_flying_rock",
6672     "bd_flying_rock",
6673     "flying rock"
6674   },
6675   {
6676     "bd_mega_rock",
6677     "bd_mega_rock",
6678     "mega rock"
6679   },
6680   {
6681     "bd_rock_glued",
6682     "bd_rock_glued",
6683     "glued rock"
6684   },
6685   {
6686     "bd_flying_diamond",
6687     "bd_flying_diamond",
6688     "flying diamond"
6689   },
6690   {
6691     "bd_diamond_glued",
6692     "bd_diamond_glued",
6693     "glued diamond"
6694   },
6695   {
6696     "bd_diamond_key",
6697     "bd_diamond_key",
6698     "diamond key"
6699   },
6700   {
6701     "bd_trapped_diamond",
6702     "bd_trapped_diamond",
6703     "trapped diamond"
6704   },
6705   {
6706     "bd_nut",
6707     "bd_nut",
6708     "nut with diamond"
6709   },
6710   {
6711     "bd_amoeba_2",
6712     "bd_amoeba",
6713     "amoeba 2 (BD style)"
6714   },
6715   {
6716     "bd_bladder",
6717     "bd_bladder",
6718     "bladder"
6719   },
6720   {
6721     "bd_bladder_spender",
6722     "bd_bladder_spender",
6723     "bladder spender"
6724   },
6725   {
6726     "bd_creature_switch",
6727     "bd_creature_switch",
6728     "switch for creature (off)"
6729   },
6730   {
6731     "bd_creature_switch.active",
6732     "bd_creature_switch",
6733     "switch for creature (on)"
6734   },
6735   {
6736     "bd_biter_switch_1",
6737     "bd_biter_switch",
6738     "switch for biter"
6739   },
6740   {
6741     "bd_biter_switch_2",
6742     "bd_biter_switch",
6743     "switch for biter"
6744   },
6745   {
6746     "bd_biter_switch_3",
6747     "bd_biter_switch",
6748     "switch for biter"
6749   },
6750   {
6751     "bd_biter_switch_4",
6752     "bd_biter_switch",
6753     "switch for biter"
6754   },
6755   {
6756     "bd_replicator",
6757     "bd_replicator",
6758     "replicator"
6759   },
6760   {
6761     "bd_replicator.active",
6762     "bd_replicator",
6763     "replicator (active)"
6764   },
6765   {
6766     "bd_replicator_switch",
6767     "bd_replicator_switch",
6768     "switch for replicator (off)"
6769   },
6770   {
6771     "bd_replicator_switch.active",
6772     "bd_replicator_switch",
6773     "switch for replicator (on)"
6774   },
6775   {
6776     "bd_conveyor_left",
6777     "bd_conveyor",
6778     "conveyor belt (left)"
6779   },
6780   {
6781     "bd_conveyor_left.active",
6782     "bd_conveyor",
6783     "conveyor belt (left) (active)"
6784   },
6785   {
6786     "bd_conveyor_right",
6787     "bd_conveyor",
6788     "conveyor belt (right)"
6789   },
6790   {
6791     "bd_conveyor_right.active",
6792     "bd_conveyor",
6793     "conveyor belt (right) (active)"
6794   },
6795   {
6796     "bd_conveyor_switch",
6797     "bd_conveyor_switch",
6798     "switch for conveyor belt (off)"
6799   },
6800   {
6801     "bd_conveyor_switch.active",
6802     "bd_conveyor_switch",
6803     "switch for conveyor belt (on)"
6804   },
6805   {
6806     "bd_conveyor_dir_switch_left",
6807     "bd_conveyor_dir_switch",
6808     "switch for conveyor belt direction (left)"
6809   },
6810   {
6811     "bd_conveyor_dir_switch_right",
6812     "bd_conveyor_dir_switch",
6813     "switch for conveyor belt direction (right)"
6814   },
6815   {
6816     "bd_gravity_switch",
6817     "bd_gravity_switch",
6818     "gravity switch"
6819   },
6820   {
6821     "bd_gravity_switch.active",
6822     "bd_gravity_switch",
6823     "gravity switch (active)"
6824   },
6825   {
6826     "bd_acid",
6827     "bd_acid",
6828     "acid"
6829   },
6830   {
6831     "bd_box",
6832     "bd_box",
6833     "box"
6834   },
6835   {
6836     "bd_time_penalty",
6837     "bd_time_penalty",
6838     "time penalty"
6839   },
6840   {
6841     "bd_gravestone",
6842     "bd_gravestone",
6843     "gravestone"
6844   },
6845   {
6846     "bd_clock",
6847     "bd_clock",
6848     "clock"
6849   },
6850   {
6851     "bd_pot",
6852     "bd_pot",
6853     "pot"
6854   },
6855   {
6856     "bd_pneumatic_hammer",
6857     "bd_pneumatic_hammer",
6858     "pneumatic hammer"
6859   },
6860   {
6861     "bd_teleporter",
6862     "bd_teleporter",
6863     "teleporter"
6864   },
6865   {
6866     "bd_skeleton",
6867     "bd_skeleton",
6868     "skeleton"
6869   },
6870   {
6871     "bd_water",
6872     "bd_water",
6873     "water"
6874   },
6875   {
6876     "bd_key_1",
6877     "bd_key",
6878     "key 1"
6879     },
6880   {
6881     "bd_key_2",
6882     "bd_key",
6883     "key 2"
6884     },
6885   {
6886     "bd_key_3",
6887     "bd_key",
6888     "key 3"
6889   },
6890   {
6891     "bd_gate_1",
6892     "bd_gate",
6893     "door 1"
6894   },
6895   {
6896     "bd_gate_2",
6897     "bd_gate",
6898     "door 2"
6899   },
6900   {
6901     "bd_gate_3",
6902     "bd_gate",
6903     "door 3"
6904   },
6905   {
6906     "bd_lava",
6907     "bd_lava",
6908     "lava"
6909   },
6910   {
6911     "bd_sweet",
6912     "bd_sweet",
6913     "sweet"
6914   },
6915   {
6916     "bd_voodoo_doll",
6917     "bd_voodoo_doll",
6918     "voodoo doll"
6919   },
6920   {
6921     "bd_slime",
6922     "bd_slime",
6923     "slime"
6924   },
6925   {
6926     "bd_waiting_rock",
6927     "bd_waiting_rock",
6928     "waiting rock"
6929   },
6930   {
6931     "bd_chasing_rock",
6932     "bd_chasing_rock",
6933     "chasing rock"
6934   },
6935   {
6936     "bd_ghost",
6937     "bd_ghost",
6938     "ghost"
6939   },
6940   {
6941     "bd_cow",
6942     "bd_cow",
6943     "cow (random start direction)"
6944   },
6945   {
6946     "bd_cow.left",
6947     "bd_cow",
6948     "cow (starts moving left)"
6949   },
6950   {
6951     "bd_cow.up",
6952     "bd_cow",
6953     "cow (starts moving up)"
6954   },
6955   {
6956     "bd_cow.right",
6957     "bd_cow",
6958     "cow (starts moving right)"
6959   },
6960   {
6961     "bd_cow.down",
6962     "bd_cow",
6963     "cow (starts moving down)"
6964   },
6965   {
6966     "bd_butterfly_2",
6967     "bd_butterfly",
6968     "butterfly 2 (random start direction)"
6969   },
6970   {
6971     "bd_butterfly_2.right",
6972     "bd_butterfly",
6973     "butterfly 2 (starts moving right)"
6974   },
6975   {
6976     "bd_butterfly_2.up",
6977     "bd_butterfly",
6978     "butterfly 2 (starts moving up)"
6979   },
6980   {
6981     "bd_butterfly_2.left",
6982     "bd_butterfly",
6983     "butterfly 2 (starts moving left)"
6984   },
6985   {
6986     "bd_butterfly_2.down",
6987     "bd_butterfly",
6988     "butterfly 2 (starts moving down)"
6989   },
6990   {
6991     "bd_firefly_2",
6992     "bd_firefly",
6993     "firefly 2 (random start direction)"
6994   },
6995   {
6996     "bd_firefly_2.right",
6997     "bd_firefly",
6998     "firefly 2 (starts moving right)"
6999   },
7000   {
7001     "bd_firefly_2.up",
7002     "bd_firefly",
7003     "firefly 2 (starts moving up)"
7004   },
7005   {
7006     "bd_firefly_2.left",
7007     "bd_firefly",
7008     "firefly 2 (starts moving left)"
7009   },
7010   {
7011     "bd_firefly_2.down",
7012     "bd_firefly",
7013     "firefly 2 (starts moving down)"
7014   },
7015   {
7016     "bd_stonefly",
7017     "bd_stonefly",
7018     "stonefly (random start direction)"
7019   },
7020   {
7021     "bd_stonefly.right",
7022     "bd_stonefly",
7023     "stonefly (starts moving right)"
7024   },
7025   {
7026     "bd_stonefly.up",
7027     "bd_stonefly",
7028     "stonefly (starts moving up)"
7029   },
7030   {
7031     "bd_stonefly.left",
7032     "bd_stonefly",
7033     "stonefly (starts moving left)"
7034   },
7035   {
7036     "bd_stonefly.down",
7037     "bd_stonefly",
7038     "stonefly (starts moving down)"
7039   },
7040   {
7041     "bd_biter",
7042     "bd_biter",
7043     "biter (random start direction)"
7044   },
7045   {
7046     "bd_biter.right",
7047     "bd_biter",
7048     "biter (starts moving right)"
7049   },
7050   {
7051     "bd_biter.up",
7052     "bd_biter",
7053     "biter (starts moving up)"
7054   },
7055   {
7056     "bd_biter.left",
7057     "bd_biter",
7058     "biter (starts moving left)"
7059   },
7060   {
7061     "bd_biter.down",
7062     "bd_biter",
7063     "biter (starts moving down)"
7064   },
7065   {
7066     "bd_dragonfly",
7067     "bd_dragonfly",
7068     "dragonfly (random start direction)"
7069   },
7070   {
7071     "bd_dragonfly.right",
7072     "bd_dragonfly",
7073     "dragonfly (starts moving right)"
7074   },
7075   {
7076     "bd_dragonfly.up",
7077     "bd_dragonfly",
7078     "dragonfly (starts moving up)"
7079   },
7080   {
7081     "bd_dragonfly.left",
7082     "bd_dragonfly",
7083     "dragonfly (starts moving left)"
7084   },
7085   {
7086     "bd_dragonfly.down",
7087     "bd_dragonfly",
7088     "dragonfly (starts moving down)"
7089   },
7090   {
7091     "bd_bomb",
7092     "bd_bomb",
7093     "bomb"
7094   },
7095   {
7096     "bd_nitro_pack",
7097     "bd_nitro_pack",
7098     "nitro pack"
7099   },
7100   {
7101     "bd_player",
7102     "bd_player",
7103     "player"
7104   },
7105   {
7106     "bd_player_with_bomb",
7107     "bd_player",
7108     "player with bomb",
7109   },
7110   {
7111     "bd_player_glued",
7112     "bd_player",
7113     "glued player",
7114   },
7115   {
7116     "bd_player_stirring",
7117     "bd_player",
7118     "stirring player"
7119   },
7120   {
7121     "bd_fake_bonus",
7122     "bd_fake_bonus",
7123     "fake bonus"
7124   },
7125   {
7126     "bd_covered",
7127     "bd_covered",
7128     "covered"
7129   },
7130
7131   // --------------------------------------------------------------------------
7132   // "real" (and therefore drawable) runtime elements
7133   // --------------------------------------------------------------------------
7134
7135   {
7136     "dynabomb_player_1.active",
7137     "dynabomb",
7138     "-"
7139   },
7140   {
7141     "dynabomb_player_2.active",
7142     "dynabomb",
7143     "-"
7144   },
7145   {
7146     "dynabomb_player_3.active",
7147     "dynabomb",
7148     "-"
7149   },
7150   {
7151     "dynabomb_player_4.active",
7152     "dynabomb",
7153     "-"
7154   },
7155   {
7156     "sp_disk_red.active",
7157     "dynamite",
7158     "-"
7159   },
7160   {
7161     "switchgate.opening",
7162     "switchgate",
7163     "-"
7164   },
7165   {
7166     "switchgate.closing",
7167     "switchgate",
7168     "-"
7169   },
7170   {
7171     "timegate.opening",
7172     "timegate",
7173     "-"
7174   },
7175   {
7176     "timegate.closing",
7177     "timegate",
7178     "-"
7179   },
7180   {
7181     "pearl.breaking",
7182     "pearl",
7183     "-"
7184   },
7185   {
7186     "trap.active",
7187     "trap",
7188     "-"
7189   },
7190   {
7191     "invisible_steelwall.active",
7192     "steelwall",
7193     "-"
7194   },
7195   {
7196     "invisible_wall.active",
7197     "wall",
7198     "-"
7199   },
7200   {
7201     "invisible_sand.active",
7202     "sand",
7203     "-"
7204   },
7205   {
7206     "conveyor_belt_1_left.active",
7207     "conveyor_belt",
7208     "-"
7209   },
7210   {
7211     "conveyor_belt_1_middle.active",
7212     "conveyor_belt",
7213     "-"
7214   },
7215   {
7216     "conveyor_belt_1_right.active",
7217     "conveyor_belt",
7218     "-"
7219   },
7220   {
7221     "conveyor_belt_2_left.active",
7222     "conveyor_belt",
7223     "-"
7224   },
7225   {
7226     "conveyor_belt_2_middle.active",
7227     "conveyor_belt",
7228     "-"
7229   },
7230   {
7231     "conveyor_belt_2_right.active",
7232     "conveyor_belt",
7233     "-"
7234   },
7235   {
7236     "conveyor_belt_3_left.active",
7237     "conveyor_belt",
7238     "-"
7239   },
7240   {
7241     "conveyor_belt_3_middle.active",
7242     "conveyor_belt",
7243     "-"
7244   },
7245   {
7246     "conveyor_belt_3_right.active",
7247     "conveyor_belt",
7248     "-"
7249   },
7250   {
7251     "conveyor_belt_4_left.active",
7252     "conveyor_belt",
7253     "-"
7254   },
7255   {
7256     "conveyor_belt_4_middle.active",
7257     "conveyor_belt",
7258     "-"
7259   },
7260   {
7261     "conveyor_belt_4_right.active",
7262     "conveyor_belt",
7263     "-"
7264   },
7265   {
7266     "exit.opening",
7267     "exit",
7268     "-"
7269   },
7270   {
7271     "exit.closing",
7272     "exit",
7273     "-"
7274   },
7275   {
7276     "steel_exit.opening",
7277     "steel_exit",
7278     "-"
7279   },
7280   {
7281     "steel_exit.closing",
7282     "steel_exit",
7283     "-"
7284   },
7285   {
7286     "em_exit.opening",
7287     "em_exit",
7288     "-"
7289   },
7290   {
7291     "em_exit.closing",
7292     "em_exit",
7293     "-"
7294   },
7295   {
7296     "em_steel_exit.opening",
7297     "em_steel_exit",
7298     "-"
7299   },
7300   {
7301     "em_steel_exit.closing",
7302     "em_steel_exit",
7303     "-"
7304   },
7305   {
7306     "sp_exit.opening",
7307     "sp_exit",
7308     "-"
7309   },
7310   {
7311     "sp_exit.closing",
7312     "sp_exit",
7313     "-"
7314   },
7315   {
7316     "sp_exit_open",
7317     "sp_exit",
7318     "-"
7319   },
7320   {
7321     "sp_terminal.active",
7322     "sp_terminal",
7323     "-"
7324   },
7325   {
7326     "sp_buggy_base.activating",
7327     "sp_buggy_base",
7328     "-"
7329   },
7330   {
7331     "sp_buggy_base.active",
7332     "sp_buggy_base",
7333     "-"
7334   },
7335   {
7336     "sp_murphy_clone",
7337     "murphy_clone",
7338     "-"
7339   },
7340   {
7341     "amoeba.dropping",
7342     "amoeba",
7343     "-"
7344   },
7345   {
7346     "quicksand.emptying",
7347     "quicksand",
7348     "-"
7349   },
7350   {
7351     "quicksand_fast.emptying",
7352     "quicksand",
7353     "-"
7354   },
7355   {
7356     "magic_wall.active",
7357     "magic_wall",
7358     "-"
7359   },
7360   {
7361     "bd_magic_wall.active",
7362     "magic_wall",
7363     "-"
7364   },
7365   {
7366     "dc_magic_wall.active",
7367     "magic_wall",
7368     "-"
7369   },
7370   {
7371     "magic_wall_full",
7372     "magic_wall",
7373     "-"
7374   },
7375   {
7376     "bd_magic_wall_full",
7377     "magic_wall",
7378     "-"
7379   },
7380   {
7381     "dc_magic_wall_full",
7382     "magic_wall",
7383     "-"
7384   },
7385   {
7386     "magic_wall.emptying",
7387     "magic_wall",
7388     "-"
7389   },
7390   {
7391     "bd_magic_wall.emptying",
7392     "magic_wall",
7393     "-"
7394   },
7395   {
7396     "dc_magic_wall.emptying",
7397     "magic_wall",
7398     "-"
7399   },
7400   {
7401     "magic_wall_dead",
7402     "magic_wall",
7403     "-"
7404   },
7405   {
7406     "bd_magic_wall_dead",
7407     "magic_wall",
7408     "-"
7409   },
7410   {
7411     "dc_magic_wall_dead",
7412     "magic_wall",
7413     "-"
7414   },
7415
7416   {
7417     "emc_fake_grass.active",
7418     "fake_grass",
7419     "-"
7420   },
7421   {
7422     "gate_1_gray.active",
7423     "gate",
7424     ""
7425   },
7426   {
7427     "gate_2_gray.active",
7428     "gate",
7429     ""
7430   },
7431   {
7432     "gate_3_gray.active",
7433     "gate",
7434     ""
7435   },
7436   {
7437     "gate_4_gray.active",
7438     "gate",
7439     ""
7440   },
7441   {
7442     "em_gate_1_gray.active",
7443     "gate",
7444     ""
7445   },
7446   {
7447     "em_gate_2_gray.active",
7448     "gate",
7449     ""
7450   },
7451   {
7452     "em_gate_3_gray.active",
7453     "gate",
7454     ""
7455   },
7456   {
7457     "em_gate_4_gray.active",
7458     "gate",
7459     ""
7460   },
7461   {
7462     "emc_gate_5_gray.active",
7463     "gate",
7464     "",
7465   },
7466   {
7467     "emc_gate_6_gray.active",
7468     "gate",
7469     "",
7470   },
7471   {
7472     "emc_gate_7_gray.active",
7473     "gate",
7474     "",
7475   },
7476   {
7477     "emc_gate_8_gray.active",
7478     "gate",
7479     "",
7480   },
7481   {
7482     "dc_gate_white_gray.active",
7483     "gate",
7484     "",
7485   },
7486   {
7487     "emc_dripper.active",
7488     "dripper",
7489     "dripper"
7490   },
7491   {
7492     "emc_spring_bumper.active",
7493     "emc_spring_bumper",
7494     "spring bumper",
7495   },
7496   {
7497     "mm_exit.opening",
7498     "mm_exit",
7499     "-"
7500   },
7501   {
7502     "mm_exit.closing",
7503     "mm_exit",
7504     "-"
7505   },
7506   {
7507     "mm_gray_ball.active",
7508     "mm_gray_ball",
7509     "-",
7510   },
7511   {
7512     "mm_gray_ball.opening",
7513     "mm_gray_ball",
7514     "-",
7515   },
7516   {
7517     "mm_ice_wall.shrinking",
7518     "mm_ice_wall",
7519     "-",
7520   },
7521   {
7522     "mm_amoeba_wall.growing",
7523     "mm_amoeba_wall",
7524     "-",
7525   },
7526   {
7527     "mm_pacman.eating.right",
7528     "mm_pacman",
7529     "pac man (eating right)"
7530   },
7531   {
7532     "mm_pacman.eating.up",
7533     "mm_pacman",
7534     "pac man (eating up)"
7535   },
7536   {
7537     "mm_pacman.eating.left",
7538     "mm_pacman",
7539     "pac man (eating left)"
7540   },
7541   {
7542     "mm_pacman.eating.down",
7543     "mm_pacman",
7544     "pac man (eating down)"
7545   },
7546   {
7547     "mm_bomb.active",
7548     "mm_bomb",
7549     "active bomb (MM style)"
7550   },
7551   {
7552     "df_mine.active",
7553     "df_mine",
7554     "active mine"
7555   },
7556
7557   // --------------------------------------------------------------------------
7558   // "unreal" (and therefore not drawable) runtime elements
7559   // --------------------------------------------------------------------------
7560
7561   {
7562     "blocked",
7563     "-",
7564     "-"
7565   },
7566   {
7567     "explosion",
7568     "-",
7569     "-"
7570   },
7571   {
7572     "nut.breaking",
7573     "-",
7574     "-"
7575   },
7576   {
7577     "diamond.breaking",
7578     "-",
7579     "-"
7580   },
7581   {
7582     "acid_splash_left",
7583     "-",
7584     "-"
7585   },
7586   {
7587     "acid_splash_right",
7588     "-",
7589     "-"
7590   },
7591   {
7592     "amoeba.growing",
7593     "-",
7594     "-"
7595   },
7596   {
7597     "amoeba.shrinking",
7598     "-",
7599     "-"
7600   },
7601   {
7602     "expandable_wall.growing",
7603     "-",
7604     "-"
7605   },
7606   {
7607     "expandable_steelwall.growing",
7608     "-",
7609     "-"
7610   },
7611   {
7612     "flames",
7613     "-",
7614     "-"
7615   },
7616   {
7617     "player_is_leaving",
7618     "-",
7619     "-"
7620   },
7621   {
7622     "player_is_exploding_1",
7623     "-",
7624     "-"
7625   },
7626   {
7627     "player_is_exploding_2",
7628     "-",
7629     "-"
7630   },
7631   {
7632     "player_is_exploding_3",
7633     "-",
7634     "-"
7635   },
7636   {
7637     "player_is_exploding_4",
7638     "-",
7639     "-"
7640   },
7641   {
7642     "quicksand.filling",
7643     "quicksand",
7644     "-"
7645   },
7646   {
7647     "quicksand_fast.filling",
7648     "quicksand",
7649     "-"
7650   },
7651   {
7652     "magic_wall.filling",
7653     "-",
7654     "-"
7655   },
7656   {
7657     "bd_magic_wall.filling",
7658     "-",
7659     "-"
7660   },
7661   {
7662     "dc_magic_wall.filling",
7663     "-",
7664     "-"
7665   },
7666   {
7667     "element.snapping",
7668     "-",
7669     "-"
7670   },
7671   {
7672     "diagonal.shrinking",
7673     "-",
7674     "-"
7675   },
7676   {
7677     "diagonal.growing",
7678     "-",
7679     "-"
7680   },
7681
7682   // --------------------------------------------------------------------------
7683   // dummy elements (never used as game elements, only used as graphics)
7684   // --------------------------------------------------------------------------
7685
7686   {
7687     "steelwall_topleft",
7688     "-",
7689     "-"
7690   },
7691   {
7692     "steelwall_topright",
7693     "-",
7694     "-"
7695   },
7696   {
7697     "steelwall_bottomleft",
7698     "-",
7699     "-"
7700   },
7701   {
7702     "steelwall_bottomright",
7703     "-",
7704     "-"
7705   },
7706   {
7707     "steelwall_horizontal",
7708     "-",
7709     "-"
7710   },
7711   {
7712     "steelwall_vertical",
7713     "-",
7714     "-"
7715   },
7716   {
7717     "invisible_steelwall_topleft",
7718     "-",
7719     "-"
7720   },
7721   {
7722     "invisible_steelwall_topright",
7723     "-",
7724     "-"
7725   },
7726   {
7727     "invisible_steelwall_bottomleft",
7728     "-",
7729     "-"
7730   },
7731   {
7732     "invisible_steelwall_bottomright",
7733     "-",
7734     "-"
7735   },
7736   {
7737     "invisible_steelwall_horizontal",
7738     "-",
7739     "-"
7740   },
7741   {
7742     "invisible_steelwall_vertical",
7743     "-",
7744     "-"
7745   },
7746   {
7747     "dynabomb",
7748     "-",
7749     "-"
7750   },
7751   {
7752     "dynabomb.active",
7753     "-",
7754     "-"
7755   },
7756   {
7757     "dynabomb_player_1",
7758     "-",
7759     "-"
7760   },
7761   {
7762     "dynabomb_player_2",
7763     "-",
7764     "-"
7765   },
7766   {
7767     "dynabomb_player_3",
7768     "-",
7769     "-"
7770   },
7771   {
7772     "dynabomb_player_4",
7773     "-",
7774     "-"
7775   },
7776   {
7777     "shield_normal.active",
7778     "-",
7779     "-"
7780   },
7781   {
7782     "shield_deadly.active",
7783     "-",
7784     "-"
7785   },
7786   {
7787     "amoeba",
7788     "amoeba",
7789     "-"
7790   },
7791   {
7792     "mm_lightball_red",
7793     "-",
7794     "-"
7795   },
7796   {
7797     "mm_lightball_blue",
7798     "-",
7799     "-"
7800   },
7801   {
7802     "mm_lightball_yellow",
7803     "-",
7804     "-"
7805   },
7806   {
7807     "[default]",
7808     "default",
7809     "-"
7810   },
7811   {
7812     "[bd_default]",
7813     "bd_default",
7814     "-"
7815   },
7816   {
7817     "[sp_default]",
7818     "sp_default",
7819     "-"
7820   },
7821   {
7822     "[sb_default]",
7823     "sb_default",
7824     "-"
7825   },
7826   {
7827     "[mm_default]",
7828     "mm_default",
7829     "-"
7830   },
7831   {
7832     "graphic_1",
7833     "graphic",
7834     "-"
7835   },
7836   {
7837     "graphic_2",
7838     "graphic",
7839     "-"
7840   },
7841   {
7842     "graphic_3",
7843     "graphic",
7844     "-"
7845   },
7846   {
7847     "graphic_4",
7848     "graphic",
7849     "-"
7850   },
7851   {
7852     "graphic_5",
7853     "graphic",
7854     "-"
7855   },
7856   {
7857     "graphic_6",
7858     "graphic",
7859     "-"
7860   },
7861   {
7862     "graphic_7",
7863     "graphic",
7864     "-"
7865   },
7866   {
7867     "graphic_8",
7868     "graphic",
7869     "-"
7870   },
7871   {
7872     "bd_game_graphics_color_template",
7873     "-",
7874     "-"
7875   },
7876   {
7877     "internal_clipboard_custom",
7878     "internal",
7879     "empty custom element"
7880   },
7881   {
7882     "internal_clipboard_change",
7883     "internal",
7884     "empty change page"
7885   },
7886   {
7887     "internal_clipboard_group",
7888     "internal",
7889     "empty group element"
7890   },
7891   {
7892     "internal_dummy",
7893     "internal",
7894     "-"
7895   },
7896   {
7897     "internal_cascade_bd",
7898     "internal",
7899     "show Boulder Dash elements"
7900   },
7901   {
7902     "internal_cascade_bd.active",
7903     "internal",
7904     "hide Boulder Dash elements"
7905   },
7906   {
7907     "internal_cascade_bd_native",
7908     "internal",
7909     "show native Boulder Dash elements"
7910   },
7911   {
7912     "internal_cascade_bd_native.active",
7913     "internal",
7914     "hide native Boulder Dash elements"
7915   },
7916   {
7917     "internal_cascade_em",
7918     "internal",
7919     "show Emerald Mine elements"
7920   },
7921   {
7922     "internal_cascade_em.active",
7923     "internal",
7924     "hide Emerald Mine elements"
7925   },
7926   {
7927     "internal_cascade_emc",
7928     "internal",
7929     "show Emerald Mine Club elements"
7930   },
7931   {
7932     "internal_cascade_emc.active",
7933     "internal",
7934     "hide Emerald Mine Club elements"
7935   },
7936   {
7937     "internal_cascade_rnd",
7938     "internal",
7939     "show Rocks'n'Diamonds elements"
7940   },
7941   {
7942     "internal_cascade_rnd.active",
7943     "internal",
7944     "hide Rocks'n'Diamonds elements"
7945   },
7946   {
7947     "internal_cascade_sb",
7948     "internal",
7949     "show Sokoban elements"
7950   },
7951   {
7952     "internal_cascade_sb.active",
7953     "internal",
7954     "hide Sokoban elements"
7955   },
7956   {
7957     "internal_cascade_sp",
7958     "internal",
7959     "show Supaplex elements"
7960   },
7961   {
7962     "internal_cascade_sp.active",
7963     "internal",
7964     "hide Supaplex elements"
7965   },
7966   {
7967     "internal_cascade_dc",
7968     "internal",
7969     "show Diamond Caves II elements"
7970   },
7971   {
7972     "internal_cascade_dc.active",
7973     "internal",
7974     "hide Diamond Caves II elements"
7975   },
7976   {
7977     "internal_cascade_dx",
7978     "internal",
7979     "show DX Boulderdash elements"
7980   },
7981   {
7982     "internal_cascade_dx.active",
7983     "internal",
7984     "hide DX Boulderdash elements"
7985   },
7986   {
7987     "internal_cascade_mm",
7988     "internal",
7989     "show Mirror Magic elements"
7990   },
7991   {
7992     "internal_cascade_mm.active",
7993     "internal",
7994     "hide Mirror Magic elements"
7995   },
7996   {
7997     "internal_cascade_df",
7998     "internal",
7999     "show Deflektor elements"
8000   },
8001   {
8002     "internal_cascade_df.active",
8003     "internal",
8004     "hide Deflektor elements"
8005   },
8006   {
8007     "internal_cascade_chars",
8008     "internal",
8009     "show text elements"
8010   },
8011   {
8012     "internal_cascade_chars.active",
8013     "internal",
8014     "hide text elements"
8015   },
8016   {
8017     "internal_cascade_steel_chars",
8018     "internal",
8019     "show steel text elements"
8020   },
8021   {
8022     "internal_cascade_steel_chars.active",
8023     "internal",
8024     "hide steel text elements"
8025   },
8026   {
8027     "internal_cascade_ce",
8028     "internal",
8029     "show custom elements"
8030   },
8031   {
8032     "internal_cascade_ce.active",
8033     "internal",
8034     "hide custom elements"
8035   },
8036   {
8037     "internal_cascade_ge",
8038     "internal",
8039     "show group elements"
8040   },
8041   {
8042     "internal_cascade_ge.active",
8043     "internal",
8044     "hide group elements"
8045   },
8046   {
8047     "internal_cascade_es",
8048     "internal",
8049     "show empty space elements"
8050   },
8051   {
8052     "internal_cascade_es.active",
8053     "internal",
8054     "hide empty space elements"
8055   },
8056   {
8057     "internal_cascade_ref",
8058     "internal",
8059     "show reference elements"
8060   },
8061   {
8062     "internal_cascade_ref.active",
8063     "internal",
8064     "hide reference elements"
8065   },
8066   {
8067     "internal_cascade_user",
8068     "internal",
8069     "show user defined elements"
8070   },
8071   {
8072     "internal_cascade_user.active",
8073     "internal",
8074     "hide user defined elements"
8075   },
8076   {
8077     "internal_cascade_dynamic",
8078     "internal",
8079     "show elements used in this level"
8080   },
8081   {
8082     "internal_cascade_dynamic.active",
8083     "internal",
8084     "hide elements used in this level"
8085   },
8086
8087   // keyword to stop parser: "ELEMENT_INFO_END" <-- do not change!
8088
8089   {
8090     NULL,
8091     NULL,
8092     NULL
8093   }
8094 };
8095
8096
8097 // ----------------------------------------------------------------------------
8098 // element action and direction definitions
8099 // ----------------------------------------------------------------------------
8100
8101 struct ElementActionInfo element_action_info[NUM_ACTIONS + 1 + 1] =
8102 {
8103   { ".[DEFAULT]",               ACTION_DEFAULT,                 TRUE    },
8104   { ".waiting",                 ACTION_WAITING,                 TRUE    },
8105   { ".falling",                 ACTION_FALLING,                 TRUE    },
8106   { ".moving",                  ACTION_MOVING,                  TRUE    },
8107   { ".digging",                 ACTION_DIGGING,                 FALSE   },
8108   { ".snapping",                ACTION_SNAPPING,                FALSE   },
8109   { ".collecting",              ACTION_COLLECTING,              FALSE   },
8110   { ".dropping",                ACTION_DROPPING,                FALSE   },
8111   { ".pushing",                 ACTION_PUSHING,                 FALSE   },
8112   { ".walking",                 ACTION_WALKING,                 FALSE   },
8113   { ".passing",                 ACTION_PASSING,                 FALSE   },
8114   { ".impact",                  ACTION_IMPACT,                  FALSE   },
8115   { ".breaking",                ACTION_BREAKING,                FALSE   },
8116   { ".activating",              ACTION_ACTIVATING,              FALSE   },
8117   { ".deactivating",            ACTION_DEACTIVATING,            FALSE   },
8118   { ".opening",                 ACTION_OPENING,                 FALSE   },
8119   { ".closing",                 ACTION_CLOSING,                 FALSE   },
8120   { ".attacking",               ACTION_ATTACKING,               TRUE    },
8121   { ".growing",                 ACTION_GROWING,                 TRUE    },
8122   { ".shrinking",               ACTION_SHRINKING,               FALSE   },
8123   { ".active",                  ACTION_ACTIVE,                  TRUE    },
8124   { ".filling",                 ACTION_FILLING,                 FALSE   },
8125   { ".emptying",                ACTION_EMPTYING,                FALSE   },
8126   { ".changing",                ACTION_CHANGING,                FALSE   },
8127   { ".exploding",               ACTION_EXPLODING,               FALSE   },
8128   { ".boring",                  ACTION_BORING,                  FALSE   },
8129   { ".boring[1]",               ACTION_BORING_1,                FALSE   },
8130   { ".boring[2]",               ACTION_BORING_2,                FALSE   },
8131   { ".boring[3]",               ACTION_BORING_3,                FALSE   },
8132   { ".boring[4]",               ACTION_BORING_4,                FALSE   },
8133   { ".boring[5]",               ACTION_BORING_5,                FALSE   },
8134   { ".boring[6]",               ACTION_BORING_6,                FALSE   },
8135   { ".boring[7]",               ACTION_BORING_7,                FALSE   },
8136   { ".boring[8]",               ACTION_BORING_8,                FALSE   },
8137   { ".boring[9]",               ACTION_BORING_9,                FALSE   },
8138   { ".boring[10]",              ACTION_BORING_10,               FALSE   },
8139   { ".sleeping",                ACTION_SLEEPING,                FALSE   },
8140   { ".sleeping[1]",             ACTION_SLEEPING_1,              FALSE   },
8141   { ".sleeping[2]",             ACTION_SLEEPING_2,              FALSE   },
8142   { ".sleeping[3]",             ACTION_SLEEPING_3,              FALSE   },
8143   { ".awakening",               ACTION_AWAKENING,               FALSE   },
8144   { ".dying",                   ACTION_DYING,                   FALSE   },
8145   { ".turning",                 ACTION_TURNING,                 FALSE   },
8146   { ".turning_from_left",       ACTION_TURNING_FROM_LEFT,       FALSE   },
8147   { ".turning_from_right",      ACTION_TURNING_FROM_RIGHT,      FALSE   },
8148   { ".turning_from_up",         ACTION_TURNING_FROM_UP,         FALSE   },
8149   { ".turning_from_down",       ACTION_TURNING_FROM_DOWN,       FALSE   },
8150   { ".smashed_by_rock",         ACTION_SMASHED_BY_ROCK,         FALSE   },
8151   { ".smashed_by_spring",       ACTION_SMASHED_BY_SPRING,       FALSE   },
8152   { ".eating",                  ACTION_EATING,                  FALSE   },
8153   { ".twinkling",               ACTION_TWINKLING,               FALSE   },
8154   { ".splashing",               ACTION_SPLASHING,               FALSE   },
8155   { ".hitting",                 ACTION_HITTING,                 FALSE   },
8156   { ".page[1]",                 ACTION_PAGE_1,                  FALSE   },
8157   { ".page[2]",                 ACTION_PAGE_2,                  FALSE   },
8158   { ".page[3]",                 ACTION_PAGE_3,                  FALSE   },
8159   { ".page[4]",                 ACTION_PAGE_4,                  FALSE   },
8160   { ".page[5]",                 ACTION_PAGE_5,                  FALSE   },
8161   { ".page[6]",                 ACTION_PAGE_6,                  FALSE   },
8162   { ".page[7]",                 ACTION_PAGE_7,                  FALSE   },
8163   { ".page[8]",                 ACTION_PAGE_8,                  FALSE   },
8164   { ".page[9]",                 ACTION_PAGE_9,                  FALSE   },
8165   { ".page[10]",                ACTION_PAGE_10,                 FALSE   },
8166   { ".page[11]",                ACTION_PAGE_11,                 FALSE   },
8167   { ".page[12]",                ACTION_PAGE_12,                 FALSE   },
8168   { ".page[13]",                ACTION_PAGE_13,                 FALSE   },
8169   { ".page[14]",                ACTION_PAGE_14,                 FALSE   },
8170   { ".page[15]",                ACTION_PAGE_15,                 FALSE   },
8171   { ".page[16]",                ACTION_PAGE_16,                 FALSE   },
8172   { ".page[17]",                ACTION_PAGE_17,                 FALSE   },
8173   { ".page[18]",                ACTION_PAGE_18,                 FALSE   },
8174   { ".page[19]",                ACTION_PAGE_19,                 FALSE   },
8175   { ".page[20]",                ACTION_PAGE_20,                 FALSE   },
8176   { ".page[21]",                ACTION_PAGE_21,                 FALSE   },
8177   { ".page[22]",                ACTION_PAGE_22,                 FALSE   },
8178   { ".page[23]",                ACTION_PAGE_23,                 FALSE   },
8179   { ".page[24]",                ACTION_PAGE_24,                 FALSE   },
8180   { ".page[25]",                ACTION_PAGE_25,                 FALSE   },
8181   { ".page[26]",                ACTION_PAGE_26,                 FALSE   },
8182   { ".page[27]",                ACTION_PAGE_27,                 FALSE   },
8183   { ".page[28]",                ACTION_PAGE_28,                 FALSE   },
8184   { ".page[29]",                ACTION_PAGE_29,                 FALSE   },
8185   { ".page[30]",                ACTION_PAGE_30,                 FALSE   },
8186   { ".page[31]",                ACTION_PAGE_31,                 FALSE   },
8187   { ".page[32]",                ACTION_PAGE_32,                 FALSE   },
8188   { ".part_1",                  ACTION_PART_1,                  FALSE   },
8189   { ".part_2",                  ACTION_PART_2,                  FALSE   },
8190   { ".part_3",                  ACTION_PART_3,                  FALSE   },
8191   { ".part_4",                  ACTION_PART_4,                  FALSE   },
8192   { ".part_5",                  ACTION_PART_5,                  FALSE   },
8193   { ".part_6",                  ACTION_PART_6,                  FALSE   },
8194   { ".part_7",                  ACTION_PART_7,                  FALSE   },
8195   { ".part_8",                  ACTION_PART_8,                  FALSE   },
8196   { ".part_9",                  ACTION_PART_9,                  FALSE   },
8197   { ".part_10",                 ACTION_PART_10,                 FALSE   },
8198   { ".part_11",                 ACTION_PART_11,                 FALSE   },
8199   { ".part_12",                 ACTION_PART_12,                 FALSE   },
8200   { ".part_13",                 ACTION_PART_13,                 FALSE   },
8201   { ".part_14",                 ACTION_PART_14,                 FALSE   },
8202   { ".part_15",                 ACTION_PART_15,                 FALSE   },
8203   { ".part_16",                 ACTION_PART_16,                 FALSE   },
8204   { ".part_17",                 ACTION_PART_17,                 FALSE   },
8205   { ".part_18",                 ACTION_PART_18,                 FALSE   },
8206   { ".part_19",                 ACTION_PART_19,                 FALSE   },
8207   { ".part_20",                 ACTION_PART_20,                 FALSE   },
8208   { ".part_21",                 ACTION_PART_21,                 FALSE   },
8209   { ".part_22",                 ACTION_PART_22,                 FALSE   },
8210   { ".part_23",                 ACTION_PART_23,                 FALSE   },
8211   { ".part_24",                 ACTION_PART_24,                 FALSE   },
8212   { ".part_25",                 ACTION_PART_25,                 FALSE   },
8213   { ".part_26",                 ACTION_PART_26,                 FALSE   },
8214   { ".part_27",                 ACTION_PART_27,                 FALSE   },
8215   { ".part_28",                 ACTION_PART_28,                 FALSE   },
8216   { ".part_29",                 ACTION_PART_29,                 FALSE   },
8217   { ".part_30",                 ACTION_PART_30,                 FALSE   },
8218   { ".part_31",                 ACTION_PART_31,                 FALSE   },
8219   { ".part_32",                 ACTION_PART_32,                 FALSE   },
8220   { ".other",                   ACTION_OTHER,                   FALSE   },
8221
8222   // empty suffix always matches -- check as last entry in InitSoundInfo()
8223   { "",                         ACTION_DEFAULT,                 TRUE    },
8224
8225   { NULL,                       0,                              0       }
8226 };
8227
8228 struct ElementDirectionInfo element_direction_info[NUM_DIRECTIONS_FULL + 1] =
8229 {
8230   { ".left",                    MV_BIT_LEFT                             },
8231   { ".right",                   MV_BIT_RIGHT                            },
8232   { ".up",                      MV_BIT_UP                               },
8233   { ".down",                    MV_BIT_DOWN                             },
8234   { ".upleft",                  MV_BIT_UP                               },
8235   { ".upright",                 MV_BIT_RIGHT                            },
8236   { ".downleft",                MV_BIT_LEFT                             },
8237   { ".downright",               MV_BIT_DOWN                             },
8238
8239   { NULL,                       0                                       }
8240 };
8241
8242 struct SpecialSuffixInfo special_suffix_info[NUM_SPECIAL_GFX_ARGS + 1 + 1] =
8243 {
8244   { ".[DEFAULT]",               GFX_SPECIAL_ARG_DEFAULT,                },
8245   { ".LOADING_INITIAL",         GFX_SPECIAL_ARG_LOADING_INITIAL,        },
8246   { ".LOADING",                 GFX_SPECIAL_ARG_LOADING,                },
8247   { ".TITLE_INITIAL",           GFX_SPECIAL_ARG_TITLE_INITIAL,          },
8248   { ".TITLE_INITIAL_1",         GFX_SPECIAL_ARG_TITLE_INITIAL_1,        },
8249   { ".TITLE_INITIAL_2",         GFX_SPECIAL_ARG_TITLE_INITIAL_2,        },
8250   { ".TITLE_INITIAL_3",         GFX_SPECIAL_ARG_TITLE_INITIAL_3,        },
8251   { ".TITLE_INITIAL_4",         GFX_SPECIAL_ARG_TITLE_INITIAL_4,        },
8252   { ".TITLE_INITIAL_5",         GFX_SPECIAL_ARG_TITLE_INITIAL_5,        },
8253   { ".TITLE",                   GFX_SPECIAL_ARG_TITLE,                  },
8254   { ".TITLE_1",                 GFX_SPECIAL_ARG_TITLE_1,                },
8255   { ".TITLE_2",                 GFX_SPECIAL_ARG_TITLE_2,                },
8256   { ".TITLE_3",                 GFX_SPECIAL_ARG_TITLE_3,                },
8257   { ".TITLE_4",                 GFX_SPECIAL_ARG_TITLE_4,                },
8258   { ".TITLE_5",                 GFX_SPECIAL_ARG_TITLE_5,                },
8259   { ".MAIN",                    GFX_SPECIAL_ARG_MAIN,                   },
8260   { ".NAMES",                   GFX_SPECIAL_ARG_NAMES,                  },
8261   { ".LEVELS",                  GFX_SPECIAL_ARG_LEVELS                  },
8262   { ".LEVELNR",                 GFX_SPECIAL_ARG_LEVELNR                 },
8263   { ".SCORES",                  GFX_SPECIAL_ARG_SCORES,                 },
8264   { ".SCOREINFO",               GFX_SPECIAL_ARG_SCOREINFO,              },
8265   { ".EDITOR",                  GFX_SPECIAL_ARG_EDITOR,                 },
8266   { ".INFO",                    GFX_SPECIAL_ARG_INFO,                   },
8267   { ".SETUP",                   GFX_SPECIAL_ARG_SETUP,                  },
8268   { ".PLAYING",                 GFX_SPECIAL_ARG_PLAYING,                },
8269   { ".DOOR",                    GFX_SPECIAL_ARG_DOOR,                   },
8270   { ".TAPE",                    GFX_SPECIAL_ARG_TAPE,                   },
8271   { ".PANEL",                   GFX_SPECIAL_ARG_PANEL,                  },
8272   { ".PREVIEW",                 GFX_SPECIAL_ARG_PREVIEW,                },
8273   { ".CRUMBLED",                GFX_SPECIAL_ARG_CRUMBLED,               },
8274   { ".MAINONLY",                GFX_SPECIAL_ARG_MAINONLY,               },
8275   { ".NAMESONLY",               GFX_SPECIAL_ARG_NAMESONLY,              },
8276   { ".SCORESONLY",              GFX_SPECIAL_ARG_SCORESONLY,             },
8277   { ".TYPENAME",                GFX_SPECIAL_ARG_TYPENAME,               },
8278   { ".TYPENAMES",               GFX_SPECIAL_ARG_TYPENAMES,              },
8279   { ".SUBMENU",                 GFX_SPECIAL_ARG_SUBMENU,                },
8280   { ".MENU",                    GFX_SPECIAL_ARG_MENU,                   },
8281   { ".TOONS",                   GFX_SPECIAL_ARG_TOONS,                  },
8282   { ".SCORESOLD",               GFX_SPECIAL_ARG_SCORESOLD,              },
8283   { ".SCORESNEW",               GFX_SPECIAL_ARG_SCORESNEW,              },
8284   { ".NO_TITLE",                GFX_SPECIAL_ARG_NO_TITLE,               },
8285   { ".FADING",                  GFX_SPECIAL_ARG_FADING,                 },
8286   { ".QUIT",                    GFX_SPECIAL_ARG_QUIT,                   },
8287
8288   // empty suffix always matches -- check as last entry in InitMusicInfo()
8289   { "",                         GFX_SPECIAL_ARG_DEFAULT,                },
8290
8291   { NULL,                       0,                                      }
8292 };
8293
8294 #include "conf_var.c"   // include auto-generated data structure definitions
8295
8296
8297 // ----------------------------------------------------------------------------
8298 // font definitions
8299 // ----------------------------------------------------------------------------
8300
8301 // Important: When one entry is a prefix of another entry, the longer entry
8302 // must come first, because the dynamic configuration does prefix matching!
8303 // (These definitions must match the corresponding definitions in "main.h"!)
8304
8305 struct FontInfo font_info[NUM_FONTS + 1] =
8306 {
8307   { "font.initial_1"            },
8308   { "font.initial_2"            },
8309   { "font.initial_3"            },
8310   { "font.initial_4"            },
8311   { "font.title_1"              },
8312   { "font.title_2"              },
8313   { "font.menu_1.active"        },
8314   { "font.menu_2.active"        },
8315   { "font.menu_1"               },
8316   { "font.menu_2"               },
8317   { "font.text_1.active"        },
8318   { "font.text_2.active"        },
8319   { "font.text_3.active"        },
8320   { "font.text_4.active"        },
8321   { "font.text_1"               },
8322   { "font.text_2"               },
8323   { "font.text_3"               },
8324   { "font.text_4"               },
8325   { "font.envelope_1"           },
8326   { "font.envelope_2"           },
8327   { "font.envelope_3"           },
8328   { "font.envelope_4"           },
8329   { "font.request_narrow"       },
8330   { "font.request"              },
8331   { "font.input_1.active"       },
8332   { "font.input_2.active"       },
8333   { "font.input_1"              },
8334   { "font.input_2"              },
8335   { "font.option_off_narrow"    },
8336   { "font.option_off"           },
8337   { "font.option_on_narrow"     },
8338   { "font.option_on"            },
8339   { "font.value_1"              },
8340   { "font.value_2"              },
8341   { "font.value_old_narrow"     },
8342   { "font.value_old"            },
8343   { "font.value_narrow"         },
8344   { "font.level_number.active"  },
8345   { "font.level_number"         },
8346   { "font.tape_recorder"        },
8347   { "font.game_info"            },
8348   { "font.info.elements"        },
8349   { "font.info.levelset"        },
8350   { "font.main.network_players" },
8351
8352   { NULL                        }
8353 };
8354
8355 struct GlobalAnimInfo global_anim_info[NUM_GLOBAL_ANIM_TOKENS + 1];
8356
8357 // this contains predefined structure elements to init "global_anim_info"
8358 struct GlobalAnimNameInfo global_anim_name_info[NUM_GLOBAL_ANIM_TOKENS + 1] =
8359 {
8360   // (real) graphic definitions used to define animation graphics
8361   { "gfx.global.anim_1",        },
8362   { "gfx.global.anim_2",        },
8363   { "gfx.global.anim_3",        },
8364   { "gfx.global.anim_4",        },
8365   { "gfx.global.anim_5",        },
8366   { "gfx.global.anim_6",        },
8367   { "gfx.global.anim_7",        },
8368   { "gfx.global.anim_8",        },
8369   { "gfx.global.anim_9",        },
8370   { "gfx.global.anim_10",       },
8371   { "gfx.global.anim_11",       },
8372   { "gfx.global.anim_12",       },
8373   { "gfx.global.anim_13",       },
8374   { "gfx.global.anim_14",       },
8375   { "gfx.global.anim_15",       },
8376   { "gfx.global.anim_16",       },
8377   { "gfx.global.anim_17",       },
8378   { "gfx.global.anim_18",       },
8379   { "gfx.global.anim_19",       },
8380   { "gfx.global.anim_20",       },
8381   { "gfx.global.anim_21",       },
8382   { "gfx.global.anim_22",       },
8383   { "gfx.global.anim_23",       },
8384   { "gfx.global.anim_24",       },
8385   { "gfx.global.anim_25",       },
8386   { "gfx.global.anim_26",       },
8387   { "gfx.global.anim_27",       },
8388   { "gfx.global.anim_28",       },
8389   { "gfx.global.anim_29",       },
8390   { "gfx.global.anim_30",       },
8391   { "gfx.global.anim_31",       },
8392   { "gfx.global.anim_32",       },
8393
8394   // (dummy) graphic definitions used to define animation controls
8395   { "global.anim_1",            },
8396   { "global.anim_2",            },
8397   { "global.anim_3",            },
8398   { "global.anim_4",            },
8399   { "global.anim_5",            },
8400   { "global.anim_6",            },
8401   { "global.anim_7",            },
8402   { "global.anim_8",            },
8403   { "global.anim_9",            },
8404   { "global.anim_10",           },
8405   { "global.anim_11",           },
8406   { "global.anim_12",           },
8407   { "global.anim_13",           },
8408   { "global.anim_14",           },
8409   { "global.anim_15",           },
8410   { "global.anim_16",           },
8411   { "global.anim_17",           },
8412   { "global.anim_18",           },
8413   { "global.anim_19",           },
8414   { "global.anim_20",           },
8415   { "global.anim_21",           },
8416   { "global.anim_22",           },
8417   { "global.anim_23",           },
8418   { "global.anim_24",           },
8419   { "global.anim_25",           },
8420   { "global.anim_26",           },
8421   { "global.anim_27",           },
8422   { "global.anim_28",           },
8423   { "global.anim_29",           },
8424   { "global.anim_30",           },
8425   { "global.anim_31",           },
8426   { "global.anim_32",           },
8427
8428   { NULL                        }
8429 };
8430
8431 struct GlobalAnimEventInfo global_anim_event_info =
8432 {
8433   NULL, 0
8434 };
8435
8436
8437 // ----------------------------------------------------------------------------
8438 // music token prefix definitions
8439 // ----------------------------------------------------------------------------
8440
8441 struct MusicPrefixInfo music_prefix_info[NUM_MUSIC_PREFIXES + 1] =
8442 {
8443   { "background",               TRUE    },
8444
8445   { NULL,                       0       }
8446 };
8447
8448
8449 // ============================================================================
8450 // main()
8451 // ============================================================================
8452
8453 static void print_usage(void)
8454 {
8455   Print("\n"
8456         "Usage: %s [OPTION]... [HOSTNAME [PORT]]\n"
8457         "\n"
8458         "Options:\n"
8459         "  -b, --basepath DIRECTORY         alternative base DIRECTORY\n"
8460         "  -l, --levels DIRECTORY           alternative levels DIRECTORY\n"
8461         "  -g, --graphics DIRECTORY         alternative graphics DIRECTORY\n"
8462         "  -s, --sounds DIRECTORY           alternative sounds DIRECTORY\n"
8463         "  -m, --music DIRECTORY            alternative music DIRECTORY\n"
8464         "      --display NR                 open program window on display NR\n"
8465         "      --mytapes                    use private tapes for tape tests\n"
8466         "  -n, --network                    network multiplayer game\n"
8467         "      --serveronly                 only start network server\n"
8468         "  -v, --verbose                    verbose mode\n"
8469         "  -V, --version                    show program version\n"
8470         "      --debug[=MODE]               show (and limit) debug output\n"
8471         "  -e, --execute COMMAND            execute batch COMMAND\n"
8472         "\n"
8473         "Valid commands for '--execute' option:\n"
8474         "  \"print graphicsinfo.conf\"        print default graphics config\n"
8475         "  \"print soundsinfo.conf\"          print default sounds config\n"
8476         "  \"print musicinfo.conf\"           print default music config\n"
8477         "  \"print editorsetup.conf\"         print default editor config\n"
8478         "  \"print helpanim.conf\"            print default helpanim config\n"
8479         "  \"print helptext.conf\"            print default helptext config\n"
8480         "  \"dump level FILE\"                dump level data from FILE\n"
8481         "  \"dump tape FILE\"                 dump tape data from FILE\n"
8482         "  \"autoplay LEVELDIR [NR ...]\"     play level tapes for LEVELDIR\n"
8483         "  \"autoffwd LEVELDIR [NR ...]\"     ffwd level tapes for LEVELDIR\n"
8484         "  \"autowarp LEVELDIR [NR ...]\"     warp level tapes for LEVELDIR\n"
8485         "  \"autotest LEVELDIR [NR ...]\"     test level tapes for LEVELDIR\n"
8486         "  \"autofix LEVELDIR [NR ...]\"      test and fix tapes for LEVELDIR\n"
8487         "  \"patch tapes MODE LEVELDIR [NR]\" patch level tapes for LEVELDIR\n"
8488         "  \"convert LEVELDIR [NR]\"          convert levels in LEVELDIR\n"
8489         "  \"create sketch images DIRECTORY\" write BMP images to DIRECTORY\n"
8490         "  \"create collect image DIRECTORY\" write BMP image to DIRECTORY\n"
8491         "\n",
8492         program.command_basename);
8493 }
8494
8495 static void print_version(void)
8496 {
8497   Print("%s", getProgramInitString());
8498
8499   if (!strEqual(getProgramVersionString(), getProgramRealVersionString()))
8500   {
8501     Print(" (%s %d.%d.%d.%d%s)",
8502           PROGRAM_TITLE_STRING,
8503           PROGRAM_VERSION_SUPER,
8504           PROGRAM_VERSION_MAJOR,
8505           PROGRAM_VERSION_MINOR,
8506           PROGRAM_VERSION_PATCH,
8507           PROGRAM_VERSION_EXTRA);
8508   }
8509
8510   Print("\n");
8511
8512   if (options.debug)
8513   {
8514     SDL_version sdl_version;
8515
8516     SDL_VERSION(&sdl_version);
8517     Print("- SDL %d.%d.%d\n",
8518           sdl_version.major,
8519           sdl_version.minor,
8520           sdl_version.patch);
8521
8522     SDL_IMAGE_VERSION(&sdl_version);
8523     Print("- SDL_image %d.%d.%d\n",
8524           sdl_version.major,
8525           sdl_version.minor,
8526           sdl_version.patch);
8527
8528     SDL_MIXER_VERSION(&sdl_version);
8529     Print("- SDL_mixer %d.%d.%d\n",
8530           sdl_version.major,
8531           sdl_version.minor,
8532           sdl_version.patch);
8533
8534     SDL_NET_VERSION(&sdl_version);
8535     Print("- SDL_net %d.%d.%d\n",
8536           sdl_version.major,
8537           sdl_version.minor,
8538           sdl_version.patch);
8539   }
8540 }
8541
8542 static void InitProgramConfig(char *command_filename)
8543 {
8544   char *program_title = PROGRAM_TITLE_STRING;
8545   char *program_icon_file = PROGRAM_ICON_FILENAME;
8546   char *program_version = getProgramRealVersionString();
8547   char *program_basename = getBaseNameNoSuffix(command_filename);
8548   char *config_filename = getProgramConfigFilename(command_filename);
8549   char *userdata_subdir;
8550
8551   // read default program config, if existing
8552   if (fileExists(config_filename))
8553     LoadSetupFromFilename(config_filename);
8554
8555   // set program title from potentially redefined program title
8556   if (setup.internal.program_title != NULL &&
8557       strlen(setup.internal.program_title) > 0)
8558     program_title = getStringCopy(setup.internal.program_title);
8559
8560   // set program version from potentially redefined program version
8561   if (setup.internal.program_version != NULL &&
8562       strlen(setup.internal.program_version) > 0)
8563     program_version = getStringCopy(setup.internal.program_version);
8564
8565   // set program icon file from potentially redefined program icon file
8566   if (setup.internal.program_icon_file != NULL &&
8567       strlen(setup.internal.program_icon_file) > 0)
8568     program_icon_file = getStringCopy(setup.internal.program_icon_file);
8569
8570 #if defined(PLATFORM_WINDOWS) || defined(PLATFORM_MAC) || defined(PLATFORM_EMSCRIPTEN)
8571   userdata_subdir = program_title;
8572 #elif defined(PLATFORM_UNIX)
8573   userdata_subdir = getStringCat2(".", program_basename);
8574 #else
8575   userdata_subdir = USERDATA_DIRECTORY_OTHER;
8576 #endif
8577
8578   // set default window size (only relevant on program startup)
8579   if (setup.internal.default_window_width  != 0 &&
8580       setup.internal.default_window_height != 0)
8581   {
8582     WIN_XSIZE = setup.internal.default_window_width;
8583     WIN_YSIZE = setup.internal.default_window_height;
8584   }
8585
8586   InitProgramInfo(command_filename,
8587                   config_filename,
8588                   userdata_subdir,
8589                   program_basename,
8590                   program_title,
8591                   program_icon_file,
8592                   COOKIE_PREFIX,
8593                   program_version,
8594                   GAME_VERSION_ACTUAL);
8595 }
8596
8597 int main(int argc, char *argv[])
8598 {
8599   InitProgramConfig(argv[0]);
8600
8601   InitWindowTitleFunction(getWindowTitleString);
8602   InitExitMessageFunction(DisplayExitMessage);
8603   InitExitFunction(CloseAllAndExit);
8604   InitPlatformDependentStuff();
8605
8606   GetOptions(argc, argv, print_usage, print_version);
8607   OpenAll();
8608
8609   EventLoop();
8610   CloseAllAndExit(0);
8611
8612   return 0;     // to keep compilers happy
8613 }