rnd-20140114-1-src
[rocksndiamonds.git] / src / main.c
1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
3 *----------------------------------------------------------*
4 * (c) 1995-2006 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * main.c                                                   *
12 ***********************************************************/
13
14 #include "libgame/libgame.h"
15
16 #include "main.h"
17 #include "init.h"
18 #include "game.h"
19 #include "tape.h"
20 #include "tools.h"
21 #include "events.h"
22 #include "config.h"
23
24 Bitmap                 *bitmap_db_store;
25 Bitmap                 *bitmap_db_cross;
26 Bitmap                 *bitmap_db_field;
27 Bitmap                 *bitmap_db_panel;
28 Bitmap                 *bitmap_db_door;
29 Bitmap                 *bitmap_db_toons;
30 DrawBuffer             *fieldbuffer;
31 DrawBuffer             *drawto_field;
32
33 int                     game_status = -1;
34 boolean                 level_editor_test_game = FALSE;
35 boolean                 network_playing = FALSE;
36
37 #if defined(TARGET_SDL)
38 boolean                 network_server = FALSE;
39 SDL_Thread             *server_thread;
40 #endif
41
42 int                     key_joystick_mapping = 0;
43
44 #if 1
45 #if NEW_SCROLL
46 boolean                 redraw[2 + MAX_LEV_FIELDX + 2][2 + MAX_LEV_FIELDY + 2];
47 #else
48 boolean                 redraw[MAX_LEV_FIELDX + 2][MAX_LEV_FIELDY + 2];
49 #endif
50 #else
51 boolean                 redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
52 #endif
53 int                     redraw_x1 = 0, redraw_y1 = 0;
54
55 short                   Feld[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
56 short                   MovPos[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
57 short                   MovDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
58 short                   MovDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
59 short                   ChangeDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
60 short                   ChangePage[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
61 short                   CustomValue[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
62 short                   Store[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
63 short                   Store2[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
64 short                   StorePlayer[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
65 short                   Back[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
66 boolean                 Stop[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
67 boolean                 Pushed[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
68 short                   ChangeCount[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
69 short                   ChangeEvent[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
70 short                   WasJustMoving[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
71 short                   WasJustFalling[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
72 short                   CheckCollision[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
73 short                   CheckImpact[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
74 short                   AmoebaNr[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
75 short                   AmoebaCnt[MAX_NUM_AMOEBA];
76 short                   AmoebaCnt2[MAX_NUM_AMOEBA];
77 short                   ExplodeField[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
78 short                   ExplodePhase[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
79 short                   ExplodeDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
80 int                     RunnerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
81 int                     PlayerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
82
83 int                     GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
84 int                     GfxRandom[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
85 int                     GfxElement[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
86 int                     GfxAction[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
87 int                     GfxDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
88 int                     GfxRedraw[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
89
90 int                     ActiveElement[MAX_NUM_ELEMENTS];
91 int                     ActiveButton[NUM_IMAGE_FILES];
92 int                     ActiveFont[NUM_FONTS];
93
94 int                     lev_fieldx, lev_fieldy;
95 int                     scroll_x, scroll_y;
96
97 int                     WIN_XSIZE = 672, WIN_YSIZE = 560;
98 int                     SCR_FIELDX = 17, SCR_FIELDY = 17;
99 int                     SX = 8, SY = 8;
100 int                     REAL_SX = 6, REAL_SY = 6;
101 int                     DX = 566, DY = 60;
102 int                     VX = 566, VY = 400;
103 int                     EX = 566, EY = 356;
104 int                     dDX, dDY;
105 int                     SXSIZE = 17 * TILEX;    /* SCR_FIELDX * TILEX */
106 int                     SYSIZE = 17 * TILEY;    /* SCR_FIELDY * TILEY */
107 int                     FULL_SXSIZE = 2 + 17 * TILEX + 2; /* 2 + SXSIZE + 2 */
108 int                     FULL_SYSIZE = 2 + 17 * TILEY + 2; /* 2 + SYSIZE + 2 */
109 int                     TILESIZE_VAR = TILESIZE;
110
111 #if 1
112 int                     FX, FY;
113 #else
114 int                     FX = SX, FY = SY;
115 #endif
116 int                     ScrollStepSize;
117 int                     ScreenMovDir = MV_NONE, ScreenMovPos = 0;
118 int                     ScreenGfxPos = 0;
119 int                     BorderElement = EL_STEELWALL;
120 int                     GameFrameDelay = GAME_FRAME_DELAY;
121 int                     FfwdFrameDelay = FFWD_FRAME_DELAY;
122 #if 1
123 int                     BX1, BY1;
124 int                     BX2, BY2;
125 #else
126 int                     BX1 = 0, BY1 = 0;
127 int                     BX2 = SCR_FIELDX - 1, BY2 = SCR_FIELDY - 1;
128 #endif
129 int                     SBX_Left, SBX_Right;
130 int                     SBY_Upper, SBY_Lower;
131 int                     ZX, ZY;
132 int                     ExitX, ExitY;
133 int                     AllPlayersGone;
134
135 int                     TimeFrames, TimePlayed, TimeLeft, TapeTime;
136
137 boolean                 network_player_action_received = FALSE;
138
139 struct LevelSetInfo     levelset;
140 struct LevelInfo        level, level_template;
141 struct PlayerInfo       stored_player[MAX_PLAYERS], *local_player = NULL;
142 struct HiScore          highscore[MAX_SCORE_ENTRIES];
143 struct TapeInfo         tape;
144 struct SetupInfo        setup;
145 struct GameInfo         game;
146 struct GlobalInfo       global;
147 struct BorderInfo       border;
148 struct ViewportInfo     viewport;
149 struct TitleFadingInfo  fading;
150 struct TitleFadingInfo  title_initial_default;
151 struct TitleFadingInfo  title_default;
152 struct TitleMessageInfo titlemessage_initial_default;
153 struct TitleMessageInfo titlemessage_initial[MAX_NUM_TITLE_MESSAGES];
154 struct TitleMessageInfo titlemessage_default;
155 struct TitleMessageInfo titlemessage[MAX_NUM_TITLE_MESSAGES];
156 struct TitleMessageInfo readme;
157 struct InitInfo         init, init_last;
158 struct MenuInfo         menu;
159 struct DoorInfo         door_1, door_2;
160 struct RequestInfo      request;
161 struct PreviewInfo      preview;
162
163 struct GraphicInfo     *graphic_info = NULL;
164 struct SoundInfo       *sound_info = NULL;
165 struct MusicInfo       *music_info = NULL;
166 struct MusicFileInfo   *music_file_info = NULL;
167 struct HelpAnimInfo    *helpanim_info = NULL;
168
169 SetupFileHash          *helptext_info = NULL;
170 SetupFileHash          *image_config_hash = NULL;
171 SetupFileHash          *element_token_hash = NULL;
172 SetupFileHash          *graphic_token_hash = NULL;
173 SetupFileHash          *font_token_hash = NULL;
174
175
176 /* ------------------------------------------------------------------------- */
177 /* element definitions                                                       */
178 /* ------------------------------------------------------------------------- */
179
180 struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1];
181
182 /* this contains predefined structure elements to initialize "element_info" */
183 struct ElementNameInfo element_name_info[MAX_NUM_ELEMENTS + 1] =
184 {
185   /* keyword to start parser: "ELEMENT_INFO_START" <-- do not change! */
186
187   /* ----------------------------------------------------------------------- */
188   /* "real" level file elements                                              */
189   /* ----------------------------------------------------------------------- */
190
191   {
192     "empty_space",
193     "empty_space",
194     "empty space"
195   },
196   {
197     "sand",
198     "sand",
199     "sand"
200   },
201   {
202     "wall",
203     "wall",
204     "normal wall"
205   },
206   {
207     "wall_slippery",
208     "wall",
209     "slippery wall"
210   },
211   {
212     "rock",
213     "rock",
214     "rock"
215   },
216   {
217     "key_obsolete",
218     "obsolete",
219     "key (OBSOLETE)"
220   },
221   {
222     "emerald",
223     "emerald",
224     "emerald"
225   },
226   {
227     "exit_closed",
228     "exit",
229     "closed exit"
230   },
231   {
232     "player_obsolete",
233     "obsolete",
234     "player (OBSOLETE)"
235   },
236   {
237     "bug",
238     "bug",
239     "bug (random start direction)"
240   },
241   {
242     "spaceship",
243     "spaceship",
244     "spaceship (random start direction)"
245   },
246   {
247     "yamyam",
248     "yamyam",
249     "yam yam (random start direction)"
250   },
251   {
252     "robot",
253     "robot",
254     "robot"
255   },
256   {
257     "steelwall",
258     "steelwall",
259     "steel wall"
260   },
261   {
262     "diamond",
263     "diamond",
264     "diamond"
265   },
266   {
267     "amoeba_dead",
268     "amoeba",
269     "dead amoeba"
270   },
271   {
272     "quicksand_empty",
273     "quicksand",
274     "quicksand (empty)"
275   },
276   {
277     "quicksand_full",
278     "quicksand",
279     "quicksand (with rock)"
280   },
281   {
282     "amoeba_drop",
283     "amoeba",
284     "amoeba drop"
285   },
286   {
287     "bomb",
288     "bomb",
289     "bomb"
290   },
291   {
292     "magic_wall",
293     "magic_wall",
294     "magic wall"
295   },
296   {
297     "speed_pill",
298     "speed_pill",
299     "speed pill"
300   },
301   {
302     "acid",
303     "acid",
304     "acid"
305   },
306   {
307     "amoeba_wet",
308     "amoeba",
309     "dropping amoeba (EM style)"
310   },
311   {
312     "amoeba_dry",
313     "amoeba",
314     "normal amoeba"
315   },
316   {
317     "nut",
318     "nut",
319     "nut with emerald"
320   },
321   {
322     "game_of_life",
323     "game_of_life",
324     "Conway's wall of life"
325   },
326   {
327     "biomaze",
328     "biomaze",
329     "biomaze"
330   },
331   {
332     "dynamite.active",
333     "dynamite",
334     "burning dynamite"
335   },
336   {
337     "stoneblock",
338     "wall",
339     "wall"
340   },
341   {
342     "robot_wheel",
343     "robot_wheel",
344     "magic wheel"
345   },
346   {
347     "robot_wheel.active",
348     "robot_wheel",
349     "magic wheel (running)"
350   },
351   {
352     "key_1",
353     "key",
354     "key 1"
355   },
356   {
357     "key_2",
358     "key",
359     "key 2"
360   },
361   {
362     "key_3",
363     "key",
364     "key 3"
365   },
366   {
367     "key_4",
368     "key",
369     "key 4"
370   },
371   {
372     "gate_1",
373     "gate",
374     "door 1"
375   },
376   {
377     "gate_2",
378     "gate",
379     "door 2"
380   },
381   {
382     "gate_3",
383     "gate",
384     "door 3"
385   },
386   {
387     "gate_4",
388     "gate",
389     "door 4"
390   },
391   {
392     "gate_1_gray",
393     "gate",
394     "gray door (opened by key 1)"
395   },
396   {
397     "gate_2_gray",
398     "gate",
399     "gray door (opened by key 2)"
400   },
401   {
402     "gate_3_gray",
403     "gate",
404     "gray door (opened by key 3)"
405   },
406   {
407     "gate_4_gray",
408     "gate",
409     "gray door (opened by key 4)"
410   },
411   {
412     "dynamite",
413     "dynamite",
414     "dynamite"
415   },
416   {
417     "pacman",
418     "pacman",
419     "pac man (random start direction)"
420   },
421   {
422     "invisible_wall",
423     "wall",
424     "invisible normal wall"
425   },
426   {
427     "lamp",
428     "lamp",
429     "lamp (off)"
430   },
431   {
432     "lamp.active",
433     "lamp",
434     "lamp (on)"
435   },
436   {
437     "wall_emerald",
438     "wall",
439     "wall with emerald"
440   },
441   {
442     "wall_diamond",
443     "wall",
444     "wall with diamond"
445   },
446   {
447     "amoeba_full",
448     "amoeba",
449     "amoeba with content"
450   },
451   {
452     "bd_amoeba",
453     "bd_amoeba",
454     "amoeba (BD style)"
455   },
456   {
457     "time_orb_full",
458     "time_orb_full",
459     "time orb (full)"
460   },
461   {
462     "time_orb_empty",
463     "time_orb_empty",
464     "time orb (empty)"
465   },
466   {
467     "expandable_wall",
468     "wall",
469     "growing wall (horizontal, visible)"
470   },
471   {
472     "bd_diamond",
473     "bd_diamond",
474     "diamond (BD style)"
475   },
476   {
477     "emerald_yellow",
478     "emerald",
479     "yellow emerald"
480   },
481   {
482     "wall_bd_diamond",
483     "wall",
484     "wall with BD style diamond"
485   },
486   {
487     "wall_emerald_yellow",
488     "wall",
489     "wall with yellow emerald"
490   },
491   {
492     "dark_yamyam",
493     "dark_yamyam",
494     "dark yam yam"
495   },
496   {
497     "bd_magic_wall",
498     "bd_magic_wall",
499     "magic wall (BD style)"
500   },
501   {
502     "invisible_steelwall",
503     "steelwall",
504     "invisible steel wall"
505   },
506   {
507     "sokoban_field_player",
508     "sokoban",
509     "sokoban field with player"
510   },
511   {
512     "dynabomb_increase_number",
513     "dynabomb",
514     "increases number of bombs"
515   },
516   {
517     "dynabomb_increase_size",
518     "dynabomb",
519     "increases explosion size"
520   },
521   {
522     "dynabomb_increase_power",
523     "dynabomb",
524     "increases power of explosion"
525   },
526   {
527     "sokoban_object",
528     "sokoban",
529     "sokoban object"
530   },
531   {
532     "sokoban_field_empty",
533     "sokoban",
534     "sokoban empty field"
535   },
536   {
537     "sokoban_field_full",
538     "sokoban",
539     "sokoban field with object"
540   },
541   {
542     "bd_butterfly.right",
543     "bd_butterfly",
544     "butterfly (starts moving right)"},
545   {
546     "bd_butterfly.up",
547     "bd_butterfly",
548     "butterfly (starts moving up)"
549   },
550   {
551     "bd_butterfly.left",
552     "bd_butterfly",
553     "butterfly (starts moving left)"},
554   {
555     "bd_butterfly.down",
556     "bd_butterfly",
557     "butterfly (starts moving down)"},
558   {
559     "bd_firefly.right",
560     "bd_firefly",
561     "firefly (starts moving right)"
562   },
563   {
564     "bd_firefly.up",
565     "bd_firefly",
566     "firefly (starts moving up)"
567   },
568   {
569     "bd_firefly.left",
570     "bd_firefly",
571     "firefly (starts moving left)"
572   },
573   {
574     "bd_firefly.down",
575     "bd_firefly",
576     "firefly (starts moving down)"
577   },
578   {
579     "bd_butterfly",
580     "bd_butterfly",
581     "butterfly (random start direction)"
582   },
583   {
584     "bd_firefly",
585     "bd_firefly",
586     "firefly (random start direction)"
587   },
588   {
589     "player_1",
590     "player",
591     "player 1"
592   },
593   {
594     "player_2",
595     "player",
596     "player 2"
597   },
598   {
599     "player_3",
600     "player",
601     "player 3"
602   },
603   {
604     "player_4",
605     "player",
606     "player 4"
607   },
608   {
609     "bug.right",
610     "bug",
611     "bug (starts moving right)"
612   },
613   {
614     "bug.up",
615     "bug",
616     "bug (starts moving up)"
617   },
618   {
619     "bug.left",
620     "bug",
621     "bug (starts moving left)"
622   },
623   {
624     "bug.down",
625     "bug",
626     "bug (starts moving down)"
627   },
628   {
629     "spaceship.right",
630     "spaceship",
631     "spaceship (starts moving right)"},
632   {
633     "spaceship.up",
634     "spaceship",
635     "spaceship (starts moving up)"
636   },
637   {
638     "spaceship.left",
639     "spaceship",
640     "spaceship (starts moving left)"},
641   {
642     "spaceship.down",
643     "spaceship",
644     "spaceship (starts moving down)"},
645   {
646     "pacman.right",
647     "pacman",
648     "pac man (starts moving right)"
649   },
650   {
651     "pacman.up",
652     "pacman",
653     "pac man (starts moving up)"
654   },
655   {
656     "pacman.left",
657     "pacman",
658     "pac man (starts moving left)"
659   },
660   {
661     "pacman.down",
662     "pacman",
663     "pac man (starts moving down)"
664   },
665   {
666     "emerald_red",
667     "emerald",
668     "red emerald"
669   },
670   {
671     "emerald_purple",
672     "emerald",
673     "purple emerald"
674   },
675   {
676     "wall_emerald_red",
677     "wall",
678     "wall with red emerald"
679   },
680   {
681     "wall_emerald_purple",
682     "wall",
683     "wall with purple emerald"
684   },
685   {
686     "acid_pool_topleft",
687     "wall",
688     "acid pool (top left)"
689   },
690   {
691     "acid_pool_topright",
692     "wall",
693     "acid pool (top right)"
694   },
695   {
696     "acid_pool_bottomleft",
697     "wall",
698     "acid pool (bottom left)"
699   },
700   {
701     "acid_pool_bottom",
702     "wall",
703     "acid pool (bottom)"
704   },
705   {
706     "acid_pool_bottomright",
707     "wall",
708     "acid pool (bottom right)"
709   },
710   {
711     "bd_wall",
712     "wall",
713     "normal wall (BD style)"
714   },
715   {
716     "bd_rock",
717     "bd_rock",
718     "rock (BD style)"
719   },
720   {
721     "exit_open",
722     "exit",
723     "open exit"
724   },
725   {
726     "black_orb",
727     "black_orb",
728     "black orb bomb"
729   },
730   {
731     "amoeba_to_diamond",
732     "amoeba",
733     "amoeba"
734   },
735   {
736     "mole",
737     "mole",
738     "mole (random start direction)"
739   },
740   {
741     "penguin",
742     "penguin",
743     "penguin"
744   },
745   {
746     "satellite",
747     "satellite",
748     "satellite"
749   },
750   {
751     "arrow_left",
752     "arrow",
753     "arrow left"
754   },
755   {
756     "arrow_right",
757     "arrow",
758     "arrow right"
759   },
760   {
761     "arrow_up",
762     "arrow",
763     "arrow up"
764   },
765   {
766     "arrow_down",
767     "arrow",
768     "arrow down"
769   },
770   {
771     "pig",
772     "pig",
773     "pig"
774   },
775   {
776     "dragon",
777     "dragon",
778     "fire breathing dragon"
779   },
780   {
781     "em_key_1_file_obsolete",
782     "obsolete",
783     "key (OBSOLETE)"
784   },
785   {
786     "char_space",
787     "char",
788     "letter ' '"
789   },
790   {
791     "char_exclam",
792     "char",
793     "letter '!'"
794   },
795   {
796     "char_quotedbl",
797     "char",
798     "letter '\"'"
799   },
800   {
801     "char_numbersign",
802     "char",
803     "letter '#'"
804   },
805   {
806     "char_dollar",
807     "char",
808     "letter '$'"
809   },
810   {
811     "char_percent",
812     "char",
813     "letter '%'"
814   },
815   {
816     "char_ampersand",
817     "char",
818     "letter '&'"
819   },
820   {
821     "char_apostrophe",
822     "char",
823     "letter '''"
824   },
825   {
826     "char_parenleft",
827     "char",
828     "letter '('"
829   },
830   {
831     "char_parenright",
832     "char",
833     "letter ')'"
834   },
835   {
836     "char_asterisk",
837     "char",
838     "letter '*'"
839   },
840   {
841     "char_plus",
842     "char",
843     "letter '+'"
844   },
845   {
846     "char_comma",
847     "char",
848     "letter ','"
849   },
850   {
851     "char_minus",
852     "char",
853     "letter '-'"
854   },
855   {
856     "char_period",
857     "char",
858     "letter '.'"
859   },
860   {
861     "char_slash",
862     "char",
863     "letter '/'"
864   },
865   {
866     "char_0",
867     "char",
868     "letter '0'"
869   },
870   {
871     "char_1",
872     "char",
873     "letter '1'"
874   },
875   {
876     "char_2",
877     "char",
878     "letter '2'"
879   },
880   {
881     "char_3",
882     "char",
883     "letter '3'"
884   },
885   {
886     "char_4",
887     "char",
888     "letter '4'"
889   },
890   {
891     "char_5",
892     "char",
893     "letter '5'"
894   },
895   {
896     "char_6",
897     "char",
898     "letter '6'"
899   },
900   {
901     "char_7",
902     "char",
903     "letter '7'"
904   },
905   {
906     "char_8",
907     "char",
908     "letter '8'"
909   },
910   {
911     "char_9",
912     "char",
913     "letter '9'"
914   },
915   {
916     "char_colon",
917     "char",
918     "letter ':'"
919   },
920   {
921     "char_semicolon",
922     "char",
923     "letter ';'"
924   },
925   {
926     "char_less",
927     "char",
928     "letter '<'"
929   },
930   {
931     "char_equal",
932     "char",
933     "letter '='"
934   },
935   {
936     "char_greater",
937     "char",
938     "letter '>'"
939   },
940   {
941     "char_question",
942     "char",
943     "letter '?'"
944   },
945   {
946     "char_at",
947     "char",
948     "letter '@'"
949   },
950   {
951     "char_a",
952     "char",
953     "letter 'A'"
954   },
955   {
956     "char_b",
957     "char",
958     "letter 'B'"
959   },
960   {
961     "char_c",
962     "char",
963     "letter 'C'"
964   },
965   {
966     "char_d",
967     "char",
968     "letter 'D'"
969   },
970   {
971     "char_e",
972     "char",
973     "letter 'E'"
974   },
975   {
976     "char_f",
977     "char",
978     "letter 'F'"
979   },
980   {
981     "char_g",
982     "char",
983     "letter 'G'"
984   },
985   {
986     "char_h",
987     "char",
988     "letter 'H'"
989   },
990   {
991     "char_i",
992     "char",
993     "letter 'I'"
994   },
995   {
996     "char_j",
997     "char",
998     "letter 'J'"
999   },
1000   {
1001     "char_k",
1002     "char",
1003     "letter 'K'"
1004   },
1005   {
1006     "char_l",
1007     "char",
1008     "letter 'L'"
1009   },
1010   {
1011     "char_m",
1012     "char",
1013     "letter 'M'"
1014   },
1015   {
1016     "char_n",
1017     "char",
1018     "letter 'N'"
1019   },
1020   {
1021     "char_o",
1022     "char",
1023     "letter 'O'"
1024   },
1025   {
1026     "char_p",
1027     "char",
1028     "letter 'P'"
1029   },
1030   {
1031     "char_q",
1032     "char",
1033     "letter 'Q'"
1034   },
1035   {
1036     "char_r",
1037     "char",
1038     "letter 'R'"
1039   },
1040   {
1041     "char_s",
1042     "char",
1043     "letter 'S'"
1044   },
1045   {
1046     "char_t",
1047     "char",
1048     "letter 'T'"
1049   },
1050   {
1051     "char_u",
1052     "char",
1053     "letter 'U'"
1054   },
1055   {
1056     "char_v",
1057     "char",
1058     "letter 'V'"
1059   },
1060   {
1061     "char_w",
1062     "char",
1063     "letter 'W'"
1064   },
1065   {
1066     "char_x",
1067     "char",
1068     "letter 'X'"
1069   },
1070   {
1071     "char_y",
1072     "char",
1073     "letter 'Y'"
1074   },
1075   {
1076     "char_z",
1077     "char",
1078     "letter 'Z'"
1079   },
1080   {
1081     "char_bracketleft",
1082     "char",
1083     "letter '['"
1084   },
1085   {
1086     "char_backslash",
1087     "char",
1088     "letter '\\'"
1089   },
1090   {
1091     "char_bracketright",
1092     "char",
1093     "letter ']'"
1094   },
1095   {
1096     "char_asciicircum",
1097     "char",
1098     "letter '^'"
1099   },
1100   {
1101     "char_underscore",
1102     "char",
1103     "letter '_'"
1104   },
1105   {
1106     "char_copyright",
1107     "char",
1108     "letter '©'"
1109   },
1110   {
1111     "char_aumlaut",
1112     "char",
1113     "letter 'Ä'"
1114   },
1115   {
1116     "char_oumlaut",
1117     "char",
1118     "letter 'Ö'"
1119   },
1120   {
1121     "char_uumlaut",
1122     "char",
1123     "letter 'Ãœ'"
1124   },
1125   {
1126     "char_degree",
1127     "char",
1128     "letter '°'"
1129   },
1130   {
1131     "char_trademark",
1132     "char",
1133     "letter '®'"
1134   },
1135   {
1136     "char_cursor",
1137     "char",
1138     "letter ' '"
1139   },
1140   {
1141     "char_unused",
1142     "char",
1143     "letter ''"
1144   },
1145   {
1146     "char_unused",
1147     "char",
1148     "letter ''"
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 'button'"
1174   },
1175   {
1176     "char_unused",
1177     "char",
1178     "letter 'up'"
1179   },
1180   {
1181     "char_unused",
1182     "char",
1183     "letter 'down'"
1184   },
1185   {
1186     "expandable_wall_horizontal",
1187     "wall",
1188     "growing wall (horizontal)"
1189   },
1190   {
1191     "expandable_wall_vertical",
1192     "wall",
1193     "growing wall (vertical)"
1194   },
1195   {
1196     "expandable_wall_any",
1197     "wall",
1198     "growing wall (any direction)"
1199   },
1200   {
1201     "em_gate_1",
1202     "gate",
1203     "door 1 (EM style)"
1204   },
1205   {
1206     "em_gate_2",
1207     "gate",
1208     "door 2 (EM style)"
1209   },
1210   {
1211     "em_gate_3",
1212     "gate",
1213     "door 3 (EM style)"
1214   },
1215   {
1216     "em_gate_4",
1217     "gate",
1218     "door 4 (EM style)"
1219   },
1220   {
1221     "em_key_2_file_obsolete",
1222     "obsolete",
1223     "key (OBSOLETE)"
1224   },
1225   {
1226     "em_key_3_file_obsolete",
1227     "obsolete",
1228     "key (OBSOLETE)"
1229   },
1230   {
1231     "em_key_4_file_obsolete",
1232     "obsolete",
1233     "key (OBSOLETE)"
1234   },
1235   {
1236     "sp_empty_space",
1237     "empty_space",
1238     "empty space"
1239   },
1240   {
1241     "sp_zonk",
1242     "sp_zonk",
1243     "zonk"
1244   },
1245   {
1246     "sp_base",
1247     "sp_base",
1248     "base"
1249   },
1250   {
1251     "sp_murphy",
1252     "player",
1253     "murphy"
1254   },
1255   {
1256     "sp_infotron",
1257     "sp_infotron",
1258     "infotron"
1259   },
1260   {
1261     "sp_chip_single",
1262     "wall",
1263     "chip (single)"
1264   },
1265   {
1266     "sp_hardware_gray",
1267     "wall",
1268     "hardware"
1269   },
1270   {
1271     "sp_exit_closed",
1272     "sp_exit",
1273     "exit"
1274   },
1275   {
1276     "sp_disk_orange",
1277     "sp_disk_orange",
1278     "orange disk"
1279   },
1280   {
1281     "sp_port_right",
1282     "sp_port",
1283     "port (leading right)"
1284   },
1285   {
1286     "sp_port_down",
1287     "sp_port",
1288     "port (leading down)"
1289   },
1290   {
1291     "sp_port_left",
1292     "sp_port",
1293     "port (leading left)"
1294   },
1295   {
1296     "sp_port_up",
1297     "sp_port",
1298     "port (leading up)"
1299   },
1300   {
1301     "sp_gravity_port_right",
1302     "sp_gravity_port",
1303     "gravity-on/off port (leading right)"
1304   },
1305   {
1306     "sp_gravity_port_down",
1307     "sp_gravity_port",
1308     "gravity-on/off port (leading down)"
1309   },
1310   {
1311     "sp_gravity_port_left",
1312     "sp_gravity_port",
1313     "gravity-on/off port (leading left)"
1314   },
1315   {
1316     "sp_gravity_port_up",
1317     "sp_gravity_port",
1318     "gravity-on/off port (leading up)"
1319   },
1320   {
1321     "sp_sniksnak",
1322     "sp_sniksnak",
1323     "snik snak"
1324   },
1325   {
1326     "sp_disk_yellow",
1327     "sp_disk_yellow",
1328     "yellow disk"
1329   },
1330   {
1331     "sp_terminal",
1332     "sp_terminal",
1333     "terminal"
1334   },
1335   {
1336     "sp_disk_red",
1337     "dynamite",
1338     "red disk"
1339   },
1340   {
1341     "sp_port_vertical",
1342     "sp_port",
1343     "port (vertical)"
1344   },
1345   {
1346     "sp_port_horizontal",
1347     "sp_port",
1348     "port (horizontal)"
1349   },
1350   {
1351     "sp_port_any",
1352     "sp_port",
1353     "port (any direction)"
1354   },
1355   {
1356     "sp_electron",
1357     "sp_electron",
1358     "electron"
1359   },
1360   {
1361     "sp_buggy_base",
1362     "sp_buggy_base",
1363     "buggy base"
1364   },
1365   {
1366     "sp_chip_left",
1367     "wall",
1368     "chip (left half)"
1369   },
1370   {
1371     "sp_chip_right",
1372     "wall",
1373     "chip (right half)"
1374   },
1375   {
1376     "sp_hardware_base_1",
1377     "wall",
1378     "hardware"
1379   },
1380   {
1381     "sp_hardware_green",
1382     "wall",
1383     "hardware"
1384   },
1385   {
1386     "sp_hardware_blue",
1387     "wall",
1388     "hardware"
1389   },
1390   {
1391     "sp_hardware_red",
1392     "wall",
1393     "hardware"
1394   },
1395   {
1396     "sp_hardware_yellow",
1397     "wall",
1398     "hardware"
1399   },
1400   {
1401     "sp_hardware_base_2",
1402     "wall",
1403     "hardware"
1404   },
1405   {
1406     "sp_hardware_base_3",
1407     "wall",
1408     "hardware"
1409   },
1410   {
1411     "sp_hardware_base_4",
1412     "wall",
1413     "hardware"
1414   },
1415   {
1416     "sp_hardware_base_5",
1417     "wall",
1418     "hardware"
1419   },
1420   {
1421     "sp_hardware_base_6",
1422     "wall",
1423     "hardware"
1424   },
1425   {
1426     "sp_chip_top",
1427     "wall",
1428     "chip (upper half)"
1429   },
1430   {
1431     "sp_chip_bottom",
1432     "wall",
1433     "chip (lower half)"
1434   },
1435   {
1436     "em_gate_1_gray",
1437     "gate",
1438     "gray door (EM style, key 1)"
1439   },
1440   {
1441     "em_gate_2_gray",
1442     "gate",
1443     "gray door (EM style, key 2)"
1444   },
1445   {
1446     "em_gate_3_gray",
1447     "gate",
1448     "gray door (EM style, key 3)"
1449   },
1450   {
1451     "em_gate_4_gray",
1452     "gate",
1453     "gray door (EM style, key 4)"
1454   },
1455   {
1456     "em_dynamite",
1457     "dynamite",
1458     "dynamite (EM style)"
1459   },
1460   {
1461     "em_dynamite.active",
1462     "dynamite",
1463     "burning dynamite (EM style)"
1464   },
1465   {
1466     "pearl",
1467     "pearl",
1468     "pearl"
1469   },
1470   {
1471     "crystal",
1472     "crystal",
1473     "crystal"
1474   },
1475   {
1476     "wall_pearl",
1477     "wall",
1478     "wall with pearl"
1479   },
1480   {
1481     "wall_crystal",
1482     "wall",
1483     "wall with crystal"
1484   },
1485   {
1486     "dc_gate_white",
1487     "gate",
1488     "white door"
1489   },
1490   {
1491     "dc_gate_white_gray",
1492     "gate",
1493     "gray door (opened by white key)"
1494   },
1495   {
1496     "dc_key_white",
1497     "key",
1498     "white key"
1499   },
1500   {
1501     "shield_normal",
1502     "shield_normal",
1503     "shield (normal)"
1504   },
1505   {
1506     "extra_time",
1507     "extra_time",
1508     "extra time"
1509   },
1510   {
1511     "switchgate_open",
1512     "switchgate",
1513     "switch gate (open)"
1514   },
1515   {
1516     "switchgate_closed",
1517     "switchgate",
1518     "switch gate (closed)"
1519   },
1520   {
1521     "switchgate_switch_up",
1522     "switchgate_switch",
1523     "switch for switch gate"
1524   },
1525   {
1526     "switchgate_switch_down",
1527     "switchgate_switch",
1528     "switch for switch gate"
1529   },
1530   {
1531     "unused_269",
1532     "unused",
1533     "-"
1534   },
1535   {
1536     "unused_270",
1537     "unused",
1538     "-"
1539   },
1540   {
1541     "conveyor_belt_1_left",
1542     "conveyor_belt",
1543     "conveyor belt 1 (left)"
1544   },
1545   {
1546     "conveyor_belt_1_middle",
1547     "conveyor_belt",
1548     "conveyor belt 1 (middle)"
1549   },
1550   {
1551     "conveyor_belt_1_right",
1552     "conveyor_belt",
1553     "conveyor belt 1 (right)"
1554   },
1555   {
1556     "conveyor_belt_1_switch_left",
1557     "conveyor_belt_switch",
1558     "switch for conveyor belt 1 (left)"
1559   },
1560   {
1561     "conveyor_belt_1_switch_middle",
1562     "conveyor_belt_switch",
1563     "switch for conveyor belt 1 (middle)"
1564   },
1565   {
1566     "conveyor_belt_1_switch_right",
1567     "conveyor_belt_switch",
1568     "switch for conveyor belt 1 (right)"
1569   },
1570   {
1571     "conveyor_belt_2_left",
1572     "conveyor_belt",
1573     "conveyor belt 2 (left)"
1574   },
1575   {
1576     "conveyor_belt_2_middle",
1577     "conveyor_belt",
1578     "conveyor belt 2 (middle)"
1579   },
1580   {
1581     "conveyor_belt_2_right",
1582     "conveyor_belt",
1583     "conveyor belt 2 (right)"
1584   },
1585   {
1586     "conveyor_belt_2_switch_left",
1587     "conveyor_belt_switch",
1588     "switch for conveyor belt 2 (left)"
1589   },
1590   {
1591     "conveyor_belt_2_switch_middle",
1592     "conveyor_belt_switch",
1593     "switch for conveyor belt 2 (middle)"
1594   },
1595   {
1596     "conveyor_belt_2_switch_right",
1597     "conveyor_belt_switch",
1598     "switch for conveyor belt 2 (right)"
1599   },
1600   {
1601     "conveyor_belt_3_left",
1602     "conveyor_belt",
1603     "conveyor belt 3 (left)"
1604   },
1605   {
1606     "conveyor_belt_3_middle",
1607     "conveyor_belt",
1608     "conveyor belt 3 (middle)"
1609   },
1610   {
1611     "conveyor_belt_3_right",
1612     "conveyor_belt",
1613     "conveyor belt 3 (right)"
1614   },
1615   {
1616     "conveyor_belt_3_switch_left",
1617     "conveyor_belt_switch",
1618     "switch for conveyor belt 3 (left)"
1619   },
1620   {
1621     "conveyor_belt_3_switch_middle",
1622     "conveyor_belt_switch",
1623     "switch for conveyor belt 3 (middle)"
1624   },
1625   {
1626     "conveyor_belt_3_switch_right",
1627     "conveyor_belt_switch",
1628     "switch for conveyor belt 3 (right)"
1629   },
1630   {
1631     "conveyor_belt_4_left",
1632     "conveyor_belt",
1633     "conveyor belt 4 (left)"
1634   },
1635   {
1636     "conveyor_belt_4_middle",
1637     "conveyor_belt",
1638     "conveyor belt 4 (middle)"
1639   },
1640   {
1641     "conveyor_belt_4_right",
1642     "conveyor_belt",
1643     "conveyor belt 4 (right)"
1644   },
1645   {
1646     "conveyor_belt_4_switch_left",
1647     "conveyor_belt_switch",
1648     "switch for conveyor belt 4 (left)"
1649   },
1650   {
1651     "conveyor_belt_4_switch_middle",
1652     "conveyor_belt_switch",
1653     "switch for conveyor belt 4 (middle)"
1654   },
1655   {
1656     "conveyor_belt_4_switch_right",
1657     "conveyor_belt_switch",
1658     "switch for conveyor belt 4 (right)"
1659   },
1660   {
1661     "landmine",
1662     "landmine",
1663     "land mine (not removable)"
1664   },
1665   {
1666     "envelope_obsolete",
1667     "obsolete",
1668     "envelope (OBSOLETE)"
1669   },
1670   {
1671     "light_switch",
1672     "light_switch",
1673     "light switch (off)"
1674   },
1675   {
1676     "light_switch.active",
1677     "light_switch",
1678     "light switch (on)"
1679   },
1680   {
1681     "sign_exclamation",
1682     "sign",
1683     "sign (exclamation)"
1684   },
1685   {
1686     "sign_radioactivity",
1687     "sign",
1688     "sign (radio activity)"
1689   },
1690   {
1691     "sign_stop",
1692     "sign",
1693     "sign (stop)"
1694   },
1695   {
1696     "sign_wheelchair",
1697     "sign",
1698     "sign (wheel chair)"
1699   },
1700   {
1701     "sign_parking",
1702     "sign",
1703     "sign (parking)"
1704   },
1705   {
1706     "sign_no_entry",
1707     "sign",
1708     "sign (no entry)"
1709   },
1710   {
1711     "sign_unused_1",
1712     "sign",
1713     "sign (unused)"
1714   },
1715   {
1716     "sign_give_way",
1717     "sign",
1718     "sign (give way)"
1719   },
1720   {
1721     "sign_entry_forbidden",
1722     "sign",
1723     "sign (entry forbidden)"
1724   },
1725   {
1726     "sign_emergency_exit",
1727     "sign",
1728     "sign (emergency exit)"
1729   },
1730   {
1731     "sign_yin_yang",
1732     "sign",
1733     "sign (yin yang)"
1734   },
1735   {
1736     "sign_unused_2",
1737     "sign",
1738     "sign (unused)"
1739   },
1740   {
1741     "mole.left",
1742     "mole",
1743     "mole (starts moving left)"
1744   },
1745   {
1746     "mole.right",
1747     "mole",
1748     "mole (starts moving right)"
1749   },
1750   {
1751     "mole.up",
1752     "mole",
1753     "mole (starts moving up)"
1754   },
1755   {
1756     "mole.down",
1757     "mole",
1758     "mole (starts moving down)"
1759   },
1760   {
1761     "steelwall_slippery",
1762     "steelwall",
1763     "slippery steel wall"
1764   },
1765   {
1766     "invisible_sand",
1767     "sand",
1768     "invisible sand"
1769   },
1770   {
1771     "dx_unknown_15",
1772     "unknown",
1773     "dx unknown element 15"
1774   },
1775   {
1776     "dx_unknown_42",
1777     "unknown",
1778     "dx unknown element 42"
1779   },
1780   {
1781     "unused_319",
1782     "unused",
1783     "(not used)"
1784   },
1785   {
1786     "unused_320",
1787     "unused",
1788     "(not used)"
1789   },
1790   {
1791     "shield_deadly",
1792     "shield_deadly",
1793     "shield (deadly, kills enemies)"
1794   },
1795   {
1796     "timegate_open",
1797     "timegate",
1798     "time gate (open)"
1799   },
1800   {
1801     "timegate_closed",
1802     "timegate",
1803     "time gate (closed)"
1804   },
1805   {
1806     "timegate_switch.active",
1807     "timegate_switch",
1808     "switch for time gate"
1809   },
1810   {
1811     "timegate_switch",
1812     "timegate_switch",
1813     "switch for time gate"
1814   },
1815   {
1816     "balloon",
1817     "balloon",
1818     "balloon"
1819   },
1820   {
1821     "balloon_switch_left",
1822     "balloon_switch",
1823     "wind switch (left)"
1824   },
1825   {
1826     "balloon_switch_right",
1827     "balloon_switch",
1828     "wind switch (right)"
1829   },
1830   {
1831     "balloon_switch_up",
1832     "balloon_switch",
1833     "wind switch (up)"
1834   },
1835   {
1836     "balloon_switch_down",
1837     "balloon_switch",
1838     "wind switch (down)"
1839   },
1840   {
1841     "balloon_switch_any",
1842     "balloon_switch",
1843     "wind switch (any direction)"
1844   },
1845   {
1846     "emc_steelwall_1",
1847     "steelwall",
1848     "steel wall"
1849   },
1850   {
1851     "emc_steelwall_2",
1852     "steelwall",
1853     "steel wall"
1854   },
1855   {
1856     "emc_steelwall_3",
1857     "steelwall",
1858     "steel wall"
1859   },
1860   {
1861     "emc_steelwall_4",
1862     "steelwall",
1863     "steel wall"
1864   },
1865   {
1866     "emc_wall_1",
1867     "wall",
1868     "normal wall"
1869   },
1870   {
1871     "emc_wall_2",
1872     "wall",
1873     "normal wall"
1874   },
1875   {
1876     "emc_wall_3",
1877     "wall",
1878     "normal wall"
1879   },
1880   {
1881     "emc_wall_4",
1882     "wall",
1883     "normal wall"
1884   },
1885   {
1886     "emc_wall_5",
1887     "wall",
1888     "normal wall"
1889   },
1890   {
1891     "emc_wall_6",
1892     "wall",
1893     "normal wall"
1894   },
1895   {
1896     "emc_wall_7",
1897     "wall",
1898     "normal wall"
1899   },
1900   {
1901     "emc_wall_8",
1902     "wall",
1903     "normal wall"
1904   },
1905   {
1906     "tube_any",
1907     "tube",
1908     "tube (any direction)"
1909   },
1910   {
1911     "tube_vertical",
1912     "tube",
1913     "tube (vertical)"
1914   },
1915   {
1916     "tube_horizontal",
1917     "tube",
1918     "tube (horizontal)"
1919   },
1920   {
1921     "tube_vertical_left",
1922     "tube",
1923     "tube (vertical & left)"
1924   },
1925   {
1926     "tube_vertical_right",
1927     "tube",
1928     "tube (vertical & right)"
1929   },
1930   {
1931     "tube_horizontal_up",
1932     "tube",
1933     "tube (horizontal & up)"
1934   },
1935   {
1936     "tube_horizontal_down",
1937     "tube",
1938     "tube (horizontal & down)"
1939   },
1940   {
1941     "tube_left_up",
1942     "tube",
1943     "tube (left & up)"
1944   },
1945   {
1946     "tube_left_down",
1947     "tube",
1948     "tube (left & down)"
1949   },
1950   {
1951     "tube_right_up",
1952     "tube",
1953     "tube (right & up)"
1954   },
1955   {
1956     "tube_right_down",
1957     "tube",
1958     "tube (right & down)"
1959   },
1960   {
1961     "spring",
1962     "spring",
1963     "spring"
1964   },
1965   {
1966     "trap",
1967     "trap",
1968     "trap"
1969   },
1970   {
1971     "dx_supabomb",
1972     "bomb",
1973     "stable bomb (DX style)"
1974   },
1975   {
1976     "unused_358",
1977     "unused",
1978     "-"
1979   },
1980   {
1981     "unused_359",
1982     "unused",
1983     "-"
1984   },
1985   {
1986     "custom_1",
1987     "custom",
1988     "custom element 1"
1989   },
1990   {
1991     "custom_2",
1992     "custom",
1993     "custom element 2"
1994   },
1995   {
1996     "custom_3",
1997     "custom",
1998     "custom element 3"
1999   },
2000   {
2001     "custom_4",
2002     "custom",
2003     "custom element 4"
2004   },
2005   {
2006     "custom_5",
2007     "custom",
2008     "custom element 5"
2009   },
2010   {
2011     "custom_6",
2012     "custom",
2013     "custom element 6"
2014   },
2015   {
2016     "custom_7",
2017     "custom",
2018     "custom element 7"
2019   },
2020   {
2021     "custom_8",
2022     "custom",
2023     "custom element 8"
2024   },
2025   {
2026     "custom_9",
2027     "custom",
2028     "custom element 9"
2029   },
2030   {
2031     "custom_10",
2032     "custom",
2033     "custom element 10"
2034   },
2035   {
2036     "custom_11",
2037     "custom",
2038     "custom element 11"
2039   },
2040   {
2041     "custom_12",
2042     "custom",
2043     "custom element 12"
2044   },
2045   {
2046     "custom_13",
2047     "custom",
2048     "custom element 13"
2049   },
2050   {
2051     "custom_14",
2052     "custom",
2053     "custom element 14"
2054   },
2055   {
2056     "custom_15",
2057     "custom",
2058     "custom element 15"
2059   },
2060   {
2061     "custom_16",
2062     "custom",
2063     "custom element 16"
2064   },
2065   {
2066     "custom_17",
2067     "custom",
2068     "custom element 17"
2069   },
2070   {
2071     "custom_18",
2072     "custom",
2073     "custom element 18"
2074   },
2075   {
2076     "custom_19",
2077     "custom",
2078     "custom element 19"
2079   },
2080   {
2081     "custom_20",
2082     "custom",
2083     "custom element 20"
2084   },
2085   {
2086     "custom_21",
2087     "custom",
2088     "custom element 21"
2089   },
2090   {
2091     "custom_22",
2092     "custom",
2093     "custom element 22"
2094   },
2095   {
2096     "custom_23",
2097     "custom",
2098     "custom element 23"
2099   },
2100   {
2101     "custom_24",
2102     "custom",
2103     "custom element 24"
2104   },
2105   {
2106     "custom_25",
2107     "custom",
2108     "custom element 25"
2109   },
2110   {
2111     "custom_26",
2112     "custom",
2113     "custom element 26"
2114   },
2115   {
2116     "custom_27",
2117     "custom",
2118     "custom element 27"
2119   },
2120   {
2121     "custom_28",
2122     "custom",
2123     "custom element 28"
2124   },
2125   {
2126     "custom_29",
2127     "custom",
2128     "custom element 29"
2129   },
2130   {
2131     "custom_30",
2132     "custom",
2133     "custom element 30"
2134   },
2135   {
2136     "custom_31",
2137     "custom",
2138     "custom element 31"
2139   },
2140   {
2141     "custom_32",
2142     "custom",
2143     "custom element 32"
2144   },
2145   {
2146     "custom_33",
2147     "custom",
2148     "custom element 33"
2149   },
2150   {
2151     "custom_34",
2152     "custom",
2153     "custom element 34"
2154   },
2155   {
2156     "custom_35",
2157     "custom",
2158     "custom element 35"
2159   },
2160   {
2161     "custom_36",
2162     "custom",
2163     "custom element 36"
2164   },
2165   {
2166     "custom_37",
2167     "custom",
2168     "custom element 37"
2169   },
2170   {
2171     "custom_38",
2172     "custom",
2173     "custom element 38"
2174   },
2175   {
2176     "custom_39",
2177     "custom",
2178     "custom element 39"
2179   },
2180   {
2181     "custom_40",
2182     "custom",
2183     "custom element 40"
2184   },
2185   {
2186     "custom_41",
2187     "custom",
2188     "custom element 41"
2189   },
2190   {
2191     "custom_42",
2192     "custom",
2193     "custom element 42"
2194   },
2195   {
2196     "custom_43",
2197     "custom",
2198     "custom element 43"
2199   },
2200   {
2201     "custom_44",
2202     "custom",
2203     "custom element 44"
2204   },
2205   {
2206     "custom_45",
2207     "custom",
2208     "custom element 45"
2209   },
2210   {
2211     "custom_46",
2212     "custom",
2213     "custom element 46"
2214   },
2215   {
2216     "custom_47",
2217     "custom",
2218     "custom element 47"
2219   },
2220   {
2221     "custom_48",
2222     "custom",
2223     "custom element 48"
2224   },
2225   {
2226     "custom_49",
2227     "custom",
2228     "custom element 49"
2229   },
2230   {
2231     "custom_50",
2232     "custom",
2233     "custom element 50"
2234   },
2235   {
2236     "custom_51",
2237     "custom",
2238     "custom element 51"
2239   },
2240   {
2241     "custom_52",
2242     "custom",
2243     "custom element 52"
2244   },
2245   {
2246     "custom_53",
2247     "custom",
2248     "custom element 53"
2249   },
2250   {
2251     "custom_54",
2252     "custom",
2253     "custom element 54"
2254   },
2255   {
2256     "custom_55",
2257     "custom",
2258     "custom element 55"
2259   },
2260   {
2261     "custom_56",
2262     "custom",
2263     "custom element 56"
2264   },
2265   {
2266     "custom_57",
2267     "custom",
2268     "custom element 57"
2269   },
2270   {
2271     "custom_58",
2272     "custom",
2273     "custom element 58"
2274   },
2275   {
2276     "custom_59",
2277     "custom",
2278     "custom element 59"
2279   },
2280   {
2281     "custom_60",
2282     "custom",
2283     "custom element 60"
2284   },
2285   {
2286     "custom_61",
2287     "custom",
2288     "custom element 61"
2289   },
2290   {
2291     "custom_62",
2292     "custom",
2293     "custom element 62"
2294   },
2295   {
2296     "custom_63",
2297     "custom",
2298     "custom element 63"
2299   },
2300   {
2301     "custom_64",
2302     "custom",
2303     "custom element 64"
2304   },
2305   {
2306     "custom_65",
2307     "custom",
2308     "custom element 65"
2309   },
2310   {
2311     "custom_66",
2312     "custom",
2313     "custom element 66"
2314   },
2315   {
2316     "custom_67",
2317     "custom",
2318     "custom element 67"
2319   },
2320   {
2321     "custom_68",
2322     "custom",
2323     "custom element 68"
2324   },
2325   {
2326     "custom_69",
2327     "custom",
2328     "custom element 69"
2329   },
2330   {
2331     "custom_70",
2332     "custom",
2333     "custom element 70"
2334   },
2335   {
2336     "custom_71",
2337     "custom",
2338     "custom element 71"
2339   },
2340   {
2341     "custom_72",
2342     "custom",
2343     "custom element 72"
2344   },
2345   {
2346     "custom_73",
2347     "custom",
2348     "custom element 73"
2349   },
2350   {
2351     "custom_74",
2352     "custom",
2353     "custom element 74"
2354   },
2355   {
2356     "custom_75",
2357     "custom",
2358     "custom element 75"
2359   },
2360   {
2361     "custom_76",
2362     "custom",
2363     "custom element 76"
2364   },
2365   {
2366     "custom_77",
2367     "custom",
2368     "custom element 77"
2369   },
2370   {
2371     "custom_78",
2372     "custom",
2373     "custom element 78"
2374   },
2375   {
2376     "custom_79",
2377     "custom",
2378     "custom element 79"
2379   },
2380   {
2381     "custom_80",
2382     "custom",
2383     "custom element 80"
2384   },
2385   {
2386     "custom_81",
2387     "custom",
2388     "custom element 81"
2389   },
2390   {
2391     "custom_82",
2392     "custom",
2393     "custom element 82"
2394   },
2395   {
2396     "custom_83",
2397     "custom",
2398     "custom element 83"
2399   },
2400   {
2401     "custom_84",
2402     "custom",
2403     "custom element 84"
2404   },
2405   {
2406     "custom_85",
2407     "custom",
2408     "custom element 85"
2409   },
2410   {
2411     "custom_86",
2412     "custom",
2413     "custom element 86"
2414   },
2415   {
2416     "custom_87",
2417     "custom",
2418     "custom element 87"
2419   },
2420   {
2421     "custom_88",
2422     "custom",
2423     "custom element 88"
2424   },
2425   {
2426     "custom_89",
2427     "custom",
2428     "custom element 89"
2429   },
2430   {
2431     "custom_90",
2432     "custom",
2433     "custom element 90"
2434   },
2435   {
2436     "custom_91",
2437     "custom",
2438     "custom element 91"
2439   },
2440   {
2441     "custom_92",
2442     "custom",
2443     "custom element 92"
2444   },
2445   {
2446     "custom_93",
2447     "custom",
2448     "custom element 93"
2449   },
2450   {
2451     "custom_94",
2452     "custom",
2453     "custom element 94"
2454   },
2455   {
2456     "custom_95",
2457     "custom",
2458     "custom element 95"
2459   },
2460   {
2461     "custom_96",
2462     "custom",
2463     "custom element 96"
2464   },
2465   {
2466     "custom_97",
2467     "custom",
2468     "custom element 97"
2469   },
2470   {
2471     "custom_98",
2472     "custom",
2473     "custom element 98"
2474   },
2475   {
2476     "custom_99",
2477     "custom",
2478     "custom element 99"
2479   },
2480   {
2481     "custom_100",
2482     "custom",
2483     "custom element 100"
2484   },
2485   {
2486     "custom_101",
2487     "custom",
2488     "custom element 101"
2489   },
2490   {
2491     "custom_102",
2492     "custom",
2493     "custom element 102"
2494   },
2495   {
2496     "custom_103",
2497     "custom",
2498     "custom element 103"
2499   },
2500   {
2501     "custom_104",
2502     "custom",
2503     "custom element 104"
2504   },
2505   {
2506     "custom_105",
2507     "custom",
2508     "custom element 105"
2509   },
2510   {
2511     "custom_106",
2512     "custom",
2513     "custom element 106"
2514   },
2515   {
2516     "custom_107",
2517     "custom",
2518     "custom element 107"
2519   },
2520   {
2521     "custom_108",
2522     "custom",
2523     "custom element 108"
2524   },
2525   {
2526     "custom_109",
2527     "custom",
2528     "custom element 109"
2529   },
2530   {
2531     "custom_110",
2532     "custom",
2533     "custom element 110"
2534   },
2535   {
2536     "custom_111",
2537     "custom",
2538     "custom element 111"
2539   },
2540   {
2541     "custom_112",
2542     "custom",
2543     "custom element 112"
2544   },
2545   {
2546     "custom_113",
2547     "custom",
2548     "custom element 113"
2549   },
2550   {
2551     "custom_114",
2552     "custom",
2553     "custom element 114"
2554   },
2555   {
2556     "custom_115",
2557     "custom",
2558     "custom element 115"
2559   },
2560   {
2561     "custom_116",
2562     "custom",
2563     "custom element 116"
2564   },
2565   {
2566     "custom_117",
2567     "custom",
2568     "custom element 117"
2569   },
2570   {
2571     "custom_118",
2572     "custom",
2573     "custom element 118"
2574   },
2575   {
2576     "custom_119",
2577     "custom",
2578     "custom element 119"
2579   },
2580   {
2581     "custom_120",
2582     "custom",
2583     "custom element 120"
2584   },
2585   {
2586     "custom_121",
2587     "custom",
2588     "custom element 121"
2589   },
2590   {
2591     "custom_122",
2592     "custom",
2593     "custom element 122"
2594   },
2595   {
2596     "custom_123",
2597     "custom",
2598     "custom element 123"
2599   },
2600   {
2601     "custom_124",
2602     "custom",
2603     "custom element 124"
2604   },
2605   {
2606     "custom_125",
2607     "custom",
2608     "custom element 125"
2609   },
2610   {
2611     "custom_126",
2612     "custom",
2613     "custom element 126"
2614   },
2615   {
2616     "custom_127",
2617     "custom",
2618     "custom element 127"
2619   },
2620   {
2621     "custom_128",
2622     "custom",
2623     "custom element 128"
2624   },
2625   {
2626     "custom_129",
2627     "custom",
2628     "custom element 129"
2629   },
2630   {
2631     "custom_130",
2632     "custom",
2633     "custom element 130"
2634   },
2635   {
2636     "custom_131",
2637     "custom",
2638     "custom element 131"
2639   },
2640   {
2641     "custom_132",
2642     "custom",
2643     "custom element 132"
2644   },
2645   {
2646     "custom_133",
2647     "custom",
2648     "custom element 133"
2649   },
2650   {
2651     "custom_134",
2652     "custom",
2653     "custom element 134"
2654   },
2655   {
2656     "custom_135",
2657     "custom",
2658     "custom element 135"
2659   },
2660   {
2661     "custom_136",
2662     "custom",
2663     "custom element 136"
2664   },
2665   {
2666     "custom_137",
2667     "custom",
2668     "custom element 137"
2669   },
2670   {
2671     "custom_138",
2672     "custom",
2673     "custom element 138"
2674   },
2675   {
2676     "custom_139",
2677     "custom",
2678     "custom element 139"
2679   },
2680   {
2681     "custom_140",
2682     "custom",
2683     "custom element 140"
2684   },
2685   {
2686     "custom_141",
2687     "custom",
2688     "custom element 141"
2689   },
2690   {
2691     "custom_142",
2692     "custom",
2693     "custom element 142"
2694   },
2695   {
2696     "custom_143",
2697     "custom",
2698     "custom element 143"
2699   },
2700   {
2701     "custom_144",
2702     "custom",
2703     "custom element 144"
2704   },
2705   {
2706     "custom_145",
2707     "custom",
2708     "custom element 145"
2709   },
2710   {
2711     "custom_146",
2712     "custom",
2713     "custom element 146"
2714   },
2715   {
2716     "custom_147",
2717     "custom",
2718     "custom element 147"
2719   },
2720   {
2721     "custom_148",
2722     "custom",
2723     "custom element 148"
2724   },
2725   {
2726     "custom_149",
2727     "custom",
2728     "custom element 149"
2729   },
2730   {
2731     "custom_150",
2732     "custom",
2733     "custom element 150"
2734   },
2735   {
2736     "custom_151",
2737     "custom",
2738     "custom element 151"
2739   },
2740   {
2741     "custom_152",
2742     "custom",
2743     "custom element 152"
2744   },
2745   {
2746     "custom_153",
2747     "custom",
2748     "custom element 153"
2749   },
2750   {
2751     "custom_154",
2752     "custom",
2753     "custom element 154"
2754   },
2755   {
2756     "custom_155",
2757     "custom",
2758     "custom element 155"
2759   },
2760   {
2761     "custom_156",
2762     "custom",
2763     "custom element 156"
2764   },
2765   {
2766     "custom_157",
2767     "custom",
2768     "custom element 157"
2769   },
2770   {
2771     "custom_158",
2772     "custom",
2773     "custom element 158"
2774   },
2775   {
2776     "custom_159",
2777     "custom",
2778     "custom element 159"
2779   },
2780   {
2781     "custom_160",
2782     "custom",
2783     "custom element 160"
2784   },
2785   {
2786     "custom_161",
2787     "custom",
2788     "custom element 161"
2789   },
2790   {
2791     "custom_162",
2792     "custom",
2793     "custom element 162"
2794   },
2795   {
2796     "custom_163",
2797     "custom",
2798     "custom element 163"
2799   },
2800   {
2801     "custom_164",
2802     "custom",
2803     "custom element 164"
2804   },
2805   {
2806     "custom_165",
2807     "custom",
2808     "custom element 165"
2809   },
2810   {
2811     "custom_166",
2812     "custom",
2813     "custom element 166"
2814   },
2815   {
2816     "custom_167",
2817     "custom",
2818     "custom element 167"
2819   },
2820   {
2821     "custom_168",
2822     "custom",
2823     "custom element 168"
2824   },
2825   {
2826     "custom_169",
2827     "custom",
2828     "custom element 169"
2829   },
2830   {
2831     "custom_170",
2832     "custom",
2833     "custom element 170"
2834   },
2835   {
2836     "custom_171",
2837     "custom",
2838     "custom element 171"
2839   },
2840   {
2841     "custom_172",
2842     "custom",
2843     "custom element 172"
2844   },
2845   {
2846     "custom_173",
2847     "custom",
2848     "custom element 173"
2849   },
2850   {
2851     "custom_174",
2852     "custom",
2853     "custom element 174"
2854   },
2855   {
2856     "custom_175",
2857     "custom",
2858     "custom element 175"
2859   },
2860   {
2861     "custom_176",
2862     "custom",
2863     "custom element 176"
2864   },
2865   {
2866     "custom_177",
2867     "custom",
2868     "custom element 177"
2869   },
2870   {
2871     "custom_178",
2872     "custom",
2873     "custom element 178"
2874   },
2875   {
2876     "custom_179",
2877     "custom",
2878     "custom element 179"
2879   },
2880   {
2881     "custom_180",
2882     "custom",
2883     "custom element 180"
2884   },
2885   {
2886     "custom_181",
2887     "custom",
2888     "custom element 181"
2889   },
2890   {
2891     "custom_182",
2892     "custom",
2893     "custom element 182"
2894   },
2895   {
2896     "custom_183",
2897     "custom",
2898     "custom element 183"
2899   },
2900   {
2901     "custom_184",
2902     "custom",
2903     "custom element 184"
2904   },
2905   {
2906     "custom_185",
2907     "custom",
2908     "custom element 185"
2909   },
2910   {
2911     "custom_186",
2912     "custom",
2913     "custom element 186"
2914   },
2915   {
2916     "custom_187",
2917     "custom",
2918     "custom element 187"
2919   },
2920   {
2921     "custom_188",
2922     "custom",
2923     "custom element 188"
2924   },
2925   {
2926     "custom_189",
2927     "custom",
2928     "custom element 189"
2929   },
2930   {
2931     "custom_190",
2932     "custom",
2933     "custom element 190"
2934   },
2935   {
2936     "custom_191",
2937     "custom",
2938     "custom element 191"
2939   },
2940   {
2941     "custom_192",
2942     "custom",
2943     "custom element 192"
2944   },
2945   {
2946     "custom_193",
2947     "custom",
2948     "custom element 193"
2949   },
2950   {
2951     "custom_194",
2952     "custom",
2953     "custom element 194"
2954   },
2955   {
2956     "custom_195",
2957     "custom",
2958     "custom element 195"
2959   },
2960   {
2961     "custom_196",
2962     "custom",
2963     "custom element 196"
2964   },
2965   {
2966     "custom_197",
2967     "custom",
2968     "custom element 197"
2969   },
2970   {
2971     "custom_198",
2972     "custom",
2973     "custom element 198"
2974   },
2975   {
2976     "custom_199",
2977     "custom",
2978     "custom element 199"
2979   },
2980   {
2981     "custom_200",
2982     "custom",
2983     "custom element 200"
2984   },
2985   {
2986     "custom_201",
2987     "custom",
2988     "custom element 201"
2989   },
2990   {
2991     "custom_202",
2992     "custom",
2993     "custom element 202"
2994   },
2995   {
2996     "custom_203",
2997     "custom",
2998     "custom element 203"
2999   },
3000   {
3001     "custom_204",
3002     "custom",
3003     "custom element 204"
3004   },
3005   {
3006     "custom_205",
3007     "custom",
3008     "custom element 205"
3009   },
3010   {
3011     "custom_206",
3012     "custom",
3013     "custom element 206"
3014   },
3015   {
3016     "custom_207",
3017     "custom",
3018     "custom element 207"
3019   },
3020   {
3021     "custom_208",
3022     "custom",
3023     "custom element 208"
3024   },
3025   {
3026     "custom_209",
3027     "custom",
3028     "custom element 209"
3029   },
3030   {
3031     "custom_210",
3032     "custom",
3033     "custom element 210"
3034   },
3035   {
3036     "custom_211",
3037     "custom",
3038     "custom element 211"
3039   },
3040   {
3041     "custom_212",
3042     "custom",
3043     "custom element 212"
3044   },
3045   {
3046     "custom_213",
3047     "custom",
3048     "custom element 213"
3049   },
3050   {
3051     "custom_214",
3052     "custom",
3053     "custom element 214"
3054   },
3055   {
3056     "custom_215",
3057     "custom",
3058     "custom element 215"
3059   },
3060   {
3061     "custom_216",
3062     "custom",
3063     "custom element 216"
3064   },
3065   {
3066     "custom_217",
3067     "custom",
3068     "custom element 217"
3069   },
3070   {
3071     "custom_218",
3072     "custom",
3073     "custom element 218"
3074   },
3075   {
3076     "custom_219",
3077     "custom",
3078     "custom element 219"
3079   },
3080   {
3081     "custom_220",
3082     "custom",
3083     "custom element 220"
3084   },
3085   {
3086     "custom_221",
3087     "custom",
3088     "custom element 221"
3089   },
3090   {
3091     "custom_222",
3092     "custom",
3093     "custom element 222"
3094   },
3095   {
3096     "custom_223",
3097     "custom",
3098     "custom element 223"
3099   },
3100   {
3101     "custom_224",
3102     "custom",
3103     "custom element 224"
3104   },
3105   {
3106     "custom_225",
3107     "custom",
3108     "custom element 225"
3109   },
3110   {
3111     "custom_226",
3112     "custom",
3113     "custom element 226"
3114   },
3115   {
3116     "custom_227",
3117     "custom",
3118     "custom element 227"
3119   },
3120   {
3121     "custom_228",
3122     "custom",
3123     "custom element 228"
3124   },
3125   {
3126     "custom_229",
3127     "custom",
3128     "custom element 229"
3129   },
3130   {
3131     "custom_230",
3132     "custom",
3133     "custom element 230"
3134   },
3135   {
3136     "custom_231",
3137     "custom",
3138     "custom element 231"
3139   },
3140   {
3141     "custom_232",
3142     "custom",
3143     "custom element 232"
3144   },
3145   {
3146     "custom_233",
3147     "custom",
3148     "custom element 233"
3149   },
3150   {
3151     "custom_234",
3152     "custom",
3153     "custom element 234"
3154   },
3155   {
3156     "custom_235",
3157     "custom",
3158     "custom element 235"
3159   },
3160   {
3161     "custom_236",
3162     "custom",
3163     "custom element 236"
3164   },
3165   {
3166     "custom_237",
3167     "custom",
3168     "custom element 237"
3169   },
3170   {
3171     "custom_238",
3172     "custom",
3173     "custom element 238"
3174   },
3175   {
3176     "custom_239",
3177     "custom",
3178     "custom element 239"
3179   },
3180   {
3181     "custom_240",
3182     "custom",
3183     "custom element 240"
3184   },
3185   {
3186     "custom_241",
3187     "custom",
3188     "custom element 241"
3189   },
3190   {
3191     "custom_242",
3192     "custom",
3193     "custom element 242"
3194   },
3195   {
3196     "custom_243",
3197     "custom",
3198     "custom element 243"
3199   },
3200   {
3201     "custom_244",
3202     "custom",
3203     "custom element 244"
3204   },
3205   {
3206     "custom_245",
3207     "custom",
3208     "custom element 245"
3209   },
3210   {
3211     "custom_246",
3212     "custom",
3213     "custom element 246"
3214   },
3215   {
3216     "custom_247",
3217     "custom",
3218     "custom element 247"
3219   },
3220   {
3221     "custom_248",
3222     "custom",
3223     "custom element 248"
3224   },
3225   {
3226     "custom_249",
3227     "custom",
3228     "custom element 249"
3229   },
3230   {
3231     "custom_250",
3232     "custom",
3233     "custom element 250"
3234   },
3235   {
3236     "custom_251",
3237     "custom",
3238     "custom element 251"
3239   },
3240   {
3241     "custom_252",
3242     "custom",
3243     "custom element 252"
3244   },
3245   {
3246     "custom_253",
3247     "custom",
3248     "custom element 253"
3249   },
3250   {
3251     "custom_254",
3252     "custom",
3253     "custom element 254"
3254   },
3255   {
3256     "custom_255",
3257     "custom",
3258     "custom element 255"
3259   },
3260   {
3261     "custom_256",
3262     "custom",
3263     "custom element 256"
3264   },
3265   {
3266     "em_key_1",
3267     "key",
3268     "key 1 (EM style)"
3269     },
3270   {
3271     "em_key_2",
3272     "key",
3273     "key 2 (EM style)"
3274     },
3275   {
3276     "em_key_3",
3277     "key",
3278     "key 3 (EM style)"
3279   },
3280   {
3281     "em_key_4",
3282     "key",
3283     "key 4 (EM style)"
3284   },
3285   {
3286     "envelope_1",
3287     "envelope",
3288     "mail envelope 1"
3289   },
3290   {
3291     "envelope_2",
3292     "envelope",
3293     "mail envelope 2"
3294   },
3295   {
3296     "envelope_3",
3297     "envelope",
3298     "mail envelope 3"
3299   },
3300   {
3301     "envelope_4",
3302     "envelope",
3303     "mail envelope 4"
3304   },
3305   {
3306     "group_1",
3307     "group",
3308     "group element 1"
3309   },
3310   {
3311     "group_2",
3312     "group",
3313     "group element 2"
3314   },
3315   {
3316     "group_3",
3317     "group",
3318     "group element 3"
3319   },
3320   {
3321     "group_4",
3322     "group",
3323     "group element 4"
3324   },
3325   {
3326     "group_5",
3327     "group",
3328     "group element 5"
3329   },
3330   {
3331     "group_6",
3332     "group",
3333     "group element 6"
3334   },
3335   {
3336     "group_7",
3337     "group",
3338     "group element 7"
3339   },
3340   {
3341     "group_8",
3342     "group",
3343     "group element 8"
3344   },
3345   {
3346     "group_9",
3347     "group",
3348     "group element 9"
3349   },
3350   {
3351     "group_10",
3352     "group",
3353     "group element 10"
3354   },
3355   {
3356     "group_11",
3357     "group",
3358     "group element 11"
3359   },
3360   {
3361     "group_12",
3362     "group",
3363     "group element 12"
3364   },
3365   {
3366     "group_13",
3367     "group",
3368     "group element 13"
3369   },
3370   {
3371     "group_14",
3372     "group",
3373     "group element 14"
3374   },
3375   {
3376     "group_15",
3377     "group",
3378     "group element 15"
3379   },
3380   {
3381     "group_16",
3382     "group",
3383     "group element 16"
3384   },
3385   {
3386     "group_17",
3387     "group",
3388     "group element 17"
3389   },
3390   {
3391     "group_18",
3392     "group",
3393     "group element 18"
3394   },
3395   {
3396     "group_19",
3397     "group",
3398     "group element 19"
3399   },
3400   {
3401     "group_20",
3402     "group",
3403     "group element 20"
3404   },
3405   {
3406     "group_21",
3407     "group",
3408     "group element 21"
3409   },
3410   {
3411     "group_22",
3412     "group",
3413     "group element 22"
3414   },
3415   {
3416     "group_23",
3417     "group",
3418     "group element 23"
3419   },
3420   {
3421     "group_24",
3422     "group",
3423     "group element 24"
3424   },
3425   {
3426     "group_25",
3427     "group",
3428     "group element 25"
3429   },
3430   {
3431     "group_26",
3432     "group",
3433     "group element 26"
3434   },
3435   {
3436     "group_27",
3437     "group",
3438     "group element 27"
3439   },
3440   {
3441     "group_28",
3442     "group",
3443     "group element 28"
3444   },
3445   {
3446     "group_29",
3447     "group",
3448     "group element 29"
3449   },
3450   {
3451     "group_30",
3452     "group",
3453     "group element 30"
3454   },
3455   {
3456     "group_31",
3457     "group",
3458     "group element 31"
3459   },
3460   {
3461     "group_32",
3462     "group",
3463     "group element 32"
3464   },
3465   {
3466     "unknown",
3467     "unknown",
3468     "unknown element"
3469   },
3470   {
3471     "trigger_element",
3472     "trigger",
3473     "element triggering change"
3474   },
3475   {
3476     "trigger_player",
3477     "trigger",
3478     "player triggering change"
3479   },
3480   {
3481     "sp_gravity_on_port_right",
3482     "sp_gravity_on_port",
3483     "gravity-on port (leading right)"
3484   },
3485   {
3486     "sp_gravity_on_port_down",
3487     "sp_gravity_on_port",
3488     "gravity-on port (leading down)"
3489   },
3490   {
3491     "sp_gravity_on_port_left",
3492     "sp_gravity_on_port",
3493     "gravity-on port (leading left)"
3494   },
3495   {
3496     "sp_gravity_on_port_up",
3497     "sp_gravity_on_port",
3498     "gravity-on port (leading up)"
3499   },
3500   {
3501     "sp_gravity_off_port_right",
3502     "sp_gravity_off_port",
3503     "gravity-off port (leading right)"
3504   },
3505   {
3506     "sp_gravity_off_port_down",
3507     "sp_gravity_off_port",
3508     "gravity-off port (leading down)"
3509   },
3510   {
3511     "sp_gravity_off_port_left",
3512     "sp_gravity_off_port",
3513     "gravity-off port (leading left)"
3514   },
3515   {
3516     "sp_gravity_off_port_up",
3517     "sp_gravity_off_port",
3518     "gravity-off port (leading up)"
3519   },
3520   {
3521     "balloon_switch_none",
3522     "balloon_switch",
3523     "wind switch (off)"
3524   },
3525   {
3526     "emc_gate_5",
3527     "gate",
3528     "door 5 (EMC style)",
3529   },
3530   {
3531     "emc_gate_6",
3532     "gate",
3533     "door 6 (EMC style)",
3534   },
3535   {
3536     "emc_gate_7",
3537     "gate",
3538     "door 7 (EMC style)",
3539   },
3540   {
3541     "emc_gate_8",
3542     "gate",
3543     "door 8 (EMC style)",
3544   },
3545   {
3546     "emc_gate_5_gray",
3547     "gate",
3548     "gray door (EMC style, key 5)",
3549   },
3550   {
3551     "emc_gate_6_gray",
3552     "gate",
3553     "gray door (EMC style, key 6)",
3554   },
3555   {
3556     "emc_gate_7_gray",
3557     "gate",
3558     "gray door (EMC style, key 7)",
3559   },
3560   {
3561     "emc_gate_8_gray",
3562     "gate",
3563     "gray door (EMC style, key 8)",
3564   },
3565   {
3566     "emc_key_5",
3567     "key",
3568     "key 5 (EMC style)",
3569   },
3570   {
3571     "emc_key_6",
3572     "key",
3573     "key 6 (EMC style)",
3574   },
3575   {
3576     "emc_key_7",
3577     "key",
3578     "key 7 (EMC style)",
3579   },
3580   {
3581     "emc_key_8",
3582     "key",
3583     "key 8 (EMC style)",
3584   },
3585   {
3586     "emc_android",
3587     "emc_android",
3588     "android",
3589   },
3590   {
3591     "emc_grass",
3592     "emc_grass",
3593     "grass",
3594   },
3595   {
3596     "emc_magic_ball",
3597     "emc_magic_ball",
3598     "magic ball",
3599   },
3600   {
3601     "emc_magic_ball.active",
3602     "emc_magic_ball",
3603     "magic ball (activated)",
3604   },
3605   {
3606     "emc_magic_ball_switch",
3607     "emc_magic_ball_switch",
3608     "magic ball switch (off)",
3609   },
3610   {
3611     "emc_magic_ball_switch.active",
3612     "emc_magic_ball_switch",
3613     "magic ball switch (on)",
3614   },
3615   {
3616     "emc_spring_bumper",
3617     "emc_spring_bumper",
3618     "spring bumper",
3619   },
3620   {
3621     "emc_plant",
3622     "emc_plant",
3623     "plant",
3624   },
3625   {
3626     "emc_lenses",
3627     "emc_lenses",
3628     "lenses",
3629   },
3630   {
3631     "emc_magnifier",
3632     "emc_magnifier",
3633     "magnifier",
3634   },
3635   {
3636     "emc_wall_9",
3637     "wall",
3638     "normal wall"
3639   },
3640   {
3641     "emc_wall_10",
3642     "wall",
3643     "normal wall"
3644   },
3645   {
3646     "emc_wall_11",
3647     "wall",
3648     "normal wall"
3649   },
3650   {
3651     "emc_wall_12",
3652     "wall",
3653     "normal wall"
3654   },
3655   {
3656     "emc_wall_13",
3657     "wall",
3658     "normal wall"
3659   },
3660   {
3661     "emc_wall_14",
3662     "wall",
3663     "normal wall"
3664   },
3665   {
3666     "emc_wall_15",
3667     "wall",
3668     "normal wall"
3669   },
3670   {
3671     "emc_wall_16",
3672     "wall",
3673     "normal wall"
3674   },
3675   {
3676     "emc_wall_slippery_1",
3677     "wall",
3678     "slippery wall"
3679   },
3680   {
3681     "emc_wall_slippery_2",
3682     "wall",
3683     "slippery wall"
3684   },
3685   {
3686     "emc_wall_slippery_3",
3687     "wall",
3688     "slippery wall"
3689   },
3690   {
3691     "emc_wall_slippery_4",
3692     "wall",
3693     "slippery wall"
3694   },
3695   {
3696     "emc_fake_grass",
3697     "fake_grass",
3698     "fake grass"
3699   },
3700   {
3701     "emc_fake_acid",
3702     "fake_acid",
3703     "fake acid"
3704   },
3705   {
3706     "emc_dripper",
3707     "dripper",
3708     "dripper"
3709   },
3710   {
3711     "trigger_ce_value",
3712     "trigger",
3713     "CE value of element triggering change"
3714   },
3715   {
3716     "trigger_ce_score",
3717     "trigger",
3718     "CE score of element triggering change"
3719   },
3720   {
3721     "current_ce_value",
3722     "current",
3723     "CE value of current element"
3724   },
3725   {
3726     "current_ce_score",
3727     "current",
3728     "CE score of current element"
3729   },
3730   {
3731     "yamyam.left",
3732     "yamyam",
3733     "yam yam (starts moving left)"
3734   },
3735   {
3736     "yamyam.right",
3737     "yamyam",
3738     "yam yam (starts moving right)"
3739   },
3740   {
3741     "yamyam.up",
3742     "yamyam",
3743     "yam yam (starts moving up)"
3744   },
3745   {
3746     "yamyam.down",
3747     "yamyam",
3748     "yam yam (starts moving down)"
3749   },
3750   {
3751     "bd_expandable_wall",
3752     "wall",
3753     "growing wall (horizontal, BD style)"
3754   },
3755   {
3756     "prev_ce_8",
3757     "prev_ce",
3758     "CE 8 positions earlier in list"
3759   },
3760   {
3761     "prev_ce_7",
3762     "prev_ce",
3763     "CE 7 positions earlier in list"
3764   },
3765   {
3766     "prev_ce_6",
3767     "prev_ce",
3768     "CE 6 positions earlier in list"
3769   },
3770   {
3771     "prev_ce_5",
3772     "prev_ce",
3773     "CE 5 positions earlier in list"
3774   },
3775   {
3776     "prev_ce_4",
3777     "prev_ce",
3778     "CE 4 positions earlier in list"
3779   },
3780   {
3781     "prev_ce_3",
3782     "prev_ce",
3783     "CE 3 positions earlier in list"
3784   },
3785   {
3786     "prev_ce_2",
3787     "prev_ce",
3788     "CE 2 positions earlier in list"
3789   },
3790   {
3791     "prev_ce_1",
3792     "prev_ce",
3793     "CE 1 position earlier in list"
3794   },
3795   {
3796     "self",
3797     "self",
3798     "the current custom element"
3799   },
3800   {
3801     "next_ce_1",
3802     "next_ce",
3803     "CE 1 position later in list"
3804   },
3805   {
3806     "next_ce_2",
3807     "next_ce",
3808     "CE 2 positions later in list"
3809   },
3810   {
3811     "next_ce_3",
3812     "next_ce",
3813     "CE 3 positions later in list"
3814   },
3815   {
3816     "next_ce_4",
3817     "next_ce",
3818     "CE 4 positions later in list"
3819   },
3820   {
3821     "next_ce_5",
3822     "next_ce",
3823     "CE 5 positions later in list"
3824   },
3825   {
3826     "next_ce_6",
3827     "next_ce",
3828     "CE 6 positions later in list"
3829   },
3830   {
3831     "next_ce_7",
3832     "next_ce",
3833     "CE 7 positions later in list"
3834   },
3835   {
3836     "next_ce_8",
3837     "next_ce",
3838     "CE 8 positions later in list"
3839   },
3840   {
3841     "any_element",
3842     "any_element",
3843     "this element matches any element"
3844   },
3845   {
3846     "steel_char_space",
3847     "steel_char",
3848     "steel letter ' '"
3849   },
3850   {
3851     "steel_char_exclam",
3852     "steel_char",
3853     "steel letter '!'"
3854   },
3855   {
3856     "steel_char_quotedbl",
3857     "steel_char",
3858     "steel letter '\"'"
3859   },
3860   {
3861     "steel_char_numbersign",
3862     "steel_char",
3863     "steel letter '#'"
3864   },
3865   {
3866     "steel_char_dollar",
3867     "steel_char",
3868     "steel letter '$'"
3869   },
3870   {
3871     "steel_char_percent",
3872     "steel_char",
3873     "steel letter '%'"
3874   },
3875   {
3876     "steel_char_ampersand",
3877     "steel_char",
3878     "steel letter '&'"
3879   },
3880   {
3881     "steel_char_apostrophe",
3882     "steel_char",
3883     "steel letter '''"
3884   },
3885   {
3886     "steel_char_parenleft",
3887     "steel_char",
3888     "steel letter '('"
3889   },
3890   {
3891     "steel_char_parenright",
3892     "steel_char",
3893     "steel letter ')'"
3894   },
3895   {
3896     "steel_char_asterisk",
3897     "steel_char",
3898     "steel letter '*'"
3899   },
3900   {
3901     "steel_char_plus",
3902     "steel_char",
3903     "steel letter '+'"
3904   },
3905   {
3906     "steel_char_comma",
3907     "steel_char",
3908     "steel letter ','"
3909   },
3910   {
3911     "steel_char_minus",
3912     "steel_char",
3913     "steel letter '-'"
3914   },
3915   {
3916     "steel_char_period",
3917     "steel_char",
3918     "steel letter '.'"
3919   },
3920   {
3921     "steel_char_slash",
3922     "steel_char",
3923     "steel letter '/'"
3924   },
3925   {
3926     "steel_char_0",
3927     "steel_char",
3928     "steel letter '0'"
3929   },
3930   {
3931     "steel_char_1",
3932     "steel_char",
3933     "steel letter '1'"
3934   },
3935   {
3936     "steel_char_2",
3937     "steel_char",
3938     "steel letter '2'"
3939   },
3940   {
3941     "steel_char_3",
3942     "steel_char",
3943     "steel letter '3'"
3944   },
3945   {
3946     "steel_char_4",
3947     "steel_char",
3948     "steel letter '4'"
3949   },
3950   {
3951     "steel_char_5",
3952     "steel_char",
3953     "steel letter '5'"
3954   },
3955   {
3956     "steel_char_6",
3957     "steel_char",
3958     "steel letter '6'"
3959   },
3960   {
3961     "steel_char_7",
3962     "steel_char",
3963     "steel letter '7'"
3964   },
3965   {
3966     "steel_char_8",
3967     "steel_char",
3968     "steel letter '8'"
3969   },
3970   {
3971     "steel_char_9",
3972     "steel_char",
3973     "steel letter '9'"
3974   },
3975   {
3976     "steel_char_colon",
3977     "steel_char",
3978     "steel letter ':'"
3979   },
3980   {
3981     "steel_char_semicolon",
3982     "steel_char",
3983     "steel letter ';'"
3984   },
3985   {
3986     "steel_char_less",
3987     "steel_char",
3988     "steel letter '<'"
3989   },
3990   {
3991     "steel_char_equal",
3992     "steel_char",
3993     "steel letter '='"
3994   },
3995   {
3996     "steel_char_greater",
3997     "steel_char",
3998     "steel letter '>'"
3999   },
4000   {
4001     "steel_char_question",
4002     "steel_char",
4003     "steel letter '?'"
4004   },
4005   {
4006     "steel_char_at",
4007     "steel_char",
4008     "steel letter '@'"
4009   },
4010   {
4011     "steel_char_a",
4012     "steel_char",
4013     "steel letter 'A'"
4014   },
4015   {
4016     "steel_char_b",
4017     "steel_char",
4018     "steel letter 'B'"
4019   },
4020   {
4021     "steel_char_c",
4022     "steel_char",
4023     "steel letter 'C'"
4024   },
4025   {
4026     "steel_char_d",
4027     "steel_char",
4028     "steel letter 'D'"
4029   },
4030   {
4031     "steel_char_e",
4032     "steel_char",
4033     "steel letter 'E'"
4034   },
4035   {
4036     "steel_char_f",
4037     "steel_char",
4038     "steel letter 'F'"
4039   },
4040   {
4041     "steel_char_g",
4042     "steel_char",
4043     "steel letter 'G'"
4044   },
4045   {
4046     "steel_char_h",
4047     "steel_char",
4048     "steel letter 'H'"
4049   },
4050   {
4051     "steel_char_i",
4052     "steel_char",
4053     "steel letter 'I'"
4054   },
4055   {
4056     "steel_char_j",
4057     "steel_char",
4058     "steel letter 'J'"
4059   },
4060   {
4061     "steel_char_k",
4062     "steel_char",
4063     "steel letter 'K'"
4064   },
4065   {
4066     "steel_char_l",
4067     "steel_char",
4068     "steel letter 'L'"
4069   },
4070   {
4071     "steel_char_m",
4072     "steel_char",
4073     "steel letter 'M'"
4074   },
4075   {
4076     "steel_char_n",
4077     "steel_char",
4078     "steel letter 'N'"
4079   },
4080   {
4081     "steel_char_o",
4082     "steel_char",
4083     "steel letter 'O'"
4084   },
4085   {
4086     "steel_char_p",
4087     "steel_char",
4088     "steel letter 'P'"
4089   },
4090   {
4091     "steel_char_q",
4092     "steel_char",
4093     "steel letter 'Q'"
4094   },
4095   {
4096     "steel_char_r",
4097     "steel_char",
4098     "steel letter 'R'"
4099   },
4100   {
4101     "steel_char_s",
4102     "steel_char",
4103     "steel letter 'S'"
4104   },
4105   {
4106     "steel_char_t",
4107     "steel_char",
4108     "steel letter 'T'"
4109   },
4110   {
4111     "steel_char_u",
4112     "steel_char",
4113     "steel letter 'U'"
4114   },
4115   {
4116     "steel_char_v",
4117     "steel_char",
4118     "steel letter 'V'"
4119   },
4120   {
4121     "steel_char_w",
4122     "steel_char",
4123     "steel letter 'W'"
4124   },
4125   {
4126     "steel_char_x",
4127     "steel_char",
4128     "steel letter 'X'"
4129   },
4130   {
4131     "steel_char_y",
4132     "steel_char",
4133     "steel letter 'Y'"
4134   },
4135   {
4136     "steel_char_z",
4137     "steel_char",
4138     "steel letter 'Z'"
4139   },
4140   {
4141     "steel_char_bracketleft",
4142     "steel_char",
4143     "steel letter '['"
4144   },
4145   {
4146     "steel_char_backslash",
4147     "steel_char",
4148     "steel letter '\\'"
4149   },
4150   {
4151     "steel_char_bracketright",
4152     "steel_char",
4153     "steel letter ']'"
4154   },
4155   {
4156     "steel_char_asciicircum",
4157     "steel_char",
4158     "steel letter '^'"
4159   },
4160   {
4161     "steel_char_underscore",
4162     "steel_char",
4163     "steel letter '_'"
4164   },
4165   {
4166     "steel_char_copyright",
4167     "steel_char",
4168     "steel letter '©'"
4169   },
4170   {
4171     "steel_char_aumlaut",
4172     "steel_char",
4173     "steel letter 'Ä'"
4174   },
4175   {
4176     "steel_char_oumlaut",
4177     "steel_char",
4178     "steel letter 'Ö'"
4179   },
4180   {
4181     "steel_char_uumlaut",
4182     "steel_char",
4183     "steel letter 'Ãœ'"
4184   },
4185   {
4186     "steel_char_degree",
4187     "steel_char",
4188     "steel letter '°'"
4189   },
4190   {
4191     "steel_char_trademark",
4192     "steel_char",
4193     "steel letter '®'"
4194   },
4195   {
4196     "steel_char_cursor",
4197     "steel_char",
4198     "steel letter ' '"
4199   },
4200   {
4201     "steel_char_unused",
4202     "steel_char",
4203     "steel letter ''"
4204   },
4205   {
4206     "steel_char_unused",
4207     "steel_char",
4208     "steel letter ''"
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 'button'"
4234   },
4235   {
4236     "steel_char_unused",
4237     "steel_char",
4238     "steel letter 'up'"
4239   },
4240   {
4241     "steel_char_unused",
4242     "steel_char",
4243     "steel letter 'down'"
4244   },
4245   {
4246     "sperms",
4247     "frankie",
4248     "sperms"
4249   },
4250   {
4251     "bullet",
4252     "frankie",
4253     "bullet"
4254   },
4255   {
4256     "heart",
4257     "frankie",
4258     "heart"
4259   },
4260   {
4261     "cross",
4262     "frankie",
4263     "cross"
4264   },
4265   {
4266     "frankie",
4267     "frankie",
4268     "frankie"
4269   },
4270   {
4271     "sign_sperms",
4272     "sign",
4273     "sign (sperms)"
4274   },
4275   {
4276     "sign_bullet",
4277     "sign",
4278     "sign (bullet)"
4279   },
4280   {
4281     "sign_heart",
4282     "sign",
4283     "sign (heart)"
4284   },
4285   {
4286     "sign_cross",
4287     "sign",
4288     "sign (cross)"
4289   },
4290   {
4291     "sign_frankie",
4292     "sign",
4293     "sign (frankie)"
4294   },
4295   {
4296     "steel_exit_closed",
4297     "steel_exit",
4298     "closed steel exit"
4299   },
4300   {
4301     "steel_exit_open",
4302     "steel_exit",
4303     "open steel exit"
4304   },
4305   {
4306     "dc_steelwall_1_left",
4307     "steelwall",
4308     "steel wall (left)"
4309   },
4310   {
4311     "dc_steelwall_1_right",
4312     "steelwall",
4313     "steel wall (right)"
4314   },
4315   {
4316     "dc_steelwall_1_top",
4317     "steelwall",
4318     "steel wall (top)"
4319   },
4320   {
4321     "dc_steelwall_1_bottom",
4322     "steelwall",
4323     "steel wall (bottom)"
4324   },
4325   {
4326     "dc_steelwall_1_horizontal",
4327     "steelwall",
4328     "steel wall (top/bottom)"
4329   },
4330   {
4331     "dc_steelwall_1_vertical",
4332     "steelwall",
4333     "steel wall (left/right)"
4334   },
4335   {
4336     "dc_steelwall_1_topleft",
4337     "steelwall",
4338     "steel wall (top/left)"
4339   },
4340   {
4341     "dc_steelwall_1_topright",
4342     "steelwall",
4343     "steel wall (top/right)"
4344   },
4345   {
4346     "dc_steelwall_1_bottomleft",
4347     "steelwall",
4348     "steel wall (bottom/left)"
4349   },
4350   {
4351     "dc_steelwall_1_bottomright",
4352     "steelwall",
4353     "steel wall (bottom/right)"
4354   },
4355   {
4356     "dc_steelwall_1_topleft_2",
4357     "steelwall",
4358     "steel wall (top/left corner)"
4359   },
4360   {
4361     "dc_steelwall_1_topright_2",
4362     "steelwall",
4363     "steel wall (top/right corner)"
4364   },
4365   {
4366     "dc_steelwall_1_bottomleft_2",
4367     "steelwall",
4368     "steel wall (bottom/left corner)"
4369   },
4370   {
4371     "dc_steelwall_1_bottomright_2",
4372     "steelwall",
4373     "steel wall (bottom/right corner)"
4374   },
4375   {
4376     "dc_steelwall_2_left",
4377     "steelwall",
4378     "steel wall (left)"
4379   },
4380   {
4381     "dc_steelwall_2_right",
4382     "steelwall",
4383     "steel wall (right)"
4384   },
4385   {
4386     "dc_steelwall_2_top",
4387     "steelwall",
4388     "steel wall (top)"
4389   },
4390   {
4391     "dc_steelwall_2_bottom",
4392     "steelwall",
4393     "steel wall (bottom)"
4394   },
4395   {
4396     "dc_steelwall_2_horizontal",
4397     "steelwall",
4398     "steel wall (horizontal)"
4399   },
4400   {
4401     "dc_steelwall_2_vertical",
4402     "steelwall",
4403     "steel wall (vertical)"
4404   },
4405   {
4406     "dc_steelwall_2_middle",
4407     "steelwall",
4408     "steel wall (middle)"
4409   },
4410   {
4411     "dc_steelwall_2_single",
4412     "steelwall",
4413     "steel wall (single)"
4414   },
4415   {
4416     "dc_switchgate_switch_up",
4417     "switchgate_switch",
4418     "switch for switch gate (steel)"
4419   },
4420   {
4421     "dc_switchgate_switch_down",
4422     "switchgate_switch",
4423     "switch for switch gate (steel)"
4424   },
4425   {
4426     "dc_timegate_switch",
4427     "timegate_switch",
4428     "switch for time gate (steel)"
4429   },
4430   {
4431     "dc_timegate_switch.active",
4432     "timegate_switch",
4433     "switch for time gate (steel)"
4434   },
4435   {
4436     "dc_landmine",
4437     "dc_landmine",
4438     "land mine (DC style, removable)"
4439   },
4440   {
4441     "expandable_steelwall",
4442     "steelwall",
4443     "growing steel wall"
4444   },
4445   {
4446     "expandable_steelwall_horizontal",
4447     "steelwall",
4448     "growing steel wall (horizontal)"
4449   },
4450   {
4451     "expandable_steelwall_vertical",
4452     "steelwall",
4453     "growing steel wall (vertical)"
4454   },
4455   {
4456     "expandable_steelwall_any",
4457     "steelwall",
4458     "growing steel wall (any direction)"
4459   },
4460   {
4461     "em_exit_closed",
4462     "em_exit",
4463     "closed exit (EM style)"
4464   },
4465   {
4466     "em_exit_open",
4467     "em_exit",
4468     "open exit (EM style)"
4469   },
4470   {
4471     "em_steel_exit_closed",
4472     "em_steel_exit",
4473     "closed steel exit (EM style)"
4474   },
4475   {
4476     "em_steel_exit_open",
4477     "em_steel_exit",
4478     "open steel exit (EM style)"
4479   },
4480   {
4481     "dc_gate_fake_gray",
4482     "gate",
4483     "gray door (opened by no key)"
4484   },
4485   {
4486     "dc_magic_wall",
4487     "dc_magic_wall",
4488     "magic wall (DC style)"
4489   },
4490   {
4491     "quicksand_fast_empty",
4492     "quicksand",
4493     "fast quicksand (empty)"
4494   },
4495   {
4496     "quicksand_fast_full",
4497     "quicksand",
4498     "fast quicksand (with rock)"
4499   },
4500   {
4501     "from_level_template",
4502     "from_level_template",
4503     "element taken from level template"
4504   },
4505
4506   /* ----------------------------------------------------------------------- */
4507   /* "real" (and therefore drawable) runtime elements                        */
4508   /* ----------------------------------------------------------------------- */
4509
4510   {
4511     "dynabomb_player_1.active",
4512     "dynabomb",
4513     "-"
4514   },
4515   {
4516     "dynabomb_player_2.active",
4517     "dynabomb",
4518     "-"
4519   },
4520   {
4521     "dynabomb_player_3.active",
4522     "dynabomb",
4523     "-"
4524   },
4525   {
4526     "dynabomb_player_4.active",
4527     "dynabomb",
4528     "-"
4529   },
4530   {
4531     "sp_disk_red.active",
4532     "dynamite",
4533     "-"
4534   },
4535   {
4536     "switchgate.opening",
4537     "switchgate",
4538     "-"
4539   },
4540   {
4541     "switchgate.closing",
4542     "switchgate",
4543     "-"
4544   },
4545   {
4546     "timegate.opening",
4547     "timegate",
4548     "-"
4549   },
4550   {
4551     "timegate.closing",
4552     "timegate",
4553     "-"
4554   },
4555   {
4556     "pearl.breaking",
4557     "pearl",
4558     "-"
4559   },
4560   {
4561     "trap.active",
4562     "trap",
4563     "-"
4564   },
4565   {
4566     "invisible_steelwall.active",
4567     "steelwall",
4568     "-"
4569   },
4570   {
4571     "invisible_wall.active",
4572     "wall",
4573     "-"
4574   },
4575   {
4576     "invisible_sand.active",
4577     "sand",
4578     "-"
4579   },
4580   {
4581     "conveyor_belt_1_left.active",
4582     "conveyor_belt",
4583     "-"
4584   },
4585   {
4586     "conveyor_belt_1_middle.active",
4587     "conveyor_belt",
4588     "-"
4589   },
4590   {
4591     "conveyor_belt_1_right.active",
4592     "conveyor_belt",
4593     "-"
4594   },
4595   {
4596     "conveyor_belt_2_left.active",
4597     "conveyor_belt",
4598     "-"
4599   },
4600   {
4601     "conveyor_belt_2_middle.active",
4602     "conveyor_belt",
4603     "-"
4604   },
4605   {
4606     "conveyor_belt_2_right.active",
4607     "conveyor_belt",
4608     "-"
4609   },
4610   {
4611     "conveyor_belt_3_left.active",
4612     "conveyor_belt",
4613     "-"
4614   },
4615   {
4616     "conveyor_belt_3_middle.active",
4617     "conveyor_belt",
4618     "-"
4619   },
4620   {
4621     "conveyor_belt_3_right.active",
4622     "conveyor_belt",
4623     "-"
4624   },
4625   {
4626     "conveyor_belt_4_left.active",
4627     "conveyor_belt",
4628     "-"
4629   },
4630   {
4631     "conveyor_belt_4_middle.active",
4632     "conveyor_belt",
4633     "-"
4634   },
4635   {
4636     "conveyor_belt_4_right.active",
4637     "conveyor_belt",
4638     "-"
4639   },
4640   {
4641     "exit.opening",
4642     "exit",
4643     "-"
4644   },
4645   {
4646     "exit.closing",
4647     "exit",
4648     "-"
4649   },
4650   {
4651     "steel_exit.opening",
4652     "steel_exit",
4653     "-"
4654   },
4655   {
4656     "steel_exit.closing",
4657     "steel_exit",
4658     "-"
4659   },
4660   {
4661     "em_exit.opening",
4662     "em_exit",
4663     "-"
4664   },
4665   {
4666     "em_exit.closing",
4667     "em_exit",
4668     "-"
4669   },
4670   {
4671     "em_steel_exit.opening",
4672     "em_steel_exit",
4673     "-"
4674   },
4675   {
4676     "em_steel_exit.closing",
4677     "em_steel_exit",
4678     "-"
4679   },
4680   {
4681     "sp_exit.opening",
4682     "sp_exit",
4683     "-"
4684   },
4685   {
4686     "sp_exit.closing",
4687     "sp_exit",
4688     "-"
4689   },
4690   {
4691     "sp_exit_open",
4692     "sp_exit",
4693     "-"
4694   },
4695   {
4696     "sp_terminal.active",
4697     "sp_terminal",
4698     "-"
4699   },
4700   {
4701     "sp_buggy_base.activating",
4702     "sp_buggy_base",
4703     "-"
4704   },
4705   {
4706     "sp_buggy_base.active",
4707     "sp_buggy_base",
4708     "-"
4709   },
4710   {
4711     "sp_murphy_clone",
4712     "murphy_clone",
4713     "-"
4714   },
4715   {
4716     "amoeba.dropping",
4717     "amoeba",
4718     "-"
4719   },
4720   {
4721     "quicksand.emptying",
4722     "quicksand",
4723     "-"
4724   },
4725   {
4726     "quicksand_fast.emptying",
4727     "quicksand",
4728     "-"
4729   },
4730   {
4731     "magic_wall.active",
4732     "magic_wall",
4733     "-"
4734   },
4735   {
4736     "bd_magic_wall.active",
4737     "magic_wall",
4738     "-"
4739   },
4740   {
4741     "dc_magic_wall.active",
4742     "magic_wall",
4743     "-"
4744   },
4745   {
4746     "magic_wall_full",
4747     "magic_wall",
4748     "-"
4749   },
4750   {
4751     "bd_magic_wall_full",
4752     "magic_wall",
4753     "-"
4754   },
4755   {
4756     "dc_magic_wall_full",
4757     "magic_wall",
4758     "-"
4759   },
4760   {
4761     "magic_wall.emptying",
4762     "magic_wall",
4763     "-"
4764   },
4765   {
4766     "bd_magic_wall.emptying",
4767     "magic_wall",
4768     "-"
4769   },
4770   {
4771     "dc_magic_wall.emptying",
4772     "magic_wall",
4773     "-"
4774   },
4775   {
4776     "magic_wall_dead",
4777     "magic_wall",
4778     "-"
4779   },
4780   {
4781     "bd_magic_wall_dead",
4782     "magic_wall",
4783     "-"
4784   },
4785   {
4786     "dc_magic_wall_dead",
4787     "magic_wall",
4788     "-"
4789   },
4790
4791   {
4792     "emc_fake_grass.active",
4793     "fake_grass",
4794     "-"
4795   },
4796   {
4797     "gate_1_gray.active",
4798     "gate",
4799     ""
4800   },
4801   {
4802     "gate_2_gray.active",
4803     "gate",
4804     ""
4805   },
4806   {
4807     "gate_3_gray.active",
4808     "gate",
4809     ""
4810   },
4811   {
4812     "gate_4_gray.active",
4813     "gate",
4814     ""
4815   },
4816   {
4817     "em_gate_1_gray.active",
4818     "gate",
4819     ""
4820   },
4821   {
4822     "em_gate_2_gray.active",
4823     "gate",
4824     ""
4825   },
4826   {
4827     "em_gate_3_gray.active",
4828     "gate",
4829     ""
4830   },
4831   {
4832     "em_gate_4_gray.active",
4833     "gate",
4834     ""
4835   },
4836   {
4837     "emc_gate_5_gray.active",
4838     "gate",
4839     "",
4840   },
4841   {
4842     "emc_gate_6_gray.active",
4843     "gate",
4844     "",
4845   },
4846   {
4847     "emc_gate_7_gray.active",
4848     "gate",
4849     "",
4850   },
4851   {
4852     "emc_gate_8_gray.active",
4853     "gate",
4854     "",
4855   },
4856   {
4857     "dc_gate_white_gray.active",
4858     "gate",
4859     "",
4860   },
4861   {
4862     "emc_dripper.active",
4863     "dripper",
4864     "dripper"
4865   },
4866   {
4867     "emc_spring_bumper.active",
4868     "emc_spring_bumper",
4869     "spring bumper",
4870   },
4871
4872   /* ----------------------------------------------------------------------- */
4873   /* "unreal" (and therefore not drawable) runtime elements                  */
4874   /* ----------------------------------------------------------------------- */
4875
4876   {
4877     "blocked",
4878     "-",
4879     "-"
4880   },
4881   {
4882     "explosion",
4883     "-",
4884     "-"
4885   },
4886   {
4887     "nut.breaking",
4888     "-",
4889     "-"
4890   },
4891   {
4892     "diamond.breaking",
4893     "-",
4894     "-"
4895   },
4896   {
4897     "acid_splash_left",
4898     "-",
4899     "-"
4900   },
4901   {
4902     "acid_splash_right",
4903     "-",
4904     "-"
4905   },
4906   {
4907     "amoeba.growing",
4908     "-",
4909     "-"
4910   },
4911   {
4912     "amoeba.shrinking",
4913     "-",
4914     "-"
4915   },
4916   {
4917     "expandable_wall.growing",
4918     "-",
4919     "-"
4920   },
4921   {
4922     "expandable_steelwall.growing",
4923     "-",
4924     "-"
4925   },
4926   {
4927     "flames",
4928     "-",
4929     "-"
4930   },
4931   {
4932     "player_is_leaving",
4933     "-",
4934     "-"
4935   },
4936   {
4937     "player_is_exploding_1",
4938     "-",
4939     "-"
4940   },
4941   {
4942     "player_is_exploding_2",
4943     "-",
4944     "-"
4945   },
4946   {
4947     "player_is_exploding_3",
4948     "-",
4949     "-"
4950   },
4951   {
4952     "player_is_exploding_4",
4953     "-",
4954     "-"
4955   },
4956   {
4957     "quicksand.filling",
4958     "quicksand",
4959     "-"
4960   },
4961   {
4962     "quicksand_fast.filling",
4963     "quicksand",
4964     "-"
4965   },
4966   {
4967     "magic_wall.filling",
4968     "-",
4969     "-"
4970   },
4971   {
4972     "bd_magic_wall.filling",
4973     "-",
4974     "-"
4975   },
4976   {
4977     "dc_magic_wall.filling",
4978     "-",
4979     "-"
4980   },
4981   {
4982     "element.snapping",
4983     "-",
4984     "-"
4985   },
4986   {
4987     "diagonal.shrinking",
4988     "-",
4989     "-"
4990   },
4991   {
4992     "diagonal.growing",
4993     "-",
4994     "-"
4995   },
4996
4997   /* ----------------------------------------------------------------------- */
4998   /* dummy elements (never used as game elements, only used as graphics)     */
4999   /* ----------------------------------------------------------------------- */
5000
5001   {
5002     "steelwall_topleft",
5003     "-",
5004     "-"
5005   },
5006   {
5007     "steelwall_topright",
5008     "-",
5009     "-"
5010   },
5011   {
5012     "steelwall_bottomleft",
5013     "-",
5014     "-"
5015   },
5016   {
5017     "steelwall_bottomright",
5018     "-",
5019     "-"
5020   },
5021   {
5022     "steelwall_horizontal",
5023     "-",
5024     "-"
5025   },
5026   {
5027     "steelwall_vertical",
5028     "-",
5029     "-"
5030   },
5031   {
5032     "invisible_steelwall_topleft",
5033     "-",
5034     "-"
5035   },
5036   {
5037     "invisible_steelwall_topright",
5038     "-",
5039     "-"
5040   },
5041   {
5042     "invisible_steelwall_bottomleft",
5043     "-",
5044     "-"
5045   },
5046   {
5047     "invisible_steelwall_bottomright",
5048     "-",
5049     "-"
5050   },
5051   {
5052     "invisible_steelwall_horizontal",
5053     "-",
5054     "-"
5055   },
5056   {
5057     "invisible_steelwall_vertical",
5058     "-",
5059     "-"
5060   },
5061   {
5062     "dynabomb",
5063     "-",
5064     "-"
5065   },
5066   {
5067     "dynabomb.active",
5068     "-",
5069     "-"
5070   },
5071   {
5072     "dynabomb_player_1",
5073     "-",
5074     "-"
5075   },
5076   {
5077     "dynabomb_player_2",
5078     "-",
5079     "-"
5080   },
5081   {
5082     "dynabomb_player_3",
5083     "-",
5084     "-"
5085   },
5086   {
5087     "dynabomb_player_4",
5088     "-",
5089     "-"
5090   },
5091   {
5092     "shield_normal.active",
5093     "-",
5094     "-"
5095   },
5096   {
5097     "shield_deadly.active",
5098     "-",
5099     "-"
5100   },
5101   {
5102     "amoeba",
5103     "amoeba",
5104     "-"
5105   },
5106   {
5107     "[default]",
5108     "default",
5109     "-"
5110   },
5111   {
5112     "[bd_default]",
5113     "bd_default",
5114     "-"
5115   },
5116   {
5117     "[sp_default]",
5118     "sp_default",
5119     "-"
5120   },
5121   {
5122     "[sb_default]",
5123     "sb_default",
5124     "-"
5125   },
5126   {
5127     "graphic_1",
5128     "graphic",
5129     "-"
5130   },
5131   {
5132     "graphic_2",
5133     "graphic",
5134     "-"
5135   },
5136   {
5137     "graphic_3",
5138     "graphic",
5139     "-"
5140   },
5141   {
5142     "graphic_4",
5143     "graphic",
5144     "-"
5145   },
5146   {
5147     "graphic_5",
5148     "graphic",
5149     "-"
5150   },
5151   {
5152     "graphic_6",
5153     "graphic",
5154     "-"
5155   },
5156   {
5157     "graphic_7",
5158     "graphic",
5159     "-"
5160   },
5161   {
5162     "graphic_8",
5163     "graphic",
5164     "-"
5165   },
5166   {
5167     "internal_clipboard_custom",
5168     "internal",
5169     "empty custom element"
5170   },
5171   {
5172     "internal_clipboard_change",
5173     "internal",
5174     "empty change page"
5175   },
5176   {
5177     "internal_clipboard_group",
5178     "internal",
5179     "empty group element"
5180   },
5181   {
5182     "internal_dummy",
5183     "internal",
5184     "-"
5185   },
5186   {
5187     "internal_cascade_bd",
5188     "internal",
5189     "show Boulder Dash elements"
5190   },
5191   {
5192     "internal_cascade_bd.active",
5193     "internal",
5194     "hide Boulder Dash elements"
5195   },
5196   {
5197     "internal_cascade_em",
5198     "internal",
5199     "show Emerald Mine elements"
5200   },
5201   {
5202     "internal_cascade_em.active",
5203     "internal",
5204     "hide Emerald Mine elements"
5205   },
5206   {
5207     "internal_cascade_emc",
5208     "internal",
5209     "show Emerald Mine Club elements"
5210   },
5211   {
5212     "internal_cascade_emc.active",
5213     "internal",
5214     "hide Emerald Mine Club elements"
5215   },
5216   {
5217     "internal_cascade_rnd",
5218     "internal",
5219     "show Rocks'n'Diamonds elements"
5220   },
5221   {
5222     "internal_cascade_rnd.active",
5223     "internal",
5224     "hide Rocks'n'Diamonds elements"
5225   },
5226   {
5227     "internal_cascade_sb",
5228     "internal",
5229     "show Sokoban elements"
5230   },
5231   {
5232     "internal_cascade_sb.active",
5233     "internal",
5234     "hide Sokoban elements"
5235   },
5236   {
5237     "internal_cascade_sp",
5238     "internal",
5239     "show Supaplex elements"
5240   },
5241   {
5242     "internal_cascade_sp.active",
5243     "internal",
5244     "hide Supaplex elements"
5245   },
5246   {
5247     "internal_cascade_dc",
5248     "internal",
5249     "show Diamond Caves II elements"
5250   },
5251   {
5252     "internal_cascade_dc.active",
5253     "internal",
5254     "hide Diamond Caves II elements"
5255   },
5256   {
5257     "internal_cascade_dx",
5258     "internal",
5259     "show DX Boulderdash elements"
5260   },
5261   {
5262     "internal_cascade_dx.active",
5263     "internal",
5264     "hide DX Boulderdash elements"
5265   },
5266   {
5267     "internal_cascade_chars",
5268     "internal",
5269     "show text elements"
5270   },
5271   {
5272     "internal_cascade_chars.active",
5273     "internal",
5274     "hide text elements"
5275   },
5276   {
5277     "internal_cascade_steel_chars",
5278     "internal",
5279     "show steel text elements"
5280   },
5281   {
5282     "internal_cascade_steel_chars.active",
5283     "internal",
5284     "hide steel text elements"
5285   },
5286   {
5287     "internal_cascade_ce",
5288     "internal",
5289     "show custom elements"
5290   },
5291   {
5292     "internal_cascade_ce.active",
5293     "internal",
5294     "hide custom elements"
5295   },
5296   {
5297     "internal_cascade_ge",
5298     "internal",
5299     "show group elements"
5300   },
5301   {
5302     "internal_cascade_ge.active",
5303     "internal",
5304     "hide group elements"
5305   },
5306   {
5307     "internal_cascade_ref",
5308     "internal",
5309     "show reference elements"
5310   },
5311   {
5312     "internal_cascade_ref.active",
5313     "internal",
5314     "hide reference elements"
5315   },
5316   {
5317     "internal_cascade_user",
5318     "internal",
5319     "show user defined elements"
5320   },
5321   {
5322     "internal_cascade_user.active",
5323     "internal",
5324     "hide user defined elements"
5325   },
5326   {
5327     "internal_cascade_dynamic",
5328     "internal",
5329     "show elements used in this level"
5330   },
5331   {
5332     "internal_cascade_dynamic.active",
5333     "internal",
5334     "hide elements used in this level"
5335   },
5336
5337   /* keyword to stop parser: "ELEMENT_INFO_END" <-- do not change! */
5338
5339   {
5340     NULL,
5341     NULL,
5342     NULL
5343   }
5344 };
5345
5346
5347 /* ------------------------------------------------------------------------- */
5348 /* element action and direction definitions                                  */
5349 /* ------------------------------------------------------------------------- */
5350
5351 struct ElementActionInfo element_action_info[NUM_ACTIONS + 1 + 1] =
5352 {
5353   { ".[DEFAULT]",               ACTION_DEFAULT,                 TRUE    },
5354   { ".waiting",                 ACTION_WAITING,                 TRUE    },
5355   { ".falling",                 ACTION_FALLING,                 TRUE    },
5356   { ".moving",                  ACTION_MOVING,                  TRUE    },
5357   { ".digging",                 ACTION_DIGGING,                 FALSE   },
5358   { ".snapping",                ACTION_SNAPPING,                FALSE   },
5359   { ".collecting",              ACTION_COLLECTING,              FALSE   },
5360   { ".dropping",                ACTION_DROPPING,                FALSE   },
5361   { ".pushing",                 ACTION_PUSHING,                 FALSE   },
5362   { ".walking",                 ACTION_WALKING,                 FALSE   },
5363   { ".passing",                 ACTION_PASSING,                 FALSE   },
5364   { ".impact",                  ACTION_IMPACT,                  FALSE   },
5365   { ".breaking",                ACTION_BREAKING,                FALSE   },
5366   { ".activating",              ACTION_ACTIVATING,              FALSE   },
5367   { ".deactivating",            ACTION_DEACTIVATING,            FALSE   },
5368   { ".opening",                 ACTION_OPENING,                 FALSE   },
5369   { ".closing",                 ACTION_CLOSING,                 FALSE   },
5370   { ".attacking",               ACTION_ATTACKING,               TRUE    },
5371   { ".growing",                 ACTION_GROWING,                 TRUE    },
5372   { ".shrinking",               ACTION_SHRINKING,               FALSE   },
5373   { ".active",                  ACTION_ACTIVE,                  TRUE    },
5374   { ".filling",                 ACTION_FILLING,                 FALSE   },
5375   { ".emptying",                ACTION_EMPTYING,                FALSE   },
5376   { ".changing",                ACTION_CHANGING,                FALSE   },
5377   { ".exploding",               ACTION_EXPLODING,               FALSE   },
5378   { ".boring",                  ACTION_BORING,                  FALSE   },
5379   { ".boring[1]",               ACTION_BORING_1,                FALSE   },
5380   { ".boring[2]",               ACTION_BORING_2,                FALSE   },
5381   { ".boring[3]",               ACTION_BORING_3,                FALSE   },
5382   { ".boring[4]",               ACTION_BORING_4,                FALSE   },
5383   { ".boring[5]",               ACTION_BORING_5,                FALSE   },
5384   { ".boring[6]",               ACTION_BORING_6,                FALSE   },
5385   { ".boring[7]",               ACTION_BORING_7,                FALSE   },
5386   { ".boring[8]",               ACTION_BORING_8,                FALSE   },
5387   { ".boring[9]",               ACTION_BORING_9,                FALSE   },
5388   { ".boring[10]",              ACTION_BORING_10,               FALSE   },
5389   { ".sleeping",                ACTION_SLEEPING,                FALSE   },
5390   { ".sleeping[1]",             ACTION_SLEEPING_1,              FALSE   },
5391   { ".sleeping[2]",             ACTION_SLEEPING_2,              FALSE   },
5392   { ".sleeping[3]",             ACTION_SLEEPING_3,              FALSE   },
5393   { ".awakening",               ACTION_AWAKENING,               FALSE   },
5394   { ".dying",                   ACTION_DYING,                   FALSE   },
5395   { ".turning",                 ACTION_TURNING,                 FALSE   },
5396   { ".turning_from_left",       ACTION_TURNING_FROM_LEFT,       FALSE   },
5397   { ".turning_from_right",      ACTION_TURNING_FROM_RIGHT,      FALSE   },
5398   { ".turning_from_up",         ACTION_TURNING_FROM_UP,         FALSE   },
5399   { ".turning_from_down",       ACTION_TURNING_FROM_DOWN,       FALSE   },
5400   { ".smashed_by_rock",         ACTION_SMASHED_BY_ROCK,         FALSE   },
5401   { ".smashed_by_spring",       ACTION_SMASHED_BY_SPRING,       FALSE   },
5402   { ".eating",                  ACTION_EATING,                  FALSE   },
5403   { ".twinkling",               ACTION_TWINKLING,               FALSE   },
5404   { ".splashing",               ACTION_SPLASHING,               FALSE   },
5405   { ".page[1]",                 ACTION_PAGE_1,                  FALSE   },
5406   { ".page[2]",                 ACTION_PAGE_2,                  FALSE   },
5407   { ".page[3]",                 ACTION_PAGE_3,                  FALSE   },
5408   { ".page[4]",                 ACTION_PAGE_4,                  FALSE   },
5409   { ".page[5]",                 ACTION_PAGE_5,                  FALSE   },
5410   { ".page[6]",                 ACTION_PAGE_6,                  FALSE   },
5411   { ".page[7]",                 ACTION_PAGE_7,                  FALSE   },
5412   { ".page[8]",                 ACTION_PAGE_8,                  FALSE   },
5413   { ".page[9]",                 ACTION_PAGE_9,                  FALSE   },
5414   { ".page[10]",                ACTION_PAGE_10,                 FALSE   },
5415   { ".page[11]",                ACTION_PAGE_11,                 FALSE   },
5416   { ".page[12]",                ACTION_PAGE_12,                 FALSE   },
5417   { ".page[13]",                ACTION_PAGE_13,                 FALSE   },
5418   { ".page[14]",                ACTION_PAGE_14,                 FALSE   },
5419   { ".page[15]",                ACTION_PAGE_15,                 FALSE   },
5420   { ".page[16]",                ACTION_PAGE_16,                 FALSE   },
5421   { ".page[17]",                ACTION_PAGE_17,                 FALSE   },
5422   { ".page[18]",                ACTION_PAGE_18,                 FALSE   },
5423   { ".page[19]",                ACTION_PAGE_19,                 FALSE   },
5424   { ".page[20]",                ACTION_PAGE_20,                 FALSE   },
5425   { ".page[21]",                ACTION_PAGE_21,                 FALSE   },
5426   { ".page[22]",                ACTION_PAGE_22,                 FALSE   },
5427   { ".page[23]",                ACTION_PAGE_23,                 FALSE   },
5428   { ".page[24]",                ACTION_PAGE_24,                 FALSE   },
5429   { ".page[25]",                ACTION_PAGE_25,                 FALSE   },
5430   { ".page[26]",                ACTION_PAGE_26,                 FALSE   },
5431   { ".page[27]",                ACTION_PAGE_27,                 FALSE   },
5432   { ".page[28]",                ACTION_PAGE_28,                 FALSE   },
5433   { ".page[29]",                ACTION_PAGE_29,                 FALSE   },
5434   { ".page[30]",                ACTION_PAGE_30,                 FALSE   },
5435   { ".page[31]",                ACTION_PAGE_31,                 FALSE   },
5436   { ".page[32]",                ACTION_PAGE_32,                 FALSE   },
5437   { ".other",                   ACTION_OTHER,                   FALSE   },
5438
5439   /* empty suffix always matches -- check as last entry in InitSoundInfo() */
5440   { "",                         ACTION_DEFAULT,                 TRUE    },
5441
5442   { NULL,                       0,                              0       }
5443 };
5444
5445 struct ElementDirectionInfo element_direction_info[NUM_DIRECTIONS_FULL + 1] =
5446 {
5447   { ".left",                    MV_BIT_LEFT                             },
5448   { ".right",                   MV_BIT_RIGHT                            },
5449   { ".up",                      MV_BIT_UP                               },
5450   { ".down",                    MV_BIT_DOWN                             },
5451   { ".upleft",                  MV_BIT_UP                               },
5452   { ".upright",                 MV_BIT_RIGHT                            },
5453   { ".downleft",                MV_BIT_LEFT                             },
5454   { ".downright",               MV_BIT_DOWN                             },
5455
5456   { NULL,                       0                                       }
5457 };
5458
5459 struct SpecialSuffixInfo special_suffix_info[NUM_SPECIAL_GFX_ARGS + 1 + 1] =
5460 {
5461   { ".[DEFAULT]",               GFX_SPECIAL_ARG_DEFAULT,                },
5462   { ".LOADING",                 GFX_SPECIAL_ARG_LOADING,                },
5463   { ".TITLE_INITIAL",           GFX_SPECIAL_ARG_TITLE_INITIAL,          },
5464   { ".TITLE",                   GFX_SPECIAL_ARG_TITLE,                  },
5465   { ".MAIN",                    GFX_SPECIAL_ARG_MAIN,                   },
5466   { ".LEVELS",                  GFX_SPECIAL_ARG_LEVELS                  },
5467   { ".LEVELNR",                 GFX_SPECIAL_ARG_LEVELNR                 },
5468   { ".SCORES",                  GFX_SPECIAL_ARG_SCORES,                 },
5469   { ".EDITOR",                  GFX_SPECIAL_ARG_EDITOR,                 },
5470   { ".INFO",                    GFX_SPECIAL_ARG_INFO,                   },
5471   { ".SETUP",                   GFX_SPECIAL_ARG_SETUP,                  },
5472   { ".PLAYING",                 GFX_SPECIAL_ARG_PLAYING,                },
5473   { ".DOOR",                    GFX_SPECIAL_ARG_DOOR,                   },
5474   { ".TAPE",                    GFX_SPECIAL_ARG_TAPE,                   },
5475   { ".PANEL",                   GFX_SPECIAL_ARG_PANEL,                  },
5476   { ".PREVIEW",                 GFX_SPECIAL_ARG_PREVIEW,                },
5477   { ".CRUMBLED",                GFX_SPECIAL_ARG_CRUMBLED,               },
5478
5479   /* empty suffix always matches -- check as last entry in InitMusicInfo() */
5480   { "",                         GFX_SPECIAL_ARG_DEFAULT,                },
5481
5482   { NULL,                       0,                                      }
5483 };
5484
5485 #include "conf_var.c"   /* include auto-generated data structure definitions */
5486
5487
5488 /* ------------------------------------------------------------------------- */
5489 /* font definitions                                                          */
5490 /* ------------------------------------------------------------------------- */
5491
5492 /* Important: When one entry is a prefix of another entry, the longer entry
5493    must come first, because the dynamic configuration does prefix matching!
5494    (These definitions must match the corresponding definitions in "main.h"!) */
5495
5496 struct FontInfo font_info[NUM_FONTS + 1] =
5497 {
5498   { "font.initial_1"            },
5499   { "font.initial_2"            },
5500   { "font.initial_3"            },
5501   { "font.initial_4"            },
5502   { "font.title_1"              },
5503   { "font.title_2"              },
5504   { "font.menu_1.active"        },
5505   { "font.menu_2.active"        },
5506   { "font.menu_1"               },
5507   { "font.menu_2"               },
5508   { "font.text_1.active"        },
5509   { "font.text_2.active"        },
5510   { "font.text_3.active"        },
5511   { "font.text_4.active"        },
5512   { "font.text_1"               },
5513   { "font.text_2"               },
5514   { "font.text_3"               },
5515   { "font.text_4"               },
5516   { "font.envelope_1"           },
5517   { "font.envelope_2"           },
5518   { "font.envelope_3"           },
5519   { "font.envelope_4"           },
5520   { "font.input_1.active"       },
5521   { "font.input_2.active"       },
5522   { "font.input_1"              },
5523   { "font.input_2"              },
5524   { "font.option_off"           },
5525   { "font.option_on"            },
5526   { "font.value_1"              },
5527   { "font.value_2"              },
5528   { "font.value_old"            },
5529   { "font.level_number.active"  },
5530   { "font.level_number"         },
5531   { "font.tape_recorder"        },
5532   { "font.game_info"            },
5533   { "font.info.elements"        },
5534   { "font.info.levelset"        },
5535
5536   { NULL                        }
5537 };
5538
5539
5540 /* ------------------------------------------------------------------------- */
5541 /* music token prefix definitions                                            */
5542 /* ------------------------------------------------------------------------- */
5543
5544 struct MusicPrefixInfo music_prefix_info[NUM_MUSIC_PREFIXES + 1] =
5545 {
5546   { "background",               TRUE    },
5547
5548   { NULL,                       0       }
5549 };
5550
5551
5552 /* ========================================================================= */
5553 /* main()                                                                    */
5554 /* ========================================================================= */
5555
5556 static void print_usage()
5557 {
5558   printf("\n"
5559          "Usage: %s [OPTION]... [HOSTNAME [PORT]]\n"
5560          "\n"
5561          "Options:\n"
5562          "  -d, --display HOSTNAME[:SCREEN]  specify X server display\n"
5563          "  -b, --basepath DIRECTORY         alternative base DIRECTORY\n"
5564          "  -l, --level DIRECTORY            alternative level DIRECTORY\n"
5565          "  -g, --graphics DIRECTORY         alternative graphics DIRECTORY\n"
5566          "  -s, --sounds DIRECTORY           alternative sounds DIRECTORY\n"
5567          "  -m, --music DIRECTORY            alternative music DIRECTORY\n"
5568          "  -n, --network                    network multiplayer game\n"
5569          "      --serveronly                 only start network server\n"
5570          "  -v, --verbose                    verbose mode\n"
5571          "      --debug                      display debugging information\n"
5572          "      --debug-x11-sync             enable X11 synchronous mode\n"
5573          "  -e, --execute COMMAND            execute batch COMMAND\n"
5574          "\n"
5575          "Valid commands for '--execute' option:\n"
5576          "  \"print graphicsinfo.conf\"        print default graphics config\n"
5577          "  \"print soundsinfo.conf\"          print default sounds config\n"
5578          "  \"print musicinfo.conf\"           print default music config\n"
5579          "  \"print editorsetup.conf\"         print default editor config\n"
5580          "  \"print helpanim.conf\"            print default helpanim config\n"
5581          "  \"print helptext.conf\"            print default helptext config\n"
5582          "  \"dump level FILE\"                dump level data from FILE\n"
5583          "  \"dump tape FILE\"                 dump tape data from FILE\n"
5584          "  \"autoplay LEVELDIR [NR ...]\"     play level tapes for LEVELDIR\n"
5585          "  \"convert LEVELDIR [NR]\"          convert levels in LEVELDIR\n"
5586          "  \"create images DIRECTORY\"        write BMP images to DIRECTORY\n"
5587          "\n",
5588          program.command_basename);
5589 }
5590
5591 int main(int argc, char *argv[])
5592 {
5593   char * window_title_string = getWindowTitleString();
5594
5595   InitProgramInfo(argv[0], USERDATA_DIRECTORY, USERDATA_DIRECTORY_UNIX,
5596                   PROGRAM_TITLE_STRING, window_title_string, ICON_TITLE_STRING,
5597                   X11_ICON_FILENAME, X11_ICONMASK_FILENAME, SDL_ICON_FILENAME,
5598                   MSDOS_POINTER_FILENAME,
5599                   COOKIE_PREFIX, FILENAME_PREFIX, GAME_VERSION_ACTUAL);
5600
5601   InitExitMessageFunction(DisplayExitMessage);
5602   InitExitFunction(CloseAllAndExit);
5603   InitPlatformDependentStuff();
5604
5605   GetOptions(argv, print_usage);
5606   OpenAll();
5607
5608   EventLoop();
5609   CloseAllAndExit(0);
5610
5611   return 0;     /* to keep compilers happy */
5612 }