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