From 86e1890b2d87dd7710b320e2b306c7291d41e2a5 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 27 Nov 2004 04:44:49 +0100 Subject: [PATCH] rnd-20041127-1-src --- src/conf_e2g.c | 20 + src/conf_gfx.c | 24 +- src/conf_gfx.h | 1539 +++---- src/conftime.h | 2 +- src/engines.h | 31 + src/game_em/display.h | 2 +- src/game_em/game_em.h | 17 +- src/game_em/global.h | 2 +- src/game_em/graphics.c | 56 +- src/game_em/init.c | 2 +- src/game_em/level.h | 3 +- src/game_em/main_em.h | 30 +- src/game_em/sound.c | 2 +- src/game_em/synchro_1.c | 34 +- src/game_em/tab_generate.c | 8468 ++++++++++++++++++----------------- src/game_em/tile.h | 11 +- src/game_em/ulaw_generate.c | 2 +- src/init.c | 14 +- src/main.c | 12 +- src/main.h | 44 +- src/tools.c | 539 ++- 21 files changed, 5748 insertions(+), 5106 deletions(-) create mode 100644 src/engines.h diff --git a/src/conf_e2g.c b/src/conf_e2g.c index 6527ec4f..6fbfd8d2 100644 --- a/src/conf_e2g.c +++ b/src/conf_e2g.c @@ -2645,14 +2645,34 @@ element_to_graphic[] = EL_EMC_MAGIC_BALL, -1, -1, FALSE, IMG_EMC_MAGIC_BALL }, + { + EL_EMC_MAGIC_BALL_ACTIVE, -1, -1, FALSE, + IMG_EMC_MAGIC_BALL_ACTIVE + }, + { + EL_EMC_MAGIC_BALL, ACTION_ACTIVE, -1, FALSE, + IMG_EMC_MAGIC_BALL_ACTIVE + }, { EL_EMC_MAGIC_BALL_SWITCH, -1, -1, FALSE, IMG_EMC_MAGIC_BALL_SWITCH }, + { + EL_EMC_MAGIC_BALL_SWITCH_ACTIVE, -1, -1, FALSE, + IMG_EMC_MAGIC_BALL_SWITCH_ACTIVE + }, + { + EL_EMC_MAGIC_BALL_SWITCH, ACTION_ACTIVE, -1, FALSE, + IMG_EMC_MAGIC_BALL_SWITCH_ACTIVE + }, { EL_EMC_SPRING_BUMPER, -1, -1, FALSE, IMG_EMC_SPRING_BUMPER }, + { + EL_EMC_SPRING_BUMPER, ACTION_ACTIVE, -1, FALSE, + IMG_EMC_SPRING_BUMPER_ACTIVE + }, { EL_EMC_PLANT, -1, -1, FALSE, IMG_EMC_PLANT diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 38f682ea..643866b9 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -3338,22 +3338,42 @@ struct ConfigInfo image_config[] = { "emc_magic_ball", "emc_object.pcx" }, { "emc_magic_ball.xpos", "22" }, { "emc_magic_ball.ypos", "18" }, - { "emc_magic_ball.frames", "16" }, - { "emc_magic_ball.vertical", "true" }, + { "emc_magic_ball.frames", "1" }, { "emc_magic_ball.scale_up_factor", "2" }, + { "emc_magic_ball.active", "emc_object.pcx" }, + { "emc_magic_ball.active.xpos", "22" }, + { "emc_magic_ball.active.ypos", "18" }, + { "emc_magic_ball.active.frames", "16" }, + { "emc_magic_ball.active.vertical", "true" }, + { "emc_magic_ball.active.scale_up_factor", "2" }, + { "emc_magic_ball_switch", "emc_object.pcx" }, { "emc_magic_ball_switch.xpos", "25" }, { "emc_magic_ball_switch.ypos", "10" }, { "emc_magic_ball_switch.frames", "1" }, { "emc_magic_ball_switch.scale_up_factor", "2" }, + { "emc_magic_ball_switch.active", "emc_object.pcx" }, + { "emc_magic_ball_switch.active.xpos", "25" }, + { "emc_magic_ball_switch.active.ypos", "9" }, + { "emc_magic_ball_switch.active.frames", "1" }, + { "emc_magic_ball_switch.active.scale_up_factor", "2" }, + { "emc_spring_bumper", "emc_object.pcx" }, { "emc_spring_bumper.xpos", "25" }, { "emc_spring_bumper.ypos", "3" }, { "emc_spring_bumper.frames", "1" }, { "emc_spring_bumper.scale_up_factor", "2" }, + { "emc_spring_bumper.active", "emc_object.pcx" }, + { "emc_spring_bumper.active.xpos", "25" }, + { "emc_spring_bumper.active.ypos", "3" }, + { "emc_spring_bumper.active.frames", "4" }, + { "emc_spring_bumper.active.vertical", "true" }, + { "emc_spring_bumper.active.anim_mode", "pingpong2" }, + { "emc_spring_bumper.active.scale_up_factor", "2" }, + { "emc_plant", "emc_object.pcx" }, { "emc_plant.xpos", "25" }, { "emc_plant.ypos", "12" }, diff --git a/src/conf_gfx.h b/src/conf_gfx.h index 1cf0ad5d..1a771f6c 100644 --- a/src/conf_gfx.h +++ b/src/conf_gfx.h @@ -694,774 +694,777 @@ #define IMG_EMC_GRASS_DIGGING_UP 673 #define IMG_EMC_GRASS_DIGGING_DOWN 674 #define IMG_EMC_MAGIC_BALL 675 -#define IMG_EMC_MAGIC_BALL_SWITCH 676 -#define IMG_EMC_SPRING_BUMPER 677 -#define IMG_EMC_PLANT 678 -#define IMG_EMC_LENSES 679 -#define IMG_EMC_MAGNIFIER 680 -#define IMG_EMC_WALL_9 681 -#define IMG_EMC_WALL_10 682 -#define IMG_EMC_WALL_11 683 -#define IMG_EMC_WALL_12 684 -#define IMG_EMC_WALL_13 685 -#define IMG_EMC_WALL_14 686 -#define IMG_EMC_WALL_15 687 -#define IMG_EMC_WALL_16 688 -#define IMG_EMC_WALL_SLIPPERY_1 689 -#define IMG_EMC_WALL_SLIPPERY_2 690 -#define IMG_EMC_WALL_SLIPPERY_3 691 -#define IMG_EMC_WALL_SLIPPERY_4 692 -#define IMG_EMC_FAKE_GRASS 693 -#define IMG_EMC_DRIPPER 694 -#define IMG_CHAR_SPACE 695 -#define IMG_CHAR_EXCLAM 696 -#define IMG_CHAR_QUOTEDBL 697 -#define IMG_CHAR_NUMBERSIGN 698 -#define IMG_CHAR_DOLLAR 699 -#define IMG_CHAR_PROCENT 700 -#define IMG_CHAR_AMPERSAND 701 -#define IMG_CHAR_APOSTROPHE 702 -#define IMG_CHAR_PARENLEFT 703 -#define IMG_CHAR_PARENRIGHT 704 -#define IMG_CHAR_ASTERISK 705 -#define IMG_CHAR_PLUS 706 -#define IMG_CHAR_COMMA 707 -#define IMG_CHAR_MINUS 708 -#define IMG_CHAR_PERIOD 709 -#define IMG_CHAR_SLASH 710 -#define IMG_CHAR_0 711 -#define IMG_CHAR_1 712 -#define IMG_CHAR_2 713 -#define IMG_CHAR_3 714 -#define IMG_CHAR_4 715 -#define IMG_CHAR_5 716 -#define IMG_CHAR_6 717 -#define IMG_CHAR_7 718 -#define IMG_CHAR_8 719 -#define IMG_CHAR_9 720 -#define IMG_CHAR_COLON 721 -#define IMG_CHAR_SEMICOLON 722 -#define IMG_CHAR_LESS 723 -#define IMG_CHAR_EQUAL 724 -#define IMG_CHAR_GREATER 725 -#define IMG_CHAR_QUESTION 726 -#define IMG_CHAR_AT 727 -#define IMG_CHAR_A 728 -#define IMG_CHAR_B 729 -#define IMG_CHAR_C 730 -#define IMG_CHAR_D 731 -#define IMG_CHAR_E 732 -#define IMG_CHAR_F 733 -#define IMG_CHAR_G 734 -#define IMG_CHAR_H 735 -#define IMG_CHAR_I 736 -#define IMG_CHAR_J 737 -#define IMG_CHAR_K 738 -#define IMG_CHAR_L 739 -#define IMG_CHAR_M 740 -#define IMG_CHAR_N 741 -#define IMG_CHAR_O 742 -#define IMG_CHAR_P 743 -#define IMG_CHAR_Q 744 -#define IMG_CHAR_R 745 -#define IMG_CHAR_S 746 -#define IMG_CHAR_T 747 -#define IMG_CHAR_U 748 -#define IMG_CHAR_V 749 -#define IMG_CHAR_W 750 -#define IMG_CHAR_X 751 -#define IMG_CHAR_Y 752 -#define IMG_CHAR_Z 753 -#define IMG_CHAR_BRACKETLEFT 754 -#define IMG_CHAR_BACKSLASH 755 -#define IMG_CHAR_BRACKETRIGHT 756 -#define IMG_CHAR_ASCIICIRCUM 757 -#define IMG_CHAR_UNDERSCORE 758 -#define IMG_CHAR_COPYRIGHT 759 -#define IMG_CHAR_AUMLAUT 760 -#define IMG_CHAR_OUMLAUT 761 -#define IMG_CHAR_UUMLAUT 762 -#define IMG_CHAR_DEGREE 763 -#define IMG_CHAR_TRADEMARK 764 -#define IMG_CHAR_CURSOR 765 -#define IMG_CUSTOM_1 766 -#define IMG_CUSTOM_1_EDITOR 767 -#define IMG_CUSTOM_2 768 -#define IMG_CUSTOM_2_EDITOR 769 -#define IMG_CUSTOM_3 770 -#define IMG_CUSTOM_3_EDITOR 771 -#define IMG_CUSTOM_4 772 -#define IMG_CUSTOM_4_EDITOR 773 -#define IMG_CUSTOM_5 774 -#define IMG_CUSTOM_5_EDITOR 775 -#define IMG_CUSTOM_6 776 -#define IMG_CUSTOM_6_EDITOR 777 -#define IMG_CUSTOM_7 778 -#define IMG_CUSTOM_7_EDITOR 779 -#define IMG_CUSTOM_8 780 -#define IMG_CUSTOM_8_EDITOR 781 -#define IMG_CUSTOM_9 782 -#define IMG_CUSTOM_9_EDITOR 783 -#define IMG_CUSTOM_10 784 -#define IMG_CUSTOM_10_EDITOR 785 -#define IMG_CUSTOM_11 786 -#define IMG_CUSTOM_11_EDITOR 787 -#define IMG_CUSTOM_12 788 -#define IMG_CUSTOM_12_EDITOR 789 -#define IMG_CUSTOM_13 790 -#define IMG_CUSTOM_13_EDITOR 791 -#define IMG_CUSTOM_14 792 -#define IMG_CUSTOM_14_EDITOR 793 -#define IMG_CUSTOM_15 794 -#define IMG_CUSTOM_15_EDITOR 795 -#define IMG_CUSTOM_16 796 -#define IMG_CUSTOM_16_EDITOR 797 -#define IMG_CUSTOM_17 798 -#define IMG_CUSTOM_17_EDITOR 799 -#define IMG_CUSTOM_18 800 -#define IMG_CUSTOM_18_EDITOR 801 -#define IMG_CUSTOM_19 802 -#define IMG_CUSTOM_19_EDITOR 803 -#define IMG_CUSTOM_20 804 -#define IMG_CUSTOM_20_EDITOR 805 -#define IMG_CUSTOM_21 806 -#define IMG_CUSTOM_21_EDITOR 807 -#define IMG_CUSTOM_22 808 -#define IMG_CUSTOM_22_EDITOR 809 -#define IMG_CUSTOM_23 810 -#define IMG_CUSTOM_23_EDITOR 811 -#define IMG_CUSTOM_24 812 -#define IMG_CUSTOM_24_EDITOR 813 -#define IMG_CUSTOM_25 814 -#define IMG_CUSTOM_25_EDITOR 815 -#define IMG_CUSTOM_26 816 -#define IMG_CUSTOM_26_EDITOR 817 -#define IMG_CUSTOM_27 818 -#define IMG_CUSTOM_27_EDITOR 819 -#define IMG_CUSTOM_28 820 -#define IMG_CUSTOM_28_EDITOR 821 -#define IMG_CUSTOM_29 822 -#define IMG_CUSTOM_29_EDITOR 823 -#define IMG_CUSTOM_30 824 -#define IMG_CUSTOM_30_EDITOR 825 -#define IMG_CUSTOM_31 826 -#define IMG_CUSTOM_31_EDITOR 827 -#define IMG_CUSTOM_32 828 -#define IMG_CUSTOM_32_EDITOR 829 -#define IMG_CUSTOM_33 830 -#define IMG_CUSTOM_33_EDITOR 831 -#define IMG_CUSTOM_34 832 -#define IMG_CUSTOM_34_EDITOR 833 -#define IMG_CUSTOM_35 834 -#define IMG_CUSTOM_35_EDITOR 835 -#define IMG_CUSTOM_36 836 -#define IMG_CUSTOM_36_EDITOR 837 -#define IMG_CUSTOM_37 838 -#define IMG_CUSTOM_37_EDITOR 839 -#define IMG_CUSTOM_38 840 -#define IMG_CUSTOM_38_EDITOR 841 -#define IMG_CUSTOM_39 842 -#define IMG_CUSTOM_39_EDITOR 843 -#define IMG_CUSTOM_40 844 -#define IMG_CUSTOM_40_EDITOR 845 -#define IMG_CUSTOM_41 846 -#define IMG_CUSTOM_41_EDITOR 847 -#define IMG_CUSTOM_42 848 -#define IMG_CUSTOM_42_EDITOR 849 -#define IMG_CUSTOM_43 850 -#define IMG_CUSTOM_43_EDITOR 851 -#define IMG_CUSTOM_44 852 -#define IMG_CUSTOM_44_EDITOR 853 -#define IMG_CUSTOM_45 854 -#define IMG_CUSTOM_45_EDITOR 855 -#define IMG_CUSTOM_46 856 -#define IMG_CUSTOM_46_EDITOR 857 -#define IMG_CUSTOM_47 858 -#define IMG_CUSTOM_47_EDITOR 859 -#define IMG_CUSTOM_48 860 -#define IMG_CUSTOM_48_EDITOR 861 -#define IMG_CUSTOM_49 862 -#define IMG_CUSTOM_49_EDITOR 863 -#define IMG_CUSTOM_50 864 -#define IMG_CUSTOM_50_EDITOR 865 -#define IMG_CUSTOM_51 866 -#define IMG_CUSTOM_51_EDITOR 867 -#define IMG_CUSTOM_52 868 -#define IMG_CUSTOM_52_EDITOR 869 -#define IMG_CUSTOM_53 870 -#define IMG_CUSTOM_53_EDITOR 871 -#define IMG_CUSTOM_54 872 -#define IMG_CUSTOM_54_EDITOR 873 -#define IMG_CUSTOM_55 874 -#define IMG_CUSTOM_55_EDITOR 875 -#define IMG_CUSTOM_56 876 -#define IMG_CUSTOM_56_EDITOR 877 -#define IMG_CUSTOM_57 878 -#define IMG_CUSTOM_57_EDITOR 879 -#define IMG_CUSTOM_58 880 -#define IMG_CUSTOM_58_EDITOR 881 -#define IMG_CUSTOM_59 882 -#define IMG_CUSTOM_59_EDITOR 883 -#define IMG_CUSTOM_60 884 -#define IMG_CUSTOM_60_EDITOR 885 -#define IMG_CUSTOM_61 886 -#define IMG_CUSTOM_61_EDITOR 887 -#define IMG_CUSTOM_62 888 -#define IMG_CUSTOM_62_EDITOR 889 -#define IMG_CUSTOM_63 890 -#define IMG_CUSTOM_63_EDITOR 891 -#define IMG_CUSTOM_64 892 -#define IMG_CUSTOM_64_EDITOR 893 -#define IMG_CUSTOM_65 894 -#define IMG_CUSTOM_65_EDITOR 895 -#define IMG_CUSTOM_66 896 -#define IMG_CUSTOM_66_EDITOR 897 -#define IMG_CUSTOM_67 898 -#define IMG_CUSTOM_67_EDITOR 899 -#define IMG_CUSTOM_68 900 -#define IMG_CUSTOM_68_EDITOR 901 -#define IMG_CUSTOM_69 902 -#define IMG_CUSTOM_69_EDITOR 903 -#define IMG_CUSTOM_70 904 -#define IMG_CUSTOM_70_EDITOR 905 -#define IMG_CUSTOM_71 906 -#define IMG_CUSTOM_71_EDITOR 907 -#define IMG_CUSTOM_72 908 -#define IMG_CUSTOM_72_EDITOR 909 -#define IMG_CUSTOM_73 910 -#define IMG_CUSTOM_73_EDITOR 911 -#define IMG_CUSTOM_74 912 -#define IMG_CUSTOM_74_EDITOR 913 -#define IMG_CUSTOM_75 914 -#define IMG_CUSTOM_75_EDITOR 915 -#define IMG_CUSTOM_76 916 -#define IMG_CUSTOM_76_EDITOR 917 -#define IMG_CUSTOM_77 918 -#define IMG_CUSTOM_77_EDITOR 919 -#define IMG_CUSTOM_78 920 -#define IMG_CUSTOM_78_EDITOR 921 -#define IMG_CUSTOM_79 922 -#define IMG_CUSTOM_79_EDITOR 923 -#define IMG_CUSTOM_80 924 -#define IMG_CUSTOM_80_EDITOR 925 -#define IMG_CUSTOM_81 926 -#define IMG_CUSTOM_81_EDITOR 927 -#define IMG_CUSTOM_82 928 -#define IMG_CUSTOM_82_EDITOR 929 -#define IMG_CUSTOM_83 930 -#define IMG_CUSTOM_83_EDITOR 931 -#define IMG_CUSTOM_84 932 -#define IMG_CUSTOM_84_EDITOR 933 -#define IMG_CUSTOM_85 934 -#define IMG_CUSTOM_85_EDITOR 935 -#define IMG_CUSTOM_86 936 -#define IMG_CUSTOM_86_EDITOR 937 -#define IMG_CUSTOM_87 938 -#define IMG_CUSTOM_87_EDITOR 939 -#define IMG_CUSTOM_88 940 -#define IMG_CUSTOM_88_EDITOR 941 -#define IMG_CUSTOM_89 942 -#define IMG_CUSTOM_89_EDITOR 943 -#define IMG_CUSTOM_90 944 -#define IMG_CUSTOM_90_EDITOR 945 -#define IMG_CUSTOM_91 946 -#define IMG_CUSTOM_91_EDITOR 947 -#define IMG_CUSTOM_92 948 -#define IMG_CUSTOM_92_EDITOR 949 -#define IMG_CUSTOM_93 950 -#define IMG_CUSTOM_93_EDITOR 951 -#define IMG_CUSTOM_94 952 -#define IMG_CUSTOM_94_EDITOR 953 -#define IMG_CUSTOM_95 954 -#define IMG_CUSTOM_95_EDITOR 955 -#define IMG_CUSTOM_96 956 -#define IMG_CUSTOM_96_EDITOR 957 -#define IMG_CUSTOM_97 958 -#define IMG_CUSTOM_97_EDITOR 959 -#define IMG_CUSTOM_98 960 -#define IMG_CUSTOM_98_EDITOR 961 -#define IMG_CUSTOM_99 962 -#define IMG_CUSTOM_99_EDITOR 963 -#define IMG_CUSTOM_100 964 -#define IMG_CUSTOM_100_EDITOR 965 -#define IMG_CUSTOM_101 966 -#define IMG_CUSTOM_101_EDITOR 967 -#define IMG_CUSTOM_102 968 -#define IMG_CUSTOM_102_EDITOR 969 -#define IMG_CUSTOM_103 970 -#define IMG_CUSTOM_103_EDITOR 971 -#define IMG_CUSTOM_104 972 -#define IMG_CUSTOM_104_EDITOR 973 -#define IMG_CUSTOM_105 974 -#define IMG_CUSTOM_105_EDITOR 975 -#define IMG_CUSTOM_106 976 -#define IMG_CUSTOM_106_EDITOR 977 -#define IMG_CUSTOM_107 978 -#define IMG_CUSTOM_107_EDITOR 979 -#define IMG_CUSTOM_108 980 -#define IMG_CUSTOM_108_EDITOR 981 -#define IMG_CUSTOM_109 982 -#define IMG_CUSTOM_109_EDITOR 983 -#define IMG_CUSTOM_110 984 -#define IMG_CUSTOM_110_EDITOR 985 -#define IMG_CUSTOM_111 986 -#define IMG_CUSTOM_111_EDITOR 987 -#define IMG_CUSTOM_112 988 -#define IMG_CUSTOM_112_EDITOR 989 -#define IMG_CUSTOM_113 990 -#define IMG_CUSTOM_113_EDITOR 991 -#define IMG_CUSTOM_114 992 -#define IMG_CUSTOM_114_EDITOR 993 -#define IMG_CUSTOM_115 994 -#define IMG_CUSTOM_115_EDITOR 995 -#define IMG_CUSTOM_116 996 -#define IMG_CUSTOM_116_EDITOR 997 -#define IMG_CUSTOM_117 998 -#define IMG_CUSTOM_117_EDITOR 999 -#define IMG_CUSTOM_118 1000 -#define IMG_CUSTOM_118_EDITOR 1001 -#define IMG_CUSTOM_119 1002 -#define IMG_CUSTOM_119_EDITOR 1003 -#define IMG_CUSTOM_120 1004 -#define IMG_CUSTOM_120_EDITOR 1005 -#define IMG_CUSTOM_121 1006 -#define IMG_CUSTOM_121_EDITOR 1007 -#define IMG_CUSTOM_122 1008 -#define IMG_CUSTOM_122_EDITOR 1009 -#define IMG_CUSTOM_123 1010 -#define IMG_CUSTOM_123_EDITOR 1011 -#define IMG_CUSTOM_124 1012 -#define IMG_CUSTOM_124_EDITOR 1013 -#define IMG_CUSTOM_125 1014 -#define IMG_CUSTOM_125_EDITOR 1015 -#define IMG_CUSTOM_126 1016 -#define IMG_CUSTOM_126_EDITOR 1017 -#define IMG_CUSTOM_127 1018 -#define IMG_CUSTOM_127_EDITOR 1019 -#define IMG_CUSTOM_128 1020 -#define IMG_CUSTOM_128_EDITOR 1021 -#define IMG_CUSTOM_129 1022 -#define IMG_CUSTOM_129_EDITOR 1023 -#define IMG_CUSTOM_130 1024 -#define IMG_CUSTOM_130_EDITOR 1025 -#define IMG_CUSTOM_131 1026 -#define IMG_CUSTOM_131_EDITOR 1027 -#define IMG_CUSTOM_132 1028 -#define IMG_CUSTOM_132_EDITOR 1029 -#define IMG_CUSTOM_133 1030 -#define IMG_CUSTOM_133_EDITOR 1031 -#define IMG_CUSTOM_134 1032 -#define IMG_CUSTOM_134_EDITOR 1033 -#define IMG_CUSTOM_135 1034 -#define IMG_CUSTOM_135_EDITOR 1035 -#define IMG_CUSTOM_136 1036 -#define IMG_CUSTOM_136_EDITOR 1037 -#define IMG_CUSTOM_137 1038 -#define IMG_CUSTOM_137_EDITOR 1039 -#define IMG_CUSTOM_138 1040 -#define IMG_CUSTOM_138_EDITOR 1041 -#define IMG_CUSTOM_139 1042 -#define IMG_CUSTOM_139_EDITOR 1043 -#define IMG_CUSTOM_140 1044 -#define IMG_CUSTOM_140_EDITOR 1045 -#define IMG_CUSTOM_141 1046 -#define IMG_CUSTOM_141_EDITOR 1047 -#define IMG_CUSTOM_142 1048 -#define IMG_CUSTOM_142_EDITOR 1049 -#define IMG_CUSTOM_143 1050 -#define IMG_CUSTOM_143_EDITOR 1051 -#define IMG_CUSTOM_144 1052 -#define IMG_CUSTOM_144_EDITOR 1053 -#define IMG_CUSTOM_145 1054 -#define IMG_CUSTOM_145_EDITOR 1055 -#define IMG_CUSTOM_146 1056 -#define IMG_CUSTOM_146_EDITOR 1057 -#define IMG_CUSTOM_147 1058 -#define IMG_CUSTOM_147_EDITOR 1059 -#define IMG_CUSTOM_148 1060 -#define IMG_CUSTOM_148_EDITOR 1061 -#define IMG_CUSTOM_149 1062 -#define IMG_CUSTOM_149_EDITOR 1063 -#define IMG_CUSTOM_150 1064 -#define IMG_CUSTOM_150_EDITOR 1065 -#define IMG_CUSTOM_151 1066 -#define IMG_CUSTOM_151_EDITOR 1067 -#define IMG_CUSTOM_152 1068 -#define IMG_CUSTOM_152_EDITOR 1069 -#define IMG_CUSTOM_153 1070 -#define IMG_CUSTOM_153_EDITOR 1071 -#define IMG_CUSTOM_154 1072 -#define IMG_CUSTOM_154_EDITOR 1073 -#define IMG_CUSTOM_155 1074 -#define IMG_CUSTOM_155_EDITOR 1075 -#define IMG_CUSTOM_156 1076 -#define IMG_CUSTOM_156_EDITOR 1077 -#define IMG_CUSTOM_157 1078 -#define IMG_CUSTOM_157_EDITOR 1079 -#define IMG_CUSTOM_158 1080 -#define IMG_CUSTOM_158_EDITOR 1081 -#define IMG_CUSTOM_159 1082 -#define IMG_CUSTOM_159_EDITOR 1083 -#define IMG_CUSTOM_160 1084 -#define IMG_CUSTOM_160_EDITOR 1085 -#define IMG_CUSTOM_161 1086 -#define IMG_CUSTOM_161_EDITOR 1087 -#define IMG_CUSTOM_162 1088 -#define IMG_CUSTOM_162_EDITOR 1089 -#define IMG_CUSTOM_163 1090 -#define IMG_CUSTOM_163_EDITOR 1091 -#define IMG_CUSTOM_164 1092 -#define IMG_CUSTOM_164_EDITOR 1093 -#define IMG_CUSTOM_165 1094 -#define IMG_CUSTOM_165_EDITOR 1095 -#define IMG_CUSTOM_166 1096 -#define IMG_CUSTOM_166_EDITOR 1097 -#define IMG_CUSTOM_167 1098 -#define IMG_CUSTOM_167_EDITOR 1099 -#define IMG_CUSTOM_168 1100 -#define IMG_CUSTOM_168_EDITOR 1101 -#define IMG_CUSTOM_169 1102 -#define IMG_CUSTOM_169_EDITOR 1103 -#define IMG_CUSTOM_170 1104 -#define IMG_CUSTOM_170_EDITOR 1105 -#define IMG_CUSTOM_171 1106 -#define IMG_CUSTOM_171_EDITOR 1107 -#define IMG_CUSTOM_172 1108 -#define IMG_CUSTOM_172_EDITOR 1109 -#define IMG_CUSTOM_173 1110 -#define IMG_CUSTOM_173_EDITOR 1111 -#define IMG_CUSTOM_174 1112 -#define IMG_CUSTOM_174_EDITOR 1113 -#define IMG_CUSTOM_175 1114 -#define IMG_CUSTOM_175_EDITOR 1115 -#define IMG_CUSTOM_176 1116 -#define IMG_CUSTOM_176_EDITOR 1117 -#define IMG_CUSTOM_177 1118 -#define IMG_CUSTOM_177_EDITOR 1119 -#define IMG_CUSTOM_178 1120 -#define IMG_CUSTOM_178_EDITOR 1121 -#define IMG_CUSTOM_179 1122 -#define IMG_CUSTOM_179_EDITOR 1123 -#define IMG_CUSTOM_180 1124 -#define IMG_CUSTOM_180_EDITOR 1125 -#define IMG_CUSTOM_181 1126 -#define IMG_CUSTOM_181_EDITOR 1127 -#define IMG_CUSTOM_182 1128 -#define IMG_CUSTOM_182_EDITOR 1129 -#define IMG_CUSTOM_183 1130 -#define IMG_CUSTOM_183_EDITOR 1131 -#define IMG_CUSTOM_184 1132 -#define IMG_CUSTOM_184_EDITOR 1133 -#define IMG_CUSTOM_185 1134 -#define IMG_CUSTOM_185_EDITOR 1135 -#define IMG_CUSTOM_186 1136 -#define IMG_CUSTOM_186_EDITOR 1137 -#define IMG_CUSTOM_187 1138 -#define IMG_CUSTOM_187_EDITOR 1139 -#define IMG_CUSTOM_188 1140 -#define IMG_CUSTOM_188_EDITOR 1141 -#define IMG_CUSTOM_189 1142 -#define IMG_CUSTOM_189_EDITOR 1143 -#define IMG_CUSTOM_190 1144 -#define IMG_CUSTOM_190_EDITOR 1145 -#define IMG_CUSTOM_191 1146 -#define IMG_CUSTOM_191_EDITOR 1147 -#define IMG_CUSTOM_192 1148 -#define IMG_CUSTOM_192_EDITOR 1149 -#define IMG_CUSTOM_193 1150 -#define IMG_CUSTOM_193_EDITOR 1151 -#define IMG_CUSTOM_194 1152 -#define IMG_CUSTOM_194_EDITOR 1153 -#define IMG_CUSTOM_195 1154 -#define IMG_CUSTOM_195_EDITOR 1155 -#define IMG_CUSTOM_196 1156 -#define IMG_CUSTOM_196_EDITOR 1157 -#define IMG_CUSTOM_197 1158 -#define IMG_CUSTOM_197_EDITOR 1159 -#define IMG_CUSTOM_198 1160 -#define IMG_CUSTOM_198_EDITOR 1161 -#define IMG_CUSTOM_199 1162 -#define IMG_CUSTOM_199_EDITOR 1163 -#define IMG_CUSTOM_200 1164 -#define IMG_CUSTOM_200_EDITOR 1165 -#define IMG_CUSTOM_201 1166 -#define IMG_CUSTOM_201_EDITOR 1167 -#define IMG_CUSTOM_202 1168 -#define IMG_CUSTOM_202_EDITOR 1169 -#define IMG_CUSTOM_203 1170 -#define IMG_CUSTOM_203_EDITOR 1171 -#define IMG_CUSTOM_204 1172 -#define IMG_CUSTOM_204_EDITOR 1173 -#define IMG_CUSTOM_205 1174 -#define IMG_CUSTOM_205_EDITOR 1175 -#define IMG_CUSTOM_206 1176 -#define IMG_CUSTOM_206_EDITOR 1177 -#define IMG_CUSTOM_207 1178 -#define IMG_CUSTOM_207_EDITOR 1179 -#define IMG_CUSTOM_208 1180 -#define IMG_CUSTOM_208_EDITOR 1181 -#define IMG_CUSTOM_209 1182 -#define IMG_CUSTOM_209_EDITOR 1183 -#define IMG_CUSTOM_210 1184 -#define IMG_CUSTOM_210_EDITOR 1185 -#define IMG_CUSTOM_211 1186 -#define IMG_CUSTOM_211_EDITOR 1187 -#define IMG_CUSTOM_212 1188 -#define IMG_CUSTOM_212_EDITOR 1189 -#define IMG_CUSTOM_213 1190 -#define IMG_CUSTOM_213_EDITOR 1191 -#define IMG_CUSTOM_214 1192 -#define IMG_CUSTOM_214_EDITOR 1193 -#define IMG_CUSTOM_215 1194 -#define IMG_CUSTOM_215_EDITOR 1195 -#define IMG_CUSTOM_216 1196 -#define IMG_CUSTOM_216_EDITOR 1197 -#define IMG_CUSTOM_217 1198 -#define IMG_CUSTOM_217_EDITOR 1199 -#define IMG_CUSTOM_218 1200 -#define IMG_CUSTOM_218_EDITOR 1201 -#define IMG_CUSTOM_219 1202 -#define IMG_CUSTOM_219_EDITOR 1203 -#define IMG_CUSTOM_220 1204 -#define IMG_CUSTOM_220_EDITOR 1205 -#define IMG_CUSTOM_221 1206 -#define IMG_CUSTOM_221_EDITOR 1207 -#define IMG_CUSTOM_222 1208 -#define IMG_CUSTOM_222_EDITOR 1209 -#define IMG_CUSTOM_223 1210 -#define IMG_CUSTOM_223_EDITOR 1211 -#define IMG_CUSTOM_224 1212 -#define IMG_CUSTOM_224_EDITOR 1213 -#define IMG_CUSTOM_225 1214 -#define IMG_CUSTOM_225_EDITOR 1215 -#define IMG_CUSTOM_226 1216 -#define IMG_CUSTOM_226_EDITOR 1217 -#define IMG_CUSTOM_227 1218 -#define IMG_CUSTOM_227_EDITOR 1219 -#define IMG_CUSTOM_228 1220 -#define IMG_CUSTOM_228_EDITOR 1221 -#define IMG_CUSTOM_229 1222 -#define IMG_CUSTOM_229_EDITOR 1223 -#define IMG_CUSTOM_230 1224 -#define IMG_CUSTOM_230_EDITOR 1225 -#define IMG_CUSTOM_231 1226 -#define IMG_CUSTOM_231_EDITOR 1227 -#define IMG_CUSTOM_232 1228 -#define IMG_CUSTOM_232_EDITOR 1229 -#define IMG_CUSTOM_233 1230 -#define IMG_CUSTOM_233_EDITOR 1231 -#define IMG_CUSTOM_234 1232 -#define IMG_CUSTOM_234_EDITOR 1233 -#define IMG_CUSTOM_235 1234 -#define IMG_CUSTOM_235_EDITOR 1235 -#define IMG_CUSTOM_236 1236 -#define IMG_CUSTOM_236_EDITOR 1237 -#define IMG_CUSTOM_237 1238 -#define IMG_CUSTOM_237_EDITOR 1239 -#define IMG_CUSTOM_238 1240 -#define IMG_CUSTOM_238_EDITOR 1241 -#define IMG_CUSTOM_239 1242 -#define IMG_CUSTOM_239_EDITOR 1243 -#define IMG_CUSTOM_240 1244 -#define IMG_CUSTOM_240_EDITOR 1245 -#define IMG_CUSTOM_241 1246 -#define IMG_CUSTOM_241_EDITOR 1247 -#define IMG_CUSTOM_242 1248 -#define IMG_CUSTOM_242_EDITOR 1249 -#define IMG_CUSTOM_243 1250 -#define IMG_CUSTOM_243_EDITOR 1251 -#define IMG_CUSTOM_244 1252 -#define IMG_CUSTOM_244_EDITOR 1253 -#define IMG_CUSTOM_245 1254 -#define IMG_CUSTOM_245_EDITOR 1255 -#define IMG_CUSTOM_246 1256 -#define IMG_CUSTOM_246_EDITOR 1257 -#define IMG_CUSTOM_247 1258 -#define IMG_CUSTOM_247_EDITOR 1259 -#define IMG_CUSTOM_248 1260 -#define IMG_CUSTOM_248_EDITOR 1261 -#define IMG_CUSTOM_249 1262 -#define IMG_CUSTOM_249_EDITOR 1263 -#define IMG_CUSTOM_250 1264 -#define IMG_CUSTOM_250_EDITOR 1265 -#define IMG_CUSTOM_251 1266 -#define IMG_CUSTOM_251_EDITOR 1267 -#define IMG_CUSTOM_252 1268 -#define IMG_CUSTOM_252_EDITOR 1269 -#define IMG_CUSTOM_253 1270 -#define IMG_CUSTOM_253_EDITOR 1271 -#define IMG_CUSTOM_254 1272 -#define IMG_CUSTOM_254_EDITOR 1273 -#define IMG_CUSTOM_255 1274 -#define IMG_CUSTOM_255_EDITOR 1275 -#define IMG_CUSTOM_256 1276 -#define IMG_CUSTOM_256_EDITOR 1277 -#define IMG_GROUP_1 1278 -#define IMG_GROUP_1_EDITOR 1279 -#define IMG_GROUP_2 1280 -#define IMG_GROUP_2_EDITOR 1281 -#define IMG_GROUP_3 1282 -#define IMG_GROUP_3_EDITOR 1283 -#define IMG_GROUP_4 1284 -#define IMG_GROUP_4_EDITOR 1285 -#define IMG_GROUP_5 1286 -#define IMG_GROUP_5_EDITOR 1287 -#define IMG_GROUP_6 1288 -#define IMG_GROUP_6_EDITOR 1289 -#define IMG_GROUP_7 1290 -#define IMG_GROUP_7_EDITOR 1291 -#define IMG_GROUP_8 1292 -#define IMG_GROUP_8_EDITOR 1293 -#define IMG_GROUP_9 1294 -#define IMG_GROUP_9_EDITOR 1295 -#define IMG_GROUP_10 1296 -#define IMG_GROUP_10_EDITOR 1297 -#define IMG_GROUP_11 1298 -#define IMG_GROUP_11_EDITOR 1299 -#define IMG_GROUP_12 1300 -#define IMG_GROUP_12_EDITOR 1301 -#define IMG_GROUP_13 1302 -#define IMG_GROUP_13_EDITOR 1303 -#define IMG_GROUP_14 1304 -#define IMG_GROUP_14_EDITOR 1305 -#define IMG_GROUP_15 1306 -#define IMG_GROUP_15_EDITOR 1307 -#define IMG_GROUP_16 1308 -#define IMG_GROUP_16_EDITOR 1309 -#define IMG_GROUP_17 1310 -#define IMG_GROUP_17_EDITOR 1311 -#define IMG_GROUP_18 1312 -#define IMG_GROUP_18_EDITOR 1313 -#define IMG_GROUP_19 1314 -#define IMG_GROUP_19_EDITOR 1315 -#define IMG_GROUP_20 1316 -#define IMG_GROUP_20_EDITOR 1317 -#define IMG_GROUP_21 1318 -#define IMG_GROUP_21_EDITOR 1319 -#define IMG_GROUP_22 1320 -#define IMG_GROUP_22_EDITOR 1321 -#define IMG_GROUP_23 1322 -#define IMG_GROUP_23_EDITOR 1323 -#define IMG_GROUP_24 1324 -#define IMG_GROUP_24_EDITOR 1325 -#define IMG_GROUP_25 1326 -#define IMG_GROUP_25_EDITOR 1327 -#define IMG_GROUP_26 1328 -#define IMG_GROUP_26_EDITOR 1329 -#define IMG_GROUP_27 1330 -#define IMG_GROUP_27_EDITOR 1331 -#define IMG_GROUP_28 1332 -#define IMG_GROUP_28_EDITOR 1333 -#define IMG_GROUP_29 1334 -#define IMG_GROUP_29_EDITOR 1335 -#define IMG_GROUP_30 1336 -#define IMG_GROUP_30_EDITOR 1337 -#define IMG_GROUP_31 1338 -#define IMG_GROUP_31_EDITOR 1339 -#define IMG_GROUP_32 1340 -#define IMG_GROUP_32_EDITOR 1341 -#define IMG_EMC_OBJECT 1342 -#define IMG_EMC_SPRITE 1343 -#define IMG_TOON_1 1344 -#define IMG_TOON_2 1345 -#define IMG_TOON_3 1346 -#define IMG_TOON_4 1347 -#define IMG_TOON_5 1348 -#define IMG_TOON_6 1349 -#define IMG_TOON_7 1350 -#define IMG_TOON_8 1351 -#define IMG_TOON_9 1352 -#define IMG_TOON_10 1353 -#define IMG_TOON_11 1354 -#define IMG_TOON_12 1355 -#define IMG_TOON_13 1356 -#define IMG_TOON_14 1357 -#define IMG_TOON_15 1358 -#define IMG_TOON_16 1359 -#define IMG_TOON_17 1360 -#define IMG_TOON_18 1361 -#define IMG_TOON_19 1362 -#define IMG_TOON_20 1363 -#define IMG_MENU_CALIBRATE_RED 1364 -#define IMG_MENU_CALIBRATE_BLUE 1365 -#define IMG_MENU_CALIBRATE_YELLOW 1366 -#define IMG_MENU_BUTTON 1367 -#define IMG_MENU_BUTTON_ACTIVE 1368 -#define IMG_MENU_BUTTON_LEFT 1369 -#define IMG_MENU_BUTTON_RIGHT 1370 -#define IMG_MENU_BUTTON_UP 1371 -#define IMG_MENU_BUTTON_DOWN 1372 -#define IMG_MENU_BUTTON_LEFT_ACTIVE 1373 -#define IMG_MENU_BUTTON_RIGHT_ACTIVE 1374 -#define IMG_MENU_BUTTON_UP_ACTIVE 1375 -#define IMG_MENU_BUTTON_DOWN_ACTIVE 1376 -#define IMG_MENU_SCROLLBAR 1377 -#define IMG_MENU_SCROLLBAR_ACTIVE 1378 -#define IMG_FONT_INITIAL_1 1379 -#define IMG_FONT_INITIAL_2 1380 -#define IMG_FONT_INITIAL_3 1381 -#define IMG_FONT_INITIAL_4 1382 -#define IMG_FONT_TITLE_1 1383 -#define IMG_FONT_TITLE_1_LEVELS 1384 -#define IMG_FONT_TITLE_2 1385 -#define IMG_FONT_MENU_1 1386 -#define IMG_FONT_MENU_2 1387 -#define IMG_FONT_TEXT_1 1388 -#define IMG_FONT_TEXT_1_LEVELS 1389 -#define IMG_FONT_TEXT_1_PREVIEW 1390 -#define IMG_FONT_TEXT_1_SCORES 1391 -#define IMG_FONT_TEXT_1_ACTIVE_SCORES 1392 -#define IMG_FONT_TEXT_2 1393 -#define IMG_FONT_TEXT_2_LEVELS 1394 -#define IMG_FONT_TEXT_2_PREVIEW 1395 -#define IMG_FONT_TEXT_2_SCORES 1396 -#define IMG_FONT_TEXT_2_ACTIVE_SCORES 1397 -#define IMG_FONT_TEXT_3 1398 -#define IMG_FONT_TEXT_3_LEVELS 1399 -#define IMG_FONT_TEXT_3_PREVIEW 1400 -#define IMG_FONT_TEXT_3_SCORES 1401 -#define IMG_FONT_TEXT_3_ACTIVE_SCORES 1402 -#define IMG_FONT_TEXT_4 1403 -#define IMG_FONT_TEXT_4_LEVELS 1404 -#define IMG_FONT_TEXT_4_SCORES 1405 -#define IMG_FONT_TEXT_4_ACTIVE_SCORES 1406 -#define IMG_FONT_ENVELOPE_1 1407 -#define IMG_FONT_ENVELOPE_2 1408 -#define IMG_FONT_ENVELOPE_3 1409 -#define IMG_FONT_ENVELOPE_4 1410 -#define IMG_FONT_INPUT_1 1411 -#define IMG_FONT_INPUT_1_MAIN 1412 -#define IMG_FONT_INPUT_1_ACTIVE 1413 -#define IMG_FONT_INPUT_1_ACTIVE_MAIN 1414 -#define IMG_FONT_INPUT_1_ACTIVE_SETUP 1415 -#define IMG_FONT_INPUT_2 1416 -#define IMG_FONT_INPUT_2_ACTIVE 1417 -#define IMG_FONT_OPTION_OFF 1418 -#define IMG_FONT_OPTION_ON 1419 -#define IMG_FONT_VALUE_1 1420 -#define IMG_FONT_VALUE_2 1421 -#define IMG_FONT_VALUE_OLD 1422 -#define IMG_FONT_LEVEL_NUMBER 1423 -#define IMG_FONT_TAPE_RECORDER 1424 -#define IMG_FONT_GAME_INFO 1425 -#define IMG_GLOBAL_BORDER 1426 -#define IMG_GLOBAL_DOOR 1427 -#define IMG_EDITOR_ELEMENT_BORDER 1428 -#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1429 -#define IMG_BACKGROUND_ENVELOPE_1 1430 -#define IMG_BACKGROUND_ENVELOPE_2 1431 -#define IMG_BACKGROUND_ENVELOPE_3 1432 -#define IMG_BACKGROUND_ENVELOPE_4 1433 -#define IMG_BACKGROUND 1434 -#define IMG_BACKGROUND_MAIN 1435 -#define IMG_BACKGROUND_LEVELS 1436 -#define IMG_BACKGROUND_SCORES 1437 -#define IMG_BACKGROUND_EDITOR 1438 -#define IMG_BACKGROUND_INFO 1439 -#define IMG_BACKGROUND_INFO_ELEMENTS 1440 -#define IMG_BACKGROUND_SETUP 1441 -#define IMG_BACKGROUND_DOOR 1442 +#define IMG_EMC_MAGIC_BALL_ACTIVE 676 +#define IMG_EMC_MAGIC_BALL_SWITCH 677 +#define IMG_EMC_MAGIC_BALL_SWITCH_ACTIVE 678 +#define IMG_EMC_SPRING_BUMPER 679 +#define IMG_EMC_SPRING_BUMPER_ACTIVE 680 +#define IMG_EMC_PLANT 681 +#define IMG_EMC_LENSES 682 +#define IMG_EMC_MAGNIFIER 683 +#define IMG_EMC_WALL_9 684 +#define IMG_EMC_WALL_10 685 +#define IMG_EMC_WALL_11 686 +#define IMG_EMC_WALL_12 687 +#define IMG_EMC_WALL_13 688 +#define IMG_EMC_WALL_14 689 +#define IMG_EMC_WALL_15 690 +#define IMG_EMC_WALL_16 691 +#define IMG_EMC_WALL_SLIPPERY_1 692 +#define IMG_EMC_WALL_SLIPPERY_2 693 +#define IMG_EMC_WALL_SLIPPERY_3 694 +#define IMG_EMC_WALL_SLIPPERY_4 695 +#define IMG_EMC_FAKE_GRASS 696 +#define IMG_EMC_DRIPPER 697 +#define IMG_CHAR_SPACE 698 +#define IMG_CHAR_EXCLAM 699 +#define IMG_CHAR_QUOTEDBL 700 +#define IMG_CHAR_NUMBERSIGN 701 +#define IMG_CHAR_DOLLAR 702 +#define IMG_CHAR_PROCENT 703 +#define IMG_CHAR_AMPERSAND 704 +#define IMG_CHAR_APOSTROPHE 705 +#define IMG_CHAR_PARENLEFT 706 +#define IMG_CHAR_PARENRIGHT 707 +#define IMG_CHAR_ASTERISK 708 +#define IMG_CHAR_PLUS 709 +#define IMG_CHAR_COMMA 710 +#define IMG_CHAR_MINUS 711 +#define IMG_CHAR_PERIOD 712 +#define IMG_CHAR_SLASH 713 +#define IMG_CHAR_0 714 +#define IMG_CHAR_1 715 +#define IMG_CHAR_2 716 +#define IMG_CHAR_3 717 +#define IMG_CHAR_4 718 +#define IMG_CHAR_5 719 +#define IMG_CHAR_6 720 +#define IMG_CHAR_7 721 +#define IMG_CHAR_8 722 +#define IMG_CHAR_9 723 +#define IMG_CHAR_COLON 724 +#define IMG_CHAR_SEMICOLON 725 +#define IMG_CHAR_LESS 726 +#define IMG_CHAR_EQUAL 727 +#define IMG_CHAR_GREATER 728 +#define IMG_CHAR_QUESTION 729 +#define IMG_CHAR_AT 730 +#define IMG_CHAR_A 731 +#define IMG_CHAR_B 732 +#define IMG_CHAR_C 733 +#define IMG_CHAR_D 734 +#define IMG_CHAR_E 735 +#define IMG_CHAR_F 736 +#define IMG_CHAR_G 737 +#define IMG_CHAR_H 738 +#define IMG_CHAR_I 739 +#define IMG_CHAR_J 740 +#define IMG_CHAR_K 741 +#define IMG_CHAR_L 742 +#define IMG_CHAR_M 743 +#define IMG_CHAR_N 744 +#define IMG_CHAR_O 745 +#define IMG_CHAR_P 746 +#define IMG_CHAR_Q 747 +#define IMG_CHAR_R 748 +#define IMG_CHAR_S 749 +#define IMG_CHAR_T 750 +#define IMG_CHAR_U 751 +#define IMG_CHAR_V 752 +#define IMG_CHAR_W 753 +#define IMG_CHAR_X 754 +#define IMG_CHAR_Y 755 +#define IMG_CHAR_Z 756 +#define IMG_CHAR_BRACKETLEFT 757 +#define IMG_CHAR_BACKSLASH 758 +#define IMG_CHAR_BRACKETRIGHT 759 +#define IMG_CHAR_ASCIICIRCUM 760 +#define IMG_CHAR_UNDERSCORE 761 +#define IMG_CHAR_COPYRIGHT 762 +#define IMG_CHAR_AUMLAUT 763 +#define IMG_CHAR_OUMLAUT 764 +#define IMG_CHAR_UUMLAUT 765 +#define IMG_CHAR_DEGREE 766 +#define IMG_CHAR_TRADEMARK 767 +#define IMG_CHAR_CURSOR 768 +#define IMG_CUSTOM_1 769 +#define IMG_CUSTOM_1_EDITOR 770 +#define IMG_CUSTOM_2 771 +#define IMG_CUSTOM_2_EDITOR 772 +#define IMG_CUSTOM_3 773 +#define IMG_CUSTOM_3_EDITOR 774 +#define IMG_CUSTOM_4 775 +#define IMG_CUSTOM_4_EDITOR 776 +#define IMG_CUSTOM_5 777 +#define IMG_CUSTOM_5_EDITOR 778 +#define IMG_CUSTOM_6 779 +#define IMG_CUSTOM_6_EDITOR 780 +#define IMG_CUSTOM_7 781 +#define IMG_CUSTOM_7_EDITOR 782 +#define IMG_CUSTOM_8 783 +#define IMG_CUSTOM_8_EDITOR 784 +#define IMG_CUSTOM_9 785 +#define IMG_CUSTOM_9_EDITOR 786 +#define IMG_CUSTOM_10 787 +#define IMG_CUSTOM_10_EDITOR 788 +#define IMG_CUSTOM_11 789 +#define IMG_CUSTOM_11_EDITOR 790 +#define IMG_CUSTOM_12 791 +#define IMG_CUSTOM_12_EDITOR 792 +#define IMG_CUSTOM_13 793 +#define IMG_CUSTOM_13_EDITOR 794 +#define IMG_CUSTOM_14 795 +#define IMG_CUSTOM_14_EDITOR 796 +#define IMG_CUSTOM_15 797 +#define IMG_CUSTOM_15_EDITOR 798 +#define IMG_CUSTOM_16 799 +#define IMG_CUSTOM_16_EDITOR 800 +#define IMG_CUSTOM_17 801 +#define IMG_CUSTOM_17_EDITOR 802 +#define IMG_CUSTOM_18 803 +#define IMG_CUSTOM_18_EDITOR 804 +#define IMG_CUSTOM_19 805 +#define IMG_CUSTOM_19_EDITOR 806 +#define IMG_CUSTOM_20 807 +#define IMG_CUSTOM_20_EDITOR 808 +#define IMG_CUSTOM_21 809 +#define IMG_CUSTOM_21_EDITOR 810 +#define IMG_CUSTOM_22 811 +#define IMG_CUSTOM_22_EDITOR 812 +#define IMG_CUSTOM_23 813 +#define IMG_CUSTOM_23_EDITOR 814 +#define IMG_CUSTOM_24 815 +#define IMG_CUSTOM_24_EDITOR 816 +#define IMG_CUSTOM_25 817 +#define IMG_CUSTOM_25_EDITOR 818 +#define IMG_CUSTOM_26 819 +#define IMG_CUSTOM_26_EDITOR 820 +#define IMG_CUSTOM_27 821 +#define IMG_CUSTOM_27_EDITOR 822 +#define IMG_CUSTOM_28 823 +#define IMG_CUSTOM_28_EDITOR 824 +#define IMG_CUSTOM_29 825 +#define IMG_CUSTOM_29_EDITOR 826 +#define IMG_CUSTOM_30 827 +#define IMG_CUSTOM_30_EDITOR 828 +#define IMG_CUSTOM_31 829 +#define IMG_CUSTOM_31_EDITOR 830 +#define IMG_CUSTOM_32 831 +#define IMG_CUSTOM_32_EDITOR 832 +#define IMG_CUSTOM_33 833 +#define IMG_CUSTOM_33_EDITOR 834 +#define IMG_CUSTOM_34 835 +#define IMG_CUSTOM_34_EDITOR 836 +#define IMG_CUSTOM_35 837 +#define IMG_CUSTOM_35_EDITOR 838 +#define IMG_CUSTOM_36 839 +#define IMG_CUSTOM_36_EDITOR 840 +#define IMG_CUSTOM_37 841 +#define IMG_CUSTOM_37_EDITOR 842 +#define IMG_CUSTOM_38 843 +#define IMG_CUSTOM_38_EDITOR 844 +#define IMG_CUSTOM_39 845 +#define IMG_CUSTOM_39_EDITOR 846 +#define IMG_CUSTOM_40 847 +#define IMG_CUSTOM_40_EDITOR 848 +#define IMG_CUSTOM_41 849 +#define IMG_CUSTOM_41_EDITOR 850 +#define IMG_CUSTOM_42 851 +#define IMG_CUSTOM_42_EDITOR 852 +#define IMG_CUSTOM_43 853 +#define IMG_CUSTOM_43_EDITOR 854 +#define IMG_CUSTOM_44 855 +#define IMG_CUSTOM_44_EDITOR 856 +#define IMG_CUSTOM_45 857 +#define IMG_CUSTOM_45_EDITOR 858 +#define IMG_CUSTOM_46 859 +#define IMG_CUSTOM_46_EDITOR 860 +#define IMG_CUSTOM_47 861 +#define IMG_CUSTOM_47_EDITOR 862 +#define IMG_CUSTOM_48 863 +#define IMG_CUSTOM_48_EDITOR 864 +#define IMG_CUSTOM_49 865 +#define IMG_CUSTOM_49_EDITOR 866 +#define IMG_CUSTOM_50 867 +#define IMG_CUSTOM_50_EDITOR 868 +#define IMG_CUSTOM_51 869 +#define IMG_CUSTOM_51_EDITOR 870 +#define IMG_CUSTOM_52 871 +#define IMG_CUSTOM_52_EDITOR 872 +#define IMG_CUSTOM_53 873 +#define IMG_CUSTOM_53_EDITOR 874 +#define IMG_CUSTOM_54 875 +#define IMG_CUSTOM_54_EDITOR 876 +#define IMG_CUSTOM_55 877 +#define IMG_CUSTOM_55_EDITOR 878 +#define IMG_CUSTOM_56 879 +#define IMG_CUSTOM_56_EDITOR 880 +#define IMG_CUSTOM_57 881 +#define IMG_CUSTOM_57_EDITOR 882 +#define IMG_CUSTOM_58 883 +#define IMG_CUSTOM_58_EDITOR 884 +#define IMG_CUSTOM_59 885 +#define IMG_CUSTOM_59_EDITOR 886 +#define IMG_CUSTOM_60 887 +#define IMG_CUSTOM_60_EDITOR 888 +#define IMG_CUSTOM_61 889 +#define IMG_CUSTOM_61_EDITOR 890 +#define IMG_CUSTOM_62 891 +#define IMG_CUSTOM_62_EDITOR 892 +#define IMG_CUSTOM_63 893 +#define IMG_CUSTOM_63_EDITOR 894 +#define IMG_CUSTOM_64 895 +#define IMG_CUSTOM_64_EDITOR 896 +#define IMG_CUSTOM_65 897 +#define IMG_CUSTOM_65_EDITOR 898 +#define IMG_CUSTOM_66 899 +#define IMG_CUSTOM_66_EDITOR 900 +#define IMG_CUSTOM_67 901 +#define IMG_CUSTOM_67_EDITOR 902 +#define IMG_CUSTOM_68 903 +#define IMG_CUSTOM_68_EDITOR 904 +#define IMG_CUSTOM_69 905 +#define IMG_CUSTOM_69_EDITOR 906 +#define IMG_CUSTOM_70 907 +#define IMG_CUSTOM_70_EDITOR 908 +#define IMG_CUSTOM_71 909 +#define IMG_CUSTOM_71_EDITOR 910 +#define IMG_CUSTOM_72 911 +#define IMG_CUSTOM_72_EDITOR 912 +#define IMG_CUSTOM_73 913 +#define IMG_CUSTOM_73_EDITOR 914 +#define IMG_CUSTOM_74 915 +#define IMG_CUSTOM_74_EDITOR 916 +#define IMG_CUSTOM_75 917 +#define IMG_CUSTOM_75_EDITOR 918 +#define IMG_CUSTOM_76 919 +#define IMG_CUSTOM_76_EDITOR 920 +#define IMG_CUSTOM_77 921 +#define IMG_CUSTOM_77_EDITOR 922 +#define IMG_CUSTOM_78 923 +#define IMG_CUSTOM_78_EDITOR 924 +#define IMG_CUSTOM_79 925 +#define IMG_CUSTOM_79_EDITOR 926 +#define IMG_CUSTOM_80 927 +#define IMG_CUSTOM_80_EDITOR 928 +#define IMG_CUSTOM_81 929 +#define IMG_CUSTOM_81_EDITOR 930 +#define IMG_CUSTOM_82 931 +#define IMG_CUSTOM_82_EDITOR 932 +#define IMG_CUSTOM_83 933 +#define IMG_CUSTOM_83_EDITOR 934 +#define IMG_CUSTOM_84 935 +#define IMG_CUSTOM_84_EDITOR 936 +#define IMG_CUSTOM_85 937 +#define IMG_CUSTOM_85_EDITOR 938 +#define IMG_CUSTOM_86 939 +#define IMG_CUSTOM_86_EDITOR 940 +#define IMG_CUSTOM_87 941 +#define IMG_CUSTOM_87_EDITOR 942 +#define IMG_CUSTOM_88 943 +#define IMG_CUSTOM_88_EDITOR 944 +#define IMG_CUSTOM_89 945 +#define IMG_CUSTOM_89_EDITOR 946 +#define IMG_CUSTOM_90 947 +#define IMG_CUSTOM_90_EDITOR 948 +#define IMG_CUSTOM_91 949 +#define IMG_CUSTOM_91_EDITOR 950 +#define IMG_CUSTOM_92 951 +#define IMG_CUSTOM_92_EDITOR 952 +#define IMG_CUSTOM_93 953 +#define IMG_CUSTOM_93_EDITOR 954 +#define IMG_CUSTOM_94 955 +#define IMG_CUSTOM_94_EDITOR 956 +#define IMG_CUSTOM_95 957 +#define IMG_CUSTOM_95_EDITOR 958 +#define IMG_CUSTOM_96 959 +#define IMG_CUSTOM_96_EDITOR 960 +#define IMG_CUSTOM_97 961 +#define IMG_CUSTOM_97_EDITOR 962 +#define IMG_CUSTOM_98 963 +#define IMG_CUSTOM_98_EDITOR 964 +#define IMG_CUSTOM_99 965 +#define IMG_CUSTOM_99_EDITOR 966 +#define IMG_CUSTOM_100 967 +#define IMG_CUSTOM_100_EDITOR 968 +#define IMG_CUSTOM_101 969 +#define IMG_CUSTOM_101_EDITOR 970 +#define IMG_CUSTOM_102 971 +#define IMG_CUSTOM_102_EDITOR 972 +#define IMG_CUSTOM_103 973 +#define IMG_CUSTOM_103_EDITOR 974 +#define IMG_CUSTOM_104 975 +#define IMG_CUSTOM_104_EDITOR 976 +#define IMG_CUSTOM_105 977 +#define IMG_CUSTOM_105_EDITOR 978 +#define IMG_CUSTOM_106 979 +#define IMG_CUSTOM_106_EDITOR 980 +#define IMG_CUSTOM_107 981 +#define IMG_CUSTOM_107_EDITOR 982 +#define IMG_CUSTOM_108 983 +#define IMG_CUSTOM_108_EDITOR 984 +#define IMG_CUSTOM_109 985 +#define IMG_CUSTOM_109_EDITOR 986 +#define IMG_CUSTOM_110 987 +#define IMG_CUSTOM_110_EDITOR 988 +#define IMG_CUSTOM_111 989 +#define IMG_CUSTOM_111_EDITOR 990 +#define IMG_CUSTOM_112 991 +#define IMG_CUSTOM_112_EDITOR 992 +#define IMG_CUSTOM_113 993 +#define IMG_CUSTOM_113_EDITOR 994 +#define IMG_CUSTOM_114 995 +#define IMG_CUSTOM_114_EDITOR 996 +#define IMG_CUSTOM_115 997 +#define IMG_CUSTOM_115_EDITOR 998 +#define IMG_CUSTOM_116 999 +#define IMG_CUSTOM_116_EDITOR 1000 +#define IMG_CUSTOM_117 1001 +#define IMG_CUSTOM_117_EDITOR 1002 +#define IMG_CUSTOM_118 1003 +#define IMG_CUSTOM_118_EDITOR 1004 +#define IMG_CUSTOM_119 1005 +#define IMG_CUSTOM_119_EDITOR 1006 +#define IMG_CUSTOM_120 1007 +#define IMG_CUSTOM_120_EDITOR 1008 +#define IMG_CUSTOM_121 1009 +#define IMG_CUSTOM_121_EDITOR 1010 +#define IMG_CUSTOM_122 1011 +#define IMG_CUSTOM_122_EDITOR 1012 +#define IMG_CUSTOM_123 1013 +#define IMG_CUSTOM_123_EDITOR 1014 +#define IMG_CUSTOM_124 1015 +#define IMG_CUSTOM_124_EDITOR 1016 +#define IMG_CUSTOM_125 1017 +#define IMG_CUSTOM_125_EDITOR 1018 +#define IMG_CUSTOM_126 1019 +#define IMG_CUSTOM_126_EDITOR 1020 +#define IMG_CUSTOM_127 1021 +#define IMG_CUSTOM_127_EDITOR 1022 +#define IMG_CUSTOM_128 1023 +#define IMG_CUSTOM_128_EDITOR 1024 +#define IMG_CUSTOM_129 1025 +#define IMG_CUSTOM_129_EDITOR 1026 +#define IMG_CUSTOM_130 1027 +#define IMG_CUSTOM_130_EDITOR 1028 +#define IMG_CUSTOM_131 1029 +#define IMG_CUSTOM_131_EDITOR 1030 +#define IMG_CUSTOM_132 1031 +#define IMG_CUSTOM_132_EDITOR 1032 +#define IMG_CUSTOM_133 1033 +#define IMG_CUSTOM_133_EDITOR 1034 +#define IMG_CUSTOM_134 1035 +#define IMG_CUSTOM_134_EDITOR 1036 +#define IMG_CUSTOM_135 1037 +#define IMG_CUSTOM_135_EDITOR 1038 +#define IMG_CUSTOM_136 1039 +#define IMG_CUSTOM_136_EDITOR 1040 +#define IMG_CUSTOM_137 1041 +#define IMG_CUSTOM_137_EDITOR 1042 +#define IMG_CUSTOM_138 1043 +#define IMG_CUSTOM_138_EDITOR 1044 +#define IMG_CUSTOM_139 1045 +#define IMG_CUSTOM_139_EDITOR 1046 +#define IMG_CUSTOM_140 1047 +#define IMG_CUSTOM_140_EDITOR 1048 +#define IMG_CUSTOM_141 1049 +#define IMG_CUSTOM_141_EDITOR 1050 +#define IMG_CUSTOM_142 1051 +#define IMG_CUSTOM_142_EDITOR 1052 +#define IMG_CUSTOM_143 1053 +#define IMG_CUSTOM_143_EDITOR 1054 +#define IMG_CUSTOM_144 1055 +#define IMG_CUSTOM_144_EDITOR 1056 +#define IMG_CUSTOM_145 1057 +#define IMG_CUSTOM_145_EDITOR 1058 +#define IMG_CUSTOM_146 1059 +#define IMG_CUSTOM_146_EDITOR 1060 +#define IMG_CUSTOM_147 1061 +#define IMG_CUSTOM_147_EDITOR 1062 +#define IMG_CUSTOM_148 1063 +#define IMG_CUSTOM_148_EDITOR 1064 +#define IMG_CUSTOM_149 1065 +#define IMG_CUSTOM_149_EDITOR 1066 +#define IMG_CUSTOM_150 1067 +#define IMG_CUSTOM_150_EDITOR 1068 +#define IMG_CUSTOM_151 1069 +#define IMG_CUSTOM_151_EDITOR 1070 +#define IMG_CUSTOM_152 1071 +#define IMG_CUSTOM_152_EDITOR 1072 +#define IMG_CUSTOM_153 1073 +#define IMG_CUSTOM_153_EDITOR 1074 +#define IMG_CUSTOM_154 1075 +#define IMG_CUSTOM_154_EDITOR 1076 +#define IMG_CUSTOM_155 1077 +#define IMG_CUSTOM_155_EDITOR 1078 +#define IMG_CUSTOM_156 1079 +#define IMG_CUSTOM_156_EDITOR 1080 +#define IMG_CUSTOM_157 1081 +#define IMG_CUSTOM_157_EDITOR 1082 +#define IMG_CUSTOM_158 1083 +#define IMG_CUSTOM_158_EDITOR 1084 +#define IMG_CUSTOM_159 1085 +#define IMG_CUSTOM_159_EDITOR 1086 +#define IMG_CUSTOM_160 1087 +#define IMG_CUSTOM_160_EDITOR 1088 +#define IMG_CUSTOM_161 1089 +#define IMG_CUSTOM_161_EDITOR 1090 +#define IMG_CUSTOM_162 1091 +#define IMG_CUSTOM_162_EDITOR 1092 +#define IMG_CUSTOM_163 1093 +#define IMG_CUSTOM_163_EDITOR 1094 +#define IMG_CUSTOM_164 1095 +#define IMG_CUSTOM_164_EDITOR 1096 +#define IMG_CUSTOM_165 1097 +#define IMG_CUSTOM_165_EDITOR 1098 +#define IMG_CUSTOM_166 1099 +#define IMG_CUSTOM_166_EDITOR 1100 +#define IMG_CUSTOM_167 1101 +#define IMG_CUSTOM_167_EDITOR 1102 +#define IMG_CUSTOM_168 1103 +#define IMG_CUSTOM_168_EDITOR 1104 +#define IMG_CUSTOM_169 1105 +#define IMG_CUSTOM_169_EDITOR 1106 +#define IMG_CUSTOM_170 1107 +#define IMG_CUSTOM_170_EDITOR 1108 +#define IMG_CUSTOM_171 1109 +#define IMG_CUSTOM_171_EDITOR 1110 +#define IMG_CUSTOM_172 1111 +#define IMG_CUSTOM_172_EDITOR 1112 +#define IMG_CUSTOM_173 1113 +#define IMG_CUSTOM_173_EDITOR 1114 +#define IMG_CUSTOM_174 1115 +#define IMG_CUSTOM_174_EDITOR 1116 +#define IMG_CUSTOM_175 1117 +#define IMG_CUSTOM_175_EDITOR 1118 +#define IMG_CUSTOM_176 1119 +#define IMG_CUSTOM_176_EDITOR 1120 +#define IMG_CUSTOM_177 1121 +#define IMG_CUSTOM_177_EDITOR 1122 +#define IMG_CUSTOM_178 1123 +#define IMG_CUSTOM_178_EDITOR 1124 +#define IMG_CUSTOM_179 1125 +#define IMG_CUSTOM_179_EDITOR 1126 +#define IMG_CUSTOM_180 1127 +#define IMG_CUSTOM_180_EDITOR 1128 +#define IMG_CUSTOM_181 1129 +#define IMG_CUSTOM_181_EDITOR 1130 +#define IMG_CUSTOM_182 1131 +#define IMG_CUSTOM_182_EDITOR 1132 +#define IMG_CUSTOM_183 1133 +#define IMG_CUSTOM_183_EDITOR 1134 +#define IMG_CUSTOM_184 1135 +#define IMG_CUSTOM_184_EDITOR 1136 +#define IMG_CUSTOM_185 1137 +#define IMG_CUSTOM_185_EDITOR 1138 +#define IMG_CUSTOM_186 1139 +#define IMG_CUSTOM_186_EDITOR 1140 +#define IMG_CUSTOM_187 1141 +#define IMG_CUSTOM_187_EDITOR 1142 +#define IMG_CUSTOM_188 1143 +#define IMG_CUSTOM_188_EDITOR 1144 +#define IMG_CUSTOM_189 1145 +#define IMG_CUSTOM_189_EDITOR 1146 +#define IMG_CUSTOM_190 1147 +#define IMG_CUSTOM_190_EDITOR 1148 +#define IMG_CUSTOM_191 1149 +#define IMG_CUSTOM_191_EDITOR 1150 +#define IMG_CUSTOM_192 1151 +#define IMG_CUSTOM_192_EDITOR 1152 +#define IMG_CUSTOM_193 1153 +#define IMG_CUSTOM_193_EDITOR 1154 +#define IMG_CUSTOM_194 1155 +#define IMG_CUSTOM_194_EDITOR 1156 +#define IMG_CUSTOM_195 1157 +#define IMG_CUSTOM_195_EDITOR 1158 +#define IMG_CUSTOM_196 1159 +#define IMG_CUSTOM_196_EDITOR 1160 +#define IMG_CUSTOM_197 1161 +#define IMG_CUSTOM_197_EDITOR 1162 +#define IMG_CUSTOM_198 1163 +#define IMG_CUSTOM_198_EDITOR 1164 +#define IMG_CUSTOM_199 1165 +#define IMG_CUSTOM_199_EDITOR 1166 +#define IMG_CUSTOM_200 1167 +#define IMG_CUSTOM_200_EDITOR 1168 +#define IMG_CUSTOM_201 1169 +#define IMG_CUSTOM_201_EDITOR 1170 +#define IMG_CUSTOM_202 1171 +#define IMG_CUSTOM_202_EDITOR 1172 +#define IMG_CUSTOM_203 1173 +#define IMG_CUSTOM_203_EDITOR 1174 +#define IMG_CUSTOM_204 1175 +#define IMG_CUSTOM_204_EDITOR 1176 +#define IMG_CUSTOM_205 1177 +#define IMG_CUSTOM_205_EDITOR 1178 +#define IMG_CUSTOM_206 1179 +#define IMG_CUSTOM_206_EDITOR 1180 +#define IMG_CUSTOM_207 1181 +#define IMG_CUSTOM_207_EDITOR 1182 +#define IMG_CUSTOM_208 1183 +#define IMG_CUSTOM_208_EDITOR 1184 +#define IMG_CUSTOM_209 1185 +#define IMG_CUSTOM_209_EDITOR 1186 +#define IMG_CUSTOM_210 1187 +#define IMG_CUSTOM_210_EDITOR 1188 +#define IMG_CUSTOM_211 1189 +#define IMG_CUSTOM_211_EDITOR 1190 +#define IMG_CUSTOM_212 1191 +#define IMG_CUSTOM_212_EDITOR 1192 +#define IMG_CUSTOM_213 1193 +#define IMG_CUSTOM_213_EDITOR 1194 +#define IMG_CUSTOM_214 1195 +#define IMG_CUSTOM_214_EDITOR 1196 +#define IMG_CUSTOM_215 1197 +#define IMG_CUSTOM_215_EDITOR 1198 +#define IMG_CUSTOM_216 1199 +#define IMG_CUSTOM_216_EDITOR 1200 +#define IMG_CUSTOM_217 1201 +#define IMG_CUSTOM_217_EDITOR 1202 +#define IMG_CUSTOM_218 1203 +#define IMG_CUSTOM_218_EDITOR 1204 +#define IMG_CUSTOM_219 1205 +#define IMG_CUSTOM_219_EDITOR 1206 +#define IMG_CUSTOM_220 1207 +#define IMG_CUSTOM_220_EDITOR 1208 +#define IMG_CUSTOM_221 1209 +#define IMG_CUSTOM_221_EDITOR 1210 +#define IMG_CUSTOM_222 1211 +#define IMG_CUSTOM_222_EDITOR 1212 +#define IMG_CUSTOM_223 1213 +#define IMG_CUSTOM_223_EDITOR 1214 +#define IMG_CUSTOM_224 1215 +#define IMG_CUSTOM_224_EDITOR 1216 +#define IMG_CUSTOM_225 1217 +#define IMG_CUSTOM_225_EDITOR 1218 +#define IMG_CUSTOM_226 1219 +#define IMG_CUSTOM_226_EDITOR 1220 +#define IMG_CUSTOM_227 1221 +#define IMG_CUSTOM_227_EDITOR 1222 +#define IMG_CUSTOM_228 1223 +#define IMG_CUSTOM_228_EDITOR 1224 +#define IMG_CUSTOM_229 1225 +#define IMG_CUSTOM_229_EDITOR 1226 +#define IMG_CUSTOM_230 1227 +#define IMG_CUSTOM_230_EDITOR 1228 +#define IMG_CUSTOM_231 1229 +#define IMG_CUSTOM_231_EDITOR 1230 +#define IMG_CUSTOM_232 1231 +#define IMG_CUSTOM_232_EDITOR 1232 +#define IMG_CUSTOM_233 1233 +#define IMG_CUSTOM_233_EDITOR 1234 +#define IMG_CUSTOM_234 1235 +#define IMG_CUSTOM_234_EDITOR 1236 +#define IMG_CUSTOM_235 1237 +#define IMG_CUSTOM_235_EDITOR 1238 +#define IMG_CUSTOM_236 1239 +#define IMG_CUSTOM_236_EDITOR 1240 +#define IMG_CUSTOM_237 1241 +#define IMG_CUSTOM_237_EDITOR 1242 +#define IMG_CUSTOM_238 1243 +#define IMG_CUSTOM_238_EDITOR 1244 +#define IMG_CUSTOM_239 1245 +#define IMG_CUSTOM_239_EDITOR 1246 +#define IMG_CUSTOM_240 1247 +#define IMG_CUSTOM_240_EDITOR 1248 +#define IMG_CUSTOM_241 1249 +#define IMG_CUSTOM_241_EDITOR 1250 +#define IMG_CUSTOM_242 1251 +#define IMG_CUSTOM_242_EDITOR 1252 +#define IMG_CUSTOM_243 1253 +#define IMG_CUSTOM_243_EDITOR 1254 +#define IMG_CUSTOM_244 1255 +#define IMG_CUSTOM_244_EDITOR 1256 +#define IMG_CUSTOM_245 1257 +#define IMG_CUSTOM_245_EDITOR 1258 +#define IMG_CUSTOM_246 1259 +#define IMG_CUSTOM_246_EDITOR 1260 +#define IMG_CUSTOM_247 1261 +#define IMG_CUSTOM_247_EDITOR 1262 +#define IMG_CUSTOM_248 1263 +#define IMG_CUSTOM_248_EDITOR 1264 +#define IMG_CUSTOM_249 1265 +#define IMG_CUSTOM_249_EDITOR 1266 +#define IMG_CUSTOM_250 1267 +#define IMG_CUSTOM_250_EDITOR 1268 +#define IMG_CUSTOM_251 1269 +#define IMG_CUSTOM_251_EDITOR 1270 +#define IMG_CUSTOM_252 1271 +#define IMG_CUSTOM_252_EDITOR 1272 +#define IMG_CUSTOM_253 1273 +#define IMG_CUSTOM_253_EDITOR 1274 +#define IMG_CUSTOM_254 1275 +#define IMG_CUSTOM_254_EDITOR 1276 +#define IMG_CUSTOM_255 1277 +#define IMG_CUSTOM_255_EDITOR 1278 +#define IMG_CUSTOM_256 1279 +#define IMG_CUSTOM_256_EDITOR 1280 +#define IMG_GROUP_1 1281 +#define IMG_GROUP_1_EDITOR 1282 +#define IMG_GROUP_2 1283 +#define IMG_GROUP_2_EDITOR 1284 +#define IMG_GROUP_3 1285 +#define IMG_GROUP_3_EDITOR 1286 +#define IMG_GROUP_4 1287 +#define IMG_GROUP_4_EDITOR 1288 +#define IMG_GROUP_5 1289 +#define IMG_GROUP_5_EDITOR 1290 +#define IMG_GROUP_6 1291 +#define IMG_GROUP_6_EDITOR 1292 +#define IMG_GROUP_7 1293 +#define IMG_GROUP_7_EDITOR 1294 +#define IMG_GROUP_8 1295 +#define IMG_GROUP_8_EDITOR 1296 +#define IMG_GROUP_9 1297 +#define IMG_GROUP_9_EDITOR 1298 +#define IMG_GROUP_10 1299 +#define IMG_GROUP_10_EDITOR 1300 +#define IMG_GROUP_11 1301 +#define IMG_GROUP_11_EDITOR 1302 +#define IMG_GROUP_12 1303 +#define IMG_GROUP_12_EDITOR 1304 +#define IMG_GROUP_13 1305 +#define IMG_GROUP_13_EDITOR 1306 +#define IMG_GROUP_14 1307 +#define IMG_GROUP_14_EDITOR 1308 +#define IMG_GROUP_15 1309 +#define IMG_GROUP_15_EDITOR 1310 +#define IMG_GROUP_16 1311 +#define IMG_GROUP_16_EDITOR 1312 +#define IMG_GROUP_17 1313 +#define IMG_GROUP_17_EDITOR 1314 +#define IMG_GROUP_18 1315 +#define IMG_GROUP_18_EDITOR 1316 +#define IMG_GROUP_19 1317 +#define IMG_GROUP_19_EDITOR 1318 +#define IMG_GROUP_20 1319 +#define IMG_GROUP_20_EDITOR 1320 +#define IMG_GROUP_21 1321 +#define IMG_GROUP_21_EDITOR 1322 +#define IMG_GROUP_22 1323 +#define IMG_GROUP_22_EDITOR 1324 +#define IMG_GROUP_23 1325 +#define IMG_GROUP_23_EDITOR 1326 +#define IMG_GROUP_24 1327 +#define IMG_GROUP_24_EDITOR 1328 +#define IMG_GROUP_25 1329 +#define IMG_GROUP_25_EDITOR 1330 +#define IMG_GROUP_26 1331 +#define IMG_GROUP_26_EDITOR 1332 +#define IMG_GROUP_27 1333 +#define IMG_GROUP_27_EDITOR 1334 +#define IMG_GROUP_28 1335 +#define IMG_GROUP_28_EDITOR 1336 +#define IMG_GROUP_29 1337 +#define IMG_GROUP_29_EDITOR 1338 +#define IMG_GROUP_30 1339 +#define IMG_GROUP_30_EDITOR 1340 +#define IMG_GROUP_31 1341 +#define IMG_GROUP_31_EDITOR 1342 +#define IMG_GROUP_32 1343 +#define IMG_GROUP_32_EDITOR 1344 +#define IMG_EMC_OBJECT 1345 +#define IMG_EMC_SPRITE 1346 +#define IMG_TOON_1 1347 +#define IMG_TOON_2 1348 +#define IMG_TOON_3 1349 +#define IMG_TOON_4 1350 +#define IMG_TOON_5 1351 +#define IMG_TOON_6 1352 +#define IMG_TOON_7 1353 +#define IMG_TOON_8 1354 +#define IMG_TOON_9 1355 +#define IMG_TOON_10 1356 +#define IMG_TOON_11 1357 +#define IMG_TOON_12 1358 +#define IMG_TOON_13 1359 +#define IMG_TOON_14 1360 +#define IMG_TOON_15 1361 +#define IMG_TOON_16 1362 +#define IMG_TOON_17 1363 +#define IMG_TOON_18 1364 +#define IMG_TOON_19 1365 +#define IMG_TOON_20 1366 +#define IMG_MENU_CALIBRATE_RED 1367 +#define IMG_MENU_CALIBRATE_BLUE 1368 +#define IMG_MENU_CALIBRATE_YELLOW 1369 +#define IMG_MENU_BUTTON 1370 +#define IMG_MENU_BUTTON_ACTIVE 1371 +#define IMG_MENU_BUTTON_LEFT 1372 +#define IMG_MENU_BUTTON_RIGHT 1373 +#define IMG_MENU_BUTTON_UP 1374 +#define IMG_MENU_BUTTON_DOWN 1375 +#define IMG_MENU_BUTTON_LEFT_ACTIVE 1376 +#define IMG_MENU_BUTTON_RIGHT_ACTIVE 1377 +#define IMG_MENU_BUTTON_UP_ACTIVE 1378 +#define IMG_MENU_BUTTON_DOWN_ACTIVE 1379 +#define IMG_MENU_SCROLLBAR 1380 +#define IMG_MENU_SCROLLBAR_ACTIVE 1381 +#define IMG_FONT_INITIAL_1 1382 +#define IMG_FONT_INITIAL_2 1383 +#define IMG_FONT_INITIAL_3 1384 +#define IMG_FONT_INITIAL_4 1385 +#define IMG_FONT_TITLE_1 1386 +#define IMG_FONT_TITLE_1_LEVELS 1387 +#define IMG_FONT_TITLE_2 1388 +#define IMG_FONT_MENU_1 1389 +#define IMG_FONT_MENU_2 1390 +#define IMG_FONT_TEXT_1 1391 +#define IMG_FONT_TEXT_1_LEVELS 1392 +#define IMG_FONT_TEXT_1_PREVIEW 1393 +#define IMG_FONT_TEXT_1_SCORES 1394 +#define IMG_FONT_TEXT_1_ACTIVE_SCORES 1395 +#define IMG_FONT_TEXT_2 1396 +#define IMG_FONT_TEXT_2_LEVELS 1397 +#define IMG_FONT_TEXT_2_PREVIEW 1398 +#define IMG_FONT_TEXT_2_SCORES 1399 +#define IMG_FONT_TEXT_2_ACTIVE_SCORES 1400 +#define IMG_FONT_TEXT_3 1401 +#define IMG_FONT_TEXT_3_LEVELS 1402 +#define IMG_FONT_TEXT_3_PREVIEW 1403 +#define IMG_FONT_TEXT_3_SCORES 1404 +#define IMG_FONT_TEXT_3_ACTIVE_SCORES 1405 +#define IMG_FONT_TEXT_4 1406 +#define IMG_FONT_TEXT_4_LEVELS 1407 +#define IMG_FONT_TEXT_4_SCORES 1408 +#define IMG_FONT_TEXT_4_ACTIVE_SCORES 1409 +#define IMG_FONT_ENVELOPE_1 1410 +#define IMG_FONT_ENVELOPE_2 1411 +#define IMG_FONT_ENVELOPE_3 1412 +#define IMG_FONT_ENVELOPE_4 1413 +#define IMG_FONT_INPUT_1 1414 +#define IMG_FONT_INPUT_1_MAIN 1415 +#define IMG_FONT_INPUT_1_ACTIVE 1416 +#define IMG_FONT_INPUT_1_ACTIVE_MAIN 1417 +#define IMG_FONT_INPUT_1_ACTIVE_SETUP 1418 +#define IMG_FONT_INPUT_2 1419 +#define IMG_FONT_INPUT_2_ACTIVE 1420 +#define IMG_FONT_OPTION_OFF 1421 +#define IMG_FONT_OPTION_ON 1422 +#define IMG_FONT_VALUE_1 1423 +#define IMG_FONT_VALUE_2 1424 +#define IMG_FONT_VALUE_OLD 1425 +#define IMG_FONT_LEVEL_NUMBER 1426 +#define IMG_FONT_TAPE_RECORDER 1427 +#define IMG_FONT_GAME_INFO 1428 +#define IMG_GLOBAL_BORDER 1429 +#define IMG_GLOBAL_DOOR 1430 +#define IMG_EDITOR_ELEMENT_BORDER 1431 +#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1432 +#define IMG_BACKGROUND_ENVELOPE_1 1433 +#define IMG_BACKGROUND_ENVELOPE_2 1434 +#define IMG_BACKGROUND_ENVELOPE_3 1435 +#define IMG_BACKGROUND_ENVELOPE_4 1436 +#define IMG_BACKGROUND 1437 +#define IMG_BACKGROUND_MAIN 1438 +#define IMG_BACKGROUND_LEVELS 1439 +#define IMG_BACKGROUND_SCORES 1440 +#define IMG_BACKGROUND_EDITOR 1441 +#define IMG_BACKGROUND_INFO 1442 +#define IMG_BACKGROUND_INFO_ELEMENTS 1443 +#define IMG_BACKGROUND_SETUP 1444 +#define IMG_BACKGROUND_DOOR 1445 -#define NUM_IMAGE_FILES 1443 +#define NUM_IMAGE_FILES 1446 #endif /* CONF_GFX_H */ diff --git a/src/conftime.h b/src/conftime.h index 253b3a53..0b615479 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2004-11-26 15:49]" +#define COMPILE_DATE_STRING "[2004-11-27 04:41]" diff --git a/src/engines.h b/src/engines.h new file mode 100644 index 00000000..de7a5491 --- /dev/null +++ b/src/engines.h @@ -0,0 +1,31 @@ +/*********************************************************** +* Artsoft Retro-Game Library * +*----------------------------------------------------------* +* (c) 1994-2004 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * +*----------------------------------------------------------* +* engines.h * +***********************************************************/ + +#ifndef ENGINES_H +#define ENGINES_H + +#include "libgame/libgame.h" + + +/* ========================================================================= */ +/* functions and definitions exported from main program to game_em */ +/* ========================================================================= */ + +extern void SetBitmaps_EM(Bitmap **); +extern void UpdateEngineValues(int, int); +extern void DrawGameDoorValues_EM(int, int, int, int); +extern int getGameFrameDelay_EM(int); +extern void PlayLevelSound_EM(int, int, int, int); +extern void InitGraphicInfo_EM(void); + +#endif /* ENGINES_H */ diff --git a/src/game_em/display.h b/src/game_em/display.h index 3ba720be..70728a7e 100644 --- a/src/game_em/display.h +++ b/src/game_em/display.h @@ -1,7 +1,7 @@ #ifndef DISPLAY_H #define DISPLAY_H -#include "game_em.h" +#include "main_em.h" #define ORIG_TILEX 16 #define ORIG_TILEY 16 diff --git a/src/game_em/game_em.h b/src/game_em/game_em.h index f2800523..e3953c4c 100644 --- a/src/game_em/game_em.h +++ b/src/game_em/game_em.h @@ -17,20 +17,6 @@ #define GAME_EM_VERSION_1_0_0 -/* ========================================================================= */ -/* functions and definitions imported from main program to game_em */ -/* ========================================================================= */ - -#include "../libgame/libgame.h" - -extern void SetBitmaps_EM(Bitmap **); -extern void UpdateEngineValues(int, int); -extern void DrawGameDoorValues_EM(int, int, int, int); -extern int getGameFrameDelay_EM(int); -extern void PlayLevelSound_EM(int, int, int, int); -extern void InitGraphicInfo_EM(void); - - /* ========================================================================= */ /* functions and definitions exported from game_em to main program */ /* ========================================================================= */ @@ -38,7 +24,8 @@ extern void InitGraphicInfo_EM(void); #include "main_em.h" extern struct LevelInfo_EM native_em_level; -extern struct GraphicInfo_EM graphic_info_em[][8]; +extern struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8]; +extern struct GraphicInfo_EM graphic_info_em_player[2][SPR_MAX][8]; extern void em_open_all(); extern void em_close_all(); diff --git a/src/game_em/global.h b/src/game_em/global.h index 88c6a5e2..2f72dd71 100644 --- a/src/game_em/global.h +++ b/src/game_em/global.h @@ -1,7 +1,7 @@ #ifndef GLOBAL_H #define GLOBAL_H -#include "game_em.h" +#include "main_em.h" #define EM_GFX_DIR "graphics.EM" #define EM_SND_DIR "sounds.EM" diff --git a/src/game_em/graphics.c b/src/game_em/graphics.c index 290004a0..7c6044ed 100644 --- a/src/game_em/graphics.c +++ b/src/game_em/graphics.c @@ -13,7 +13,7 @@ unsigned int screen_x; /* current scroll position */ unsigned int screen_y; /* tiles currently on screen */ -static unsigned short screentiles[MAX_BUF_YSIZE][MAX_BUF_XSIZE]; +static unsigned int screentiles[MAX_BUF_YSIZE][MAX_BUF_XSIZE]; /* copy the entire screen to the window at the scroll position @@ -77,7 +77,7 @@ void blitscreen(void) static void animscreen(void) { unsigned int x, y, dx, dy; - unsigned short obj; + unsigned int obj; unsigned int left = screen_x / TILEX; unsigned int top = screen_y / TILEY; @@ -88,14 +88,16 @@ static void animscreen(void) for (x = left; x < left + MAX_BUF_XSIZE; x++) { int tile = Draw[y][x]; + struct GraphicInfo_EM *g = &graphic_info_em_object[tile][frame]; dx = x % MAX_BUF_XSIZE; - obj = map_obj[frame][tile]; - if (screentiles[dy][dx] != obj) - { #if 1 - struct GraphicInfo_EM *g = &graphic_info_em[tile][frame]; + /* create unique graphic identifier to decide if tile must be redrawn */ + obj = g->unique_identifier; + + if (1 || screentiles[dy][dx] != obj) + { int dst_x = dx * TILEX; int dst_y = dy * TILEY; @@ -107,14 +109,21 @@ static void animscreen(void) g->src_x + g->src_offset_x, g->src_y + g->src_offset_y, g->width, g->height, dst_x + g->dst_offset_x, dst_y + g->dst_offset_y); + + screentiles[dy][dx] = obj; + } #else + obj = map_obj[frame][tile]; + + if (screentiles[dy][dx] != obj) + { BlitBitmap(objBitmap, screenBitmap, (obj / 512) * TILEX, (obj % 512) * TILEY / 16, TILEX, TILEY, dx * TILEX, dy * TILEY); -#endif screentiles[dy][dx] = obj; } +#endif } } } @@ -130,8 +139,6 @@ static void blitplayer(struct PLAYER *ply) int dx, dy; int old_x, old_y, new_x, new_y; int src_x, src_y, dst_x, dst_y; - int tile; - struct GraphicInfo_EM *g; unsigned int x1, y1, x2, y2; #if 1 unsigned short spr; @@ -159,6 +166,9 @@ static void blitplayer(struct PLAYER *ply) if ((unsigned int)(x2 - screen_x) < ((MAX_BUF_XSIZE - 1) * TILEX - 1) && (unsigned int)(y2 - screen_y) < ((MAX_BUF_YSIZE - 1) * TILEY - 1)) { + struct GraphicInfo_EM *g; + int tile; + spr = map_spr[ply->num][frame][ply->anim]; x1 %= MAX_BUF_XSIZE * TILEX; y1 %= MAX_BUF_YSIZE * TILEY; @@ -166,18 +176,40 @@ static void blitplayer(struct PLAYER *ply) y2 %= MAX_BUF_YSIZE * TILEY; #if 1 + +#if 1 + g = &graphic_info_em_player[ply->num][ply->anim][frame]; + + /* draw the player to current location */ + BlitBitmap(g->bitmap, screenBitmap, + g->src_x, g->src_y, TILEX, TILEY, + x1, y1); + + /* draw the player to opposite wrap-around column */ + BlitBitmap(g->bitmap, screenBitmap, + g->src_x, g->src_y, TILEX, TILEY, + x1 - MAX_BUF_XSIZE * TILEX, y1); + + /* draw the player to opposite wrap-around row */ + BlitBitmap(g->bitmap, screenBitmap, + g->src_x, g->src_y, TILEX, TILEY, + x1, y1 - MAX_BUF_YSIZE * TILEY); +#else /* draw the player to current location */ BlitBitmap(sprBitmap, screenBitmap, (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY, x1, y1); + /* draw the player to opposite wrap-around column */ BlitBitmap(sprBitmap, screenBitmap, (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY, - x1 - MAX_BUF_XSIZE * TILEX, y1), + x1 - MAX_BUF_XSIZE * TILEX, y1); + /* draw the player to opposite wrap-around row */ BlitBitmap(sprBitmap, screenBitmap, (spr / 8) * TILEX, (spr % 8) * TILEY, TILEX, TILEY, x1, y1 - MAX_BUF_YSIZE * TILEY); +#endif /* draw the field the player is moving from (masked over the player) */ #if 0 @@ -190,7 +222,7 @@ static void blitplayer(struct PLAYER *ply) #if 1 tile = Draw[old_y][old_x]; - g = &graphic_info_em[tile][frame]; + g = &graphic_info_em_object[tile][frame]; if (g->width > 0 && g->height > 0) { @@ -222,7 +254,7 @@ static void blitplayer(struct PLAYER *ply) #if 1 tile = Draw[new_y][new_x]; - g = &graphic_info_em[tile][frame]; + g = &graphic_info_em_object[tile][frame]; if (g->width > 0 && g->height > 0) { diff --git a/src/game_em/init.c b/src/game_em/init.c index 5f6d2ed3..9a3dadb8 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -6,7 +6,7 @@ #include #include -#include "game_em.h" +#include "main_em.h" #include "global.h" #include "display.h" diff --git a/src/game_em/level.h b/src/game_em/level.h index 56d01f4f..b93ffc9b 100644 --- a/src/game_em/level.h +++ b/src/game_em/level.h @@ -94,7 +94,8 @@ extern struct PLAYER ply2; extern struct LEVEL lev; extern struct LevelInfo_EM native_em_level; -extern struct GraphicInfo_EM graphic_info_em[TILE_MAX][8]; +extern struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8]; +extern struct GraphicInfo_EM graphic_info_em_player[2][SPR_MAX][8]; extern unsigned short **Boom; extern unsigned short **Cave; diff --git a/src/game_em/main_em.h b/src/game_em/main_em.h index 920498ee..cf583dbb 100644 --- a/src/game_em/main_em.h +++ b/src/game_em/main_em.h @@ -1,7 +1,7 @@ #ifndef MAIN_EM_H #define MAIN_EM_H -#include "game_em.h" +#include "../engines.h" /* 2000-07-30T11:06:03Z ---------------------------------------------------- */ @@ -260,6 +260,22 @@ enum Xball_2, Xball_2B, Yball_eat, + +#if 1 + Ykey_1_eat, + Ykey_2_eat, + Ykey_3_eat, + Ykey_4_eat, + Ykey_5_eat, + Ykey_6_eat, + Ykey_7_eat, + Ykey_8_eat, + Ylenses_eat, + Ymagnify_eat, + Ygrass_eat, + Ydirt_eat, +#endif + Xgrow_ns, Ygrow_ns_eat, Xgrow_ew, @@ -439,6 +455,16 @@ enum TILE_MAX }; +enum +{ + SPR_still = 0, + SPR_walk = 1, + SPR_push = 5, + SPR_spray = 9, + + SPR_MAX = 13 +}; + enum { SAMPLE_blank = 0, /* player walks on blank */ @@ -608,6 +634,8 @@ struct GraphicInfo_EM int src_offset_x, src_offset_y; int dst_offset_x, dst_offset_y; int width, height; + + int unique_identifier; /* used to identify needed screen updates */ }; #endif /* MAIN_EM_H */ diff --git a/src/game_em/sound.c b/src/game_em/sound.c index 78a293c5..8fa45653 100644 --- a/src/game_em/sound.c +++ b/src/game_em/sound.c @@ -3,7 +3,7 @@ * handle sounds in emerald mine */ -#include "game_em.h" +#include "main_em.h" #if defined(AUDIO_UNIX_NATIVE) diff --git a/src/game_em/synchro_1.c b/src/game_em/synchro_1.c index 640822f1..9114d5f8 100644 --- a/src/game_em/synchro_1.c +++ b/src/game_em/synchro_1.c @@ -541,39 +541,46 @@ static void player(struct PLAYER *ply) case Xkey_1: ply->keys |= 0x01; + Cave[y][x] = Ykey_1_eat; goto key_walk; case Xkey_2: ply->keys |= 0x02; + Cave[y][x] = Ykey_2_eat; goto key_walk; case Xkey_3: ply->keys |= 0x04; + Cave[y][x] = Ykey_3_eat; goto key_walk; case Xkey_4: ply->keys |= 0x08; + Cave[y][x] = Ykey_4_eat; goto key_walk; case Xkey_5: ply->keys |= 0x10; + Cave[y][x] = Ykey_5_eat; goto key_walk; case Xkey_6: ply->keys |= 0x20; + Cave[y][x] = Ykey_6_eat; goto key_walk; case Xkey_7: ply->keys |= 0x40; + Cave[y][x] = Ykey_7_eat; goto key_walk; case Xkey_8: ply->keys |= 0x80; + Cave[y][x] = Ykey_8_eat; goto key_walk; key_walk: - Cave[y][x] = Yball_eat; Next[y][x] = Zplayer; play_element_sound(x, y, SAMPLE_collect, element); lev.score += lev.key_score; @@ -583,7 +590,7 @@ static void player(struct PLAYER *ply) break; case Xlenses: - Cave[y][x] = Yball_eat; + Cave[y][x] = Ylenses_eat; Next[y][x] = Zplayer; play_element_sound(x, y, SAMPLE_collect, element); lev.score += lev.lenses_score; @@ -594,7 +601,7 @@ static void player(struct PLAYER *ply) break; case Xmagnify: - Cave[y][x] = Yball_eat; + Cave[y][x] = Ymagnify_eat; Next[y][x] = Zplayer; play_element_sound(x, y, SAMPLE_collect, element); lev.score += lev.magnify_score; @@ -1004,8 +1011,14 @@ static void player(struct PLAYER *ply) /* fire is pressed */ case Xgrass: + Cave[y][x] = Ygrass_eat; + Next[y][x] = Xblank; + play_element_sound(x, y, SAMPLE_dirt, element); + ply->anim = SPR_spray + anim; + break; + case Xdirt: - Cave[y][x] = Yball_eat; + Cave[y][x] = Ydirt_eat; Next[y][x] = Xblank; play_element_sound(x, y, SAMPLE_dirt, element); ply->anim = SPR_spray + anim; @@ -1042,38 +1055,45 @@ static void player(struct PLAYER *ply) case Xkey_1: ply->keys |= 0x01; + Cave[y][x] = Ykey_1_eat; goto key_shoot; case Xkey_2: ply->keys |= 0x02; + Cave[y][x] = Ykey_2_eat; goto key_shoot; case Xkey_3: ply->keys |= 0x04; + Cave[y][x] = Ykey_3_eat; goto key_shoot; case Xkey_4: ply->keys |= 0x08; + Cave[y][x] = Ykey_4_eat; goto key_shoot; case Xkey_5: ply->keys |= 0x10; + Cave[y][x] = Ykey_5_eat; goto key_shoot; case Xkey_6: ply->keys |= 0x20; + Cave[y][x] = Ykey_6_eat; goto key_shoot; case Xkey_7: ply->keys |= 0x40; + Cave[y][x] = Ykey_7_eat; goto key_shoot; case Xkey_8: ply->keys |= 0x80; + Cave[y][x] = Ykey_8_eat; goto key_shoot; key_shoot: - Cave[y][x] = Yball_eat; Next[y][x] = Xblank; play_element_sound(x, y, SAMPLE_collect, element); lev.score += lev.key_score; @@ -1081,7 +1101,7 @@ static void player(struct PLAYER *ply) break; case Xlenses: - Cave[y][x] = Yball_eat; + Cave[y][x] = Ylenses_eat; Next[y][x] = Xblank; play_element_sound(x, y, SAMPLE_collect, element); lev.score += lev.lenses_score; @@ -1090,7 +1110,7 @@ static void player(struct PLAYER *ply) break; case Xmagnify: - Cave[y][x] = Yball_eat; + Cave[y][x] = Ymagnify_eat; Next[y][x] = Xblank; play_element_sound(x, y, SAMPLE_collect, element); lev.score += lev.magnify_score; diff --git a/src/game_em/tab_generate.c b/src/game_em/tab_generate.c index a35bbd5c..ff8ea4a7 100644 --- a/src/game_em/tab_generate.c +++ b/src/game_em/tab_generate.c @@ -20,52 +20,52 @@ /* 0=stop 1=blank */ int tile_blank[] = { - Xblank, 1, - Yacid_splash_eB, 1, - Yacid_splash_wB, 1, + Xblank, 1, + Yacid_splash_eB, 1, + Yacid_splash_wB, 1, TILE_MAX }; /* 0=stop 1=acid */ int tile_acid[] = { - Xblank, 1, - Yacid_splash_eB, 1, - Yacid_splash_wB, 1, - Xacid_1, 1, - Xacid_2, 1, - Xacid_3, 1, - Xacid_4, 1, - Xacid_5, 1, - Xacid_6, 1, - Xacid_7, 1, - Xacid_8, 1, + Xblank, 1, + Yacid_splash_eB, 1, + Yacid_splash_wB, 1, + Xacid_1, 1, + Xacid_2, 1, + Xacid_3, 1, + Xacid_4, 1, + Xacid_5, 1, + Xacid_6, 1, + Xacid_7, 1, + Xacid_8, 1, TILE_MAX }; /* 0=stop 1=amoeba */ int tile_amoeba[] = { - Xdripper, 1, - XdripperB, 1, - Xamoeba_1, 1, - Xamoeba_2, 1, - Xamoeba_3, 1, - Xamoeba_4, 1, - Xamoeba_5, 1, - Xamoeba_6, 1, - Xamoeba_7, 1, - Xamoeba_8, 1, + Xdripper, 1, + XdripperB, 1, + Xamoeba_1, 1, + Xamoeba_2, 1, + Xamoeba_3, 1, + Xamoeba_4, 1, + Xamoeba_5, 1, + Xamoeba_6, 1, + Xamoeba_7, 1, + Xamoeba_8, 1, TILE_MAX }; /* 0=stop 1=move */ int tile_android_move[] = { - Xblank, 1, - Yacid_splash_eB, 1, - Yacid_splash_wB, 1, - Xplant, 1, + Xblank, 1, + Yacid_splash_eB, 1, + Yacid_splash_wB, 1, + Xplant, 1, TILE_MAX }; @@ -75,80 +75,80 @@ int tile_android_move[] = /* everything is initially filled with Xboom_1 */ int tile_explode[] = { - ZBORDER, - Znormal, - Zdynamite, - Xboom_bug, - Xboom_bomb, - Xboom_android, - Xandroid, - Xandroid_1_n, - Xandroid_2_n, - Xandroid_1_e, - Xandroid_2_e, - Xandroid_1_s, - Xandroid_2_s, - Xandroid_1_w, - Xandroid_2_w, - Xacid_ne, - Xacid_nw, - Xacid_s, - Xacid_se, - Xacid_sw, - Xacid_1, - Xacid_2, - Xacid_3, - Xacid_4, - Xacid_5, - Xacid_6, - Xacid_7, - Xacid_8, - Xdoor_1, - Xdoor_2, - Xdoor_3, - Xdoor_4, - Xdoor_5, - Xdoor_6, - Xdoor_7, - Xdoor_8, - Xplant, - Yplant, - Xfake_door_1, - Xfake_door_2, - Xfake_door_3, - Xfake_door_4, - Xfake_door_5, - Xfake_door_6, - Xfake_door_7, - Xfake_door_8, - Xsteel_1, - Xsteel_2, - Xsteel_3, - Xsteel_4, + ZBORDER, + Znormal, + Zdynamite, + Xboom_bug, + Xboom_bomb, + Xboom_android, + Xandroid, + Xandroid_1_n, + Xandroid_2_n, + Xandroid_1_e, + Xandroid_2_e, + Xandroid_1_s, + Xandroid_2_s, + Xandroid_1_w, + Xandroid_2_w, + Xacid_ne, + Xacid_nw, + Xacid_s, + Xacid_se, + Xacid_sw, + Xacid_1, + Xacid_2, + Xacid_3, + Xacid_4, + Xacid_5, + Xacid_6, + Xacid_7, + Xacid_8, + Xdoor_1, + Xdoor_2, + Xdoor_3, + Xdoor_4, + Xdoor_5, + Xdoor_6, + Xdoor_7, + Xdoor_8, + Xplant, + Yplant, + Xfake_door_1, + Xfake_door_2, + Xfake_door_3, + Xfake_door_4, + Xfake_door_5, + Xfake_door_6, + Xfake_door_7, + Xfake_door_8, + Xsteel_1, + Xsteel_2, + Xsteel_3, + Xsteel_4, TILE_MAX, /* up till here are indestructable */ - Xbug_n, Xboom_bug, - Xbug_e, Xboom_bug, - Xbug_s, Xboom_bug, - Xbug_w, Xboom_bug, - Xbug_gon, Xboom_bug, - Xbug_goe, Xboom_bug, - Xbug_gos, Xboom_bug, - Xbug_gow, Xboom_bug, - Xbomb, Xboom_bomb, - Xbomb_pause, Xboom_bomb, - Xbomb_fall, Xboom_bomb, + Xbug_n, Xboom_bug, + Xbug_e, Xboom_bug, + Xbug_s, Xboom_bug, + Xbug_w, Xboom_bug, + Xbug_gon, Xboom_bug, + Xbug_goe, Xboom_bug, + Xbug_gos, Xboom_bug, + Xbug_gow, Xboom_bug, + Xbomb, Xboom_bomb, + Xbomb_pause, Xboom_bomb, + Xbomb_fall, Xboom_bomb, TILE_MAX, /* up till here are special explosions */ - Xandroid, Xboom_android, - Xandroid_1_n, Xboom_android, - Xandroid_2_n, Xboom_android, - Xandroid_1_e, Xboom_android, - Xandroid_2_e, Xboom_android, - Xandroid_1_s, Xboom_android, - Xandroid_2_s, Xboom_android, - Xandroid_1_w, Xboom_android, - Xandroid_2_w, Xboom_android, + Xandroid, Xboom_android, + Xandroid_1_n, Xboom_android, + Xandroid_2_n, Xboom_android, + Xandroid_1_e, Xboom_android, + Xandroid_2_e, Xboom_android, + Xandroid_1_s, Xboom_android, + Xandroid_2_s, Xboom_android, + Xandroid_1_w, Xboom_android, + Xandroid_2_w, Xboom_android, TILE_MAX /* up until here are dynamite explosions */ }; @@ -163,4135 +163,4238 @@ int obj_map[] = { /* special */ - Ystone_sB, 7, - Xsand_stonein_4, 7, - -1, - Xsand_stonein_4, 5, - Xsand_stonein_4, 6, - -1, - Ystone_sB, 6, - Xsand_stonein_4, 3, - Xsand_stonein_4, 4, - -1, - Xsand_stonein_4, 1, - Xsand_stonein_4, 2, - -1, - Ystone_sB, 5, - Xsand_stonein_3, 7, - Xsand_stonein_4, 0, - -1, - Xsand_stonein_3, 5, - Xsand_stonein_3, 6, - -1, - Ystone_sB, 4, - Xsand_stonein_3, 3, - Xsand_stonein_3, 4, - -1, - Xsand_stonein_3, 1, - Xsand_stonein_3, 2, - -1, - Ystone_sB, 3, - Xsand_stonein_2, 7, - Xsand_stonein_3, 0, - -1, - Xsand_stonein_2, 5, - Xsand_stonein_2, 6, - -1, - Ystone_sB, 2, - Xsand_stonein_2, 3, - Xsand_stonein_2, 4, - -1, - Xsand_stonein_2, 1, - Xsand_stonein_2, 2, - -1, - Ystone_sB, 1, - Xsand_stonein_1, 7, - Xsand_stonein_2, 0, - -1, - Xsand_stonein_1, 5, - Xsand_stonein_1, 6, - -1, - Ystone_sB, 0, - Xsand_stonein_1, 3, - Xsand_stonein_1, 4, - -1, - Xsand_stonein_1, 1, - Xsand_stonein_1, 2, - -1, - Xstone, 0, - Xstone, 1, - Xstone, 2, - Xstone, 3, - Xstone, 4, - Xstone, 5, - Xstone, 6, - Xstone, 7, - Xstone_pause, 0, - Xstone_pause, 1, - Xstone_pause, 2, - Xstone_pause, 3, - Xstone_pause, 4, - Xstone_pause, 5, - Xstone_pause, 6, - Xstone_pause, 7, - Xstone_fall, 0, - Xstone_fall, 1, - Xstone_fall, 2, - Xstone_fall, 3, - Xstone_fall, 4, - Xstone_fall, 5, - Xstone_fall, 6, - Xstone_fall, 7, + Ystone_sB, 7, + Xsand_stonein_4, 7, + -1, + Xsand_stonein_4, 5, + Xsand_stonein_4, 6, + -1, + Ystone_sB, 6, + Xsand_stonein_4, 3, + Xsand_stonein_4, 4, + -1, + Xsand_stonein_4, 1, + Xsand_stonein_4, 2, + -1, + Ystone_sB, 5, + Xsand_stonein_3, 7, + Xsand_stonein_4, 0, + -1, + Xsand_stonein_3, 5, + Xsand_stonein_3, 6, + -1, + Ystone_sB, 4, + Xsand_stonein_3, 3, + Xsand_stonein_3, 4, + -1, + Xsand_stonein_3, 1, + Xsand_stonein_3, 2, + -1, + Ystone_sB, 3, + Xsand_stonein_2, 7, + Xsand_stonein_3, 0, + -1, + Xsand_stonein_2, 5, + Xsand_stonein_2, 6, + -1, + Ystone_sB, 2, + Xsand_stonein_2, 3, + Xsand_stonein_2, 4, + -1, + Xsand_stonein_2, 1, + Xsand_stonein_2, 2, + -1, + Ystone_sB, 1, + Xsand_stonein_1, 7, + Xsand_stonein_2, 0, + -1, + Xsand_stonein_1, 5, + Xsand_stonein_1, 6, + -1, + Ystone_sB, 0, + Xsand_stonein_1, 3, + Xsand_stonein_1, 4, + -1, + Xsand_stonein_1, 1, + Xsand_stonein_1, 2, + -1, + Xstone, 0, + Xstone, 1, + Xstone, 2, + Xstone, 3, + Xstone, 4, + Xstone, 5, + Xstone, 6, + Xstone, 7, + Xstone_pause, 0, + Xstone_pause, 1, + Xstone_pause, 2, + Xstone_pause, 3, + Xstone_pause, 4, + Xstone_pause, 5, + Xstone_pause, 6, + Xstone_pause, 7, + Xstone_fall, 0, + Xstone_fall, 1, + Xstone_fall, 2, + Xstone_fall, 3, + Xstone_fall, 4, + Xstone_fall, 5, + Xstone_fall, 6, + Xstone_fall, 7, #ifdef BAD_ROLL - Xstone_force_e, 0, - Xstone_force_e, 1, - Xstone_force_e, 2, - Xstone_force_e, 3, - Xstone_force_e, 4, - Xstone_force_e, 5, - Xstone_force_e, 6, - Xstone_force_e, 7, - Xstone_force_w, 0, - Xstone_force_w, 1, - Xstone_force_w, 2, - Xstone_force_w, 3, - Xstone_force_w, 4, - Xstone_force_w, 5, - Xstone_force_w, 6, - Xstone_force_w, 7, + Xstone_force_e, 0, + Xstone_force_e, 1, + Xstone_force_e, 2, + Xstone_force_e, 3, + Xstone_force_e, 4, + Xstone_force_e, 5, + Xstone_force_e, 6, + Xstone_force_e, 7, + Xstone_force_w, 0, + Xstone_force_w, 1, + Xstone_force_w, 2, + Xstone_force_w, 3, + Xstone_force_w, 4, + Xstone_force_w, 5, + Xstone_force_w, 6, + Xstone_force_w, 7, #endif - Ystone_s, 7, - Xsand_stoneout_2, 7, - Xsand_stonein_1, 0, - Ystone_e, 7, - Ystone_w, 7, - Ydiamond_stone, 7, - -1, - -1, - Ystone_s, 6, - Xsand_stoneout_2, 6, - -1, - -1, - Ystone_s, 5, - Xsand_stoneout_2, 5, - -1, - -1, - Ystone_s, 4, - Xsand_stoneout_2, 4, - -1, - Xsand_stoneout_2, 3, - -1, - Ystone_s, 3, - Xsand_stoneout_2, 2, - -1, - Xsand_stoneout_2, 1, - -1, - Ystone_s, 2, - Xsand_stoneout_2, 0, - -1, - Xsand_stoneout_1, 7, - Xsand_stoneout_1, 6, - -1, - Ystone_s, 1, - Xsand_stoneout_1, 5, - -1, - Xsand_stoneout_1, 4, - Xsand_stoneout_1, 3, - -1, - Ystone_s, 0, - Xsand_stoneout_1, 2, - -1, - Xsand_stoneout_1, 1, - Xsand_stoneout_1, 0, - -1, - Ynut_sB, 7, - -1, - -1, - Ynut_sB, 6, - -1, - -1, - Ynut_sB, 5, - -1, - -1, - Ynut_sB, 4, - -1, - -1, - Ynut_sB, 3, - -1, - -1, - Ynut_sB, 2, - -1, - -1, - Ynut_sB, 1, - -1, - -1, - Ynut_sB, 0, - -1, - -1, - Ynut_s, 7, - Ynut_e, 7, - Ynut_w, 7, - Xnut, 0, - Xnut, 1, - Xnut, 2, - Xnut, 3, - Xnut, 4, - Xnut, 5, - Xnut, 6, - Xnut, 7, - Xnut_pause, 0, - Xnut_pause, 1, - Xnut_pause, 2, - Xnut_pause, 3, - Xnut_pause, 4, - Xnut_pause, 5, - Xnut_pause, 6, - Xnut_pause, 7, - Xnut_fall, 0, - Xnut_fall, 1, - Xnut_fall, 2, - Xnut_fall, 3, - Xnut_fall, 4, - Xnut_fall, 5, - Xnut_fall, 6, - Xnut_fall, 7, + Ystone_s, 7, + Xsand_stoneout_2, 7, + Xsand_stonein_1, 0, + Ystone_e, 7, + Ystone_w, 7, + Ydiamond_stone, 7, + -1, + -1, + Ystone_s, 6, + Xsand_stoneout_2, 6, + -1, + -1, + Ystone_s, 5, + Xsand_stoneout_2, 5, + -1, + -1, + Ystone_s, 4, + Xsand_stoneout_2, 4, + -1, + Xsand_stoneout_2, 3, + -1, + Ystone_s, 3, + Xsand_stoneout_2, 2, + -1, + Xsand_stoneout_2, 1, + -1, + Ystone_s, 2, + Xsand_stoneout_2, 0, + -1, + Xsand_stoneout_1, 7, + Xsand_stoneout_1, 6, + -1, + Ystone_s, 1, + Xsand_stoneout_1, 5, + -1, + Xsand_stoneout_1, 4, + Xsand_stoneout_1, 3, + -1, + Ystone_s, 0, + Xsand_stoneout_1, 2, + -1, + Xsand_stoneout_1, 1, + Xsand_stoneout_1, 0, + -1, + Ynut_sB, 7, + -1, + -1, + Ynut_sB, 6, + -1, + -1, + Ynut_sB, 5, + -1, + -1, + Ynut_sB, 4, + -1, + -1, + Ynut_sB, 3, + -1, + -1, + Ynut_sB, 2, + -1, + -1, + Ynut_sB, 1, + -1, + -1, + Ynut_sB, 0, + -1, + -1, + Ynut_s, 7, + Ynut_e, 7, + Ynut_w, 7, + Xnut, 0, + Xnut, 1, + Xnut, 2, + Xnut, 3, + Xnut, 4, + Xnut, 5, + Xnut, 6, + Xnut, 7, + Xnut_pause, 0, + Xnut_pause, 1, + Xnut_pause, 2, + Xnut_pause, 3, + Xnut_pause, 4, + Xnut_pause, 5, + Xnut_pause, 6, + Xnut_pause, 7, + Xnut_fall, 0, + Xnut_fall, 1, + Xnut_fall, 2, + Xnut_fall, 3, + Xnut_fall, 4, + Xnut_fall, 5, + Xnut_fall, 6, + Xnut_fall, 7, #ifdef BAD_ROLL - Xnut_force_e, 0, - Xnut_force_e, 1, - Xnut_force_e, 2, - Xnut_force_e, 3, - Xnut_force_e, 4, - Xnut_force_e, 5, - Xnut_force_e, 6, - Xnut_force_e, 7, - Xnut_force_w, 0, - Xnut_force_w, 1, - Xnut_force_w, 2, - Xnut_force_w, 3, - Xnut_force_w, 4, - Xnut_force_w, 5, - Xnut_force_w, 6, - Xnut_force_w, 7, + Xnut_force_e, 0, + Xnut_force_e, 1, + Xnut_force_e, 2, + Xnut_force_e, 3, + Xnut_force_e, 4, + Xnut_force_e, 5, + Xnut_force_e, 6, + Xnut_force_e, 7, + Xnut_force_w, 0, + Xnut_force_w, 1, + Xnut_force_w, 2, + Xnut_force_w, 3, + Xnut_force_w, 4, + Xnut_force_w, 5, + Xnut_force_w, 6, + Xnut_force_w, 7, #endif - -1, - -1, - Ynut_s, 6, - -1, - -1, - Ynut_s, 5, - -1, - -1, - Ynut_s, 4, - -1, - -1, - Ynut_s, 3, - -1, - -1, - Ynut_s, 2, - -1, - -1, - Ynut_s, 1, - -1, - -1, - Ynut_s, 0, - -1, - -1, + -1, + -1, + Ynut_s, 6, + -1, + -1, + Ynut_s, 5, + -1, + -1, + Ynut_s, 4, + -1, + -1, + Ynut_s, 3, + -1, + -1, + Ynut_s, 2, + -1, + -1, + Ynut_s, 1, + -1, + -1, + Ynut_s, 0, + -1, + -1, /* normal */ - Xblank, 0, - Xblank, 1, - Xblank, 2, - Xblank, 3, - Xblank, 4, - Xblank, 5, - Xblank, 6, - Xblank, 7, - Xfake_blank, 0, - Xfake_blank, 1, - Xfake_blank, 2, - Xfake_blank, 3, - Xfake_blank, 4, - Xfake_blank, 5, - Xfake_blank, 6, - Xfake_blank, 7, - Xdripper, 0, - Xdripper, 1, - Xdripper, 2, - Xdripper, 3, - Xdripper, 4, - Xdripper, 5, - Xdripper, 6, - Xdripper, 7, - Zplayer, 0, - Zplayer, 1, - Zplayer, 2, - Zplayer, 3, - Zplayer, 4, - Zplayer, 5, - Zplayer, 6, - Zplayer, 7, - Ydynamite_eat, 3, - Ydynamite_eat, 4, - Ydynamite_eat, 5, - Ydynamite_eat, 6, - Ydynamite_eat, 7, - -1, - -1, - -1, - -1, - -1, + Xblank, 0, + Xblank, 1, + Xblank, 2, + Xblank, 3, + Xblank, 4, + Xblank, 5, + Xblank, 6, + Xblank, 7, + Xfake_blank, 0, + Xfake_blank, 1, + Xfake_blank, 2, + Xfake_blank, 3, + Xfake_blank, 4, + Xfake_blank, 5, + Xfake_blank, 6, + Xfake_blank, 7, + Xdripper, 0, + Xdripper, 1, + Xdripper, 2, + Xdripper, 3, + Xdripper, 4, + Xdripper, 5, + Xdripper, 6, + Xdripper, 7, + Zplayer, 0, + Zplayer, 1, + Zplayer, 2, + Zplayer, 3, + Zplayer, 4, + Zplayer, 5, + Zplayer, 6, + Zplayer, 7, + Ydynamite_eat, 3, + Ydynamite_eat, 4, + Ydynamite_eat, 5, + Ydynamite_eat, 6, + Ydynamite_eat, 7, + -1, + -1, + -1, + -1, + -1, - Ystone_eB, 6, - Ystone_w, 0, - -1, - Ystone_e, 6, - Ystone_wB, 0, - -1, - Ystone_eB, 5, - Ystone_w, 1, - -1, - Ystone_e, 5, - Ystone_wB, 1, - -1, - Ystone_eB, 4, - Ystone_w, 2, - -1, - Ystone_e, 4, - Ystone_wB, 2, - -1, - Ystone_eB, 3, - Ystone_w, 3, - -1, - Ystone_e, 3, - Ystone_wB, 3, - -1, - Ystone_eB, 2, - Ystone_w, 4, - -1, - Ystone_e, 2, - Ystone_wB, 4, - -1, - Ystone_eB, 1, - Ystone_w, 5, - -1, - Ystone_e, 1, - Ystone_wB, 5, - -1, - Ystone_eB, 0, - Ystone_w, 6, - -1, - Ystone_e, 0, - Ystone_wB, 6, - -1, + Ystone_eB, 6, + Ystone_w, 0, + -1, + Ystone_e, 6, + Ystone_wB, 0, + -1, + Ystone_eB, 5, + Ystone_w, 1, + -1, + Ystone_e, 5, + Ystone_wB, 1, + -1, + Ystone_eB, 4, + Ystone_w, 2, + -1, + Ystone_e, 4, + Ystone_wB, 2, + -1, + Ystone_eB, 3, + Ystone_w, 3, + -1, + Ystone_e, 3, + Ystone_wB, 3, + -1, + Ystone_eB, 2, + Ystone_w, 4, + -1, + Ystone_e, 2, + Ystone_wB, 4, + -1, + Ystone_eB, 1, + Ystone_w, 5, + -1, + Ystone_e, 1, + Ystone_wB, 5, + -1, + Ystone_eB, 0, + Ystone_w, 6, + -1, + Ystone_e, 0, + Ystone_wB, 6, + -1, - Ynut_eB, 6, - Ynut_w, 0, - -1, - Ynut_e, 6, - Ynut_wB, 0, - -1, - Ynut_eB, 5, - Ynut_w, 1, - -1, - Ynut_e, 5, - Ynut_wB, 1, - -1, - Ynut_eB, 4, - Ynut_w, 2, - -1, - Ynut_e, 4, - Ynut_wB, 2, - -1, - Ynut_eB, 3, - Ynut_w, 3, - -1, - Ynut_e, 3, - Ynut_wB, 3, - -1, - Ynut_eB, 2, - Ynut_w, 4, - -1, - Ynut_e, 2, - Ynut_wB, 4, - -1, - Ynut_eB, 1, - Ynut_w, 5, - -1, - Ynut_e, 1, - Ynut_wB, 5, - -1, - Ynut_eB, 0, - Ynut_w, 6, - -1, - Ynut_e, 0, - Ynut_wB, 6, - -1, + Ynut_eB, 6, + Ynut_w, 0, + -1, + Ynut_e, 6, + Ynut_wB, 0, + -1, + Ynut_eB, 5, + Ynut_w, 1, + -1, + Ynut_e, 5, + Ynut_wB, 1, + -1, + Ynut_eB, 4, + Ynut_w, 2, + -1, + Ynut_e, 4, + Ynut_wB, 2, + -1, + Ynut_eB, 3, + Ynut_w, 3, + -1, + Ynut_e, 3, + Ynut_wB, 3, + -1, + Ynut_eB, 2, + Ynut_w, 4, + -1, + Ynut_e, 2, + Ynut_wB, 4, + -1, + Ynut_eB, 1, + Ynut_w, 5, + -1, + Ynut_e, 1, + Ynut_wB, 5, + -1, + Ynut_eB, 0, + Ynut_w, 6, + -1, + Ynut_e, 0, + Ynut_wB, 6, + -1, - Ybug_w_n, 7, - Ybug_e_n, 7, - Ybug_n, 7, - Xbug_n, 0, - Xbug_n, 1, - Xbug_n, 2, - Xbug_n, 3, - Xbug_n, 4, - Xbug_n, 5, - Xbug_n, 6, - Xbug_n, 7, - Xbug_gon, 0, - Xbug_gon, 1, - Xbug_gon, 2, - Xbug_gon, 3, - Xbug_gon, 4, - Xbug_gon, 5, - Xbug_gon, 6, - Xbug_gon, 7, - -1, - Ybug_n_e, 7, - Ybug_s_e, 7, - Ybug_e, 7, - Xbug_e, 0, - Xbug_e, 1, - Xbug_e, 2, - Xbug_e, 3, - Xbug_e, 4, - Xbug_e, 5, - Xbug_e, 6, - Xbug_e, 7, - Xbug_goe, 0, - Xbug_goe, 1, - Xbug_goe, 2, - Xbug_goe, 3, - Xbug_goe, 4, - Xbug_goe, 5, - Xbug_goe, 6, - Xbug_goe, 7, - -1, - Ybug_e_s, 7, - Ybug_w_s, 7, - Ybug_s, 7, - Xbug_s, 0, - Xbug_s, 1, - Xbug_s, 2, - Xbug_s, 3, - Xbug_s, 4, - Xbug_s, 5, - Xbug_s, 6, - Xbug_s, 7, - Xbug_gos, 0, - Xbug_gos, 1, - Xbug_gos, 2, - Xbug_gos, 3, - Xbug_gos, 4, - Xbug_gos, 5, - Xbug_gos, 6, - Xbug_gos, 7, - -1, - Ybug_n_w, 7, - Ybug_s_w, 7, - Ybug_w, 7, - Xbug_w, 0, - Xbug_w, 1, - Xbug_w, 2, - Xbug_w, 3, - Xbug_w, 4, - Xbug_w, 5, - Xbug_w, 6, - Xbug_w, 7, - Xbug_gow, 0, - Xbug_gow, 1, - Xbug_gow, 2, - Xbug_gow, 3, - Xbug_gow, 4, - Xbug_gow, 5, - Xbug_gow, 6, - Xbug_gow, 7, - -1, - Ybug_n, 0, - -1, - Ybug_nB, 0, - -1, - Ybug_n, 1, - -1, - Ybug_nB, 1, - -1, - Ybug_n, 2, - -1, - Ybug_nB, 2, - -1, - Ybug_n, 3, - -1, - Ybug_nB, 3, - -1, - Ybug_n, 4, - -1, - Ybug_nB, 4, - -1, - Ybug_n, 5, - -1, - Ybug_nB, 5, - -1, - Ybug_n, 6, - -1, - Ybug_nB, 6, - -1, - Ybug_eB, 6, - -1, - Ybug_e, 6, - -1, - Ybug_eB, 5, - -1, - Ybug_e, 5, - -1, - Ybug_eB, 4, - -1, - Ybug_e, 4, - -1, - Ybug_eB, 3, - -1, - Ybug_e, 3, - -1, - Ybug_eB, 2, - -1, - Ybug_e, 2, - -1, - Ybug_eB, 1, - -1, - Ybug_e, 1, - -1, - Ybug_eB, 0, - -1, - Ybug_e, 0, - -1, - Ybug_sB, 6, - -1, - Ybug_s, 6, - -1, - Ybug_sB, 5, - -1, - Ybug_s, 5, - -1, - Ybug_sB, 4, - -1, - Ybug_s, 4, - -1, - Ybug_sB, 3, - -1, - Ybug_s, 3, - -1, - Ybug_sB, 2, - -1, - Ybug_s, 2, - -1, - Ybug_sB, 1, - -1, - Ybug_s, 1, - -1, - Ybug_sB, 0, - -1, - Ybug_s, 0, - -1, - Ybug_w, 0, - -1, - Ybug_wB, 0, - -1, - Ybug_w, 1, - -1, - Ybug_wB, 1, - -1, - Ybug_w, 2, - -1, - Ybug_wB, 2, - -1, - Ybug_w, 3, - -1, - Ybug_wB, 3, - -1, - Ybug_w, 4, - -1, - Ybug_wB, 4, - -1, - Ybug_w, 5, - -1, - Ybug_wB, 5, - -1, - Ybug_w, 6, - -1, - Ybug_wB, 6, - -1, - Ybug_n_e, 0, - Ybug_e_n, 6, - -1, - Ybug_n_e, 1, - Ybug_e_n, 5, - -1, - Ybug_n_e, 2, - Ybug_e_n, 4, - -1, - Ybug_n_e, 3, - Ybug_e_n, 3, - -1, - Ybug_n_e, 4, - Ybug_e_n, 2, - -1, - Ybug_n_e, 5, - Ybug_e_n, 1, - -1, - Ybug_n_e, 6, - Ybug_e_n, 0, - -1, - Ybug_e_s, 0, - Ybug_s_e, 6, - -1, - Ybug_e_s, 1, - Ybug_s_e, 5, - -1, - Ybug_e_s, 2, - Ybug_s_e, 4, - -1, - Ybug_e_s, 3, - Ybug_s_e, 3, - -1, - Ybug_e_s, 4, - Ybug_s_e, 2, - -1, - Ybug_e_s, 5, - Ybug_s_e, 1, - -1, - Ybug_e_s, 6, - Ybug_s_e, 0, - -1, - Ybug_s_w, 0, - Ybug_w_s, 6, - -1, - Ybug_s_w, 1, - Ybug_w_s, 5, - -1, - Ybug_s_w, 2, - Ybug_w_s, 4, - -1, - Ybug_s_w, 3, - Ybug_w_s, 3, - -1, - Ybug_s_w, 4, - Ybug_w_s, 2, - -1, - Ybug_s_w, 5, - Ybug_w_s, 1, - -1, - Ybug_s_w, 6, - Ybug_w_s, 0, - -1, - Ybug_n_w, 6, - Ybug_w_n, 0, - -1, - Ybug_n_w, 5, - Ybug_w_n, 1, - -1, - Ybug_n_w, 4, - Ybug_w_n, 2, - -1, - Ybug_n_w, 3, - Ybug_w_n, 3, - -1, - Ybug_n_w, 2, - Ybug_w_n, 4, - -1, - Ybug_n_w, 1, - Ybug_w_n, 5, - -1, - Ybug_n_w, 0, - Ybug_w_n, 6, - -1, - Ybug_stone, 0, - -1, - Ybug_stone, 1, - -1, - Ybug_stone, 2, - -1, - Ybug_stone, 3, - -1, - Ybug_stone, 4, - -1, - Ybug_stone, 5, - -1, - Ybug_stone, 6, - -1, - Ybug_spring, 0, - -1, - Ybug_spring, 1, - -1, - Ybug_spring, 2, - -1, - Ybug_spring, 3, - -1, - Ybug_spring, 4, - -1, - Ybug_spring, 5, - -1, - Ybug_spring, 6, - -1, + Ybug_w_n, 7, + Ybug_e_n, 7, + Ybug_n, 7, + Xbug_n, 0, + Xbug_n, 1, + Xbug_n, 2, + Xbug_n, 3, + Xbug_n, 4, + Xbug_n, 5, + Xbug_n, 6, + Xbug_n, 7, + Xbug_gon, 0, + Xbug_gon, 1, + Xbug_gon, 2, + Xbug_gon, 3, + Xbug_gon, 4, + Xbug_gon, 5, + Xbug_gon, 6, + Xbug_gon, 7, + -1, + Ybug_n_e, 7, + Ybug_s_e, 7, + Ybug_e, 7, + Xbug_e, 0, + Xbug_e, 1, + Xbug_e, 2, + Xbug_e, 3, + Xbug_e, 4, + Xbug_e, 5, + Xbug_e, 6, + Xbug_e, 7, + Xbug_goe, 0, + Xbug_goe, 1, + Xbug_goe, 2, + Xbug_goe, 3, + Xbug_goe, 4, + Xbug_goe, 5, + Xbug_goe, 6, + Xbug_goe, 7, + -1, + Ybug_e_s, 7, + Ybug_w_s, 7, + Ybug_s, 7, + Xbug_s, 0, + Xbug_s, 1, + Xbug_s, 2, + Xbug_s, 3, + Xbug_s, 4, + Xbug_s, 5, + Xbug_s, 6, + Xbug_s, 7, + Xbug_gos, 0, + Xbug_gos, 1, + Xbug_gos, 2, + Xbug_gos, 3, + Xbug_gos, 4, + Xbug_gos, 5, + Xbug_gos, 6, + Xbug_gos, 7, + -1, + Ybug_n_w, 7, + Ybug_s_w, 7, + Ybug_w, 7, + Xbug_w, 0, + Xbug_w, 1, + Xbug_w, 2, + Xbug_w, 3, + Xbug_w, 4, + Xbug_w, 5, + Xbug_w, 6, + Xbug_w, 7, + Xbug_gow, 0, + Xbug_gow, 1, + Xbug_gow, 2, + Xbug_gow, 3, + Xbug_gow, 4, + Xbug_gow, 5, + Xbug_gow, 6, + Xbug_gow, 7, + -1, + Ybug_n, 0, + -1, + Ybug_nB, 0, + -1, + Ybug_n, 1, + -1, + Ybug_nB, 1, + -1, + Ybug_n, 2, + -1, + Ybug_nB, 2, + -1, + Ybug_n, 3, + -1, + Ybug_nB, 3, + -1, + Ybug_n, 4, + -1, + Ybug_nB, 4, + -1, + Ybug_n, 5, + -1, + Ybug_nB, 5, + -1, + Ybug_n, 6, + -1, + Ybug_nB, 6, + -1, + Ybug_eB, 6, + -1, + Ybug_e, 6, + -1, + Ybug_eB, 5, + -1, + Ybug_e, 5, + -1, + Ybug_eB, 4, + -1, + Ybug_e, 4, + -1, + Ybug_eB, 3, + -1, + Ybug_e, 3, + -1, + Ybug_eB, 2, + -1, + Ybug_e, 2, + -1, + Ybug_eB, 1, + -1, + Ybug_e, 1, + -1, + Ybug_eB, 0, + -1, + Ybug_e, 0, + -1, + Ybug_sB, 6, + -1, + Ybug_s, 6, + -1, + Ybug_sB, 5, + -1, + Ybug_s, 5, + -1, + Ybug_sB, 4, + -1, + Ybug_s, 4, + -1, + Ybug_sB, 3, + -1, + Ybug_s, 3, + -1, + Ybug_sB, 2, + -1, + Ybug_s, 2, + -1, + Ybug_sB, 1, + -1, + Ybug_s, 1, + -1, + Ybug_sB, 0, + -1, + Ybug_s, 0, + -1, + Ybug_w, 0, + -1, + Ybug_wB, 0, + -1, + Ybug_w, 1, + -1, + Ybug_wB, 1, + -1, + Ybug_w, 2, + -1, + Ybug_wB, 2, + -1, + Ybug_w, 3, + -1, + Ybug_wB, 3, + -1, + Ybug_w, 4, + -1, + Ybug_wB, 4, + -1, + Ybug_w, 5, + -1, + Ybug_wB, 5, + -1, + Ybug_w, 6, + -1, + Ybug_wB, 6, + -1, + Ybug_n_e, 0, + Ybug_e_n, 6, + -1, + Ybug_n_e, 1, + Ybug_e_n, 5, + -1, + Ybug_n_e, 2, + Ybug_e_n, 4, + -1, + Ybug_n_e, 3, + Ybug_e_n, 3, + -1, + Ybug_n_e, 4, + Ybug_e_n, 2, + -1, + Ybug_n_e, 5, + Ybug_e_n, 1, + -1, + Ybug_n_e, 6, + Ybug_e_n, 0, + -1, + Ybug_e_s, 0, + Ybug_s_e, 6, + -1, + Ybug_e_s, 1, + Ybug_s_e, 5, + -1, + Ybug_e_s, 2, + Ybug_s_e, 4, + -1, + Ybug_e_s, 3, + Ybug_s_e, 3, + -1, + Ybug_e_s, 4, + Ybug_s_e, 2, + -1, + Ybug_e_s, 5, + Ybug_s_e, 1, + -1, + Ybug_e_s, 6, + Ybug_s_e, 0, + -1, + Ybug_s_w, 0, + Ybug_w_s, 6, + -1, + Ybug_s_w, 1, + Ybug_w_s, 5, + -1, + Ybug_s_w, 2, + Ybug_w_s, 4, + -1, + Ybug_s_w, 3, + Ybug_w_s, 3, + -1, + Ybug_s_w, 4, + Ybug_w_s, 2, + -1, + Ybug_s_w, 5, + Ybug_w_s, 1, + -1, + Ybug_s_w, 6, + Ybug_w_s, 0, + -1, + Ybug_n_w, 6, + Ybug_w_n, 0, + -1, + Ybug_n_w, 5, + Ybug_w_n, 1, + -1, + Ybug_n_w, 4, + Ybug_w_n, 2, + -1, + Ybug_n_w, 3, + Ybug_w_n, 3, + -1, + Ybug_n_w, 2, + Ybug_w_n, 4, + -1, + Ybug_n_w, 1, + Ybug_w_n, 5, + -1, + Ybug_n_w, 0, + Ybug_w_n, 6, + -1, + Ybug_stone, 0, + -1, + Ybug_stone, 1, + -1, + Ybug_stone, 2, + -1, + Ybug_stone, 3, + -1, + Ybug_stone, 4, + -1, + Ybug_stone, 5, + -1, + Ybug_stone, 6, + -1, + Ybug_spring, 0, + -1, + Ybug_spring, 1, + -1, + Ybug_spring, 2, + -1, + Ybug_spring, 3, + -1, + Ybug_spring, 4, + -1, + Ybug_spring, 5, + -1, + Ybug_spring, 6, + -1, - Ytank_w_n, 7, - Ytank_e_n, 7, - Ytank_n, 7, - Xtank_n, 0, - Xtank_n, 1, - Xtank_n, 2, - Xtank_n, 3, - Xtank_n, 4, - Xtank_n, 5, - Xtank_n, 6, - Xtank_n, 7, - Xtank_gon, 0, - Xtank_gon, 1, - Xtank_gon, 2, - Xtank_gon, 3, - Xtank_gon, 4, - Xtank_gon, 5, - Xtank_gon, 6, - Xtank_gon, 7, - -1, - Ytank_n_e, 7, - Ytank_s_e, 7, - Ytank_e, 7, - Xtank_e, 0, - Xtank_e, 1, - Xtank_e, 2, - Xtank_e, 3, - Xtank_e, 4, - Xtank_e, 5, - Xtank_e, 6, - Xtank_e, 7, - Xtank_goe, 0, - Xtank_goe, 1, - Xtank_goe, 2, - Xtank_goe, 3, - Xtank_goe, 4, - Xtank_goe, 5, - Xtank_goe, 6, - Xtank_goe, 7, - -1, - Ytank_e_s, 7, - Ytank_w_s, 7, - Ytank_s, 7, - Xtank_s, 0, - Xtank_s, 1, - Xtank_s, 2, - Xtank_s, 3, - Xtank_s, 4, - Xtank_s, 5, - Xtank_s, 6, - Xtank_s, 7, - Xtank_gos, 0, - Xtank_gos, 1, - Xtank_gos, 2, - Xtank_gos, 3, - Xtank_gos, 4, - Xtank_gos, 5, - Xtank_gos, 6, - Xtank_gos, 7, - -1, - Ytank_n_w, 7, - Ytank_s_w, 7, - Ytank_w, 7, - Xtank_w, 0, - Xtank_w, 1, - Xtank_w, 2, - Xtank_w, 3, - Xtank_w, 4, - Xtank_w, 5, - Xtank_w, 6, - Xtank_w, 7, - Xtank_gow, 0, - Xtank_gow, 1, - Xtank_gow, 2, - Xtank_gow, 3, - Xtank_gow, 4, - Xtank_gow, 5, - Xtank_gow, 6, - Xtank_gow, 7, - -1, - Ytank_n, 0, - -1, - Ytank_nB, 0, - -1, - Ytank_n, 1, - -1, - Ytank_nB, 1, - -1, - Ytank_n, 2, - -1, - Ytank_nB, 2, - -1, - Ytank_n, 3, - -1, - Ytank_nB, 3, - -1, - Ytank_n, 4, - -1, - Ytank_nB, 4, - -1, - Ytank_n, 5, - -1, - Ytank_nB, 5, - -1, - Ytank_n, 6, - -1, - Ytank_nB, 6, - -1, - Ytank_eB, 6, - -1, - Ytank_e, 6, - -1, - Ytank_eB, 5, - -1, - Ytank_e, 5, - -1, - Ytank_eB, 4, - -1, - Ytank_e, 4, - -1, - Ytank_eB, 3, - -1, - Ytank_e, 3, - -1, - Ytank_eB, 2, - -1, - Ytank_e, 2, - -1, - Ytank_eB, 1, - -1, - Ytank_e, 1, - -1, - Ytank_eB, 0, - -1, - Ytank_e, 0, - -1, - Ytank_sB, 6, - -1, - Ytank_s, 6, - -1, - Ytank_sB, 5, - -1, - Ytank_s, 5, - -1, - Ytank_sB, 4, - -1, - Ytank_s, 4, - -1, - Ytank_sB, 3, - -1, - Ytank_s, 3, - -1, - Ytank_sB, 2, - -1, - Ytank_s, 2, - -1, - Ytank_sB, 1, - -1, - Ytank_s, 1, - -1, - Ytank_sB, 0, - -1, - Ytank_s, 0, - -1, - Ytank_w, 0, - -1, - Ytank_wB, 0, - -1, - Ytank_w, 1, - -1, - Ytank_wB, 1, - -1, - Ytank_w, 2, - -1, - Ytank_wB, 2, - -1, - Ytank_w, 3, - -1, - Ytank_wB, 3, - -1, - Ytank_w, 4, - -1, - Ytank_wB, 4, - -1, - Ytank_w, 5, - -1, - Ytank_wB, 5, - -1, - Ytank_w, 6, - -1, - Ytank_wB, 6, - -1, - Ytank_n_e, 0, - Ytank_e_n, 6, - -1, - Ytank_n_e, 1, - Ytank_e_n, 5, - -1, - Ytank_n_e, 2, - Ytank_e_n, 4, - -1, - Ytank_n_e, 3, - Ytank_e_n, 3, - -1, - Ytank_n_e, 4, - Ytank_e_n, 2, - -1, - Ytank_n_e, 5, - Ytank_e_n, 1, - -1, - Ytank_n_e, 6, - Ytank_e_n, 0, - -1, - Ytank_e_s, 0, - Ytank_s_e, 6, - -1, - Ytank_e_s, 1, - Ytank_s_e, 5, - -1, - Ytank_e_s, 2, - Ytank_s_e, 4, - -1, - Ytank_e_s, 3, - Ytank_s_e, 3, - -1, - Ytank_e_s, 4, - Ytank_s_e, 2, - -1, - Ytank_e_s, 5, - Ytank_s_e, 1, - -1, - Ytank_e_s, 6, - Ytank_s_e, 0, - -1, - Ytank_s_w, 0, - Ytank_w_s, 6, - -1, - Ytank_s_w, 1, - Ytank_w_s, 5, - -1, - Ytank_s_w, 2, - Ytank_w_s, 4, - -1, - Ytank_s_w, 3, - Ytank_w_s, 3, - -1, - Ytank_s_w, 4, - Ytank_w_s, 2, - -1, - Ytank_s_w, 5, - Ytank_w_s, 1, - -1, - Ytank_s_w, 6, - Ytank_w_s, 0, - -1, - Ytank_n_w, 6, - Ytank_w_n, 0, - -1, - Ytank_n_w, 5, - Ytank_w_n, 1, - -1, - Ytank_n_w, 4, - Ytank_w_n, 2, - -1, - Ytank_n_w, 3, - Ytank_w_n, 3, - -1, - Ytank_n_w, 2, - Ytank_w_n, 4, - -1, - Ytank_n_w, 1, - Ytank_w_n, 5, - -1, - Ytank_n_w, 0, - Ytank_w_n, 6, - -1, - Ytank_stone, 0, - -1, - Ytank_stone, 1, - -1, - Ytank_stone, 2, - -1, - Ytank_stone, 3, - -1, - Ytank_stone, 4, - -1, - Ytank_stone, 5, - -1, - Ytank_stone, 6, - -1, - Ytank_spring, 0, - -1, - Ytank_spring, 1, - -1, - Ytank_spring, 2, - -1, - Ytank_spring, 3, - -1, - Ytank_spring, 4, - -1, - Ytank_spring, 5, - -1, - Ytank_spring, 6, - -1, + Ytank_w_n, 7, + Ytank_e_n, 7, + Ytank_n, 7, + Xtank_n, 0, + Xtank_n, 1, + Xtank_n, 2, + Xtank_n, 3, + Xtank_n, 4, + Xtank_n, 5, + Xtank_n, 6, + Xtank_n, 7, + Xtank_gon, 0, + Xtank_gon, 1, + Xtank_gon, 2, + Xtank_gon, 3, + Xtank_gon, 4, + Xtank_gon, 5, + Xtank_gon, 6, + Xtank_gon, 7, + -1, + Ytank_n_e, 7, + Ytank_s_e, 7, + Ytank_e, 7, + Xtank_e, 0, + Xtank_e, 1, + Xtank_e, 2, + Xtank_e, 3, + Xtank_e, 4, + Xtank_e, 5, + Xtank_e, 6, + Xtank_e, 7, + Xtank_goe, 0, + Xtank_goe, 1, + Xtank_goe, 2, + Xtank_goe, 3, + Xtank_goe, 4, + Xtank_goe, 5, + Xtank_goe, 6, + Xtank_goe, 7, + -1, + Ytank_e_s, 7, + Ytank_w_s, 7, + Ytank_s, 7, + Xtank_s, 0, + Xtank_s, 1, + Xtank_s, 2, + Xtank_s, 3, + Xtank_s, 4, + Xtank_s, 5, + Xtank_s, 6, + Xtank_s, 7, + Xtank_gos, 0, + Xtank_gos, 1, + Xtank_gos, 2, + Xtank_gos, 3, + Xtank_gos, 4, + Xtank_gos, 5, + Xtank_gos, 6, + Xtank_gos, 7, + -1, + Ytank_n_w, 7, + Ytank_s_w, 7, + Ytank_w, 7, + Xtank_w, 0, + Xtank_w, 1, + Xtank_w, 2, + Xtank_w, 3, + Xtank_w, 4, + Xtank_w, 5, + Xtank_w, 6, + Xtank_w, 7, + Xtank_gow, 0, + Xtank_gow, 1, + Xtank_gow, 2, + Xtank_gow, 3, + Xtank_gow, 4, + Xtank_gow, 5, + Xtank_gow, 6, + Xtank_gow, 7, + -1, + Ytank_n, 0, + -1, + Ytank_nB, 0, + -1, + Ytank_n, 1, + -1, + Ytank_nB, 1, + -1, + Ytank_n, 2, + -1, + Ytank_nB, 2, + -1, + Ytank_n, 3, + -1, + Ytank_nB, 3, + -1, + Ytank_n, 4, + -1, + Ytank_nB, 4, + -1, + Ytank_n, 5, + -1, + Ytank_nB, 5, + -1, + Ytank_n, 6, + -1, + Ytank_nB, 6, + -1, + Ytank_eB, 6, + -1, + Ytank_e, 6, + -1, + Ytank_eB, 5, + -1, + Ytank_e, 5, + -1, + Ytank_eB, 4, + -1, + Ytank_e, 4, + -1, + Ytank_eB, 3, + -1, + Ytank_e, 3, + -1, + Ytank_eB, 2, + -1, + Ytank_e, 2, + -1, + Ytank_eB, 1, + -1, + Ytank_e, 1, + -1, + Ytank_eB, 0, + -1, + Ytank_e, 0, + -1, + Ytank_sB, 6, + -1, + Ytank_s, 6, + -1, + Ytank_sB, 5, + -1, + Ytank_s, 5, + -1, + Ytank_sB, 4, + -1, + Ytank_s, 4, + -1, + Ytank_sB, 3, + -1, + Ytank_s, 3, + -1, + Ytank_sB, 2, + -1, + Ytank_s, 2, + -1, + Ytank_sB, 1, + -1, + Ytank_s, 1, + -1, + Ytank_sB, 0, + -1, + Ytank_s, 0, + -1, + Ytank_w, 0, + -1, + Ytank_wB, 0, + -1, + Ytank_w, 1, + -1, + Ytank_wB, 1, + -1, + Ytank_w, 2, + -1, + Ytank_wB, 2, + -1, + Ytank_w, 3, + -1, + Ytank_wB, 3, + -1, + Ytank_w, 4, + -1, + Ytank_wB, 4, + -1, + Ytank_w, 5, + -1, + Ytank_wB, 5, + -1, + Ytank_w, 6, + -1, + Ytank_wB, 6, + -1, + Ytank_n_e, 0, + Ytank_e_n, 6, + -1, + Ytank_n_e, 1, + Ytank_e_n, 5, + -1, + Ytank_n_e, 2, + Ytank_e_n, 4, + -1, + Ytank_n_e, 3, + Ytank_e_n, 3, + -1, + Ytank_n_e, 4, + Ytank_e_n, 2, + -1, + Ytank_n_e, 5, + Ytank_e_n, 1, + -1, + Ytank_n_e, 6, + Ytank_e_n, 0, + -1, + Ytank_e_s, 0, + Ytank_s_e, 6, + -1, + Ytank_e_s, 1, + Ytank_s_e, 5, + -1, + Ytank_e_s, 2, + Ytank_s_e, 4, + -1, + Ytank_e_s, 3, + Ytank_s_e, 3, + -1, + Ytank_e_s, 4, + Ytank_s_e, 2, + -1, + Ytank_e_s, 5, + Ytank_s_e, 1, + -1, + Ytank_e_s, 6, + Ytank_s_e, 0, + -1, + Ytank_s_w, 0, + Ytank_w_s, 6, + -1, + Ytank_s_w, 1, + Ytank_w_s, 5, + -1, + Ytank_s_w, 2, + Ytank_w_s, 4, + -1, + Ytank_s_w, 3, + Ytank_w_s, 3, + -1, + Ytank_s_w, 4, + Ytank_w_s, 2, + -1, + Ytank_s_w, 5, + Ytank_w_s, 1, + -1, + Ytank_s_w, 6, + Ytank_w_s, 0, + -1, + Ytank_n_w, 6, + Ytank_w_n, 0, + -1, + Ytank_n_w, 5, + Ytank_w_n, 1, + -1, + Ytank_n_w, 4, + Ytank_w_n, 2, + -1, + Ytank_n_w, 3, + Ytank_w_n, 3, + -1, + Ytank_n_w, 2, + Ytank_w_n, 4, + -1, + Ytank_n_w, 1, + Ytank_w_n, 5, + -1, + Ytank_n_w, 0, + Ytank_w_n, 6, + -1, + Ytank_stone, 0, + -1, + Ytank_stone, 1, + -1, + Ytank_stone, 2, + -1, + Ytank_stone, 3, + -1, + Ytank_stone, 4, + -1, + Ytank_stone, 5, + -1, + Ytank_stone, 6, + -1, + Ytank_spring, 0, + -1, + Ytank_spring, 1, + -1, + Ytank_spring, 2, + -1, + Ytank_spring, 3, + -1, + Ytank_spring, 4, + -1, + Ytank_spring, 5, + -1, + Ytank_spring, 6, + -1, - Yandroid_n, 7, - Yandroid_ne, 7, - Yandroid_e, 7, - Yandroid_se, 7, - Yandroid_s, 7, - Yandroid_sw, 7, - Yandroid_w, 7, - Yandroid_nw, 7, - Xandroid, 7, - Xandroid_1_n, 7, - Xandroid_2_n, 7, - Xandroid_1_e, 7, - Xandroid_2_e, 7, - Xandroid_1_w, 7, - Xandroid_2_w, 7, - Xandroid_1_s, 7, - Xandroid_2_s, 7, - -1, - Xandroid, 0, - Xandroid_1_n, 0, - Xandroid_2_n, 0, - Xandroid_1_e, 0, - Xandroid_2_e, 0, - Xandroid_1_w, 0, - Xandroid_2_w, 0, - Xandroid_1_s, 0, - Xandroid_2_s, 0, - -1, - Xandroid, 1, - Xandroid_1_n, 1, - Xandroid_2_n, 1, - Xandroid_1_e, 1, - Xandroid_2_e, 1, - Xandroid_1_w, 1, - Xandroid_2_w, 1, - Xandroid_1_s, 1, - Xandroid_2_s, 1, - -1, - Xandroid, 2, - Xandroid_1_n, 2, - Xandroid_2_n, 2, - Xandroid_1_e, 2, - Xandroid_2_e, 2, - Xandroid_1_w, 2, - Xandroid_2_w, 2, - Xandroid_1_s, 2, - Xandroid_2_s, 2, - -1, - Xandroid, 3, - Xandroid_1_n, 3, - Xandroid_2_n, 3, - Xandroid_1_e, 3, - Xandroid_2_e, 3, - Xandroid_1_w, 3, - Xandroid_2_w, 3, - Xandroid_1_s, 3, - Xandroid_2_s, 3, - -1, - Xandroid, 4, - Xandroid_1_n, 4, - Xandroid_2_n, 4, - Xandroid_1_e, 4, - Xandroid_2_e, 4, - Xandroid_1_w, 4, - Xandroid_2_w, 4, - Xandroid_1_s, 4, - Xandroid_2_s, 4, - -1, - Xandroid, 5, - Xandroid_1_n, 5, - Xandroid_2_n, 5, - Xandroid_1_e, 5, - Xandroid_2_e, 5, - Xandroid_1_w, 5, - Xandroid_2_w, 5, - Xandroid_1_s, 5, - Xandroid_2_s, 5, - -1, - Xandroid, 6, - Xandroid_1_n, 6, - Xandroid_2_n, 6, - Xandroid_1_e, 6, - Xandroid_2_e, 6, - Xandroid_1_w, 6, - Xandroid_2_w, 6, - Xandroid_1_s, 6, - Xandroid_2_s, 6, - -1, - Yandroid_n, 0, - Yandroid_sB, 6, - -1, - Yandroid_nB, 0, - Yandroid_s, 6, - -1, - Yandroid_n, 1, - Yandroid_sB, 5, - -1, - Yandroid_nB, 1, - Yandroid_s, 5, - -1, - Yandroid_n, 2, - Yandroid_sB, 4, - Xboom_android, 0, - -1, - Yandroid_nB, 2, - Yandroid_s, 4, - Xboom_android, 1, - -1, - Yandroid_n, 3, - Yandroid_sB, 3, - Xboom_android, 2, - -1, - Yandroid_nB, 3, - Yandroid_s, 3, - Xboom_android, 3, - -1, - Yandroid_n, 4, - Yandroid_sB, 2, - Xboom_android, 4, - -1, - Yandroid_nB, 4, - Yandroid_s, 2, - Xboom_android, 5, - -1, - Yandroid_n, 5, - Yandroid_sB, 1, - Xboom_android, 6, - -1, - Yandroid_nB, 5, - Yandroid_s, 1, - -1, - Yandroid_n, 6, - Yandroid_sB, 0, - -1, - Yandroid_nB, 6, - Yandroid_s, 0, - -1, - Yandroid_eB, 6, - Yandroid_w, 0, - -1, - Yandroid_e, 6, - Yandroid_wB, 0, - -1, - Yandroid_eB, 5, - Yandroid_w, 1, - -1, - Yandroid_e, 5, - Yandroid_wB, 1, - -1, - Yandroid_eB, 4, - Yandroid_w, 2, - -1, - Yandroid_e, 4, - Yandroid_wB, 2, - -1, - Yandroid_eB, 3, - Yandroid_w, 3, - -1, - Yandroid_e, 3, - Yandroid_wB, 3, - -1, - Yandroid_eB, 2, - Yandroid_w, 4, - -1, - Yandroid_e, 2, - Yandroid_wB, 4, - -1, - Yandroid_eB, 1, - Yandroid_w, 5, - -1, - Yandroid_e, 1, - Yandroid_wB, 5, - -1, - Yandroid_eB, 0, - Yandroid_w, 6, - -1, - Yandroid_e, 0, - Yandroid_wB, 6, - -1, - Yandroid_neB, 6, - Yandroid_sw, 0, - -1, - Yandroid_ne, 6, - Yandroid_swB, 0, - -1, - Yandroid_neB, 5, - Yandroid_sw, 1, - -1, - Yandroid_ne, 5, - Yandroid_swB, 1, - -1, - Yandroid_neB, 4, - Yandroid_sw, 2, - -1, - Yandroid_ne, 4, - Yandroid_swB, 2, - -1, - Yandroid_neB, 3, - Yandroid_sw, 3, - -1, - Yandroid_ne, 3, - Yandroid_swB, 3, - -1, - Yandroid_neB, 2, - Yandroid_sw, 4, - -1, - Yandroid_ne, 2, - Yandroid_swB, 4, - -1, - Yandroid_neB, 1, - Yandroid_sw, 5, - -1, - Yandroid_ne, 1, - Yandroid_swB, 5, - -1, - Yandroid_neB, 0, - Yandroid_sw, 6, - -1, - Yandroid_ne, 0, - Yandroid_swB, 6, - -1, - Yandroid_nw, 0, - Yandroid_seB, 6, - -1, - Yandroid_nwB, 0, - Yandroid_se, 6, - -1, - Yandroid_nw, 1, - Yandroid_seB, 5, - -1, - Yandroid_nwB, 1, - Yandroid_se, 5, - -1, - Yandroid_nw, 2, - Yandroid_seB, 4, - -1, - Yandroid_nwB, 2, - Yandroid_se, 4, - -1, - Yandroid_nw, 3, - Yandroid_seB, 3, - -1, - Yandroid_nwB, 3, - Yandroid_se, 3, - -1, - Yandroid_nw, 4, - Yandroid_seB, 2, - -1, - Yandroid_nwB, 4, - Yandroid_se, 2, - -1, - Yandroid_nw, 5, - Yandroid_seB, 1, - -1, - Yandroid_nwB, 5, - Yandroid_se, 1, - -1, - Yandroid_nw, 6, - Yandroid_seB, 0, - -1, - Yandroid_nwB, 6, - Yandroid_se, 0, - -1, + Yandroid_n, 7, + Yandroid_ne, 7, + Yandroid_e, 7, + Yandroid_se, 7, + Yandroid_s, 7, + Yandroid_sw, 7, + Yandroid_w, 7, + Yandroid_nw, 7, + Xandroid, 7, + Xandroid_1_n, 7, + Xandroid_2_n, 7, + Xandroid_1_e, 7, + Xandroid_2_e, 7, + Xandroid_1_w, 7, + Xandroid_2_w, 7, + Xandroid_1_s, 7, + Xandroid_2_s, 7, + -1, + Xandroid, 0, + Xandroid_1_n, 0, + Xandroid_2_n, 0, + Xandroid_1_e, 0, + Xandroid_2_e, 0, + Xandroid_1_w, 0, + Xandroid_2_w, 0, + Xandroid_1_s, 0, + Xandroid_2_s, 0, + -1, + Xandroid, 1, + Xandroid_1_n, 1, + Xandroid_2_n, 1, + Xandroid_1_e, 1, + Xandroid_2_e, 1, + Xandroid_1_w, 1, + Xandroid_2_w, 1, + Xandroid_1_s, 1, + Xandroid_2_s, 1, + -1, + Xandroid, 2, + Xandroid_1_n, 2, + Xandroid_2_n, 2, + Xandroid_1_e, 2, + Xandroid_2_e, 2, + Xandroid_1_w, 2, + Xandroid_2_w, 2, + Xandroid_1_s, 2, + Xandroid_2_s, 2, + -1, + Xandroid, 3, + Xandroid_1_n, 3, + Xandroid_2_n, 3, + Xandroid_1_e, 3, + Xandroid_2_e, 3, + Xandroid_1_w, 3, + Xandroid_2_w, 3, + Xandroid_1_s, 3, + Xandroid_2_s, 3, + -1, + Xandroid, 4, + Xandroid_1_n, 4, + Xandroid_2_n, 4, + Xandroid_1_e, 4, + Xandroid_2_e, 4, + Xandroid_1_w, 4, + Xandroid_2_w, 4, + Xandroid_1_s, 4, + Xandroid_2_s, 4, + -1, + Xandroid, 5, + Xandroid_1_n, 5, + Xandroid_2_n, 5, + Xandroid_1_e, 5, + Xandroid_2_e, 5, + Xandroid_1_w, 5, + Xandroid_2_w, 5, + Xandroid_1_s, 5, + Xandroid_2_s, 5, + -1, + Xandroid, 6, + Xandroid_1_n, 6, + Xandroid_2_n, 6, + Xandroid_1_e, 6, + Xandroid_2_e, 6, + Xandroid_1_w, 6, + Xandroid_2_w, 6, + Xandroid_1_s, 6, + Xandroid_2_s, 6, + -1, + Yandroid_n, 0, + Yandroid_sB, 6, + -1, + Yandroid_nB, 0, + Yandroid_s, 6, + -1, + Yandroid_n, 1, + Yandroid_sB, 5, + -1, + Yandroid_nB, 1, + Yandroid_s, 5, + -1, + Yandroid_n, 2, + Yandroid_sB, 4, + Xboom_android, 0, + -1, + Yandroid_nB, 2, + Yandroid_s, 4, + Xboom_android, 1, + -1, + Yandroid_n, 3, + Yandroid_sB, 3, + Xboom_android, 2, + -1, + Yandroid_nB, 3, + Yandroid_s, 3, + Xboom_android, 3, + -1, + Yandroid_n, 4, + Yandroid_sB, 2, + Xboom_android, 4, + -1, + Yandroid_nB, 4, + Yandroid_s, 2, + Xboom_android, 5, + -1, + Yandroid_n, 5, + Yandroid_sB, 1, + Xboom_android, 6, + -1, + Yandroid_nB, 5, + Yandroid_s, 1, + -1, + Yandroid_n, 6, + Yandroid_sB, 0, + -1, + Yandroid_nB, 6, + Yandroid_s, 0, + -1, + Yandroid_eB, 6, + Yandroid_w, 0, + -1, + Yandroid_e, 6, + Yandroid_wB, 0, + -1, + Yandroid_eB, 5, + Yandroid_w, 1, + -1, + Yandroid_e, 5, + Yandroid_wB, 1, + -1, + Yandroid_eB, 4, + Yandroid_w, 2, + -1, + Yandroid_e, 4, + Yandroid_wB, 2, + -1, + Yandroid_eB, 3, + Yandroid_w, 3, + -1, + Yandroid_e, 3, + Yandroid_wB, 3, + -1, + Yandroid_eB, 2, + Yandroid_w, 4, + -1, + Yandroid_e, 2, + Yandroid_wB, 4, + -1, + Yandroid_eB, 1, + Yandroid_w, 5, + -1, + Yandroid_e, 1, + Yandroid_wB, 5, + -1, + Yandroid_eB, 0, + Yandroid_w, 6, + -1, + Yandroid_e, 0, + Yandroid_wB, 6, + -1, + Yandroid_neB, 6, + Yandroid_sw, 0, + -1, + Yandroid_ne, 6, + Yandroid_swB, 0, + -1, + Yandroid_neB, 5, + Yandroid_sw, 1, + -1, + Yandroid_ne, 5, + Yandroid_swB, 1, + -1, + Yandroid_neB, 4, + Yandroid_sw, 2, + -1, + Yandroid_ne, 4, + Yandroid_swB, 2, + -1, + Yandroid_neB, 3, + Yandroid_sw, 3, + -1, + Yandroid_ne, 3, + Yandroid_swB, 3, + -1, + Yandroid_neB, 2, + Yandroid_sw, 4, + -1, + Yandroid_ne, 2, + Yandroid_swB, 4, + -1, + Yandroid_neB, 1, + Yandroid_sw, 5, + -1, + Yandroid_ne, 1, + Yandroid_swB, 5, + -1, + Yandroid_neB, 0, + Yandroid_sw, 6, + -1, + Yandroid_ne, 0, + Yandroid_swB, 6, + -1, + Yandroid_nw, 0, + Yandroid_seB, 6, + -1, + Yandroid_nwB, 0, + Yandroid_se, 6, + -1, + Yandroid_nw, 1, + Yandroid_seB, 5, + -1, + Yandroid_nwB, 1, + Yandroid_se, 5, + -1, + Yandroid_nw, 2, + Yandroid_seB, 4, + -1, + Yandroid_nwB, 2, + Yandroid_se, 4, + -1, + Yandroid_nw, 3, + Yandroid_seB, 3, + -1, + Yandroid_nwB, 3, + Yandroid_se, 3, + -1, + Yandroid_nw, 4, + Yandroid_seB, 2, + -1, + Yandroid_nwB, 4, + Yandroid_se, 2, + -1, + Yandroid_nw, 5, + Yandroid_seB, 1, + -1, + Yandroid_nwB, 5, + Yandroid_se, 1, + -1, + Yandroid_nw, 6, + Yandroid_seB, 0, + -1, + Yandroid_nwB, 6, + Yandroid_se, 0, + -1, - Yspring_e, 7, - Yspring_w, 7, - Yspring_kill_e, 7, - Yspring_kill_w, 7, - Yspring_s, 7, - Xspring, 0, - Xspring, 1, - Xspring, 2, - Xspring, 3, - Xspring, 4, - Xspring, 5, - Xspring, 6, - Xspring, 7, - Xspring_pause, 0, - Xspring_pause, 1, - Xspring_pause, 2, - Xspring_pause, 3, - Xspring_pause, 4, - Xspring_pause, 5, - Xspring_pause, 6, - Xspring_pause, 7, - Xspring_e, 0, - Xspring_e, 1, - Xspring_e, 2, - Xspring_e, 3, - Xspring_e, 4, - Xspring_e, 5, - Xspring_e, 6, - Xspring_e, 7, - Xspring_w, 0, - Xspring_w, 1, - Xspring_w, 2, - Xspring_w, 3, - Xspring_w, 4, - Xspring_w, 5, - Xspring_w, 6, - Xspring_w, 7, - Xspring_fall, 0, - Xspring_fall, 1, - Xspring_fall, 2, - Xspring_fall, 3, - Xspring_fall, 4, - Xspring_fall, 5, - Xspring_fall, 6, - Xspring_fall, 7, + Yspring_e, 7, + Yspring_w, 7, + Yspring_kill_e, 7, + Yspring_kill_w, 7, + Yspring_s, 7, + Xspring, 0, + Xspring, 1, + Xspring, 2, + Xspring, 3, + Xspring, 4, + Xspring, 5, + Xspring, 6, + Xspring, 7, + Xspring_pause, 0, + Xspring_pause, 1, + Xspring_pause, 2, + Xspring_pause, 3, + Xspring_pause, 4, + Xspring_pause, 5, + Xspring_pause, 6, + Xspring_pause, 7, + Xspring_e, 0, + Xspring_e, 1, + Xspring_e, 2, + Xspring_e, 3, + Xspring_e, 4, + Xspring_e, 5, + Xspring_e, 6, + Xspring_e, 7, + Xspring_w, 0, + Xspring_w, 1, + Xspring_w, 2, + Xspring_w, 3, + Xspring_w, 4, + Xspring_w, 5, + Xspring_w, 6, + Xspring_w, 7, + Xspring_fall, 0, + Xspring_fall, 1, + Xspring_fall, 2, + Xspring_fall, 3, + Xspring_fall, 4, + Xspring_fall, 5, + Xspring_fall, 6, + Xspring_fall, 7, #ifdef BAD_ROLL - Xspring_force_e, 0, - Xspring_force_e, 1, - Xspring_force_e, 2, - Xspring_force_e, 3, - Xspring_force_e, 4, - Xspring_force_e, 5, - Xspring_force_e, 6, - Xspring_force_e, 7, - Xspring_force_w, 0, - Xspring_force_w, 1, - Xspring_force_w, 2, - Xspring_force_w, 3, - Xspring_force_w, 4, - Xspring_force_w, 5, - Xspring_force_w, 6, - Xspring_force_w, 7, + Xspring_force_e, 0, + Xspring_force_e, 1, + Xspring_force_e, 2, + Xspring_force_e, 3, + Xspring_force_e, 4, + Xspring_force_e, 5, + Xspring_force_e, 6, + Xspring_force_e, 7, + Xspring_force_w, 0, + Xspring_force_w, 1, + Xspring_force_w, 2, + Xspring_force_w, 3, + Xspring_force_w, 4, + Xspring_force_w, 5, + Xspring_force_w, 6, + Xspring_force_w, 7, #endif - -1, - Yspring_sB, 6, - -1, - Yspring_s, 6, - -1, - Yspring_sB, 5, - -1, - Yspring_s, 5, - -1, - Yspring_sB, 4, - -1, - Yspring_s, 4, - -1, - Yspring_sB, 3, - -1, - Yspring_s, 3, - -1, - Yspring_sB, 2, - -1, - Yspring_s, 2, - -1, - Yspring_sB, 1, - -1, - Yspring_s, 1, - -1, - Yspring_sB, 0, - -1, - Yspring_s, 0, - -1, - Yspring_eB, 6, - Yspring_w, 0, - -1, - Yspring_e, 6, - Yspring_wB, 0, - -1, - Yspring_eB, 5, - Yspring_w, 1, - -1, - Yspring_e, 5, - Yspring_wB, 1, - -1, - Yspring_eB, 4, - Yspring_w, 2, - -1, - Yspring_e, 4, - Yspring_wB, 2, - -1, - Yspring_eB, 3, - Yspring_w, 3, - -1, - Yspring_e, 3, - Yspring_wB, 3, - -1, - Yspring_eB, 2, - Yspring_w, 4, - -1, - Yspring_e, 2, - Yspring_wB, 4, - -1, - Yspring_eB, 1, - Yspring_w, 5, - -1, - Yspring_e, 1, - Yspring_wB, 5, - -1, - Yspring_eB, 0, - Yspring_w, 6, - -1, - Yspring_e, 0, - Yspring_wB, 6, - -1, - Yspring_kill_eB, 6, - -1, - Yspring_kill_e, 6, - -1, - Yspring_kill_eB, 5, - -1, - Yspring_kill_e, 5, - -1, - Yspring_kill_eB, 4, - -1, - Yspring_kill_e, 4, - -1, - Yspring_kill_eB, 3, - -1, - Yspring_kill_e, 3, - -1, - Yspring_kill_eB, 2, - -1, - Yspring_kill_e, 2, - -1, - Yspring_kill_eB, 1, - -1, - Yspring_kill_e, 1, - -1, - Yspring_kill_eB, 0, - -1, - Yspring_kill_e, 0, - -1, - Yspring_kill_w, 0, - -1, - Yspring_kill_wB, 0, - -1, - Yspring_kill_w, 1, - -1, - Yspring_kill_wB, 1, - -1, - Yspring_kill_w, 2, - -1, - Yspring_kill_wB, 2, - -1, - Yspring_kill_w, 3, - -1, - Yspring_kill_wB, 3, - -1, - Yspring_kill_w, 4, - -1, - Yspring_kill_wB, 4, - -1, - Yspring_kill_w, 5, - -1, - Yspring_kill_wB, 5, - -1, - Yspring_kill_w, 6, - -1, - Yspring_kill_wB, 6, - -1, + -1, + Yspring_sB, 6, + -1, + Yspring_s, 6, + -1, + Yspring_sB, 5, + -1, + Yspring_s, 5, + -1, + Yspring_sB, 4, + -1, + Yspring_s, 4, + -1, + Yspring_sB, 3, + -1, + Yspring_s, 3, + -1, + Yspring_sB, 2, + -1, + Yspring_s, 2, + -1, + Yspring_sB, 1, + -1, + Yspring_s, 1, + -1, + Yspring_sB, 0, + -1, + Yspring_s, 0, + -1, + Yspring_eB, 6, + Yspring_w, 0, + -1, + Yspring_e, 6, + Yspring_wB, 0, + -1, + Yspring_eB, 5, + Yspring_w, 1, + -1, + Yspring_e, 5, + Yspring_wB, 1, + -1, + Yspring_eB, 4, + Yspring_w, 2, + -1, + Yspring_e, 4, + Yspring_wB, 2, + -1, + Yspring_eB, 3, + Yspring_w, 3, + -1, + Yspring_e, 3, + Yspring_wB, 3, + -1, + Yspring_eB, 2, + Yspring_w, 4, + -1, + Yspring_e, 2, + Yspring_wB, 4, + -1, + Yspring_eB, 1, + Yspring_w, 5, + -1, + Yspring_e, 1, + Yspring_wB, 5, + -1, + Yspring_eB, 0, + Yspring_w, 6, + -1, + Yspring_e, 0, + Yspring_wB, 6, + -1, + Yspring_kill_eB, 6, + -1, + Yspring_kill_e, 6, + -1, + Yspring_kill_eB, 5, + -1, + Yspring_kill_e, 5, + -1, + Yspring_kill_eB, 4, + -1, + Yspring_kill_e, 4, + -1, + Yspring_kill_eB, 3, + -1, + Yspring_kill_e, 3, + -1, + Yspring_kill_eB, 2, + -1, + Yspring_kill_e, 2, + -1, + Yspring_kill_eB, 1, + -1, + Yspring_kill_e, 1, + -1, + Yspring_kill_eB, 0, + -1, + Yspring_kill_e, 0, + -1, + Yspring_kill_w, 0, + -1, + Yspring_kill_wB, 0, + -1, + Yspring_kill_w, 1, + -1, + Yspring_kill_wB, 1, + -1, + Yspring_kill_w, 2, + -1, + Yspring_kill_wB, 2, + -1, + Yspring_kill_w, 3, + -1, + Yspring_kill_wB, 3, + -1, + Yspring_kill_w, 4, + -1, + Yspring_kill_wB, 4, + -1, + Yspring_kill_w, 5, + -1, + Yspring_kill_wB, 5, + -1, + Yspring_kill_w, 6, + -1, + Yspring_kill_wB, 6, + -1, - Xeater_n, 0, - Xeater_e, 0, - Xeater_w, 0, - Xeater_s, 0, - Xeater_n, 7, - Xeater_e, 7, - Xeater_s, 7, - Xeater_w, 7, - Yeater_n, 7, - Yeater_e, 7, - Yeater_s, 7, - Yeater_w, 7, - -1, - Xeater_n, 1, - Xeater_e, 1, - Xeater_w, 1, - Xeater_s, 1, - Xeater_n, 6, - Xeater_e, 6, - Xeater_w, 6, - Xeater_s, 6, - -1, - Xeater_n, 2, - Xeater_e, 2, - Xeater_w, 2, - Xeater_s, 2, - Xeater_n, 5, - Xeater_e, 5, - Xeater_w, 5, - Xeater_s, 5, - -1, - Xeater_n, 3, - Xeater_e, 3, - Xeater_w, 3, - Xeater_s, 3, - Xeater_n, 4, - Xeater_e, 4, - Xeater_w, 4, - Xeater_s, 4, - -1, - Yeater_n, 0, - Yeater_sB, 6, - -1, - Yeater_nB, 0, - Yeater_s, 6, - -1, - Yeater_n, 1, - Yeater_sB, 5, - -1, - Yeater_nB, 1, - Yeater_s, 5, - -1, - Yeater_n, 2, - Yeater_sB, 4, - -1, - Yeater_nB, 2, - Yeater_s, 4, - -1, - Yeater_n, 3, - Yeater_sB, 3, - -1, - Yeater_nB, 3, - Yeater_s, 3, - -1, - Yeater_n, 4, - Yeater_sB, 2, - -1, - Yeater_nB, 4, - Yeater_s, 2, - -1, - Yeater_n, 5, - Yeater_sB, 1, - -1, - Yeater_nB, 5, - Yeater_s, 1, - -1, - Yeater_n, 6, - Yeater_sB, 0, - -1, - Yeater_nB, 6, - Yeater_s, 0, - -1, - Yeater_eB, 6, - Yeater_w, 0, - -1, - Yeater_e, 6, - Yeater_wB, 0, - -1, - Yeater_eB, 5, - Yeater_w, 1, - -1, - Yeater_e, 5, - Yeater_wB, 1, - -1, - Yeater_eB, 4, - Yeater_w, 2, - -1, - Yeater_e, 4, - Yeater_wB, 2, - -1, - Yeater_eB, 3, - Yeater_w, 3, - -1, - Yeater_e, 3, - Yeater_wB, 3, - -1, - Yeater_eB, 2, - Yeater_w, 4, - -1, - Yeater_e, 2, - Yeater_wB, 4, - -1, - Yeater_eB, 1, - Yeater_w, 5, - -1, - Yeater_e, 1, - Yeater_wB, 5, - -1, - Yeater_eB, 0, - Yeater_w, 6, - -1, - Yeater_e, 0, - Yeater_wB, 6, - -1, - Yeater_stone, 0, - -1, - Yeater_stone, 1, - -1, - Yeater_stone, 2, - -1, - Yeater_stone, 3, - -1, - Yeater_stone, 4, - -1, - Yeater_stone, 5, - -1, - Yeater_stone, 6, - -1, - Yeater_spring, 0, - -1, - Yeater_spring, 1, - -1, - Yeater_spring, 2, - -1, - Yeater_spring, 3, - -1, - Yeater_spring, 4, - -1, - Yeater_spring, 5, - -1, - Yeater_spring, 6, - -1, + Xeater_n, 0, + Xeater_e, 0, + Xeater_w, 0, + Xeater_s, 0, + Xeater_n, 7, + Xeater_e, 7, + Xeater_s, 7, + Xeater_w, 7, + Yeater_n, 7, + Yeater_e, 7, + Yeater_s, 7, + Yeater_w, 7, + -1, + Xeater_n, 1, + Xeater_e, 1, + Xeater_w, 1, + Xeater_s, 1, + Xeater_n, 6, + Xeater_e, 6, + Xeater_w, 6, + Xeater_s, 6, + -1, + Xeater_n, 2, + Xeater_e, 2, + Xeater_w, 2, + Xeater_s, 2, + Xeater_n, 5, + Xeater_e, 5, + Xeater_w, 5, + Xeater_s, 5, + -1, + Xeater_n, 3, + Xeater_e, 3, + Xeater_w, 3, + Xeater_s, 3, + Xeater_n, 4, + Xeater_e, 4, + Xeater_w, 4, + Xeater_s, 4, + -1, + Yeater_n, 0, + Yeater_sB, 6, + -1, + Yeater_nB, 0, + Yeater_s, 6, + -1, + Yeater_n, 1, + Yeater_sB, 5, + -1, + Yeater_nB, 1, + Yeater_s, 5, + -1, + Yeater_n, 2, + Yeater_sB, 4, + -1, + Yeater_nB, 2, + Yeater_s, 4, + -1, + Yeater_n, 3, + Yeater_sB, 3, + -1, + Yeater_nB, 3, + Yeater_s, 3, + -1, + Yeater_n, 4, + Yeater_sB, 2, + -1, + Yeater_nB, 4, + Yeater_s, 2, + -1, + Yeater_n, 5, + Yeater_sB, 1, + -1, + Yeater_nB, 5, + Yeater_s, 1, + -1, + Yeater_n, 6, + Yeater_sB, 0, + -1, + Yeater_nB, 6, + Yeater_s, 0, + -1, + Yeater_eB, 6, + Yeater_w, 0, + -1, + Yeater_e, 6, + Yeater_wB, 0, + -1, + Yeater_eB, 5, + Yeater_w, 1, + -1, + Yeater_e, 5, + Yeater_wB, 1, + -1, + Yeater_eB, 4, + Yeater_w, 2, + -1, + Yeater_e, 4, + Yeater_wB, 2, + -1, + Yeater_eB, 3, + Yeater_w, 3, + -1, + Yeater_e, 3, + Yeater_wB, 3, + -1, + Yeater_eB, 2, + Yeater_w, 4, + -1, + Yeater_e, 2, + Yeater_wB, 4, + -1, + Yeater_eB, 1, + Yeater_w, 5, + -1, + Yeater_e, 1, + Yeater_wB, 5, + -1, + Yeater_eB, 0, + Yeater_w, 6, + -1, + Yeater_e, 0, + Yeater_wB, 6, + -1, + Yeater_stone, 0, + -1, + Yeater_stone, 1, + -1, + Yeater_stone, 2, + -1, + Yeater_stone, 3, + -1, + Yeater_stone, 4, + -1, + Yeater_stone, 5, + -1, + Yeater_stone, 6, + -1, + Yeater_spring, 0, + -1, + Yeater_spring, 1, + -1, + Yeater_spring, 2, + -1, + Yeater_spring, 3, + -1, + Yeater_spring, 4, + -1, + Yeater_spring, 5, + -1, + Yeater_spring, 6, + -1, - Xalien, 0, - Xalien_pause, 0, - Xalien, 7, - Xalien_pause, 7, - Yalien_n, 7, - Yalien_e, 7, - Yalien_s, 7, - Yalien_w, 7, - -1, - Xalien, 1, - Xalien_pause, 1, - Xalien, 6, - Xalien_pause, 6, - -1, - Xalien, 2, - Xalien_pause, 2, - Xalien, 5, - Xalien_pause, 5, - -1, - Xalien, 3, - Xalien_pause, 3, - Xalien, 4, - Xalien_pause, 4, - -1, - Yalien_n, 0, - Yalien_sB, 6, - -1, - Yalien_nB, 0, - Yalien_s, 6, - -1, - Yalien_n, 1, - Yalien_sB, 5, - -1, - Yalien_nB, 1, - Yalien_s, 5, - -1, - Yalien_n, 2, - Yalien_sB, 4, - -1, - Yalien_nB, 2, - Yalien_s, 4, - -1, - Yalien_n, 3, - Yalien_sB, 3, - -1, - Yalien_nB, 3, - Yalien_s, 3, - -1, - Yalien_n, 4, - Yalien_sB, 2, - -1, - Yalien_nB, 4, - Yalien_s, 2, - -1, - Yalien_n, 5, - Yalien_sB, 1, - -1, - Yalien_nB, 5, - Yalien_s, 1, - -1, - Yalien_n, 6, - Yalien_sB, 0, - -1, - Yalien_nB, 6, - Yalien_s, 0, - -1, - Yalien_eB, 6, - Yalien_w, 0, - -1, - Yalien_e, 6, - Yalien_wB, 0, - -1, - Yalien_eB, 5, - Yalien_w, 1, - -1, - Yalien_e, 5, - Yalien_wB, 1, - -1, - Yalien_eB, 4, - Yalien_w, 2, - -1, - Yalien_e, 4, - Yalien_wB, 2, - -1, - Yalien_eB, 3, - Yalien_w, 3, - -1, - Yalien_e, 3, - Yalien_wB, 3, - -1, - Yalien_eB, 2, - Yalien_w, 4, - -1, - Yalien_e, 2, - Yalien_wB, 4, - -1, - Yalien_eB, 1, - Yalien_w, 5, - -1, - Yalien_e, 1, - Yalien_wB, 5, - -1, - Yalien_eB, 0, - Yalien_w, 6, - -1, - Yalien_e, 0, - Yalien_wB, 6, - -1, - Yalien_stone, 0, - -1, - Yalien_stone, 1, - -1, - Yalien_stone, 2, - -1, - Yalien_stone, 3, - -1, - Yalien_stone, 4, - -1, - Yalien_stone, 5, - -1, - Yalien_stone, 6, - -1, - Yalien_spring, 0, - -1, - Yalien_spring, 1, - -1, - Yalien_spring, 2, - -1, - Yalien_spring, 3, - -1, - Yalien_spring, 4, - -1, - Yalien_spring, 5, - -1, - Yalien_spring, 6, - -1, + Xalien, 0, + Xalien_pause, 0, + Xalien, 7, + Xalien_pause, 7, + Yalien_n, 7, + Yalien_e, 7, + Yalien_s, 7, + Yalien_w, 7, + -1, + Xalien, 1, + Xalien_pause, 1, + Xalien, 6, + Xalien_pause, 6, + -1, + Xalien, 2, + Xalien_pause, 2, + Xalien, 5, + Xalien_pause, 5, + -1, + Xalien, 3, + Xalien_pause, 3, + Xalien, 4, + Xalien_pause, 4, + -1, + Yalien_n, 0, + Yalien_sB, 6, + -1, + Yalien_nB, 0, + Yalien_s, 6, + -1, + Yalien_n, 1, + Yalien_sB, 5, + -1, + Yalien_nB, 1, + Yalien_s, 5, + -1, + Yalien_n, 2, + Yalien_sB, 4, + -1, + Yalien_nB, 2, + Yalien_s, 4, + -1, + Yalien_n, 3, + Yalien_sB, 3, + -1, + Yalien_nB, 3, + Yalien_s, 3, + -1, + Yalien_n, 4, + Yalien_sB, 2, + -1, + Yalien_nB, 4, + Yalien_s, 2, + -1, + Yalien_n, 5, + Yalien_sB, 1, + -1, + Yalien_nB, 5, + Yalien_s, 1, + -1, + Yalien_n, 6, + Yalien_sB, 0, + -1, + Yalien_nB, 6, + Yalien_s, 0, + -1, + Yalien_eB, 6, + Yalien_w, 0, + -1, + Yalien_e, 6, + Yalien_wB, 0, + -1, + Yalien_eB, 5, + Yalien_w, 1, + -1, + Yalien_e, 5, + Yalien_wB, 1, + -1, + Yalien_eB, 4, + Yalien_w, 2, + -1, + Yalien_e, 4, + Yalien_wB, 2, + -1, + Yalien_eB, 3, + Yalien_w, 3, + -1, + Yalien_e, 3, + Yalien_wB, 3, + -1, + Yalien_eB, 2, + Yalien_w, 4, + -1, + Yalien_e, 2, + Yalien_wB, 4, + -1, + Yalien_eB, 1, + Yalien_w, 5, + -1, + Yalien_e, 1, + Yalien_wB, 5, + -1, + Yalien_eB, 0, + Yalien_w, 6, + -1, + Yalien_e, 0, + Yalien_wB, 6, + -1, + Yalien_stone, 0, + -1, + Yalien_stone, 1, + -1, + Yalien_stone, 2, + -1, + Yalien_stone, 3, + -1, + Yalien_stone, 4, + -1, + Yalien_stone, 5, + -1, + Yalien_stone, 6, + -1, + Yalien_spring, 0, + -1, + Yalien_spring, 1, + -1, + Yalien_spring, 2, + -1, + Yalien_spring, 3, + -1, + Yalien_spring, 4, + -1, + Yalien_spring, 5, + -1, + Yalien_spring, 6, + -1, - Xemerald, 0, - Xemerald, 1, - Xemerald, 2, - Xemerald, 3, - Xemerald, 4, - Xemerald, 5, - Xemerald, 6, - Xemerald, 7, - Xemerald_pause, 0, - Xemerald_pause, 1, - Xemerald_pause, 2, - Xemerald_pause, 3, - Xemerald_pause, 4, - Xemerald_pause, 5, - Xemerald_pause, 6, - Xemerald_pause, 7, - Xemerald_fall, 0, - Xemerald_fall, 1, - Xemerald_fall, 2, - Xemerald_fall, 3, - Xemerald_fall, 4, - Xemerald_fall, 5, - Xemerald_fall, 6, - Xemerald_fall, 7, + Xemerald, 0, + Xemerald, 1, + Xemerald, 2, + Xemerald, 3, + Xemerald, 4, + Xemerald, 5, + Xemerald, 6, + Xemerald, 7, + Xemerald_pause, 0, + Xemerald_pause, 1, + Xemerald_pause, 2, + Xemerald_pause, 3, + Xemerald_pause, 4, + Xemerald_pause, 5, + Xemerald_pause, 6, + Xemerald_pause, 7, + Xemerald_fall, 0, + Xemerald_fall, 1, + Xemerald_fall, 2, + Xemerald_fall, 3, + Xemerald_fall, 4, + Xemerald_fall, 5, + Xemerald_fall, 6, + Xemerald_fall, 7, #ifdef BAD_ROLL - Xemerald_force_e, 0, - Xemerald_force_e, 1, - Xemerald_force_e, 2, - Xemerald_force_e, 3, - Xemerald_force_e, 4, - Xemerald_force_e, 5, - Xemerald_force_e, 6, - Xemerald_force_e, 7, - Xemerald_force_w, 0, - Xemerald_force_w, 1, - Xemerald_force_w, 2, - Xemerald_force_w, 3, - Xemerald_force_w, 4, - Xemerald_force_w, 5, - Xemerald_force_w, 6, - Xemerald_force_w, 7, + Xemerald_force_e, 0, + Xemerald_force_e, 1, + Xemerald_force_e, 2, + Xemerald_force_e, 3, + Xemerald_force_e, 4, + Xemerald_force_e, 5, + Xemerald_force_e, 6, + Xemerald_force_e, 7, + Xemerald_force_w, 0, + Xemerald_force_w, 1, + Xemerald_force_w, 2, + Xemerald_force_w, 3, + Xemerald_force_w, 4, + Xemerald_force_w, 5, + Xemerald_force_w, 6, + Xemerald_force_w, 7, #endif - Xemerald_shine, 0, - Xemerald_shine, 7, - Yemerald_stone, 7, - Yemerald_s, 7, - Yemerald_e, 7, - Yemerald_w, 7, - -1, - Xemerald_shine, 1, - Xemerald_shine, 6, - -1, - Xemerald_shine, 2, - Xemerald_shine, 5, - -1, - Xemerald_shine, 3, - Xemerald_shine, 4, - -1, - Yemerald_sB, 6, - -1, - Yemerald_s, 6, - -1, - Yemerald_sB, 5, - -1, - Yemerald_s, 5, - -1, - Yemerald_sB, 4, - -1, - Yemerald_s, 4, - -1, - Yemerald_sB, 3, - -1, - Yemerald_s, 3, - -1, - Yemerald_sB, 2, - -1, - Yemerald_s, 2, - -1, - Yemerald_sB, 1, - -1, - Yemerald_s, 1, - -1, - Yemerald_sB, 0, - -1, - Yemerald_s, 0, - -1, - Yemerald_eB, 6, - Yemerald_w, 0, - -1, - Yemerald_e, 6, - Yemerald_wB, 0, - -1, - Yemerald_eB, 5, - Yemerald_w, 1, - -1, - Yemerald_e, 5, - Yemerald_wB, 1, - -1, - Yemerald_eB, 4, - Yemerald_w, 2, - -1, - Yemerald_e, 4, - Yemerald_wB, 2, - -1, - Yemerald_eB, 3, - Yemerald_w, 3, - -1, - Yemerald_e, 3, - Yemerald_wB, 3, - -1, - Yemerald_eB, 2, - Yemerald_w, 4, - -1, - Yemerald_e, 2, - Yemerald_wB, 4, - -1, - Yemerald_eB, 1, - Yemerald_w, 5, - -1, - Yemerald_e, 1, - Yemerald_wB, 5, - -1, - Yemerald_eB, 0, - Yemerald_w, 6, - -1, - Yemerald_e, 0, - Yemerald_wB, 6, - -1, - Yemerald_eat, 6, - -1, - Yemerald_eat, 5, - -1, - Yemerald_eat, 4, - -1, - Yemerald_eat, 3, - -1, - Yemerald_eat, 2, - -1, - Yemerald_eat, 1, - -1, - Yemerald_eat, 0, - -1, - Yemerald_stone, 0, - -1, - Yemerald_stone, 1, - -1, - Yemerald_stone, 2, - -1, - Yemerald_stone, 3, - -1, - Yemerald_stone, 4, - -1, - Yemerald_stone, 5, - -1, - Yemerald_stone, 6, - -1, + Xemerald_shine, 0, + Xemerald_shine, 7, + Yemerald_stone, 7, + Yemerald_s, 7, + Yemerald_e, 7, + Yemerald_w, 7, + -1, + Xemerald_shine, 1, + Xemerald_shine, 6, + -1, + Xemerald_shine, 2, + Xemerald_shine, 5, + -1, + Xemerald_shine, 3, + Xemerald_shine, 4, + -1, + Yemerald_sB, 6, + -1, + Yemerald_s, 6, + -1, + Yemerald_sB, 5, + -1, + Yemerald_s, 5, + -1, + Yemerald_sB, 4, + -1, + Yemerald_s, 4, + -1, + Yemerald_sB, 3, + -1, + Yemerald_s, 3, + -1, + Yemerald_sB, 2, + -1, + Yemerald_s, 2, + -1, + Yemerald_sB, 1, + -1, + Yemerald_s, 1, + -1, + Yemerald_sB, 0, + -1, + Yemerald_s, 0, + -1, + Yemerald_eB, 6, + Yemerald_w, 0, + -1, + Yemerald_e, 6, + Yemerald_wB, 0, + -1, + Yemerald_eB, 5, + Yemerald_w, 1, + -1, + Yemerald_e, 5, + Yemerald_wB, 1, + -1, + Yemerald_eB, 4, + Yemerald_w, 2, + -1, + Yemerald_e, 4, + Yemerald_wB, 2, + -1, + Yemerald_eB, 3, + Yemerald_w, 3, + -1, + Yemerald_e, 3, + Yemerald_wB, 3, + -1, + Yemerald_eB, 2, + Yemerald_w, 4, + -1, + Yemerald_e, 2, + Yemerald_wB, 4, + -1, + Yemerald_eB, 1, + Yemerald_w, 5, + -1, + Yemerald_e, 1, + Yemerald_wB, 5, + -1, + Yemerald_eB, 0, + Yemerald_w, 6, + -1, + Yemerald_e, 0, + Yemerald_wB, 6, + -1, + Yemerald_eat, 6, + -1, + Yemerald_eat, 5, + -1, + Yemerald_eat, 4, + -1, + Yemerald_eat, 3, + -1, + Yemerald_eat, 2, + -1, + Yemerald_eat, 1, + -1, + Yemerald_eat, 0, + -1, + Yemerald_stone, 0, + -1, + Yemerald_stone, 1, + -1, + Yemerald_stone, 2, + -1, + Yemerald_stone, 3, + -1, + Yemerald_stone, 4, + -1, + Yemerald_stone, 5, + -1, + Yemerald_stone, 6, + -1, - Xdiamond, 0, - Xdiamond, 1, - Xdiamond, 2, - Xdiamond, 3, - Xdiamond, 4, - Xdiamond, 5, - Xdiamond, 6, - Xdiamond, 7, - Xdiamond_pause, 0, - Xdiamond_pause, 1, - Xdiamond_pause, 2, - Xdiamond_pause, 3, - Xdiamond_pause, 4, - Xdiamond_pause, 5, - Xdiamond_pause, 6, - Xdiamond_pause, 7, - Xdiamond_fall, 0, - Xdiamond_fall, 1, - Xdiamond_fall, 2, - Xdiamond_fall, 3, - Xdiamond_fall, 4, - Xdiamond_fall, 5, - Xdiamond_fall, 6, - Xdiamond_fall, 7, + Xdiamond, 0, + Xdiamond, 1, + Xdiamond, 2, + Xdiamond, 3, + Xdiamond, 4, + Xdiamond, 5, + Xdiamond, 6, + Xdiamond, 7, + Xdiamond_pause, 0, + Xdiamond_pause, 1, + Xdiamond_pause, 2, + Xdiamond_pause, 3, + Xdiamond_pause, 4, + Xdiamond_pause, 5, + Xdiamond_pause, 6, + Xdiamond_pause, 7, + Xdiamond_fall, 0, + Xdiamond_fall, 1, + Xdiamond_fall, 2, + Xdiamond_fall, 3, + Xdiamond_fall, 4, + Xdiamond_fall, 5, + Xdiamond_fall, 6, + Xdiamond_fall, 7, #ifdef BAD_ROLL - Xdiamond_force_e, 0, - Xdiamond_force_e, 1, - Xdiamond_force_e, 2, - Xdiamond_force_e, 3, - Xdiamond_force_e, 4, - Xdiamond_force_e, 5, - Xdiamond_force_e, 6, - Xdiamond_force_e, 7, - Xdiamond_force_w, 0, - Xdiamond_force_w, 1, - Xdiamond_force_w, 2, - Xdiamond_force_w, 3, - Xdiamond_force_w, 4, - Xdiamond_force_w, 5, - Xdiamond_force_w, 6, - Xdiamond_force_w, 7, + Xdiamond_force_e, 0, + Xdiamond_force_e, 1, + Xdiamond_force_e, 2, + Xdiamond_force_e, 3, + Xdiamond_force_e, 4, + Xdiamond_force_e, 5, + Xdiamond_force_e, 6, + Xdiamond_force_e, 7, + Xdiamond_force_w, 0, + Xdiamond_force_w, 1, + Xdiamond_force_w, 2, + Xdiamond_force_w, 3, + Xdiamond_force_w, 4, + Xdiamond_force_w, 5, + Xdiamond_force_w, 6, + Xdiamond_force_w, 7, #endif - Xdiamond_shine, 0, - Xdiamond_shine, 7, - Ydiamond_s, 7, - Ydiamond_e, 7, - Ydiamond_w, 7, - -1, - Xdiamond_shine, 1, - Xdiamond_shine, 6, - -1, - Xdiamond_shine, 2, - Xdiamond_shine, 5, - -1, - Xdiamond_shine, 3, - Xdiamond_shine, 4, - -1, - Ydiamond_sB, 6, - -1, - Ydiamond_s, 6, - -1, - Ydiamond_sB, 5, - -1, - Ydiamond_s, 5, - -1, - Ydiamond_sB, 4, - -1, - Ydiamond_s, 4, - -1, - Ydiamond_sB, 3, - -1, - Ydiamond_s, 3, - -1, - Ydiamond_sB, 2, - -1, - Ydiamond_s, 2, - -1, - Ydiamond_sB, 1, - -1, - Ydiamond_s, 1, - -1, - Ydiamond_sB, 0, - -1, - Ydiamond_s, 0, - -1, - Ydiamond_eB, 6, - Ydiamond_w, 0, - -1, - Ydiamond_e, 6, - Ydiamond_wB, 0, - -1, - Ydiamond_eB, 5, - Ydiamond_w, 1, - -1, - Ydiamond_e, 5, - Ydiamond_wB, 1, - -1, - Ydiamond_eB, 4, - Ydiamond_w, 2, - -1, - Ydiamond_e, 4, - Ydiamond_wB, 2, - -1, - Ydiamond_eB, 3, - Ydiamond_w, 3, - -1, - Ydiamond_e, 3, - Ydiamond_wB, 3, - -1, - Ydiamond_eB, 2, - Ydiamond_w, 4, - -1, - Ydiamond_e, 2, - Ydiamond_wB, 4, - -1, - Ydiamond_eB, 1, - Ydiamond_w, 5, - -1, - Ydiamond_e, 1, - Ydiamond_wB, 5, - -1, - Ydiamond_eB, 0, - Ydiamond_w, 6, - -1, - Ydiamond_e, 0, - Ydiamond_wB, 6, - -1, - Ydiamond_eat, 6, - -1, - Ydiamond_eat, 5, - -1, - Ydiamond_eat, 4, - -1, - Ydiamond_eat, 3, - -1, - Ydiamond_eat, 2, - -1, - Ydiamond_eat, 1, - -1, - Ydiamond_eat, 0, - -1, - Ydiamond_stone, 0, - -1, - Ydiamond_stone, 1, - -1, - Ydiamond_stone, 2, - -1, - Ydiamond_stone, 3, - -1, - Ydiamond_stone, 4, - -1, - Ydiamond_stone, 5, - -1, - Ydiamond_stone, 6, - -1, + Xdiamond_shine, 0, + Xdiamond_shine, 7, + Ydiamond_s, 7, + Ydiamond_e, 7, + Ydiamond_w, 7, + -1, + Xdiamond_shine, 1, + Xdiamond_shine, 6, + -1, + Xdiamond_shine, 2, + Xdiamond_shine, 5, + -1, + Xdiamond_shine, 3, + Xdiamond_shine, 4, + -1, + Ydiamond_sB, 6, + -1, + Ydiamond_s, 6, + -1, + Ydiamond_sB, 5, + -1, + Ydiamond_s, 5, + -1, + Ydiamond_sB, 4, + -1, + Ydiamond_s, 4, + -1, + Ydiamond_sB, 3, + -1, + Ydiamond_s, 3, + -1, + Ydiamond_sB, 2, + -1, + Ydiamond_s, 2, + -1, + Ydiamond_sB, 1, + -1, + Ydiamond_s, 1, + -1, + Ydiamond_sB, 0, + -1, + Ydiamond_s, 0, + -1, + Ydiamond_eB, 6, + Ydiamond_w, 0, + -1, + Ydiamond_e, 6, + Ydiamond_wB, 0, + -1, + Ydiamond_eB, 5, + Ydiamond_w, 1, + -1, + Ydiamond_e, 5, + Ydiamond_wB, 1, + -1, + Ydiamond_eB, 4, + Ydiamond_w, 2, + -1, + Ydiamond_e, 4, + Ydiamond_wB, 2, + -1, + Ydiamond_eB, 3, + Ydiamond_w, 3, + -1, + Ydiamond_e, 3, + Ydiamond_wB, 3, + -1, + Ydiamond_eB, 2, + Ydiamond_w, 4, + -1, + Ydiamond_e, 2, + Ydiamond_wB, 4, + -1, + Ydiamond_eB, 1, + Ydiamond_w, 5, + -1, + Ydiamond_e, 1, + Ydiamond_wB, 5, + -1, + Ydiamond_eB, 0, + Ydiamond_w, 6, + -1, + Ydiamond_e, 0, + Ydiamond_wB, 6, + -1, + Ydiamond_eat, 6, + -1, + Ydiamond_eat, 5, + -1, + Ydiamond_eat, 4, + -1, + Ydiamond_eat, 3, + -1, + Ydiamond_eat, 2, + -1, + Ydiamond_eat, 1, + -1, + Ydiamond_eat, 0, + -1, + Ydiamond_stone, 0, + -1, + Ydiamond_stone, 1, + -1, + Ydiamond_stone, 2, + -1, + Ydiamond_stone, 3, + -1, + Ydiamond_stone, 4, + -1, + Ydiamond_stone, 5, + -1, + Ydiamond_stone, 6, + -1, - Xdrip_fall, 0, - Xdrip_fall, 1, - Xdrip_fall, 2, - Xdrip_fall, 3, - Xdrip_fall, 4, - Xdrip_fall, 5, - Xdrip_fall, 6, - Xdrip_fall, 7, - Xdrip_eat, 7, - Ydrip_s2, 7, - -1, - Ydrip_s2B, 6, - -1, - Ydrip_s2, 6, - -1, - Ydrip_s2B, 5, - -1, - Ydrip_s2, 5, - -1, - Ydrip_s2B, 4, - -1, - Ydrip_s2, 4, - -1, - Ydrip_s2B, 3, - -1, - Ydrip_s2, 3, - -1, - Ydrip_s2B, 2, - -1, - Ydrip_s2, 2, - -1, - Ydrip_s2B, 1, - -1, - Ydrip_s2, 1, - -1, - Ydrip_s2B, 0, - -1, - Ydrip_s2, 0, - -1, - Xdrip_stretchB, 0, - Xdrip_stretchB, 1, - Xdrip_stretchB, 2, - Xdrip_stretchB, 3, - Xdrip_stretchB, 4, - Xdrip_stretchB, 5, - Xdrip_stretchB, 6, - Xdrip_stretchB, 7, - Ydrip_s1B, 7, - -1, - Xdrip_stretch, 0, - Xdrip_stretch, 1, - Xdrip_stretch, 2, - Xdrip_stretch, 3, - Xdrip_stretch, 4, - Xdrip_stretch, 5, - Xdrip_stretch, 6, - Xdrip_stretch, 7, - Ydrip_s1, 7, - -1, - Ydrip_s1B, 6, - -1, - Ydrip_s1, 6, - -1, - Ydrip_s1B, 5, - -1, - Ydrip_s1, 5, - -1, - Ydrip_s1B, 4, - -1, - Ydrip_s1, 4, - -1, - Ydrip_s1B, 3, - -1, - Ydrip_s1, 3, - -1, - Ydrip_s1B, 2, - -1, - Ydrip_s1, 2, - -1, - Ydrip_s1B, 1, - -1, - Ydrip_s1, 1, - -1, - Ydrip_s1B, 0, - -1, - Ydrip_s1, 0, - -1, - Xdrip_eat, 0, - -1, - Xdrip_eat, 1, - -1, - Xdrip_eat, 2, - -1, - Xdrip_eat, 3, - -1, - Xdrip_eat, 4, - -1, - Xdrip_eat, 5, - -1, - Xdrip_eat, 6, - -1, + Xdrip_fall, 0, + Xdrip_fall, 1, + Xdrip_fall, 2, + Xdrip_fall, 3, + Xdrip_fall, 4, + Xdrip_fall, 5, + Xdrip_fall, 6, + Xdrip_fall, 7, + Xdrip_eat, 7, + Ydrip_s2, 7, + -1, + Ydrip_s2B, 6, + -1, + Ydrip_s2, 6, + -1, + Ydrip_s2B, 5, + -1, + Ydrip_s2, 5, + -1, + Ydrip_s2B, 4, + -1, + Ydrip_s2, 4, + -1, + Ydrip_s2B, 3, + -1, + Ydrip_s2, 3, + -1, + Ydrip_s2B, 2, + -1, + Ydrip_s2, 2, + -1, + Ydrip_s2B, 1, + -1, + Ydrip_s2, 1, + -1, + Ydrip_s2B, 0, + -1, + Ydrip_s2, 0, + -1, + Xdrip_stretchB, 0, + Xdrip_stretchB, 1, + Xdrip_stretchB, 2, + Xdrip_stretchB, 3, + Xdrip_stretchB, 4, + Xdrip_stretchB, 5, + Xdrip_stretchB, 6, + Xdrip_stretchB, 7, + Ydrip_s1B, 7, + -1, + Xdrip_stretch, 0, + Xdrip_stretch, 1, + Xdrip_stretch, 2, + Xdrip_stretch, 3, + Xdrip_stretch, 4, + Xdrip_stretch, 5, + Xdrip_stretch, 6, + Xdrip_stretch, 7, + Ydrip_s1, 7, + -1, + Ydrip_s1B, 6, + -1, + Ydrip_s1, 6, + -1, + Ydrip_s1B, 5, + -1, + Ydrip_s1, 5, + -1, + Ydrip_s1B, 4, + -1, + Ydrip_s1, 4, + -1, + Ydrip_s1B, 3, + -1, + Ydrip_s1, 3, + -1, + Ydrip_s1B, 2, + -1, + Ydrip_s1, 2, + -1, + Ydrip_s1B, 1, + -1, + Ydrip_s1, 1, + -1, + Ydrip_s1B, 0, + -1, + Ydrip_s1, 0, + -1, + Xdrip_eat, 0, + -1, + Xdrip_eat, 1, + -1, + Xdrip_eat, 2, + -1, + Xdrip_eat, 3, + -1, + Xdrip_eat, 4, + -1, + Xdrip_eat, 5, + -1, + Xdrip_eat, 6, + -1, - Xbomb, 0, - Xbomb, 1, - Xbomb, 2, - Xbomb, 3, - Xbomb, 4, - Xbomb, 5, - Xbomb, 6, - Xbomb, 7, - Xbomb_pause, 0, - Xbomb_pause, 1, - Xbomb_pause, 2, - Xbomb_pause, 3, - Xbomb_pause, 4, - Xbomb_pause, 5, - Xbomb_pause, 6, - Xbomb_pause, 7, - Xbomb_fall, 0, - Xbomb_fall, 1, - Xbomb_fall, 2, - Xbomb_fall, 3, - Xbomb_fall, 4, - Xbomb_fall, 5, - Xbomb_fall, 6, - Xbomb_fall, 7, + Xbomb, 0, + Xbomb, 1, + Xbomb, 2, + Xbomb, 3, + Xbomb, 4, + Xbomb, 5, + Xbomb, 6, + Xbomb, 7, + Xbomb_pause, 0, + Xbomb_pause, 1, + Xbomb_pause, 2, + Xbomb_pause, 3, + Xbomb_pause, 4, + Xbomb_pause, 5, + Xbomb_pause, 6, + Xbomb_pause, 7, + Xbomb_fall, 0, + Xbomb_fall, 1, + Xbomb_fall, 2, + Xbomb_fall, 3, + Xbomb_fall, 4, + Xbomb_fall, 5, + Xbomb_fall, 6, + Xbomb_fall, 7, #ifdef BAD_ROLL - Xbomb_force_e, 0, - Xbomb_force_e, 1, - Xbomb_force_e, 2, - Xbomb_force_e, 3, - Xbomb_force_e, 4, - Xbomb_force_e, 5, - Xbomb_force_e, 6, - Xbomb_force_e, 7, - Xbomb_force_w, 0, - Xbomb_force_w, 1, - Xbomb_force_w, 2, - Xbomb_force_w, 3, - Xbomb_force_w, 4, - Xbomb_force_w, 5, - Xbomb_force_w, 6, - Xbomb_force_w, 7, + Xbomb_force_e, 0, + Xbomb_force_e, 1, + Xbomb_force_e, 2, + Xbomb_force_e, 3, + Xbomb_force_e, 4, + Xbomb_force_e, 5, + Xbomb_force_e, 6, + Xbomb_force_e, 7, + Xbomb_force_w, 0, + Xbomb_force_w, 1, + Xbomb_force_w, 2, + Xbomb_force_w, 3, + Xbomb_force_w, 4, + Xbomb_force_w, 5, + Xbomb_force_w, 6, + Xbomb_force_w, 7, #endif - Ybomb_s, 7, - Ybomb_e, 7, - Ybomb_w, 7, - -1, - Ybomb_sB, 6, - -1, - Ybomb_s, 6, - -1, - Ybomb_sB, 5, - -1, - Ybomb_s, 5, - -1, - Ybomb_sB, 4, - -1, - Ybomb_s, 4, - -1, - Ybomb_sB, 3, - -1, - Ybomb_s, 3, - -1, - Ybomb_sB, 2, - -1, - Ybomb_s, 2, - -1, - Ybomb_sB, 1, - -1, - Ybomb_s, 1, - -1, - Ybomb_sB, 0, - -1, - Ybomb_s, 0, - -1, - Ybomb_eB, 6, - Ybomb_w, 0, - -1, - Ybomb_e, 6, - Ybomb_wB, 0, - -1, - Ybomb_eB, 5, - Ybomb_w, 1, - -1, - Ybomb_e, 5, - Ybomb_wB, 1, - -1, - Ybomb_eB, 4, - Ybomb_w, 2, - -1, - Ybomb_e, 4, - Ybomb_wB, 2, - -1, - Ybomb_eB, 3, - Ybomb_w, 3, - -1, - Ybomb_e, 3, - Ybomb_wB, 3, - -1, - Ybomb_eB, 2, - Ybomb_w, 4, - -1, - Ybomb_e, 2, - Ybomb_wB, 4, - -1, - Ybomb_eB, 1, - Ybomb_w, 5, - -1, - Ybomb_e, 1, - Ybomb_wB, 5, - -1, - Ybomb_eB, 0, - Ybomb_w, 6, - -1, - Ybomb_e, 0, - Ybomb_wB, 6, - -1, - Ybomb_eat, 6, - -1, - Ybomb_eat, 5, - -1, - Ybomb_eat, 4, - -1, - Ybomb_eat, 3, - -1, - Ybomb_eat, 2, - -1, - Ybomb_eat, 1, - -1, - Ybomb_eat, 0, - -1, + Ybomb_s, 7, + Ybomb_e, 7, + Ybomb_w, 7, + -1, + Ybomb_sB, 6, + -1, + Ybomb_s, 6, + -1, + Ybomb_sB, 5, + -1, + Ybomb_s, 5, + -1, + Ybomb_sB, 4, + -1, + Ybomb_s, 4, + -1, + Ybomb_sB, 3, + -1, + Ybomb_s, 3, + -1, + Ybomb_sB, 2, + -1, + Ybomb_s, 2, + -1, + Ybomb_sB, 1, + -1, + Ybomb_s, 1, + -1, + Ybomb_sB, 0, + -1, + Ybomb_s, 0, + -1, + Ybomb_eB, 6, + Ybomb_w, 0, + -1, + Ybomb_e, 6, + Ybomb_wB, 0, + -1, + Ybomb_eB, 5, + Ybomb_w, 1, + -1, + Ybomb_e, 5, + Ybomb_wB, 1, + -1, + Ybomb_eB, 4, + Ybomb_w, 2, + -1, + Ybomb_e, 4, + Ybomb_wB, 2, + -1, + Ybomb_eB, 3, + Ybomb_w, 3, + -1, + Ybomb_e, 3, + Ybomb_wB, 3, + -1, + Ybomb_eB, 2, + Ybomb_w, 4, + -1, + Ybomb_e, 2, + Ybomb_wB, 4, + -1, + Ybomb_eB, 1, + Ybomb_w, 5, + -1, + Ybomb_e, 1, + Ybomb_wB, 5, + -1, + Ybomb_eB, 0, + Ybomb_w, 6, + -1, + Ybomb_e, 0, + Ybomb_wB, 6, + -1, + Ybomb_eat, 6, + -1, + Ybomb_eat, 5, + -1, + Ybomb_eat, 4, + -1, + Ybomb_eat, 3, + -1, + Ybomb_eat, 2, + -1, + Ybomb_eat, 1, + -1, + Ybomb_eat, 0, + -1, - Yballoon_n, 7, - Yballoon_e, 7, - Yballoon_s, 7, - Yballoon_w, 7, - Xballoon, 0, - Xballoon, 1, - Xballoon, 2, - Xballoon, 3, - Xballoon, 4, - Xballoon, 5, - Xballoon, 6, - Xballoon, 7, - -1, - Yballoon_n, 0, - Yballoon_sB, 6, - -1, - Yballoon_nB, 0, - Yballoon_s, 6, - -1, - Yballoon_n, 1, - Yballoon_sB, 5, - -1, - Yballoon_nB, 1, - Yballoon_s, 5, - -1, - Yballoon_n, 2, - Yballoon_sB, 4, - -1, - Yballoon_nB, 2, - Yballoon_s, 4, - -1, - Yballoon_n, 3, - Yballoon_sB, 3, - -1, - Yballoon_nB, 3, - Yballoon_s, 3, - -1, - Yballoon_n, 4, - Yballoon_sB, 2, - -1, - Yballoon_nB, 4, - Yballoon_s, 2, - -1, - Yballoon_n, 5, - Yballoon_sB, 1, - -1, - Yballoon_nB, 5, - Yballoon_s, 1, - -1, - Yballoon_n, 6, - Yballoon_sB, 0, - -1, - Yballoon_nB, 6, - Yballoon_s, 0, - -1, - Yballoon_eB, 6, - Yballoon_w, 0, - -1, - Yballoon_e, 6, - Yballoon_wB, 0, - -1, - Yballoon_eB, 5, - Yballoon_w, 1, - -1, - Yballoon_e, 5, - Yballoon_wB, 1, - -1, - Yballoon_eB, 4, - Yballoon_w, 2, - -1, - Yballoon_e, 4, - Yballoon_wB, 2, - -1, - Yballoon_eB, 3, - Yballoon_w, 3, - -1, - Yballoon_e, 3, - Yballoon_wB, 3, - -1, - Yballoon_eB, 2, - Yballoon_w, 4, - -1, - Yballoon_e, 2, - Yballoon_wB, 4, - -1, - Yballoon_eB, 1, - Yballoon_w, 5, - -1, - Yballoon_e, 1, - Yballoon_wB, 5, - -1, - Yballoon_eB, 0, - Yballoon_w, 6, - -1, - Yballoon_e, 0, - Yballoon_wB, 6, - -1, + Yballoon_n, 7, + Yballoon_e, 7, + Yballoon_s, 7, + Yballoon_w, 7, + Xballoon, 0, + Xballoon, 1, + Xballoon, 2, + Xballoon, 3, + Xballoon, 4, + Xballoon, 5, + Xballoon, 6, + Xballoon, 7, + -1, + Yballoon_n, 0, + Yballoon_sB, 6, + -1, + Yballoon_nB, 0, + Yballoon_s, 6, + -1, + Yballoon_n, 1, + Yballoon_sB, 5, + -1, + Yballoon_nB, 1, + Yballoon_s, 5, + -1, + Yballoon_n, 2, + Yballoon_sB, 4, + -1, + Yballoon_nB, 2, + Yballoon_s, 4, + -1, + Yballoon_n, 3, + Yballoon_sB, 3, + -1, + Yballoon_nB, 3, + Yballoon_s, 3, + -1, + Yballoon_n, 4, + Yballoon_sB, 2, + -1, + Yballoon_nB, 4, + Yballoon_s, 2, + -1, + Yballoon_n, 5, + Yballoon_sB, 1, + -1, + Yballoon_nB, 5, + Yballoon_s, 1, + -1, + Yballoon_n, 6, + Yballoon_sB, 0, + -1, + Yballoon_nB, 6, + Yballoon_s, 0, + -1, + Yballoon_eB, 6, + Yballoon_w, 0, + -1, + Yballoon_e, 6, + Yballoon_wB, 0, + -1, + Yballoon_eB, 5, + Yballoon_w, 1, + -1, + Yballoon_e, 5, + Yballoon_wB, 1, + -1, + Yballoon_eB, 4, + Yballoon_w, 2, + -1, + Yballoon_e, 4, + Yballoon_wB, 2, + -1, + Yballoon_eB, 3, + Yballoon_w, 3, + -1, + Yballoon_e, 3, + Yballoon_wB, 3, + -1, + Yballoon_eB, 2, + Yballoon_w, 4, + -1, + Yballoon_e, 2, + Yballoon_wB, 4, + -1, + Yballoon_eB, 1, + Yballoon_w, 5, + -1, + Yballoon_e, 1, + Yballoon_wB, 5, + -1, + Yballoon_eB, 0, + Yballoon_w, 6, + -1, + Yballoon_e, 0, + Yballoon_wB, 6, + -1, - Xgrass, 0, - Xgrass, 1, - Xgrass, 2, - Xgrass, 3, - Xgrass, 4, - Xgrass, 5, - Xgrass, 6, - Xgrass, 7, - Xfake_grass, 0, - Xfake_grass, 1, - Xfake_grass, 2, - Xfake_grass, 3, - Xfake_grass, 4, - Xfake_grass, 5, - Xfake_grass, 6, - Xfake_grass, 7, - -1, - Ygrass_nB, 6, - -1, - Ygrass_nB, 5, - -1, - Ygrass_nB, 4, - -1, - Ygrass_nB, 3, - -1, - Ygrass_nB, 2, - -1, - Ygrass_nB, 1, - -1, - Ygrass_nB, 0, - -1, - Ygrass_eB, 6, - -1, - Ygrass_eB, 5, - -1, - Ygrass_eB, 4, - -1, - Ygrass_eB, 3, - -1, - Ygrass_eB, 2, - -1, - Ygrass_eB, 1, - -1, - Ygrass_eB, 0, - -1, - Ygrass_sB, 6, - -1, - Ygrass_sB, 5, - -1, - Ygrass_sB, 4, - -1, - Ygrass_sB, 3, - -1, - Ygrass_sB, 2, - -1, - Ygrass_sB, 1, - -1, - Ygrass_sB, 0, - -1, - Ygrass_wB, 6, - -1, - Ygrass_wB, 5, - -1, - Ygrass_wB, 4, - -1, - Ygrass_wB, 3, - -1, - Ygrass_wB, 2, - -1, - Ygrass_wB, 1, - -1, - Ygrass_wB, 0, - -1, + Xgrass, 0, + Xgrass, 1, + Xgrass, 2, + Xgrass, 3, + Xgrass, 4, + Xgrass, 5, + Xgrass, 6, + Xgrass, 7, + Xfake_grass, 0, + Xfake_grass, 1, + Xfake_grass, 2, + Xfake_grass, 3, + Xfake_grass, 4, + Xfake_grass, 5, + Xfake_grass, 6, + Xfake_grass, 7, + -1, + Ygrass_nB, 6, + -1, + Ygrass_nB, 5, + -1, + Ygrass_nB, 4, + -1, + Ygrass_nB, 3, + -1, + Ygrass_nB, 2, + -1, + Ygrass_nB, 1, + -1, + Ygrass_nB, 0, + -1, + Ygrass_eB, 6, + -1, + Ygrass_eB, 5, + -1, + Ygrass_eB, 4, + -1, + Ygrass_eB, 3, + -1, + Ygrass_eB, 2, + -1, + Ygrass_eB, 1, + -1, + Ygrass_eB, 0, + -1, + Ygrass_sB, 6, + -1, + Ygrass_sB, 5, + -1, + Ygrass_sB, 4, + -1, + Ygrass_sB, 3, + -1, + Ygrass_sB, 2, + -1, + Ygrass_sB, 1, + -1, + Ygrass_sB, 0, + -1, + Ygrass_wB, 6, + -1, + Ygrass_wB, 5, + -1, + Ygrass_wB, 4, + -1, + Ygrass_wB, 3, + -1, + Ygrass_wB, 2, + -1, + Ygrass_wB, 1, + -1, + Ygrass_wB, 0, + -1, - Xdirt, 0, - Xdirt, 1, - Xdirt, 2, - Xdirt, 3, - Xdirt, 4, - Xdirt, 5, - Xdirt, 6, - Xdirt, 7, - -1, - Ydirt_nB, 6, - -1, - Ydirt_nB, 5, - -1, - Ydirt_nB, 4, - -1, - Ydirt_nB, 3, - -1, - Ydirt_nB, 2, - -1, - Ydirt_nB, 1, - -1, - Ydirt_nB, 0, - -1, - Ydirt_eB, 6, - -1, - Ydirt_eB, 5, - -1, - Ydirt_eB, 4, - -1, - Ydirt_eB, 3, - -1, - Ydirt_eB, 2, - -1, - Ydirt_eB, 1, - -1, - Ydirt_eB, 0, - -1, - Ydirt_sB, 6, - -1, - Ydirt_sB, 5, - -1, - Ydirt_sB, 4, - -1, - Ydirt_sB, 3, - -1, - Ydirt_sB, 2, - -1, - Ydirt_sB, 1, - -1, - Ydirt_sB, 0, - -1, - Ydirt_wB, 6, - -1, - Ydirt_wB, 5, - -1, - Ydirt_wB, 4, - -1, - Ydirt_wB, 3, - -1, - Ydirt_wB, 2, - -1, - Ydirt_wB, 1, - -1, - Ydirt_wB, 0, - -1, + Xdirt, 0, + Xdirt, 1, + Xdirt, 2, + Xdirt, 3, + Xdirt, 4, + Xdirt, 5, + Xdirt, 6, + Xdirt, 7, + -1, + Ydirt_nB, 6, + -1, + Ydirt_nB, 5, + -1, + Ydirt_nB, 4, + -1, + Ydirt_nB, 3, + -1, + Ydirt_nB, 2, + -1, + Ydirt_nB, 1, + -1, + Ydirt_nB, 0, + -1, + Ydirt_eB, 6, + -1, + Ydirt_eB, 5, + -1, + Ydirt_eB, 4, + -1, + Ydirt_eB, 3, + -1, + Ydirt_eB, 2, + -1, + Ydirt_eB, 1, + -1, + Ydirt_eB, 0, + -1, + Ydirt_sB, 6, + -1, + Ydirt_sB, 5, + -1, + Ydirt_sB, 4, + -1, + Ydirt_sB, 3, + -1, + Ydirt_sB, 2, + -1, + Ydirt_sB, 1, + -1, + Ydirt_sB, 0, + -1, + Ydirt_wB, 6, + -1, + Ydirt_wB, 5, + -1, + Ydirt_wB, 4, + -1, + Ydirt_wB, 3, + -1, + Ydirt_wB, 2, + -1, + Ydirt_wB, 1, + -1, + Ydirt_wB, 0, + -1, - Xacid_nw, 0, - Xacid_nw, 1, - Xacid_nw, 2, - Xacid_nw, 3, - Xacid_nw, 4, - Xacid_nw, 5, - Xacid_nw, 6, - Xacid_nw, 7, - -1, - Xacid_ne, 0, - Xacid_ne, 1, - Xacid_ne, 2, - Xacid_ne, 3, - Xacid_ne, 4, - Xacid_ne, 5, - Xacid_ne, 6, - Xacid_ne, 7, - -1, - Xacid_sw, 0, - Xacid_sw, 1, - Xacid_sw, 2, - Xacid_sw, 3, - Xacid_sw, 4, - Xacid_sw, 5, - Xacid_sw, 6, - Xacid_sw, 7, - -1, - Xacid_s, 0, - Xacid_s, 1, - Xacid_s, 2, - Xacid_s, 3, - Xacid_s, 4, - Xacid_s, 5, - Xacid_s, 6, - Xacid_s, 7, - -1, - Xacid_se, 0, - Xacid_se, 1, - Xacid_se, 2, - Xacid_se, 3, - Xacid_se, 4, - Xacid_se, 5, - Xacid_se, 6, - Xacid_se, 7, - -1, - Xacid_1, 0, - Xacid_1, 1, - Xacid_1, 2, - Xacid_1, 3, - Xacid_1, 4, - Xacid_1, 5, - Xacid_1, 6, - Xacid_1, 7, - -1, - Xacid_2, 0, - Xacid_2, 1, - Xacid_2, 2, - Xacid_2, 3, - Xacid_2, 4, - Xacid_2, 5, - Xacid_2, 6, - Xacid_2, 7, - -1, - Xacid_3, 0, - Xacid_3, 1, - Xacid_3, 2, - Xacid_3, 3, - Xacid_3, 4, - Xacid_3, 5, - Xacid_3, 6, - Xacid_3, 7, - -1, - Xacid_4, 0, - Xacid_4, 1, - Xacid_4, 2, - Xacid_4, 3, - Xacid_4, 4, - Xacid_4, 5, - Xacid_4, 6, - Xacid_4, 7, - -1, - Xacid_5, 0, - Xacid_5, 1, - Xacid_5, 2, - Xacid_5, 3, - Xacid_5, 4, - Xacid_5, 5, - Xacid_5, 6, - Xacid_5, 7, - -1, - Xacid_6, 0, - Xacid_6, 1, - Xacid_6, 2, - Xacid_6, 3, - Xacid_6, 4, - Xacid_6, 5, - Xacid_6, 6, - Xacid_6, 7, - -1, - Xacid_7, 0, - Xacid_7, 1, - Xacid_7, 2, - Xacid_7, 3, - Xacid_7, 4, - Xacid_7, 5, - Xacid_7, 6, - Xacid_7, 7, - -1, - Xacid_8, 0, - Xacid_8, 1, - Xacid_8, 2, - Xacid_8, 3, - Xacid_8, 4, - Xacid_8, 5, - Xacid_8, 6, - Xacid_8, 7, - -1, - Yacid_splash_wB, 4, - Yacid_splash_wB, 5, - -1, - Yacid_splash_wB, 2, - Yacid_splash_wB, 3, - -1, - Yacid_splash_wB, 0, - Yacid_splash_wB, 1, - -1, - Yacid_splash_eB, 4, - Yacid_splash_eB, 5, - -1, - Yacid_splash_eB, 2, - Yacid_splash_eB, 3, - -1, - Yacid_splash_eB, 0, - Yacid_splash_eB, 1, - -1, + Xacid_nw, 0, + Xacid_nw, 1, + Xacid_nw, 2, + Xacid_nw, 3, + Xacid_nw, 4, + Xacid_nw, 5, + Xacid_nw, 6, + Xacid_nw, 7, + -1, + Xacid_ne, 0, + Xacid_ne, 1, + Xacid_ne, 2, + Xacid_ne, 3, + Xacid_ne, 4, + Xacid_ne, 5, + Xacid_ne, 6, + Xacid_ne, 7, + -1, + Xacid_sw, 0, + Xacid_sw, 1, + Xacid_sw, 2, + Xacid_sw, 3, + Xacid_sw, 4, + Xacid_sw, 5, + Xacid_sw, 6, + Xacid_sw, 7, + -1, + Xacid_s, 0, + Xacid_s, 1, + Xacid_s, 2, + Xacid_s, 3, + Xacid_s, 4, + Xacid_s, 5, + Xacid_s, 6, + Xacid_s, 7, + -1, + Xacid_se, 0, + Xacid_se, 1, + Xacid_se, 2, + Xacid_se, 3, + Xacid_se, 4, + Xacid_se, 5, + Xacid_se, 6, + Xacid_se, 7, + -1, + Xacid_1, 0, + Xacid_1, 1, + Xacid_1, 2, + Xacid_1, 3, + Xacid_1, 4, + Xacid_1, 5, + Xacid_1, 6, + Xacid_1, 7, + -1, + Xacid_2, 0, + Xacid_2, 1, + Xacid_2, 2, + Xacid_2, 3, + Xacid_2, 4, + Xacid_2, 5, + Xacid_2, 6, + Xacid_2, 7, + -1, + Xacid_3, 0, + Xacid_3, 1, + Xacid_3, 2, + Xacid_3, 3, + Xacid_3, 4, + Xacid_3, 5, + Xacid_3, 6, + Xacid_3, 7, + -1, + Xacid_4, 0, + Xacid_4, 1, + Xacid_4, 2, + Xacid_4, 3, + Xacid_4, 4, + Xacid_4, 5, + Xacid_4, 6, + Xacid_4, 7, + -1, + Xacid_5, 0, + Xacid_5, 1, + Xacid_5, 2, + Xacid_5, 3, + Xacid_5, 4, + Xacid_5, 5, + Xacid_5, 6, + Xacid_5, 7, + -1, + Xacid_6, 0, + Xacid_6, 1, + Xacid_6, 2, + Xacid_6, 3, + Xacid_6, 4, + Xacid_6, 5, + Xacid_6, 6, + Xacid_6, 7, + -1, + Xacid_7, 0, + Xacid_7, 1, + Xacid_7, 2, + Xacid_7, 3, + Xacid_7, 4, + Xacid_7, 5, + Xacid_7, 6, + Xacid_7, 7, + -1, + Xacid_8, 0, + Xacid_8, 1, + Xacid_8, 2, + Xacid_8, 3, + Xacid_8, 4, + Xacid_8, 5, + Xacid_8, 6, + Xacid_8, 7, + -1, + Yacid_splash_wB, 4, + Yacid_splash_wB, 5, + -1, + Yacid_splash_wB, 2, + Yacid_splash_wB, 3, + -1, + Yacid_splash_wB, 0, + Yacid_splash_wB, 1, + -1, + Yacid_splash_eB, 4, + Yacid_splash_eB, 5, + -1, + Yacid_splash_eB, 2, + Yacid_splash_eB, 3, + -1, + Yacid_splash_eB, 0, + Yacid_splash_eB, 1, + -1, - Xball_2B, 7, - Xball_1, 0, - Xball_1, 1, - Xball_1, 2, - Xball_1, 3, - Xball_1, 4, - Xball_1, 5, - Xball_1, 6, - Xball_1, 7, - -1, - Xball_1B, 0, - -1, - Xball_1B, 1, - -1, - Xball_1B, 2, - -1, - Xball_1B, 3, - -1, - Xball_1B, 4, - -1, - Xball_1B, 5, - -1, - Xball_1B, 6, - -1, - Xball_1B, 7, - Xball_2, 0, - Xball_2, 1, - Xball_2, 2, - Xball_2, 3, - Xball_2, 4, - Xball_2, 5, - Xball_2, 6, - Xball_2, 7, - -1, - Xball_2B, 0, - -1, - Xball_2B, 1, - -1, - Xball_2B, 2, - -1, - Xball_2B, 3, - -1, - Xball_2B, 4, - -1, - Xball_2B, 5, - -1, - Xball_2B, 6, - -1, + Xball_2B, 7, + Xball_1, 0, + Xball_1, 1, + Xball_1, 2, + Xball_1, 3, + Xball_1, 4, + Xball_1, 5, + Xball_1, 6, + Xball_1, 7, + -1, + Xball_1B, 0, + -1, + Xball_1B, 1, + -1, + Xball_1B, 2, + -1, + Xball_1B, 3, + -1, + Xball_1B, 4, + -1, + Xball_1B, 5, + -1, + Xball_1B, 6, + -1, + Xball_1B, 7, + Xball_2, 0, + Xball_2, 1, + Xball_2, 2, + Xball_2, 3, + Xball_2, 4, + Xball_2, 5, + Xball_2, 6, + Xball_2, 7, + -1, + Xball_2B, 0, + -1, + Xball_2B, 1, + -1, + Xball_2B, 2, + -1, + Xball_2B, 3, + -1, + Xball_2B, 4, + -1, + Xball_2B, 5, + -1, + Xball_2B, 6, + -1, - Ygrow_ew_eat, 7, - Xgrow_ew, 0, - Xgrow_ew, 1, - Xgrow_ew, 2, - Xgrow_ew, 3, - Xgrow_ew, 4, - Xgrow_ew, 5, - Xgrow_ew, 6, - Xgrow_ew, 7, - -1, - Ygrow_ew_eat, 0, - -1, - Ygrow_ew_eat, 1, - -1, - Ygrow_ew_eat, 2, - -1, - Ygrow_ew_eat, 3, - -1, - Ygrow_ew_eat, 4, - -1, - Ygrow_ew_eat, 5, - -1, - Ygrow_ew_eat, 6, - -1, - Ygrow_ns_eat, 7, - Xgrow_ns, 0, - Xgrow_ns, 1, - Xgrow_ns, 2, - Xgrow_ns, 3, - Xgrow_ns, 4, - Xgrow_ns, 5, - Xgrow_ns, 6, - Xgrow_ns, 7, - -1, - Ygrow_ns_eat, 0, - -1, - Ygrow_ns_eat, 1, - -1, - Ygrow_ns_eat, 2, - -1, - Ygrow_ns_eat, 3, - -1, - Ygrow_ns_eat, 4, - -1, - Ygrow_ns_eat, 5, - -1, - Ygrow_ns_eat, 6, - -1, + Ygrow_ew_eat, 7, + Xgrow_ew, 0, + Xgrow_ew, 1, + Xgrow_ew, 2, + Xgrow_ew, 3, + Xgrow_ew, 4, + Xgrow_ew, 5, + Xgrow_ew, 6, + Xgrow_ew, 7, + -1, + Ygrow_ew_eat, 0, + -1, + Ygrow_ew_eat, 1, + -1, + Ygrow_ew_eat, 2, + -1, + Ygrow_ew_eat, 3, + -1, + Ygrow_ew_eat, 4, + -1, + Ygrow_ew_eat, 5, + -1, + Ygrow_ew_eat, 6, + -1, + Ygrow_ns_eat, 7, + Xgrow_ns, 0, + Xgrow_ns, 1, + Xgrow_ns, 2, + Xgrow_ns, 3, + Xgrow_ns, 4, + Xgrow_ns, 5, + Xgrow_ns, 6, + Xgrow_ns, 7, + -1, + Ygrow_ns_eat, 0, + -1, + Ygrow_ns_eat, 1, + -1, + Ygrow_ns_eat, 2, + -1, + Ygrow_ns_eat, 3, + -1, + Ygrow_ns_eat, 4, + -1, + Ygrow_ns_eat, 5, + -1, + Ygrow_ns_eat, 6, + -1, - XwonderwallB, 7, - Xwonderwall, 0, - Xwonderwall, 1, - Xwonderwall, 2, - Xwonderwall, 3, - Xwonderwall, 4, - Xwonderwall, 5, - Xwonderwall, 6, - Xwonderwall, 7, - -1, - XwonderwallB, 0, - -1, - XwonderwallB, 1, - -1, - XwonderwallB, 2, - -1, - XwonderwallB, 3, - -1, - XwonderwallB, 4, - -1, - XwonderwallB, 5, - -1, - XwonderwallB, 6, - -1, + XwonderwallB, 7, + Xwonderwall, 0, + Xwonderwall, 1, + Xwonderwall, 2, + Xwonderwall, 3, + Xwonderwall, 4, + Xwonderwall, 5, + Xwonderwall, 6, + Xwonderwall, 7, + -1, + XwonderwallB, 0, + -1, + XwonderwallB, 1, + -1, + XwonderwallB, 2, + -1, + XwonderwallB, 3, + -1, + XwonderwallB, 4, + -1, + XwonderwallB, 5, + -1, + XwonderwallB, 6, + -1, - Xamoeba_1, 0, - Xamoeba_1, 1, - Xamoeba_1, 2, - Xamoeba_1, 3, - Xamoeba_1, 4, - Xamoeba_1, 5, - Xamoeba_1, 6, - Xamoeba_1, 7, - -1, - Xamoeba_2, 0, - Xamoeba_2, 1, - Xamoeba_2, 2, - Xamoeba_2, 3, - Xamoeba_2, 4, - Xamoeba_2, 5, - Xamoeba_2, 6, - Xamoeba_2, 7, - -1, - Xamoeba_3, 0, - Xamoeba_3, 1, - Xamoeba_3, 2, - Xamoeba_3, 3, - Xamoeba_3, 4, - Xamoeba_3, 5, - Xamoeba_3, 6, - Xamoeba_3, 7, - -1, - Xamoeba_4, 0, - Xamoeba_4, 1, - Xamoeba_4, 2, - Xamoeba_4, 3, - Xamoeba_4, 4, - Xamoeba_4, 5, - Xamoeba_4, 6, - Xamoeba_4, 7, - -1, - Xamoeba_5, 0, - Xamoeba_5, 1, - Xamoeba_5, 2, - Xamoeba_5, 3, - Xamoeba_5, 4, - Xamoeba_5, 5, - Xamoeba_5, 6, - Xamoeba_5, 7, - -1, - Xamoeba_6, 0, - Xamoeba_6, 1, - Xamoeba_6, 2, - Xamoeba_6, 3, - Xamoeba_6, 4, - Xamoeba_6, 5, - Xamoeba_6, 6, - Xamoeba_6, 7, - -1, - Xamoeba_7, 0, - Xamoeba_7, 1, - Xamoeba_7, 2, - Xamoeba_7, 3, - Xamoeba_7, 4, - Xamoeba_7, 5, - Xamoeba_7, 6, - Xamoeba_7, 7, - -1, - Xamoeba_8, 0, - Xamoeba_8, 1, - Xamoeba_8, 2, - Xamoeba_8, 3, - Xamoeba_8, 4, - Xamoeba_8, 5, - Xamoeba_8, 6, - Xamoeba_8, 7, - -1, + Xamoeba_1, 0, + Xamoeba_1, 1, + Xamoeba_1, 2, + Xamoeba_1, 3, + Xamoeba_1, 4, + Xamoeba_1, 5, + Xamoeba_1, 6, + Xamoeba_1, 7, + -1, + Xamoeba_2, 0, + Xamoeba_2, 1, + Xamoeba_2, 2, + Xamoeba_2, 3, + Xamoeba_2, 4, + Xamoeba_2, 5, + Xamoeba_2, 6, + Xamoeba_2, 7, + -1, + Xamoeba_3, 0, + Xamoeba_3, 1, + Xamoeba_3, 2, + Xamoeba_3, 3, + Xamoeba_3, 4, + Xamoeba_3, 5, + Xamoeba_3, 6, + Xamoeba_3, 7, + -1, + Xamoeba_4, 0, + Xamoeba_4, 1, + Xamoeba_4, 2, + Xamoeba_4, 3, + Xamoeba_4, 4, + Xamoeba_4, 5, + Xamoeba_4, 6, + Xamoeba_4, 7, + -1, + Xamoeba_5, 0, + Xamoeba_5, 1, + Xamoeba_5, 2, + Xamoeba_5, 3, + Xamoeba_5, 4, + Xamoeba_5, 5, + Xamoeba_5, 6, + Xamoeba_5, 7, + -1, + Xamoeba_6, 0, + Xamoeba_6, 1, + Xamoeba_6, 2, + Xamoeba_6, 3, + Xamoeba_6, 4, + Xamoeba_6, 5, + Xamoeba_6, 6, + Xamoeba_6, 7, + -1, + Xamoeba_7, 0, + Xamoeba_7, 1, + Xamoeba_7, 2, + Xamoeba_7, 3, + Xamoeba_7, 4, + Xamoeba_7, 5, + Xamoeba_7, 6, + Xamoeba_7, 7, + -1, + Xamoeba_8, 0, + Xamoeba_8, 1, + Xamoeba_8, 2, + Xamoeba_8, 3, + Xamoeba_8, 4, + Xamoeba_8, 5, + Xamoeba_8, 6, + Xamoeba_8, 7, + -1, - Xdoor_1, 0, - Xdoor_1, 1, - Xdoor_1, 2, - Xdoor_1, 3, - Xdoor_1, 4, - Xdoor_1, 5, - Xdoor_1, 6, - Xdoor_1, 7, - -1, - Xdoor_2, 0, - Xdoor_2, 1, - Xdoor_2, 2, - Xdoor_2, 3, - Xdoor_2, 4, - Xdoor_2, 5, - Xdoor_2, 6, - Xdoor_2, 7, - -1, - Xdoor_3, 0, - Xdoor_3, 1, - Xdoor_3, 2, - Xdoor_3, 3, - Xdoor_3, 4, - Xdoor_3, 5, - Xdoor_3, 6, - Xdoor_3, 7, - -1, - Xdoor_4, 0, - Xdoor_4, 1, - Xdoor_4, 2, - Xdoor_4, 3, - Xdoor_4, 4, - Xdoor_4, 5, - Xdoor_4, 6, - Xdoor_4, 7, - -1, - Xdoor_5, 0, - Xdoor_5, 1, - Xdoor_5, 2, - Xdoor_5, 3, - Xdoor_5, 4, - Xdoor_5, 5, - Xdoor_5, 6, - Xdoor_5, 7, - -1, - Xdoor_6, 0, - Xdoor_6, 1, - Xdoor_6, 2, - Xdoor_6, 3, - Xdoor_6, 4, - Xdoor_6, 5, - Xdoor_6, 6, - Xdoor_6, 7, - -1, - Xdoor_7, 0, - Xdoor_7, 1, - Xdoor_7, 2, - Xdoor_7, 3, - Xdoor_7, 4, - Xdoor_7, 5, - Xdoor_7, 6, - Xdoor_7, 7, - -1, - Xdoor_8, 0, - Xdoor_8, 1, - Xdoor_8, 2, - Xdoor_8, 3, - Xdoor_8, 4, - Xdoor_8, 5, - Xdoor_8, 6, - Xdoor_8, 7, - -1, - Xkey_1, 0, - Xkey_1, 1, - Xkey_1, 2, - Xkey_1, 3, - Xkey_1, 4, - Xkey_1, 5, - Xkey_1, 6, - Xkey_1, 7, - -1, - Xkey_2, 0, - Xkey_2, 1, - Xkey_2, 2, - Xkey_2, 3, - Xkey_2, 4, - Xkey_2, 5, - Xkey_2, 6, - Xkey_2, 7, - -1, - Xkey_3, 0, - Xkey_3, 1, - Xkey_3, 2, - Xkey_3, 3, - Xkey_3, 4, - Xkey_3, 5, - Xkey_3, 6, - Xkey_3, 7, - -1, - Xkey_4, 0, - Xkey_4, 1, - Xkey_4, 2, - Xkey_4, 3, - Xkey_4, 4, - Xkey_4, 5, - Xkey_4, 6, - Xkey_4, 7, - -1, - Xkey_5, 0, - Xkey_5, 1, - Xkey_5, 2, - Xkey_5, 3, - Xkey_5, 4, - Xkey_5, 5, - Xkey_5, 6, - Xkey_5, 7, - -1, - Xkey_6, 0, - Xkey_6, 1, - Xkey_6, 2, - Xkey_6, 3, - Xkey_6, 4, - Xkey_6, 5, - Xkey_6, 6, - Xkey_6, 7, - -1, - Xkey_7, 0, - Xkey_7, 1, - Xkey_7, 2, - Xkey_7, 3, - Xkey_7, 4, - Xkey_7, 5, - Xkey_7, 6, - Xkey_7, 7, - -1, - Xkey_8, 0, - Xkey_8, 1, - Xkey_8, 2, - Xkey_8, 3, - Xkey_8, 4, - Xkey_8, 5, - Xkey_8, 6, - Xkey_8, 7, - -1, + Xdoor_1, 0, + Xdoor_1, 1, + Xdoor_1, 2, + Xdoor_1, 3, + Xdoor_1, 4, + Xdoor_1, 5, + Xdoor_1, 6, + Xdoor_1, 7, + -1, + Xdoor_2, 0, + Xdoor_2, 1, + Xdoor_2, 2, + Xdoor_2, 3, + Xdoor_2, 4, + Xdoor_2, 5, + Xdoor_2, 6, + Xdoor_2, 7, + -1, + Xdoor_3, 0, + Xdoor_3, 1, + Xdoor_3, 2, + Xdoor_3, 3, + Xdoor_3, 4, + Xdoor_3, 5, + Xdoor_3, 6, + Xdoor_3, 7, + -1, + Xdoor_4, 0, + Xdoor_4, 1, + Xdoor_4, 2, + Xdoor_4, 3, + Xdoor_4, 4, + Xdoor_4, 5, + Xdoor_4, 6, + Xdoor_4, 7, + -1, + Xdoor_5, 0, + Xdoor_5, 1, + Xdoor_5, 2, + Xdoor_5, 3, + Xdoor_5, 4, + Xdoor_5, 5, + Xdoor_5, 6, + Xdoor_5, 7, + -1, + Xdoor_6, 0, + Xdoor_6, 1, + Xdoor_6, 2, + Xdoor_6, 3, + Xdoor_6, 4, + Xdoor_6, 5, + Xdoor_6, 6, + Xdoor_6, 7, + -1, + Xdoor_7, 0, + Xdoor_7, 1, + Xdoor_7, 2, + Xdoor_7, 3, + Xdoor_7, 4, + Xdoor_7, 5, + Xdoor_7, 6, + Xdoor_7, 7, + -1, + Xdoor_8, 0, + Xdoor_8, 1, + Xdoor_8, 2, + Xdoor_8, 3, + Xdoor_8, 4, + Xdoor_8, 5, + Xdoor_8, 6, + Xdoor_8, 7, + -1, + Xkey_1, 0, + Xkey_1, 1, + Xkey_1, 2, + Xkey_1, 3, + Xkey_1, 4, + Xkey_1, 5, + Xkey_1, 6, + Xkey_1, 7, + -1, + Xkey_2, 0, + Xkey_2, 1, + Xkey_2, 2, + Xkey_2, 3, + Xkey_2, 4, + Xkey_2, 5, + Xkey_2, 6, + Xkey_2, 7, + -1, + Xkey_3, 0, + Xkey_3, 1, + Xkey_3, 2, + Xkey_3, 3, + Xkey_3, 4, + Xkey_3, 5, + Xkey_3, 6, + Xkey_3, 7, + -1, + Xkey_4, 0, + Xkey_4, 1, + Xkey_4, 2, + Xkey_4, 3, + Xkey_4, 4, + Xkey_4, 5, + Xkey_4, 6, + Xkey_4, 7, + -1, + Xkey_5, 0, + Xkey_5, 1, + Xkey_5, 2, + Xkey_5, 3, + Xkey_5, 4, + Xkey_5, 5, + Xkey_5, 6, + Xkey_5, 7, + -1, + Xkey_6, 0, + Xkey_6, 1, + Xkey_6, 2, + Xkey_6, 3, + Xkey_6, 4, + Xkey_6, 5, + Xkey_6, 6, + Xkey_6, 7, + -1, + Xkey_7, 0, + Xkey_7, 1, + Xkey_7, 2, + Xkey_7, 3, + Xkey_7, 4, + Xkey_7, 5, + Xkey_7, 6, + Xkey_7, 7, + -1, + Xkey_8, 0, + Xkey_8, 1, + Xkey_8, 2, + Xkey_8, 3, + Xkey_8, 4, + Xkey_8, 5, + Xkey_8, 6, + Xkey_8, 7, + -1, - Xwind_n, 0, - Xwind_n, 1, - Xwind_n, 2, - Xwind_n, 3, - Xwind_n, 4, - Xwind_n, 5, - Xwind_n, 6, - Xwind_n, 7, - -1, - Xwind_e, 0, - Xwind_e, 1, - Xwind_e, 2, - Xwind_e, 3, - Xwind_e, 4, - Xwind_e, 5, - Xwind_e, 6, - Xwind_e, 7, - -1, - Xwind_s, 0, - Xwind_s, 1, - Xwind_s, 2, - Xwind_s, 3, - Xwind_s, 4, - Xwind_s, 5, - Xwind_s, 6, - Xwind_s, 7, - -1, - Xwind_w, 0, - Xwind_w, 1, - Xwind_w, 2, - Xwind_w, 3, - Xwind_w, 4, - Xwind_w, 5, - Xwind_w, 6, - Xwind_w, 7, - -1, - Xwind_nesw, 0, - Xwind_nesw, 1, - Xwind_nesw, 2, - Xwind_nesw, 3, - Xwind_nesw, 4, - Xwind_nesw, 5, - Xwind_nesw, 6, - Xwind_nesw, 7, - -1, - Xwind_stop, 0, - Xwind_stop, 1, - Xwind_stop, 2, - Xwind_stop, 3, - Xwind_stop, 4, - Xwind_stop, 5, - Xwind_stop, 6, - Xwind_stop, 7, - -1, + Xwind_n, 0, + Xwind_n, 1, + Xwind_n, 2, + Xwind_n, 3, + Xwind_n, 4, + Xwind_n, 5, + Xwind_n, 6, + Xwind_n, 7, + -1, + Xwind_e, 0, + Xwind_e, 1, + Xwind_e, 2, + Xwind_e, 3, + Xwind_e, 4, + Xwind_e, 5, + Xwind_e, 6, + Xwind_e, 7, + -1, + Xwind_s, 0, + Xwind_s, 1, + Xwind_s, 2, + Xwind_s, 3, + Xwind_s, 4, + Xwind_s, 5, + Xwind_s, 6, + Xwind_s, 7, + -1, + Xwind_w, 0, + Xwind_w, 1, + Xwind_w, 2, + Xwind_w, 3, + Xwind_w, 4, + Xwind_w, 5, + Xwind_w, 6, + Xwind_w, 7, + -1, + Xwind_nesw, 0, + Xwind_nesw, 1, + Xwind_nesw, 2, + Xwind_nesw, 3, + Xwind_nesw, 4, + Xwind_nesw, 5, + Xwind_nesw, 6, + Xwind_nesw, 7, + -1, + Xwind_stop, 0, + Xwind_stop, 1, + Xwind_stop, 2, + Xwind_stop, 3, + Xwind_stop, 4, + Xwind_stop, 5, + Xwind_stop, 6, + Xwind_stop, 7, + -1, - Xexit, 0, - Xexit, 1, - Xexit, 2, - Xexit, 3, - Xexit, 4, - Xexit, 5, - Xexit, 6, - Xexit, 7, - -1, - Xexit_1, 0, - Xexit_1, 1, - Xexit_1, 2, - -1, - Xexit_1, 3, - Xexit_1, 4, - Xexit_1, 5, - Xexit_3, 7, - Xexit_3, 6, - Xexit_3, 5, - -1, - Xexit_1, 6, - Xexit_1, 7, - Xexit_2, 0, - Xexit_3, 4, - Xexit_3, 3, - Xexit_3, 2, - -1, - Xexit_2, 1, - Xexit_2, 2, - Xexit_2, 3, - Xexit_3, 1, - Xexit_3, 0, - Xexit_2, 7, - -1, - Xexit_2, 4, - Xexit_2, 5, - Xexit_2, 6, - -1, + Xexit, 0, + Xexit, 1, + Xexit, 2, + Xexit, 3, + Xexit, 4, + Xexit, 5, + Xexit, 6, + Xexit, 7, + -1, + Xexit_1, 0, + Xexit_1, 1, + Xexit_1, 2, + -1, + Xexit_1, 3, + Xexit_1, 4, + Xexit_1, 5, + Xexit_3, 7, + Xexit_3, 6, + Xexit_3, 5, + -1, + Xexit_1, 6, + Xexit_1, 7, + Xexit_2, 0, + Xexit_3, 4, + Xexit_3, 3, + Xexit_3, 2, + -1, + Xexit_2, 1, + Xexit_2, 2, + Xexit_2, 3, + Xexit_3, 1, + Xexit_3, 0, + Xexit_2, 7, + -1, + Xexit_2, 4, + Xexit_2, 5, + Xexit_2, 6, + -1, - Ydynamite_eat, 0, - Ydynamite_eat, 1, - Ydynamite_eat, 2, - Xdynamite, 0, - Xdynamite, 1, - Xdynamite, 2, - Xdynamite, 3, - Xdynamite, 4, - Xdynamite, 5, - Xdynamite, 6, - Xdynamite, 7, - -1, - Xdynamite_4, 0, - Xdynamite_4, 1, - Xdynamite_4, 2, - Xdynamite_4, 3, - Xdynamite_4, 4, - Xdynamite_4, 5, - Xdynamite_4, 6, - Xdynamite_4, 7, - -1, - Xdynamite_3, 0, - Xdynamite_3, 1, - Xdynamite_3, 2, - Xdynamite_3, 3, - Xdynamite_3, 4, - Xdynamite_3, 5, - Xdynamite_3, 6, - Xdynamite_3, 7, - -1, - Xdynamite_2, 0, - Xdynamite_2, 1, - Xdynamite_2, 2, - Xdynamite_2, 3, - Xdynamite_2, 4, - Xdynamite_2, 5, - Xdynamite_2, 6, - Xdynamite_2, 7, - -1, - Xdynamite_1, 0, - Xdynamite_1, 1, - Xdynamite_1, 2, - Xdynamite_1, 3, - Xdynamite_1, 4, - Xdynamite_1, 5, - Xdynamite_1, 6, - Xdynamite_1, 7, - -1, + Ydynamite_eat, 0, + Ydynamite_eat, 1, + Ydynamite_eat, 2, + Xdynamite, 0, + Xdynamite, 1, + Xdynamite, 2, + Xdynamite, 3, + Xdynamite, 4, + Xdynamite, 5, + Xdynamite, 6, + Xdynamite, 7, + -1, + Xdynamite_4, 0, + Xdynamite_4, 1, + Xdynamite_4, 2, + Xdynamite_4, 3, + Xdynamite_4, 4, + Xdynamite_4, 5, + Xdynamite_4, 6, + Xdynamite_4, 7, + -1, + Xdynamite_3, 0, + Xdynamite_3, 1, + Xdynamite_3, 2, + Xdynamite_3, 3, + Xdynamite_3, 4, + Xdynamite_3, 5, + Xdynamite_3, 6, + Xdynamite_3, 7, + -1, + Xdynamite_2, 0, + Xdynamite_2, 1, + Xdynamite_2, 2, + Xdynamite_2, 3, + Xdynamite_2, 4, + Xdynamite_2, 5, + Xdynamite_2, 6, + Xdynamite_2, 7, + -1, + Xdynamite_1, 0, + Xdynamite_1, 1, + Xdynamite_1, 2, + Xdynamite_1, 3, + Xdynamite_1, 4, + Xdynamite_1, 5, + Xdynamite_1, 6, + Xdynamite_1, 7, + -1, - Xbumper, 0, - Xbumper, 1, - Xbumper, 2, - Xbumper, 3, - Xbumper, 4, - Xbumper, 5, - Xbumper, 6, - Xbumper, 7, - XbumperB, 0, - XbumperB, 7, - -1, - XbumperB, 1, - XbumperB, 6, - -1, - XbumperB, 2, - XbumperB, 5, - -1, - XbumperB, 3, - XbumperB, 4, - -1, + Xbumper, 0, + Xbumper, 1, + Xbumper, 2, + Xbumper, 3, + Xbumper, 4, + Xbumper, 5, + Xbumper, 6, + Xbumper, 7, + XbumperB, 0, + XbumperB, 7, + -1, + XbumperB, 1, + XbumperB, 6, + -1, + XbumperB, 2, + XbumperB, 5, + -1, + XbumperB, 3, + XbumperB, 4, + -1, - Xwheel, 0, - Xwheel, 1, - Xwheel, 2, - Xwheel, 3, - Xwheel, 4, - Xwheel, 5, - Xwheel, 6, - Xwheel, 7, - XwheelB, 7, - XwheelB, 6, - XwheelB, 5, - XwheelB, 4, - -1, - XwheelB, 3, - XwheelB, 2, - XwheelB, 1, - XwheelB, 0, - -1, + Xwheel, 0, + Xwheel, 1, + Xwheel, 2, + Xwheel, 3, + Xwheel, 4, + Xwheel, 5, + Xwheel, 6, + Xwheel, 7, + XwheelB, 7, + XwheelB, 6, + XwheelB, 5, + XwheelB, 4, + -1, + XwheelB, 3, + XwheelB, 2, + XwheelB, 1, + XwheelB, 0, + -1, - XswitchB, 0, - XswitchB, 1, - XswitchB, 2, - XswitchB, 3, - XswitchB, 4, - XswitchB, 5, - XswitchB, 6, - XswitchB, 7, - -1, - Xswitch, 0, - Xswitch, 1, - Xswitch, 2, - Xswitch, 3, - Xswitch, 4, - Xswitch, 5, - Xswitch, 6, - Xswitch, 7, - -1, + XswitchB, 0, + XswitchB, 1, + XswitchB, 2, + XswitchB, 3, + XswitchB, 4, + XswitchB, 5, + XswitchB, 6, + XswitchB, 7, + -1, + Xswitch, 0, + Xswitch, 1, + Xswitch, 2, + Xswitch, 3, + Xswitch, 4, + Xswitch, 5, + Xswitch, 6, + Xswitch, 7, + -1, - Xsand, 0, - Xsand, 1, - Xsand, 2, - Xsand, 3, - Xsand, 4, - Xsand, 5, - Xsand, 6, - Xsand, 7, - Xsand_stone, 0, - Xsand_stone, 1, - Xsand_stone, 2, - Xsand_stone, 3, - Xsand_stone, 4, - Xsand_stone, 5, - Xsand_stone, 6, - Xsand_stone, 7, - Xsand_stonesand_1, 0, - Xsand_stonesand_1, 1, - Xsand_stonesand_1, 2, - Xsand_stonesand_1, 3, - Xsand_stonesand_1, 4, - Xsand_stonesand_1, 5, - Xsand_stonesand_1, 6, - Xsand_stonesand_1, 7, - Xsand_stonesand_2, 0, - Xsand_stonesand_2, 1, - Xsand_stonesand_2, 2, - Xsand_stonesand_2, 3, - Xsand_stonesand_2, 4, - Xsand_stonesand_2, 5, - Xsand_stonesand_2, 6, - Xsand_stonesand_2, 7, - Xsand_stonesand_3, 0, - Xsand_stonesand_3, 1, - Xsand_stonesand_3, 2, - Xsand_stonesand_3, 3, - Xsand_stonesand_3, 4, - Xsand_stonesand_3, 5, - Xsand_stonesand_3, 6, - Xsand_stonesand_3, 7, - Xsand_stonesand_4, 0, - Xsand_stonesand_4, 1, - Xsand_stonesand_4, 2, - Xsand_stonesand_4, 3, - Xsand_stonesand_4, 4, - Xsand_stonesand_4, 5, - Xsand_stonesand_4, 6, - Xsand_stonesand_4, 7, - Xsand_sandstone_1, 0, - Xsand_sandstone_1, 1, - Xsand_sandstone_1, 2, - Xsand_sandstone_1, 3, - Xsand_sandstone_1, 4, - Xsand_sandstone_1, 5, - Xsand_sandstone_1, 6, - Xsand_sandstone_1, 7, - Xsand_sandstone_2, 0, - Xsand_sandstone_2, 1, - Xsand_sandstone_2, 2, - Xsand_sandstone_2, 3, - Xsand_sandstone_2, 4, - Xsand_sandstone_2, 5, - Xsand_sandstone_2, 6, - Xsand_sandstone_2, 7, - Xsand_sandstone_3, 0, - Xsand_sandstone_3, 1, - Xsand_sandstone_3, 2, - Xsand_sandstone_3, 3, - Xsand_sandstone_3, 4, - Xsand_sandstone_3, 5, - Xsand_sandstone_3, 6, - Xsand_sandstone_3, 7, - Xsand_sandstone_4, 0, - Xsand_sandstone_4, 1, - Xsand_sandstone_4, 2, - Xsand_sandstone_4, 3, - Xsand_sandstone_4, 4, - Xsand_sandstone_4, 5, - Xsand_sandstone_4, 6, - Xsand_sandstone_4, 7, - -1, + Xsand, 0, + Xsand, 1, + Xsand, 2, + Xsand, 3, + Xsand, 4, + Xsand, 5, + Xsand, 6, + Xsand, 7, + Xsand_stone, 0, + Xsand_stone, 1, + Xsand_stone, 2, + Xsand_stone, 3, + Xsand_stone, 4, + Xsand_stone, 5, + Xsand_stone, 6, + Xsand_stone, 7, + Xsand_stonesand_1, 0, + Xsand_stonesand_1, 1, + Xsand_stonesand_1, 2, + Xsand_stonesand_1, 3, + Xsand_stonesand_1, 4, + Xsand_stonesand_1, 5, + Xsand_stonesand_1, 6, + Xsand_stonesand_1, 7, + Xsand_stonesand_2, 0, + Xsand_stonesand_2, 1, + Xsand_stonesand_2, 2, + Xsand_stonesand_2, 3, + Xsand_stonesand_2, 4, + Xsand_stonesand_2, 5, + Xsand_stonesand_2, 6, + Xsand_stonesand_2, 7, + Xsand_stonesand_3, 0, + Xsand_stonesand_3, 1, + Xsand_stonesand_3, 2, + Xsand_stonesand_3, 3, + Xsand_stonesand_3, 4, + Xsand_stonesand_3, 5, + Xsand_stonesand_3, 6, + Xsand_stonesand_3, 7, + Xsand_stonesand_4, 0, + Xsand_stonesand_4, 1, + Xsand_stonesand_4, 2, + Xsand_stonesand_4, 3, + Xsand_stonesand_4, 4, + Xsand_stonesand_4, 5, + Xsand_stonesand_4, 6, + Xsand_stonesand_4, 7, + Xsand_sandstone_1, 0, + Xsand_sandstone_1, 1, + Xsand_sandstone_1, 2, + Xsand_sandstone_1, 3, + Xsand_sandstone_1, 4, + Xsand_sandstone_1, 5, + Xsand_sandstone_1, 6, + Xsand_sandstone_1, 7, + Xsand_sandstone_2, 0, + Xsand_sandstone_2, 1, + Xsand_sandstone_2, 2, + Xsand_sandstone_2, 3, + Xsand_sandstone_2, 4, + Xsand_sandstone_2, 5, + Xsand_sandstone_2, 6, + Xsand_sandstone_2, 7, + Xsand_sandstone_3, 0, + Xsand_sandstone_3, 1, + Xsand_sandstone_3, 2, + Xsand_sandstone_3, 3, + Xsand_sandstone_3, 4, + Xsand_sandstone_3, 5, + Xsand_sandstone_3, 6, + Xsand_sandstone_3, 7, + Xsand_sandstone_4, 0, + Xsand_sandstone_4, 1, + Xsand_sandstone_4, 2, + Xsand_sandstone_4, 3, + Xsand_sandstone_4, 4, + Xsand_sandstone_4, 5, + Xsand_sandstone_4, 6, + Xsand_sandstone_4, 7, + -1, - Xplant, 0, - Xplant, 1, - Xplant, 2, - Xplant, 3, - Xplant, 4, - Xplant, 5, - Xplant, 6, - Xplant, 7, - Yplant, 0, - Yplant, 1, - Yplant, 2, - Yplant, 3, - Yplant, 4, - Yplant, 5, - Yplant, 6, - Yplant, 7, - -1, + Xplant, 0, + Xplant, 1, + Xplant, 2, + Xplant, 3, + Xplant, 4, + Xplant, 5, + Xplant, 6, + Xplant, 7, + Yplant, 0, + Yplant, 1, + Yplant, 2, + Yplant, 3, + Yplant, 4, + Yplant, 5, + Yplant, 6, + Yplant, 7, + -1, - Xlenses, 0, - Xlenses, 1, - Xlenses, 2, - Xlenses, 3, - Xlenses, 4, - Xlenses, 5, - Xlenses, 6, - Xlenses, 7, - -1, + Xlenses, 0, + Xlenses, 1, + Xlenses, 2, + Xlenses, 3, + Xlenses, 4, + Xlenses, 5, + Xlenses, 6, + Xlenses, 7, + -1, - Xmagnify, 0, - Xmagnify, 1, - Xmagnify, 2, - Xmagnify, 3, - Xmagnify, 4, - Xmagnify, 5, - Xmagnify, 6, - Xmagnify, 7, - -1, + Xmagnify, 0, + Xmagnify, 1, + Xmagnify, 2, + Xmagnify, 3, + Xmagnify, 4, + Xmagnify, 5, + Xmagnify, 6, + Xmagnify, 7, + -1, - XdripperB, 0, - XdripperB, 1, - XdripperB, 2, - XdripperB, 3, - XdripperB, 4, - XdripperB, 5, - XdripperB, 6, - XdripperB, 7, - -1, + XdripperB, 0, + XdripperB, 1, + XdripperB, 2, + XdripperB, 3, + XdripperB, 4, + XdripperB, 5, + XdripperB, 6, + XdripperB, 7, + -1, - Xfake_blankB, 0, - Xfake_blankB, 1, - Xfake_blankB, 2, - Xfake_blankB, 3, - Xfake_blankB, 4, - Xfake_blankB, 5, - Xfake_blankB, 6, - Xfake_blankB, 7, - -1, + Xfake_blankB, 0, + Xfake_blankB, 1, + Xfake_blankB, 2, + Xfake_blankB, 3, + Xfake_blankB, 4, + Xfake_blankB, 5, + Xfake_blankB, 6, + Xfake_blankB, 7, + -1, - Xfake_grassB, 0, - Xfake_grassB, 1, - Xfake_grassB, 2, - Xfake_grassB, 3, - Xfake_grassB, 4, - Xfake_grassB, 5, - Xfake_grassB, 6, - Xfake_grassB, 7, - -1, + Xfake_grassB, 0, + Xfake_grassB, 1, + Xfake_grassB, 2, + Xfake_grassB, 3, + Xfake_grassB, 4, + Xfake_grassB, 5, + Xfake_grassB, 6, + Xfake_grassB, 7, + -1, - Xfake_door_1, 0, - Xfake_door_1, 1, - Xfake_door_1, 2, - Xfake_door_1, 3, - Xfake_door_1, 4, - Xfake_door_1, 5, - Xfake_door_1, 6, - Xfake_door_1, 7, - Xfake_door_2, 0, - Xfake_door_2, 1, - Xfake_door_2, 2, - Xfake_door_2, 3, - Xfake_door_2, 4, - Xfake_door_2, 5, - Xfake_door_2, 6, - Xfake_door_2, 7, - Xfake_door_3, 0, - Xfake_door_3, 1, - Xfake_door_3, 2, - Xfake_door_3, 3, - Xfake_door_3, 4, - Xfake_door_3, 5, - Xfake_door_3, 6, - Xfake_door_3, 7, - Xfake_door_4, 0, - Xfake_door_4, 1, - Xfake_door_4, 2, - Xfake_door_4, 3, - Xfake_door_4, 4, - Xfake_door_4, 5, - Xfake_door_4, 6, - Xfake_door_4, 7, - Xfake_door_5, 0, - Xfake_door_5, 1, - Xfake_door_5, 2, - Xfake_door_5, 3, - Xfake_door_5, 4, - Xfake_door_5, 5, - Xfake_door_5, 6, - Xfake_door_5, 7, - Xfake_door_6, 0, - Xfake_door_6, 1, - Xfake_door_6, 2, - Xfake_door_6, 3, - Xfake_door_6, 4, - Xfake_door_6, 5, - Xfake_door_6, 6, - Xfake_door_6, 7, - Xfake_door_7, 0, - Xfake_door_7, 1, - Xfake_door_7, 2, - Xfake_door_7, 3, - Xfake_door_7, 4, - Xfake_door_7, 5, - Xfake_door_7, 6, - Xfake_door_7, 7, - Xfake_door_8, 0, - Xfake_door_8, 1, - Xfake_door_8, 2, - Xfake_door_8, 3, - Xfake_door_8, 4, - Xfake_door_8, 5, - Xfake_door_8, 6, - Xfake_door_8, 7, - -1, + Xfake_door_1, 0, + Xfake_door_1, 1, + Xfake_door_1, 2, + Xfake_door_1, 3, + Xfake_door_1, 4, + Xfake_door_1, 5, + Xfake_door_1, 6, + Xfake_door_1, 7, + Xfake_door_2, 0, + Xfake_door_2, 1, + Xfake_door_2, 2, + Xfake_door_2, 3, + Xfake_door_2, 4, + Xfake_door_2, 5, + Xfake_door_2, 6, + Xfake_door_2, 7, + Xfake_door_3, 0, + Xfake_door_3, 1, + Xfake_door_3, 2, + Xfake_door_3, 3, + Xfake_door_3, 4, + Xfake_door_3, 5, + Xfake_door_3, 6, + Xfake_door_3, 7, + Xfake_door_4, 0, + Xfake_door_4, 1, + Xfake_door_4, 2, + Xfake_door_4, 3, + Xfake_door_4, 4, + Xfake_door_4, 5, + Xfake_door_4, 6, + Xfake_door_4, 7, + Xfake_door_5, 0, + Xfake_door_5, 1, + Xfake_door_5, 2, + Xfake_door_5, 3, + Xfake_door_5, 4, + Xfake_door_5, 5, + Xfake_door_5, 6, + Xfake_door_5, 7, + Xfake_door_6, 0, + Xfake_door_6, 1, + Xfake_door_6, 2, + Xfake_door_6, 3, + Xfake_door_6, 4, + Xfake_door_6, 5, + Xfake_door_6, 6, + Xfake_door_6, 7, + Xfake_door_7, 0, + Xfake_door_7, 1, + Xfake_door_7, 2, + Xfake_door_7, 3, + Xfake_door_7, 4, + Xfake_door_7, 5, + Xfake_door_7, 6, + Xfake_door_7, 7, + Xfake_door_8, 0, + Xfake_door_8, 1, + Xfake_door_8, 2, + Xfake_door_8, 3, + Xfake_door_8, 4, + Xfake_door_8, 5, + Xfake_door_8, 6, + Xfake_door_8, 7, + -1, - Xsteel_1, 0, - Xsteel_1, 1, - Xsteel_1, 2, - Xsteel_1, 3, - Xsteel_1, 4, - Xsteel_1, 5, - Xsteel_1, 6, - Xsteel_1, 7, - -1, - Xsteel_2, 0, - Xsteel_2, 1, - Xsteel_2, 2, - Xsteel_2, 3, - Xsteel_2, 4, - Xsteel_2, 5, - Xsteel_2, 6, - Xsteel_2, 7, - -1, - Xsteel_3, 0, - Xsteel_3, 1, - Xsteel_3, 2, - Xsteel_3, 3, - Xsteel_3, 4, - Xsteel_3, 5, - Xsteel_3, 6, - Xsteel_3, 7, - -1, - Xsteel_4, 0, - Xsteel_4, 1, - Xsteel_4, 2, - Xsteel_4, 3, - Xsteel_4, 4, - Xsteel_4, 5, - Xsteel_4, 6, - Xsteel_4, 7, - -1, - Xwall_1, 0, - Xwall_1, 1, - Xwall_1, 2, - Xwall_1, 3, - Xwall_1, 4, - Xwall_1, 5, - Xwall_1, 6, - Xwall_1, 7, - -1, - Xwall_2, 0, - Xwall_2, 1, - Xwall_2, 2, - Xwall_2, 3, - Xwall_2, 4, - Xwall_2, 5, - Xwall_2, 6, - Xwall_2, 7, - -1, - Xwall_3, 0, - Xwall_3, 1, - Xwall_3, 2, - Xwall_3, 3, - Xwall_3, 4, - Xwall_3, 5, - Xwall_3, 6, - Xwall_3, 7, - -1, - Xwall_4, 0, - Xwall_4, 1, - Xwall_4, 2, - Xwall_4, 3, - Xwall_4, 4, - Xwall_4, 5, - Xwall_4, 6, - Xwall_4, 7, - -1, - Xround_wall_1, 0, - Xround_wall_1, 1, - Xround_wall_1, 2, - Xround_wall_1, 3, - Xround_wall_1, 4, - Xround_wall_1, 5, - Xround_wall_1, 6, - Xround_wall_1, 7, - -1, - Xround_wall_2, 0, - Xround_wall_2, 1, - Xround_wall_2, 2, - Xround_wall_2, 3, - Xround_wall_2, 4, - Xround_wall_2, 5, - Xround_wall_2, 6, - Xround_wall_2, 7, - -1, - Xround_wall_3, 0, - Xround_wall_3, 1, - Xround_wall_3, 2, - Xround_wall_3, 3, - Xround_wall_3, 4, - Xround_wall_3, 5, - Xround_wall_3, 6, - Xround_wall_3, 7, - -1, - Xround_wall_4, 0, - Xround_wall_4, 1, - Xround_wall_4, 2, - Xround_wall_4, 3, - Xround_wall_4, 4, - Xround_wall_4, 5, - Xround_wall_4, 6, - Xround_wall_4, 7, - -1, - Xdecor_1, 0, - Xdecor_1, 1, - Xdecor_1, 2, - Xdecor_1, 3, - Xdecor_1, 4, - Xdecor_1, 5, - Xdecor_1, 6, - Xdecor_1, 7, - -1, - Xdecor_2, 0, - Xdecor_2, 1, - Xdecor_2, 2, - Xdecor_2, 3, - Xdecor_2, 4, - Xdecor_2, 5, - Xdecor_2, 6, - Xdecor_2, 7, - -1, - Xdecor_3, 0, - Xdecor_3, 1, - Xdecor_3, 2, - Xdecor_3, 3, - Xdecor_3, 4, - Xdecor_3, 5, - Xdecor_3, 6, - Xdecor_3, 7, - -1, - Xdecor_4, 0, - Xdecor_4, 1, - Xdecor_4, 2, - Xdecor_4, 3, - Xdecor_4, 4, - Xdecor_4, 5, - Xdecor_4, 6, - Xdecor_4, 7, - -1, - Xdecor_5, 0, - Xdecor_5, 1, - Xdecor_5, 2, - Xdecor_5, 3, - Xdecor_5, 4, - Xdecor_5, 5, - Xdecor_5, 6, - Xdecor_5, 7, - -1, - Xdecor_6, 0, - Xdecor_6, 1, - Xdecor_6, 2, - Xdecor_6, 3, - Xdecor_6, 4, - Xdecor_6, 5, - Xdecor_6, 6, - Xdecor_6, 7, - -1, - Xdecor_7, 0, - Xdecor_7, 1, - Xdecor_7, 2, - Xdecor_7, 3, - Xdecor_7, 4, - Xdecor_7, 5, - Xdecor_7, 6, - Xdecor_7, 7, - -1, - Xdecor_8, 0, - Xdecor_8, 1, - Xdecor_8, 2, - Xdecor_8, 3, - Xdecor_8, 4, - Xdecor_8, 5, - Xdecor_8, 6, - Xdecor_8, 7, - -1, - Xdecor_9, 0, - Xdecor_9, 1, - Xdecor_9, 2, - Xdecor_9, 3, - Xdecor_9, 4, - Xdecor_9, 5, - Xdecor_9, 6, - Xdecor_9, 7, - -1, - Xdecor_10, 0, - Xdecor_10, 1, - Xdecor_10, 2, - Xdecor_10, 3, - Xdecor_10, 4, - Xdecor_10, 5, - Xdecor_10, 6, - Xdecor_10, 7, - -1, - Xdecor_11, 0, - Xdecor_11, 1, - Xdecor_11, 2, - Xdecor_11, 3, - Xdecor_11, 4, - Xdecor_11, 5, - Xdecor_11, 6, - Xdecor_11, 7, - -1, - Xdecor_12, 0, - Xdecor_12, 1, - Xdecor_12, 2, - Xdecor_12, 3, - Xdecor_12, 4, - Xdecor_12, 5, - Xdecor_12, 6, - Xdecor_12, 7, - -1, - Xalpha_excla, 0, - Xalpha_excla, 1, - Xalpha_excla, 2, - Xalpha_excla, 3, - Xalpha_excla, 4, - Xalpha_excla, 5, - Xalpha_excla, 6, - Xalpha_excla, 7, - -1, - Xalpha_quote, 0, - Xalpha_quote, 1, - Xalpha_quote, 2, - Xalpha_quote, 3, - Xalpha_quote, 4, - Xalpha_quote, 5, - Xalpha_quote, 6, - Xalpha_quote, 7, - -1, - Xalpha_comma, 0, - Xalpha_comma, 1, - Xalpha_comma, 2, - Xalpha_comma, 3, - Xalpha_comma, 4, - Xalpha_comma, 5, - Xalpha_comma, 6, - Xalpha_comma, 7, - -1, - Xalpha_minus, 0, - Xalpha_minus, 1, - Xalpha_minus, 2, - Xalpha_minus, 3, - Xalpha_minus, 4, - Xalpha_minus, 5, - Xalpha_minus, 6, - Xalpha_minus, 7, - -1, - Xalpha_perio, 0, - Xalpha_perio, 1, - Xalpha_perio, 2, - Xalpha_perio, 3, - Xalpha_perio, 4, - Xalpha_perio, 5, - Xalpha_perio, 6, - Xalpha_perio, 7, - -1, - Xalpha_0, 0, - Xalpha_0, 1, - Xalpha_0, 2, - Xalpha_0, 3, - Xalpha_0, 4, - Xalpha_0, 5, - Xalpha_0, 6, - Xalpha_0, 7, - -1, - Xalpha_1, 0, - Xalpha_1, 1, - Xalpha_1, 2, - Xalpha_1, 3, - Xalpha_1, 4, - Xalpha_1, 5, - Xalpha_1, 6, - Xalpha_1, 7, - -1, - Xalpha_2, 0, - Xalpha_2, 1, - Xalpha_2, 2, - Xalpha_2, 3, - Xalpha_2, 4, - Xalpha_2, 5, - Xalpha_2, 6, - Xalpha_2, 7, - -1, - Xalpha_3, 0, - Xalpha_3, 1, - Xalpha_3, 2, - Xalpha_3, 3, - Xalpha_3, 4, - Xalpha_3, 5, - Xalpha_3, 6, - Xalpha_3, 7, - -1, - Xalpha_4, 0, - Xalpha_4, 1, - Xalpha_4, 2, - Xalpha_4, 3, - Xalpha_4, 4, - Xalpha_4, 5, - Xalpha_4, 6, - Xalpha_4, 7, - -1, - Xalpha_5, 0, - Xalpha_5, 1, - Xalpha_5, 2, - Xalpha_5, 3, - Xalpha_5, 4, - Xalpha_5, 5, - Xalpha_5, 6, - Xalpha_5, 7, - -1, - Xalpha_6, 0, - Xalpha_6, 1, - Xalpha_6, 2, - Xalpha_6, 3, - Xalpha_6, 4, - Xalpha_6, 5, - Xalpha_6, 6, - Xalpha_6, 7, - -1, - Xalpha_7, 0, - Xalpha_7, 1, - Xalpha_7, 2, - Xalpha_7, 3, - Xalpha_7, 4, - Xalpha_7, 5, - Xalpha_7, 6, - Xalpha_7, 7, - -1, - Xalpha_8, 0, - Xalpha_8, 1, - Xalpha_8, 2, - Xalpha_8, 3, - Xalpha_8, 4, - Xalpha_8, 5, - Xalpha_8, 6, - Xalpha_8, 7, - -1, - Xalpha_9, 0, - Xalpha_9, 1, - Xalpha_9, 2, - Xalpha_9, 3, - Xalpha_9, 4, - Xalpha_9, 5, - Xalpha_9, 6, - Xalpha_9, 7, - -1, - Xalpha_colon, 0, - Xalpha_colon, 1, - Xalpha_colon, 2, - Xalpha_colon, 3, - Xalpha_colon, 4, - Xalpha_colon, 5, - Xalpha_colon, 6, - Xalpha_colon, 7, - -1, - Xalpha_arrow_w, 0, - Xalpha_arrow_w, 1, - Xalpha_arrow_w, 2, - Xalpha_arrow_w, 3, - Xalpha_arrow_w, 4, - Xalpha_arrow_w, 5, - Xalpha_arrow_w, 6, - Xalpha_arrow_w, 7, - -1, - Xalpha_arrow_e, 0, - Xalpha_arrow_e, 1, - Xalpha_arrow_e, 2, - Xalpha_arrow_e, 3, - Xalpha_arrow_e, 4, - Xalpha_arrow_e, 5, - Xalpha_arrow_e, 6, - Xalpha_arrow_e, 7, - -1, - Xalpha_quest, 0, - Xalpha_quest, 1, - Xalpha_quest, 2, - Xalpha_quest, 3, - Xalpha_quest, 4, - Xalpha_quest, 5, - Xalpha_quest, 6, - Xalpha_quest, 7, - -1, - Xalpha_a, 0, - Xalpha_a, 1, - Xalpha_a, 2, - Xalpha_a, 3, - Xalpha_a, 4, - Xalpha_a, 5, - Xalpha_a, 6, - Xalpha_a, 7, - -1, - Xalpha_b, 0, - Xalpha_b, 1, - Xalpha_b, 2, - Xalpha_b, 3, - Xalpha_b, 4, - Xalpha_b, 5, - Xalpha_b, 6, - Xalpha_b, 7, - -1, - Xalpha_c, 0, - Xalpha_c, 1, - Xalpha_c, 2, - Xalpha_c, 3, - Xalpha_c, 4, - Xalpha_c, 5, - Xalpha_c, 6, - Xalpha_c, 7, - -1, - Xalpha_d, 0, - Xalpha_d, 1, - Xalpha_d, 2, - Xalpha_d, 3, - Xalpha_d, 4, - Xalpha_d, 5, - Xalpha_d, 6, - Xalpha_d, 7, - -1, - Xalpha_e, 0, - Xalpha_e, 1, - Xalpha_e, 2, - Xalpha_e, 3, - Xalpha_e, 4, - Xalpha_e, 5, - Xalpha_e, 6, - Xalpha_e, 7, - -1, - Xalpha_f, 0, - Xalpha_f, 1, - Xalpha_f, 2, - Xalpha_f, 3, - Xalpha_f, 4, - Xalpha_f, 5, - Xalpha_f, 6, - Xalpha_f, 7, - -1, - Xalpha_g, 0, - Xalpha_g, 1, - Xalpha_g, 2, - Xalpha_g, 3, - Xalpha_g, 4, - Xalpha_g, 5, - Xalpha_g, 6, - Xalpha_g, 7, - -1, - Xalpha_h, 0, - Xalpha_h, 1, - Xalpha_h, 2, - Xalpha_h, 3, - Xalpha_h, 4, - Xalpha_h, 5, - Xalpha_h, 6, - Xalpha_h, 7, - -1, - Xalpha_i, 0, - Xalpha_i, 1, - Xalpha_i, 2, - Xalpha_i, 3, - Xalpha_i, 4, - Xalpha_i, 5, - Xalpha_i, 6, - Xalpha_i, 7, - -1, - Xalpha_j, 0, - Xalpha_j, 1, - Xalpha_j, 2, - Xalpha_j, 3, - Xalpha_j, 4, - Xalpha_j, 5, - Xalpha_j, 6, - Xalpha_j, 7, - -1, - Xalpha_k, 0, - Xalpha_k, 1, - Xalpha_k, 2, - Xalpha_k, 3, - Xalpha_k, 4, - Xalpha_k, 5, - Xalpha_k, 6, - Xalpha_k, 7, - -1, - Xalpha_l, 0, - Xalpha_l, 1, - Xalpha_l, 2, - Xalpha_l, 3, - Xalpha_l, 4, - Xalpha_l, 5, - Xalpha_l, 6, - Xalpha_l, 7, - -1, - Xalpha_m, 0, - Xalpha_m, 1, - Xalpha_m, 2, - Xalpha_m, 3, - Xalpha_m, 4, - Xalpha_m, 5, - Xalpha_m, 6, - Xalpha_m, 7, - -1, - Xalpha_n, 0, - Xalpha_n, 1, - Xalpha_n, 2, - Xalpha_n, 3, - Xalpha_n, 4, - Xalpha_n, 5, - Xalpha_n, 6, - Xalpha_n, 7, - -1, - Xalpha_o, 0, - Xalpha_o, 1, - Xalpha_o, 2, - Xalpha_o, 3, - Xalpha_o, 4, - Xalpha_o, 5, - Xalpha_o, 6, - Xalpha_o, 7, - -1, - Xalpha_p, 0, - Xalpha_p, 1, - Xalpha_p, 2, - Xalpha_p, 3, - Xalpha_p, 4, - Xalpha_p, 5, - Xalpha_p, 6, - Xalpha_p, 7, - -1, - Xalpha_q, 0, - Xalpha_q, 1, - Xalpha_q, 2, - Xalpha_q, 3, - Xalpha_q, 4, - Xalpha_q, 5, - Xalpha_q, 6, - Xalpha_q, 7, - -1, - Xalpha_r, 0, - Xalpha_r, 1, - Xalpha_r, 2, - Xalpha_r, 3, - Xalpha_r, 4, - Xalpha_r, 5, - Xalpha_r, 6, - Xalpha_r, 7, - -1, - Xalpha_s, 0, - Xalpha_s, 1, - Xalpha_s, 2, - Xalpha_s, 3, - Xalpha_s, 4, - Xalpha_s, 5, - Xalpha_s, 6, - Xalpha_s, 7, - -1, - Xalpha_t, 0, - Xalpha_t, 1, - Xalpha_t, 2, - Xalpha_t, 3, - Xalpha_t, 4, - Xalpha_t, 5, - Xalpha_t, 6, - Xalpha_t, 7, - -1, - Xalpha_u, 0, - Xalpha_u, 1, - Xalpha_u, 2, - Xalpha_u, 3, - Xalpha_u, 4, - Xalpha_u, 5, - Xalpha_u, 6, - Xalpha_u, 7, - -1, - Xalpha_v, 0, - Xalpha_v, 1, - Xalpha_v, 2, - Xalpha_v, 3, - Xalpha_v, 4, - Xalpha_v, 5, - Xalpha_v, 6, - Xalpha_v, 7, - -1, - Xalpha_w, 0, - Xalpha_w, 1, - Xalpha_w, 2, - Xalpha_w, 3, - Xalpha_w, 4, - Xalpha_w, 5, - Xalpha_w, 6, - Xalpha_w, 7, - -1, - Xalpha_x, 0, - Xalpha_x, 1, - Xalpha_x, 2, - Xalpha_x, 3, - Xalpha_x, 4, - Xalpha_x, 5, - Xalpha_x, 6, - Xalpha_x, 7, - -1, - Xalpha_y, 0, - Xalpha_y, 1, - Xalpha_y, 2, - Xalpha_y, 3, - Xalpha_y, 4, - Xalpha_y, 5, - Xalpha_y, 6, - Xalpha_y, 7, - -1, - Xalpha_z, 0, - Xalpha_z, 1, - Xalpha_z, 2, - Xalpha_z, 3, - Xalpha_z, 4, - Xalpha_z, 5, - Xalpha_z, 6, - Xalpha_z, 7, - -1, - Xalpha_copyr, 0, - Xalpha_copyr, 1, - Xalpha_copyr, 2, - Xalpha_copyr, 3, - Xalpha_copyr, 4, - Xalpha_copyr, 5, - Xalpha_copyr, 6, - Xalpha_copyr, 7, - -1, + Xsteel_1, 0, + Xsteel_1, 1, + Xsteel_1, 2, + Xsteel_1, 3, + Xsteel_1, 4, + Xsteel_1, 5, + Xsteel_1, 6, + Xsteel_1, 7, + -1, + Xsteel_2, 0, + Xsteel_2, 1, + Xsteel_2, 2, + Xsteel_2, 3, + Xsteel_2, 4, + Xsteel_2, 5, + Xsteel_2, 6, + Xsteel_2, 7, + -1, + Xsteel_3, 0, + Xsteel_3, 1, + Xsteel_3, 2, + Xsteel_3, 3, + Xsteel_3, 4, + Xsteel_3, 5, + Xsteel_3, 6, + Xsteel_3, 7, + -1, + Xsteel_4, 0, + Xsteel_4, 1, + Xsteel_4, 2, + Xsteel_4, 3, + Xsteel_4, 4, + Xsteel_4, 5, + Xsteel_4, 6, + Xsteel_4, 7, + -1, + Xwall_1, 0, + Xwall_1, 1, + Xwall_1, 2, + Xwall_1, 3, + Xwall_1, 4, + Xwall_1, 5, + Xwall_1, 6, + Xwall_1, 7, + -1, + Xwall_2, 0, + Xwall_2, 1, + Xwall_2, 2, + Xwall_2, 3, + Xwall_2, 4, + Xwall_2, 5, + Xwall_2, 6, + Xwall_2, 7, + -1, + Xwall_3, 0, + Xwall_3, 1, + Xwall_3, 2, + Xwall_3, 3, + Xwall_3, 4, + Xwall_3, 5, + Xwall_3, 6, + Xwall_3, 7, + -1, + Xwall_4, 0, + Xwall_4, 1, + Xwall_4, 2, + Xwall_4, 3, + Xwall_4, 4, + Xwall_4, 5, + Xwall_4, 6, + Xwall_4, 7, + -1, + Xround_wall_1, 0, + Xround_wall_1, 1, + Xround_wall_1, 2, + Xround_wall_1, 3, + Xround_wall_1, 4, + Xround_wall_1, 5, + Xround_wall_1, 6, + Xround_wall_1, 7, + -1, + Xround_wall_2, 0, + Xround_wall_2, 1, + Xround_wall_2, 2, + Xround_wall_2, 3, + Xround_wall_2, 4, + Xround_wall_2, 5, + Xround_wall_2, 6, + Xround_wall_2, 7, + -1, + Xround_wall_3, 0, + Xround_wall_3, 1, + Xround_wall_3, 2, + Xround_wall_3, 3, + Xround_wall_3, 4, + Xround_wall_3, 5, + Xround_wall_3, 6, + Xround_wall_3, 7, + -1, + Xround_wall_4, 0, + Xround_wall_4, 1, + Xround_wall_4, 2, + Xround_wall_4, 3, + Xround_wall_4, 4, + Xround_wall_4, 5, + Xround_wall_4, 6, + Xround_wall_4, 7, + -1, + Xdecor_1, 0, + Xdecor_1, 1, + Xdecor_1, 2, + Xdecor_1, 3, + Xdecor_1, 4, + Xdecor_1, 5, + Xdecor_1, 6, + Xdecor_1, 7, + -1, + Xdecor_2, 0, + Xdecor_2, 1, + Xdecor_2, 2, + Xdecor_2, 3, + Xdecor_2, 4, + Xdecor_2, 5, + Xdecor_2, 6, + Xdecor_2, 7, + -1, + Xdecor_3, 0, + Xdecor_3, 1, + Xdecor_3, 2, + Xdecor_3, 3, + Xdecor_3, 4, + Xdecor_3, 5, + Xdecor_3, 6, + Xdecor_3, 7, + -1, + Xdecor_4, 0, + Xdecor_4, 1, + Xdecor_4, 2, + Xdecor_4, 3, + Xdecor_4, 4, + Xdecor_4, 5, + Xdecor_4, 6, + Xdecor_4, 7, + -1, + Xdecor_5, 0, + Xdecor_5, 1, + Xdecor_5, 2, + Xdecor_5, 3, + Xdecor_5, 4, + Xdecor_5, 5, + Xdecor_5, 6, + Xdecor_5, 7, + -1, + Xdecor_6, 0, + Xdecor_6, 1, + Xdecor_6, 2, + Xdecor_6, 3, + Xdecor_6, 4, + Xdecor_6, 5, + Xdecor_6, 6, + Xdecor_6, 7, + -1, + Xdecor_7, 0, + Xdecor_7, 1, + Xdecor_7, 2, + Xdecor_7, 3, + Xdecor_7, 4, + Xdecor_7, 5, + Xdecor_7, 6, + Xdecor_7, 7, + -1, + Xdecor_8, 0, + Xdecor_8, 1, + Xdecor_8, 2, + Xdecor_8, 3, + Xdecor_8, 4, + Xdecor_8, 5, + Xdecor_8, 6, + Xdecor_8, 7, + -1, + Xdecor_9, 0, + Xdecor_9, 1, + Xdecor_9, 2, + Xdecor_9, 3, + Xdecor_9, 4, + Xdecor_9, 5, + Xdecor_9, 6, + Xdecor_9, 7, + -1, + Xdecor_10, 0, + Xdecor_10, 1, + Xdecor_10, 2, + Xdecor_10, 3, + Xdecor_10, 4, + Xdecor_10, 5, + Xdecor_10, 6, + Xdecor_10, 7, + -1, + Xdecor_11, 0, + Xdecor_11, 1, + Xdecor_11, 2, + Xdecor_11, 3, + Xdecor_11, 4, + Xdecor_11, 5, + Xdecor_11, 6, + Xdecor_11, 7, + -1, + Xdecor_12, 0, + Xdecor_12, 1, + Xdecor_12, 2, + Xdecor_12, 3, + Xdecor_12, 4, + Xdecor_12, 5, + Xdecor_12, 6, + Xdecor_12, 7, + -1, + Xalpha_excla, 0, + Xalpha_excla, 1, + Xalpha_excla, 2, + Xalpha_excla, 3, + Xalpha_excla, 4, + Xalpha_excla, 5, + Xalpha_excla, 6, + Xalpha_excla, 7, + -1, + Xalpha_quote, 0, + Xalpha_quote, 1, + Xalpha_quote, 2, + Xalpha_quote, 3, + Xalpha_quote, 4, + Xalpha_quote, 5, + Xalpha_quote, 6, + Xalpha_quote, 7, + -1, + Xalpha_comma, 0, + Xalpha_comma, 1, + Xalpha_comma, 2, + Xalpha_comma, 3, + Xalpha_comma, 4, + Xalpha_comma, 5, + Xalpha_comma, 6, + Xalpha_comma, 7, + -1, + Xalpha_minus, 0, + Xalpha_minus, 1, + Xalpha_minus, 2, + Xalpha_minus, 3, + Xalpha_minus, 4, + Xalpha_minus, 5, + Xalpha_minus, 6, + Xalpha_minus, 7, + -1, + Xalpha_perio, 0, + Xalpha_perio, 1, + Xalpha_perio, 2, + Xalpha_perio, 3, + Xalpha_perio, 4, + Xalpha_perio, 5, + Xalpha_perio, 6, + Xalpha_perio, 7, + -1, + Xalpha_0, 0, + Xalpha_0, 1, + Xalpha_0, 2, + Xalpha_0, 3, + Xalpha_0, 4, + Xalpha_0, 5, + Xalpha_0, 6, + Xalpha_0, 7, + -1, + Xalpha_1, 0, + Xalpha_1, 1, + Xalpha_1, 2, + Xalpha_1, 3, + Xalpha_1, 4, + Xalpha_1, 5, + Xalpha_1, 6, + Xalpha_1, 7, + -1, + Xalpha_2, 0, + Xalpha_2, 1, + Xalpha_2, 2, + Xalpha_2, 3, + Xalpha_2, 4, + Xalpha_2, 5, + Xalpha_2, 6, + Xalpha_2, 7, + -1, + Xalpha_3, 0, + Xalpha_3, 1, + Xalpha_3, 2, + Xalpha_3, 3, + Xalpha_3, 4, + Xalpha_3, 5, + Xalpha_3, 6, + Xalpha_3, 7, + -1, + Xalpha_4, 0, + Xalpha_4, 1, + Xalpha_4, 2, + Xalpha_4, 3, + Xalpha_4, 4, + Xalpha_4, 5, + Xalpha_4, 6, + Xalpha_4, 7, + -1, + Xalpha_5, 0, + Xalpha_5, 1, + Xalpha_5, 2, + Xalpha_5, 3, + Xalpha_5, 4, + Xalpha_5, 5, + Xalpha_5, 6, + Xalpha_5, 7, + -1, + Xalpha_6, 0, + Xalpha_6, 1, + Xalpha_6, 2, + Xalpha_6, 3, + Xalpha_6, 4, + Xalpha_6, 5, + Xalpha_6, 6, + Xalpha_6, 7, + -1, + Xalpha_7, 0, + Xalpha_7, 1, + Xalpha_7, 2, + Xalpha_7, 3, + Xalpha_7, 4, + Xalpha_7, 5, + Xalpha_7, 6, + Xalpha_7, 7, + -1, + Xalpha_8, 0, + Xalpha_8, 1, + Xalpha_8, 2, + Xalpha_8, 3, + Xalpha_8, 4, + Xalpha_8, 5, + Xalpha_8, 6, + Xalpha_8, 7, + -1, + Xalpha_9, 0, + Xalpha_9, 1, + Xalpha_9, 2, + Xalpha_9, 3, + Xalpha_9, 4, + Xalpha_9, 5, + Xalpha_9, 6, + Xalpha_9, 7, + -1, + Xalpha_colon, 0, + Xalpha_colon, 1, + Xalpha_colon, 2, + Xalpha_colon, 3, + Xalpha_colon, 4, + Xalpha_colon, 5, + Xalpha_colon, 6, + Xalpha_colon, 7, + -1, + Xalpha_arrow_w, 0, + Xalpha_arrow_w, 1, + Xalpha_arrow_w, 2, + Xalpha_arrow_w, 3, + Xalpha_arrow_w, 4, + Xalpha_arrow_w, 5, + Xalpha_arrow_w, 6, + Xalpha_arrow_w, 7, + -1, + Xalpha_arrow_e, 0, + Xalpha_arrow_e, 1, + Xalpha_arrow_e, 2, + Xalpha_arrow_e, 3, + Xalpha_arrow_e, 4, + Xalpha_arrow_e, 5, + Xalpha_arrow_e, 6, + Xalpha_arrow_e, 7, + -1, + Xalpha_quest, 0, + Xalpha_quest, 1, + Xalpha_quest, 2, + Xalpha_quest, 3, + Xalpha_quest, 4, + Xalpha_quest, 5, + Xalpha_quest, 6, + Xalpha_quest, 7, + -1, + Xalpha_a, 0, + Xalpha_a, 1, + Xalpha_a, 2, + Xalpha_a, 3, + Xalpha_a, 4, + Xalpha_a, 5, + Xalpha_a, 6, + Xalpha_a, 7, + -1, + Xalpha_b, 0, + Xalpha_b, 1, + Xalpha_b, 2, + Xalpha_b, 3, + Xalpha_b, 4, + Xalpha_b, 5, + Xalpha_b, 6, + Xalpha_b, 7, + -1, + Xalpha_c, 0, + Xalpha_c, 1, + Xalpha_c, 2, + Xalpha_c, 3, + Xalpha_c, 4, + Xalpha_c, 5, + Xalpha_c, 6, + Xalpha_c, 7, + -1, + Xalpha_d, 0, + Xalpha_d, 1, + Xalpha_d, 2, + Xalpha_d, 3, + Xalpha_d, 4, + Xalpha_d, 5, + Xalpha_d, 6, + Xalpha_d, 7, + -1, + Xalpha_e, 0, + Xalpha_e, 1, + Xalpha_e, 2, + Xalpha_e, 3, + Xalpha_e, 4, + Xalpha_e, 5, + Xalpha_e, 6, + Xalpha_e, 7, + -1, + Xalpha_f, 0, + Xalpha_f, 1, + Xalpha_f, 2, + Xalpha_f, 3, + Xalpha_f, 4, + Xalpha_f, 5, + Xalpha_f, 6, + Xalpha_f, 7, + -1, + Xalpha_g, 0, + Xalpha_g, 1, + Xalpha_g, 2, + Xalpha_g, 3, + Xalpha_g, 4, + Xalpha_g, 5, + Xalpha_g, 6, + Xalpha_g, 7, + -1, + Xalpha_h, 0, + Xalpha_h, 1, + Xalpha_h, 2, + Xalpha_h, 3, + Xalpha_h, 4, + Xalpha_h, 5, + Xalpha_h, 6, + Xalpha_h, 7, + -1, + Xalpha_i, 0, + Xalpha_i, 1, + Xalpha_i, 2, + Xalpha_i, 3, + Xalpha_i, 4, + Xalpha_i, 5, + Xalpha_i, 6, + Xalpha_i, 7, + -1, + Xalpha_j, 0, + Xalpha_j, 1, + Xalpha_j, 2, + Xalpha_j, 3, + Xalpha_j, 4, + Xalpha_j, 5, + Xalpha_j, 6, + Xalpha_j, 7, + -1, + Xalpha_k, 0, + Xalpha_k, 1, + Xalpha_k, 2, + Xalpha_k, 3, + Xalpha_k, 4, + Xalpha_k, 5, + Xalpha_k, 6, + Xalpha_k, 7, + -1, + Xalpha_l, 0, + Xalpha_l, 1, + Xalpha_l, 2, + Xalpha_l, 3, + Xalpha_l, 4, + Xalpha_l, 5, + Xalpha_l, 6, + Xalpha_l, 7, + -1, + Xalpha_m, 0, + Xalpha_m, 1, + Xalpha_m, 2, + Xalpha_m, 3, + Xalpha_m, 4, + Xalpha_m, 5, + Xalpha_m, 6, + Xalpha_m, 7, + -1, + Xalpha_n, 0, + Xalpha_n, 1, + Xalpha_n, 2, + Xalpha_n, 3, + Xalpha_n, 4, + Xalpha_n, 5, + Xalpha_n, 6, + Xalpha_n, 7, + -1, + Xalpha_o, 0, + Xalpha_o, 1, + Xalpha_o, 2, + Xalpha_o, 3, + Xalpha_o, 4, + Xalpha_o, 5, + Xalpha_o, 6, + Xalpha_o, 7, + -1, + Xalpha_p, 0, + Xalpha_p, 1, + Xalpha_p, 2, + Xalpha_p, 3, + Xalpha_p, 4, + Xalpha_p, 5, + Xalpha_p, 6, + Xalpha_p, 7, + -1, + Xalpha_q, 0, + Xalpha_q, 1, + Xalpha_q, 2, + Xalpha_q, 3, + Xalpha_q, 4, + Xalpha_q, 5, + Xalpha_q, 6, + Xalpha_q, 7, + -1, + Xalpha_r, 0, + Xalpha_r, 1, + Xalpha_r, 2, + Xalpha_r, 3, + Xalpha_r, 4, + Xalpha_r, 5, + Xalpha_r, 6, + Xalpha_r, 7, + -1, + Xalpha_s, 0, + Xalpha_s, 1, + Xalpha_s, 2, + Xalpha_s, 3, + Xalpha_s, 4, + Xalpha_s, 5, + Xalpha_s, 6, + Xalpha_s, 7, + -1, + Xalpha_t, 0, + Xalpha_t, 1, + Xalpha_t, 2, + Xalpha_t, 3, + Xalpha_t, 4, + Xalpha_t, 5, + Xalpha_t, 6, + Xalpha_t, 7, + -1, + Xalpha_u, 0, + Xalpha_u, 1, + Xalpha_u, 2, + Xalpha_u, 3, + Xalpha_u, 4, + Xalpha_u, 5, + Xalpha_u, 6, + Xalpha_u, 7, + -1, + Xalpha_v, 0, + Xalpha_v, 1, + Xalpha_v, 2, + Xalpha_v, 3, + Xalpha_v, 4, + Xalpha_v, 5, + Xalpha_v, 6, + Xalpha_v, 7, + -1, + Xalpha_w, 0, + Xalpha_w, 1, + Xalpha_w, 2, + Xalpha_w, 3, + Xalpha_w, 4, + Xalpha_w, 5, + Xalpha_w, 6, + Xalpha_w, 7, + -1, + Xalpha_x, 0, + Xalpha_x, 1, + Xalpha_x, 2, + Xalpha_x, 3, + Xalpha_x, 4, + Xalpha_x, 5, + Xalpha_x, 6, + Xalpha_x, 7, + -1, + Xalpha_y, 0, + Xalpha_y, 1, + Xalpha_y, 2, + Xalpha_y, 3, + Xalpha_y, 4, + Xalpha_y, 5, + Xalpha_y, 6, + Xalpha_y, 7, + -1, + Xalpha_z, 0, + Xalpha_z, 1, + Xalpha_z, 2, + Xalpha_z, 3, + Xalpha_z, 4, + Xalpha_z, 5, + Xalpha_z, 6, + Xalpha_z, 7, + -1, + Xalpha_copyr, 0, + Xalpha_copyr, 1, + Xalpha_copyr, 2, + Xalpha_copyr, 3, + Xalpha_copyr, 4, + Xalpha_copyr, 5, + Xalpha_copyr, 6, + Xalpha_copyr, 7, + -1, - Yball_eat, 7, - Yball_eat, 6, - Yball_eat, 5, - Xboom_2, 7, - Xboom_2, 6, - Xboom_2, 5, - -1, - Yball_eat, 4, - Yball_eat, 3, - Yball_eat, 2, - Xboom_2, 4, - Xboom_2, 3, - Xboom_2, 2, - -1, - Yball_eat, 1, - Yball_eat, 0, - Xboom_2, 1, - Xboom_2, 0, - Xboom_1, 7, - -1, - Xboom_1, 6, - Xboom_1, 5, - Xboom_android, 7, - -1, - Xboom_1, 4, - Xboom_1, 3, - Xboom_bug, 4, - Xboom_bomb, 4, - Xboom_bug, 3, - Xboom_bomb, 3, - -1, - Xboom_1, 2, - Xboom_1, 1, - Xboom_bug, 6, - Xboom_bomb, 6, - Xboom_bug, 5, - Xboom_bomb, 5, - Xboom_bug, 2, - Xboom_bomb, 2, - Xboom_bug, 1, - Xboom_bomb, 1, - -1, - Xboom_bug, 0, - Xboom_bug, 7, - Xboom_bomb, 0, - Xboom_bomb, 7, - Xboom_1, 0, - Ybug_stone, 7, - Ybug_spring, 7, - Ytank_stone, 7, - Ytank_spring, 7, - Yeater_stone, 7, - Yeater_spring, 7, - Yalien_stone, 7, - Yalien_spring, 7, - Ybomb_eat, 7, + Yball_eat, 7, + Yball_eat, 6, + Yball_eat, 5, + Ykey_1_eat, 7, + Ykey_1_eat, 6, + Ykey_1_eat, 5, + Ykey_2_eat, 7, + Ykey_2_eat, 6, + Ykey_2_eat, 5, + Ykey_3_eat, 7, + Ykey_3_eat, 6, + Ykey_3_eat, 5, + Ykey_4_eat, 7, + Ykey_4_eat, 6, + Ykey_4_eat, 5, + Ykey_5_eat, 7, + Ykey_5_eat, 6, + Ykey_5_eat, 5, + Ykey_6_eat, 7, + Ykey_6_eat, 6, + Ykey_6_eat, 5, + Ykey_7_eat, 7, + Ykey_7_eat, 6, + Ykey_7_eat, 5, + Ykey_8_eat, 7, + Ykey_8_eat, 6, + Ykey_8_eat, 5, + Ylenses_eat, 7, + Ylenses_eat, 6, + Ylenses_eat, 5, + Ymagnify_eat, 7, + Ymagnify_eat, 6, + Ymagnify_eat, 5, + Ygrass_eat, 7, + Ygrass_eat, 6, + Ygrass_eat, 5, + Ydirt_eat, 7, + Ydirt_eat, 6, + Ydirt_eat, 5, + Xboom_2, 7, + Xboom_2, 6, + Xboom_2, 5, + -1, + Yball_eat, 4, + Yball_eat, 3, + Yball_eat, 2, + Ykey_1_eat, 4, + Ykey_1_eat, 3, + Ykey_1_eat, 2, + Ykey_2_eat, 4, + Ykey_2_eat, 3, + Ykey_2_eat, 2, + Ykey_3_eat, 4, + Ykey_3_eat, 3, + Ykey_3_eat, 2, + Ykey_4_eat, 4, + Ykey_4_eat, 3, + Ykey_4_eat, 2, + Ykey_5_eat, 4, + Ykey_5_eat, 3, + Ykey_5_eat, 2, + Ykey_6_eat, 4, + Ykey_6_eat, 3, + Ykey_6_eat, 2, + Ykey_7_eat, 4, + Ykey_7_eat, 3, + Ykey_7_eat, 2, + Ykey_8_eat, 4, + Ykey_8_eat, 3, + Ykey_8_eat, 2, + Ylenses_eat, 4, + Ylenses_eat, 3, + Ylenses_eat, 2, + Ymagnify_eat, 4, + Ymagnify_eat, 3, + Ymagnify_eat, 2, + Ygrass_eat, 4, + Ygrass_eat, 3, + Ygrass_eat, 2, + Ydirt_eat, 4, + Ydirt_eat, 3, + Ydirt_eat, 2, + Xboom_2, 4, + Xboom_2, 3, + Xboom_2, 2, + -1, + Yball_eat, 1, + Yball_eat, 0, + Ykey_1_eat, 1, + Ykey_1_eat, 0, + Ykey_2_eat, 1, + Ykey_2_eat, 0, + Ykey_3_eat, 1, + Ykey_3_eat, 0, + Ykey_4_eat, 1, + Ykey_4_eat, 0, + Ykey_5_eat, 1, + Ykey_5_eat, 0, + Ykey_6_eat, 1, + Ykey_6_eat, 0, + Ykey_7_eat, 1, + Ykey_7_eat, 0, + Ykey_8_eat, 1, + Ykey_8_eat, 0, + Ylenses_eat, 1, + Ylenses_eat, 0, + Ymagnify_eat, 1, + Ymagnify_eat, 0, + Ygrass_eat, 1, + Ygrass_eat, 0, + Ydirt_eat, 1, + Ydirt_eat, 0, + Xboom_2, 1, + Xboom_2, 0, + Xboom_1, 7, + -1, + Xboom_1, 6, + Xboom_1, 5, + Xboom_android, 7, + -1, + Xboom_1, 4, + Xboom_1, 3, + Xboom_bug, 4, + Xboom_bomb, 4, + Xboom_bug, 3, + Xboom_bomb, 3, + -1, + Xboom_1, 2, + Xboom_1, 1, + Xboom_bug, 6, + Xboom_bomb, 6, + Xboom_bug, 5, + Xboom_bomb, 5, + Xboom_bug, 2, + Xboom_bomb, 2, + Xboom_bug, 1, + Xboom_bomb, 1, + -1, + Xboom_bug, 0, + Xboom_bug, 7, + Xboom_bomb, 0, + Xboom_bomb, 7, + Xboom_1, 0, + Ybug_stone, 7, + Ybug_spring, 7, + Ytank_stone, 7, + Ytank_spring, 7, + Yeater_stone, 7, + Yeater_spring, 7, + Yalien_stone, 7, + Yalien_spring, 7, + Ybomb_eat, 7, -1 }; int spr_map[] = { - SPR_walk + 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, - SPR_walk + 1, 0, 8, 9, 10, 11, 12, 13, 14, 15, - SPR_walk + 2, 0, 16, 17, 18, 19, 20, 21, 22, 23, - SPR_walk + 3, 0, 24, 25, 26, 27, 28, 29, 30, 31, - SPR_push+0, 0, 32, 33, 34, 35, 36, 35, 34, 33, - SPR_push+1, 0, 37, 38, 39, 40, 41, 40, 39, 38, - SPR_push+2, 0, 42, 43, 44, 45, 46, 45, 44, 43, - SPR_push+3, 0, 47, 48, 49, 50, 51, 50, 49, 48, - SPR_spray+0, 0, 52, 52, 52, 52, 52, 52, 52, 52, - SPR_spray+1, 0, 53, 53, 53, 53, 53, 53, 53, 53, - SPR_spray+2, 0, 54, 54, 54, 54, 54, 54, 54, 54, - SPR_spray+3, 0, 55, 55, 55, 55, 55, 55, 55, 55, - SPR_walk + 0, 1, 56, 57, 58, 59, 60, 61, 62, 63, - SPR_walk + 1, 1, 64, 65, 66, 67, 68, 69, 70, 71, - SPR_walk + 2, 1, 72, 73, 74, 75, 76, 77, 78, 79, - SPR_walk + 3, 1, 80, 81, 82, 83, 84, 85, 86, 87, - SPR_push + 0, 1, 88, 89, 90, 91, 92, 91, 90, 89, - SPR_push + 1, 1, 93, 94, 95, 96, 97, 96, 95, 94, - SPR_push + 2, 1, 98, 99, 100, 101, 102, 101, 100, 99, - SPR_push + 3, 1, 103, 104, 105, 106, 107, 106, 105, 104, - SPR_spray + 0, 1, 108, 108, 108, 108, 108, 108, 108, 108, - SPR_spray + 1, 1, 109, 109, 109, 109, 109, 109, 109, 109, - SPR_spray + 2, 1, 110, 110, 110, 110, 110, 110, 110, 110, - SPR_spray + 3, 1, 111, 111, 111, 111, 111, 111, 111, 111, - SPR_still, 0, 112, 112, 112, 112, 112, 112, 112, 112, - SPR_still, 1, 113, 113, 113, 113, 113, 113, 113, 113, + SPR_walk + 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, + SPR_walk + 1, 0, 8, 9, 10, 11, 12, 13, 14, 15, + SPR_walk + 2, 0, 16, 17, 18, 19, 20, 21, 22, 23, + SPR_walk + 3, 0, 24, 25, 26, 27, 28, 29, 30, 31, + + SPR_push + 0, 0, 32, 33, 34, 35, 36, 35, 34, 33, + SPR_push + 1, 0, 37, 38, 39, 40, 41, 40, 39, 38, + SPR_push + 2, 0, 42, 43, 44, 45, 46, 45, 44, 43, + SPR_push + 3, 0, 47, 48, 49, 50, 51, 50, 49, 48, + + SPR_spray + 0, 0, 52, 52, 52, 52, 52, 52, 52, 52, + SPR_spray + 1, 0, 53, 53, 53, 53, 53, 53, 53, 53, + SPR_spray + 2, 0, 54, 54, 54, 54, 54, 54, 54, 54, + SPR_spray + 3, 0, 55, 55, 55, 55, 55, 55, 55, 55, + + SPR_walk + 0, 1, 56, 57, 58, 59, 60, 61, 62, 63, + SPR_walk + 1, 1, 64, 65, 66, 67, 68, 69, 70, 71, + SPR_walk + 2, 1, 72, 73, 74, 75, 76, 77, 78, 79, + SPR_walk + 3, 1, 80, 81, 82, 83, 84, 85, 86, 87, + + SPR_push + 0, 1, 88, 89, 90, 91, 92, 91, 90, 89, + SPR_push + 1, 1, 93, 94, 95, 96, 97, 96, 95, 94, + SPR_push + 2, 1, 98, 99, 100, 101, 102, 101, 100, 99, + SPR_push + 3, 1, 103, 104, 105, 106, 107, 106, 105, 104, + + SPR_spray + 0, 1, 108, 108, 108, 108, 108, 108, 108, 108, + SPR_spray + 1, 1, 109, 109, 109, 109, 109, 109, 109, 109, + SPR_spray + 2, 1, 110, 110, 110, 110, 110, 110, 110, 110, + SPR_spray + 3, 1, 111, 111, 111, 111, 111, 111, 111, 111, + + SPR_still, 0, 112,112, 112, 112, 112, 112, 112, 112, + SPR_still, 1, 113,113, 113, 113, 113, 113, 113, 113, + SPR_MAX }; @@ -4323,8 +4426,11 @@ unsigned short map_spr[2][8][13]; /* map ascii to coords */ unsigned short map_ttl[128]; -/* map tiles and frames to graphics info */ -struct GraphicInfo_EM graphic_info_em[TILE_MAX][8]; +/* map tiles and frames to graphic info */ +struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8]; + +/* map player number, frames and action to graphic info */ +struct GraphicInfo_EM graphic_info_em_player[2][SPR_MAX][8]; void create_tab(int *invert, unsigned char *array) { @@ -4384,7 +4490,7 @@ void create_obj() { if (map[0] < 0 || map[0] >= TILE_MAX || map[1] < 0 || map[1] >= 8) { - fprintf(stderr, "obj_map: bad tile (%d, %d) @ %d+%d\n", + fprintf(stderr, "obj_map: bad tile (%d, %d) @ %d+%d\n", map[0], map[1], i / 16, i % 16); debug = 1; continue; @@ -4431,7 +4537,7 @@ void create_obj() if (sizeof(obj_map) / sizeof(*obj_map) != map - obj_map) { - fprintf(stderr, "obj_map: bad end (%d != %d)\n", + fprintf(stderr, "obj_map: bad end (%d != %d)\n", sizeof(obj_map) / sizeof(*obj_map), map - obj_map); debug = 1; } @@ -4478,7 +4584,7 @@ void create_obj_graphics_info_em() { for (j = 0; j < 8; j++) { - struct GraphicInfo_EM *g = &graphic_info_em[i][j]; + struct GraphicInfo_EM *g = &graphic_info_em_object[i][j]; int obj = map_obj[j][i]; g->bitmap = objBitmap; @@ -4490,10 +4596,11 @@ void create_obj_graphics_info_em() g->dst_offset_y = 0; g->width = TILEX; g->height = TILEY; + + /* create unique graphic identifier to decide if tile must be redrawn */ + g->unique_identifier = obj; } } - - InitGraphicInfo_EM(); } void create_spr() @@ -4506,6 +4613,7 @@ void create_spr() { i = *map++; j = *map++; + for (k = 0; k < 8; k++) buffer[j][k][i] = *map++; } @@ -4516,6 +4624,33 @@ void create_spr() map_spr[i][j][k] = buffer[i][7 - j][k]; } +void create_spr_graphics_info_em() +{ + int i, j, k; + + for (i = 0; i < 2; i++) + { + for (j = 0; j < SPR_MAX; j++) + { + for (k = 0; k < 8; k++) + { + struct GraphicInfo_EM *g = &graphic_info_em_player[i][j][k]; + int spr = map_spr[i][k][j]; + + g->bitmap = sprBitmap; + g->src_x = (spr / 8) * TILEX; + g->src_y = (spr % 8) * TILEY; + g->src_offset_x = 0; + g->src_offset_y = 0; + g->dst_offset_x = 0; + g->dst_offset_y = 0; + g->width = TILEX; + g->height = TILEY; + } + } + } +} + void tab_generate() { create_tab(tile_blank, tab_blank); @@ -4530,4 +4665,7 @@ void tab_generate() void tab_generate_graphics_info_em() { create_obj_graphics_info_em(); + create_spr_graphics_info_em(); + + InitGraphicInfo_EM(); } diff --git a/src/game_em/tile.h b/src/game_em/tile.h index f029834e..6b6dc3e2 100644 --- a/src/game_em/tile.h +++ b/src/game_em/tile.h @@ -428,17 +428,18 @@ enum TILE_MAX }; -#endif - enum { SPR_still = 0, - SPR_walk = 1, - SPR_push = 5, + SPR_walk = 1, + SPR_push = 5, SPR_spray = 9, - SPR_MAX = 13 + + SPR_MAX = 13 }; +#endif + extern unsigned char tab_blank[TILE_MAX]; extern unsigned char tab_acid[TILE_MAX]; extern unsigned char tab_amoeba[TILE_MAX]; diff --git a/src/game_em/ulaw_generate.c b/src/game_em/ulaw_generate.c index 1c8017c9..7c06c300 100644 --- a/src/game_em/ulaw_generate.c +++ b/src/game_em/ulaw_generate.c @@ -4,7 +4,7 @@ * directly in emerald mine source */ -#include "game_em.h" +#include "main_em.h" #if defined(PLATFORM_LINUX) || defined(PLATFORM_BSD) diff --git a/src/init.c b/src/init.c index 30357927..a6caa272 100644 --- a/src/init.c +++ b/src/init.c @@ -270,7 +270,7 @@ void InitElementSmallImages() InitElementSmallImagesScaledUp(property_mapping[i].artwork_index); #endif -#if 0 +#if 1 /* !!! FIX THIS (CHANGE TO USING NORMAL ELEMENT GRAPHIC DEFINITIONS) !!! */ for (i = IMG_EMC_OBJECT; i <= IMG_EMC_SPRITE; i++) InitElementSmallImagesScaledUp(i); @@ -726,6 +726,10 @@ void InitElementGraphicInfo() /* generic default action graphic (defined by "[default]" directive) */ int default_action_graphic = element_info[EL_DEFAULT].graphic[act]; int default_action_crumbled = element_info[EL_DEFAULT].crumbled[act]; + int default_remove_graphic = IMG_EMPTY; + + if (act_remove && default_action_graphic != -1) + default_remove_graphic = default_action_graphic; /* look for special default action graphic (classic game specific) */ if (IS_BD_ELEMENT(i) && element_info[EL_BD_DEFAULT].graphic[act] != -1) @@ -766,13 +770,13 @@ void InitElementGraphicInfo() /* !!! maybe it's better to use default _action_ graphic here !!! */ if (default_action_direction_graphic == -1) default_action_direction_graphic = - (act_remove ? IMG_EMPTY : + (act_remove ? default_remove_graphic : act_turning ? element_info[i].direction_graphic[ACTION_TURNING][dir] : default_direction_graphic[dir]); if (default_action_direction_crumbled == -1) default_action_direction_crumbled = - (act_remove ? IMG_EMPTY : + (act_remove ? default_remove_graphic : act_turning ? element_info[i].direction_crumbled[ACTION_TURNING][dir] : default_direction_crumbled[dir]); @@ -788,12 +792,12 @@ void InitElementGraphicInfo() /* no graphic for this specific action -- use default action graphic */ if (element_info[i].graphic[act] == -1) element_info[i].graphic[act] = - (act_remove ? IMG_EMPTY : + (act_remove ? default_remove_graphic : act_turning ? element_info[i].graphic[ACTION_TURNING] : default_action_graphic); if (element_info[i].crumbled[act] == -1) element_info[i].crumbled[act] = - (act_remove ? IMG_EMPTY : + (act_remove ? default_remove_graphic : act_turning ? element_info[i].crumbled[ACTION_TURNING] : default_action_crumbled); } diff --git a/src/main.c b/src/main.c index 137de08e..44104721 100644 --- a/src/main.c +++ b/src/main.c @@ -3539,10 +3539,20 @@ struct ElementNameInfo element_name_info[MAX_NUM_ELEMENTS + 1] = "emc_magic_ball", "magic ball", }, + { + "emc_magic_ball.active", + "emc_magic_ball", + "magic ball (activated)", + }, { "emc_magic_ball_switch", "emc_magic_ball_switch", - "magic ball switch", + "magic ball switch (off)", + }, + { + "emc_magic_ball_switch.active", + "emc_magic_ball_switch", + "magic ball switch (on)", }, { "emc_spring_bumper", diff --git a/src/main.h b/src/main.h index 4b22fe90..1374311e 100644 --- a/src/main.h +++ b/src/main.h @@ -985,27 +985,29 @@ #define EL_EMC_ANDROID 680 #define EL_EMC_GRASS 681 #define EL_EMC_MAGIC_BALL 682 -#define EL_EMC_MAGIC_BALL_SWITCH 683 -#define EL_EMC_SPRING_BUMPER 684 -#define EL_EMC_PLANT 685 -#define EL_EMC_LENSES 686 -#define EL_EMC_MAGNIFIER 687 -#define EL_EMC_WALL_9 688 -#define EL_EMC_WALL_10 689 -#define EL_EMC_WALL_11 690 -#define EL_EMC_WALL_12 691 -#define EL_EMC_WALL_13 692 -#define EL_EMC_WALL_14 693 -#define EL_EMC_WALL_15 694 -#define EL_EMC_WALL_16 695 -#define EL_EMC_WALL_SLIPPERY_1 696 -#define EL_EMC_WALL_SLIPPERY_2 697 -#define EL_EMC_WALL_SLIPPERY_3 698 -#define EL_EMC_WALL_SLIPPERY_4 699 -#define EL_EMC_FAKE_GRASS 700 -#define EL_EMC_DRIPPER 701 - -#define NUM_FILE_ELEMENTS 702 +#define EL_EMC_MAGIC_BALL_ACTIVE 683 +#define EL_EMC_MAGIC_BALL_SWITCH 684 +#define EL_EMC_MAGIC_BALL_SWITCH_ACTIVE 685 +#define EL_EMC_SPRING_BUMPER 686 +#define EL_EMC_PLANT 687 +#define EL_EMC_LENSES 688 +#define EL_EMC_MAGNIFIER 689 +#define EL_EMC_WALL_9 690 +#define EL_EMC_WALL_10 691 +#define EL_EMC_WALL_11 692 +#define EL_EMC_WALL_12 693 +#define EL_EMC_WALL_13 694 +#define EL_EMC_WALL_14 695 +#define EL_EMC_WALL_15 696 +#define EL_EMC_WALL_16 697 +#define EL_EMC_WALL_SLIPPERY_1 698 +#define EL_EMC_WALL_SLIPPERY_2 699 +#define EL_EMC_WALL_SLIPPERY_3 700 +#define EL_EMC_WALL_SLIPPERY_4 701 +#define EL_EMC_FAKE_GRASS 702 +#define EL_EMC_DRIPPER 703 + +#define NUM_FILE_ELEMENTS 704 /* "real" (and therefore drawable) runtime elements */ diff --git a/src/tools.c b/src/tools.c index 26257987..3c341ec5 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2027,6 +2027,7 @@ void DrawPlayer(struct PlayerInfo *player) graphic = el_act_dir2img(element, ACTION_PUSHING, move_dir); frame = getGraphicAnimationFrame(graphic, player->StepFrame); + /* draw background element under pushed element (like the Sokoban field) */ if (Back[next_jx][next_jy]) DrawLevelElement(next_jx, next_jy, Back[next_jx][next_jy]); @@ -3009,7 +3010,7 @@ static void HandleToolButtons(struct GadgetInfo *gi) #if 1 -static struct +static struct Mapping_EM_to_RND_object { int element_em; boolean is_rnd_to_em_mapping; /* unique mapping EM <-> RND */ @@ -3019,18 +3020,18 @@ static struct int action; int direction; } -mapping_EM_to_RND_list[] = +em_object_mapping_list[] = { { Xblank, TRUE, FALSE, EL_EMPTY, -1, -1 }, { - Yacid_splash_eB, FALSE, TRUE, + Yacid_splash_eB, FALSE, FALSE, EL_ACID_SPLASH_RIGHT, -1, -1 }, { - Yacid_splash_wB, FALSE, TRUE, + Yacid_splash_wB, FALSE, FALSE, EL_ACID_SPLASH_LEFT, -1, -1 }, @@ -3838,19 +3839,19 @@ mapping_EM_to_RND_list[] = EL_EMC_GRASS, -1, -1 }, { - Ygrass_nB, FALSE, TRUE, + Ygrass_nB, FALSE, FALSE, EL_EMC_GRASS, ACTION_DIGGING, MV_BIT_UP }, { - Ygrass_eB, FALSE, TRUE, + Ygrass_eB, FALSE, FALSE, EL_EMC_GRASS, ACTION_DIGGING, MV_BIT_RIGHT }, { - Ygrass_sB, FALSE, TRUE, + Ygrass_sB, FALSE, FALSE, EL_EMC_GRASS, ACTION_DIGGING, MV_BIT_DOWN }, { - Ygrass_wB, FALSE, TRUE, + Ygrass_wB, FALSE, FALSE, EL_EMC_GRASS, ACTION_DIGGING, MV_BIT_LEFT }, { @@ -3858,19 +3859,19 @@ mapping_EM_to_RND_list[] = EL_SAND, -1, -1 }, { - Ydirt_nB, FALSE, TRUE, + Ydirt_nB, FALSE, FALSE, EL_SAND, ACTION_DIGGING, MV_BIT_UP }, { - Ydirt_eB, FALSE, TRUE, + Ydirt_eB, FALSE, FALSE, EL_SAND, ACTION_DIGGING, MV_BIT_RIGHT }, { - Ydirt_sB, FALSE, TRUE, + Ydirt_sB, FALSE, FALSE, EL_SAND, ACTION_DIGGING, MV_BIT_DOWN }, { - Ydirt_wB, FALSE, TRUE, + Ydirt_wB, FALSE, FALSE, EL_SAND, ACTION_DIGGING, MV_BIT_LEFT }, { @@ -3930,7 +3931,7 @@ mapping_EM_to_RND_list[] = EL_EMC_MAGIC_BALL, -1, -1 }, { - Xball_1B, FALSE, TRUE, + Xball_1B, FALSE, FALSE, EL_EMC_MAGIC_BALL, ACTION_ACTIVE, -1 }, { @@ -3938,13 +3939,61 @@ mapping_EM_to_RND_list[] = EL_EMC_MAGIC_BALL, ACTION_ACTIVE, -1 }, { - Xball_2B, FALSE, TRUE, + Xball_2B, FALSE, FALSE, EL_EMC_MAGIC_BALL, ACTION_ACTIVE, -1 }, { Yball_eat, FALSE, FALSE, EL_EMC_MAGIC_BALL, ACTION_DROPPING, -1 }, + { + Ykey_1_eat, FALSE, FALSE, + EL_EM_KEY_1, ACTION_COLLECTING, -1 + }, + { + Ykey_2_eat, FALSE, FALSE, + EL_EM_KEY_2, ACTION_COLLECTING, -1 + }, + { + Ykey_3_eat, FALSE, FALSE, + EL_EM_KEY_3, ACTION_COLLECTING, -1 + }, + { + Ykey_4_eat, FALSE, FALSE, + EL_EM_KEY_4, ACTION_COLLECTING, -1 + }, + { + Ykey_5_eat, FALSE, FALSE, + EL_EM_KEY_5, ACTION_COLLECTING, -1 + }, + { + Ykey_6_eat, FALSE, FALSE, + EL_EM_KEY_6, ACTION_COLLECTING, -1 + }, + { + Ykey_7_eat, FALSE, FALSE, + EL_EM_KEY_7, ACTION_COLLECTING, -1 + }, + { + Ykey_8_eat, FALSE, FALSE, + EL_EM_KEY_8, ACTION_COLLECTING, -1 + }, + { + Ylenses_eat, FALSE, FALSE, + EL_EMC_LENSES, ACTION_COLLECTING, -1 + }, + { + Ymagnify_eat, FALSE, FALSE, + EL_EMC_MAGNIFIER, ACTION_COLLECTING, -1 + }, + { + Ygrass_eat, FALSE, FALSE, + EL_EMC_GRASS, ACTION_SNAPPING, -1 + }, + { + Ydirt_eat, FALSE, FALSE, + EL_SAND, ACTION_SNAPPING, -1 + }, { Xgrow_ns, TRUE, FALSE, EL_EXPANDABLE_WALL_VERTICAL, -1, -1 @@ -4617,6 +4666,128 @@ mapping_EM_to_RND_list[] = } }; +static struct Mapping_EM_to_RND_player +{ + int action_em; + int player_nr; + + int element_rnd; + int action; + int direction; +} +em_player_mapping_list[] = +{ + { + SPR_walk + 0, 0, + EL_PLAYER_1, ACTION_MOVING, MV_BIT_UP, + }, + { + SPR_walk + 1, 0, + EL_PLAYER_1, ACTION_MOVING, MV_BIT_RIGHT, + }, + { + SPR_walk + 2, 0, + EL_PLAYER_1, ACTION_MOVING, MV_BIT_DOWN, + }, + { + SPR_walk + 3, 0, + EL_PLAYER_1, ACTION_MOVING, MV_BIT_LEFT, + }, + { + SPR_push + 0, 0, + EL_PLAYER_1, ACTION_PUSHING, MV_BIT_UP, + }, + { + SPR_push + 1, 0, + EL_PLAYER_1, ACTION_PUSHING, MV_BIT_RIGHT, + }, + { + SPR_push + 2, 0, + EL_PLAYER_1, ACTION_PUSHING, MV_BIT_DOWN, + }, + { + SPR_push + 3, 0, + EL_PLAYER_1, ACTION_PUSHING, MV_BIT_LEFT, + }, + { + SPR_spray + 0, 0, + EL_PLAYER_1, ACTION_SNAPPING, MV_BIT_UP, + }, + { + SPR_spray + 1, 0, + EL_PLAYER_1, ACTION_SNAPPING, MV_BIT_RIGHT, + }, + { + SPR_spray + 2, 0, + EL_PLAYER_1, ACTION_SNAPPING, MV_BIT_DOWN, + }, + { + SPR_spray + 3, 0, + EL_PLAYER_1, ACTION_SNAPPING, MV_BIT_LEFT, + }, + { + SPR_walk + 0, 1, + EL_PLAYER_2, ACTION_MOVING, MV_BIT_UP, + }, + { + SPR_walk + 1, 1, + EL_PLAYER_2, ACTION_MOVING, MV_BIT_RIGHT, + }, + { + SPR_walk + 2, 1, + EL_PLAYER_2, ACTION_MOVING, MV_BIT_DOWN, + }, + { + SPR_walk + 3, 1, + EL_PLAYER_2, ACTION_MOVING, MV_BIT_LEFT, + }, + { + SPR_push + 0, 1, + EL_PLAYER_2, ACTION_PUSHING, MV_BIT_UP, + }, + { + SPR_push + 1, 1, + EL_PLAYER_2, ACTION_PUSHING, MV_BIT_RIGHT, + }, + { + SPR_push + 2, 1, + EL_PLAYER_2, ACTION_PUSHING, MV_BIT_DOWN, + }, + { + SPR_push + 3, 1, + EL_PLAYER_2, ACTION_PUSHING, MV_BIT_LEFT, + }, + { + SPR_spray + 0, 1, + EL_PLAYER_2, ACTION_SNAPPING, MV_BIT_UP, + }, + { + SPR_spray + 1, 1, + EL_PLAYER_2, ACTION_SNAPPING, MV_BIT_RIGHT, + }, + { + SPR_spray + 2, 1, + EL_PLAYER_2, ACTION_SNAPPING, MV_BIT_DOWN, + }, + { + SPR_spray + 3, 1, + EL_PLAYER_2, ACTION_SNAPPING, MV_BIT_LEFT, + }, + { + SPR_still, 0, + EL_PLAYER_1, ACTION_DEFAULT, -1, + }, + { + SPR_still, 1, + EL_PLAYER_2, ACTION_DEFAULT, -1, + }, + + { + -1, -1, + -1, -1, -1 + } +}; + int map_element_RND_to_EM(int element_rnd) { static unsigned short mapping_RND_to_EM[NUM_FILE_ELEMENTS]; @@ -4630,10 +4801,10 @@ int map_element_RND_to_EM(int element_rnd) for (i = 0; i < NUM_FILE_ELEMENTS; i++) mapping_RND_to_EM[i] = Xalpha_quest; - for (i = 0; mapping_EM_to_RND_list[i].element_em != -1; i++) - if (mapping_EM_to_RND_list[i].is_rnd_to_em_mapping) - mapping_RND_to_EM[mapping_EM_to_RND_list[i].element_rnd] = - mapping_EM_to_RND_list[i].element_em; + for (i = 0; em_object_mapping_list[i].element_em != -1; i++) + if (em_object_mapping_list[i].is_rnd_to_em_mapping) + mapping_RND_to_EM[em_object_mapping_list[i].element_rnd] = + em_object_mapping_list[i].element_em; mapping_initialized = TRUE; } @@ -4659,9 +4830,9 @@ int map_element_EM_to_RND(int element_em) for (i = 0; i < TILE_MAX; i++) mapping_EM_to_RND[i] = EL_UNKNOWN; - for (i = 0; mapping_EM_to_RND_list[i].element_em != -1; i++) - mapping_EM_to_RND[mapping_EM_to_RND_list[i].element_em] = - mapping_EM_to_RND_list[i].element_rnd; + for (i = 0; em_object_mapping_list[i].element_em != -1; i++) + mapping_EM_to_RND[em_object_mapping_list[i].element_em] = + em_object_mapping_list[i].element_rnd; mapping_initialized = TRUE; } @@ -4883,7 +5054,7 @@ int map_element_EM_to_RND(int element_em) int element_em; int element_rnd; } - mapping_EM_to_RND_list[] = + em_object_mapping_list[] = { { Xblank, EL_EMPTY }, { Yacid_splash_eB, EL_EMPTY }, @@ -5291,9 +5462,9 @@ int map_element_EM_to_RND(int element_em) for (i = 0; i < TILE_MAX; i++) mapping_EM_to_RND[i] = EL_UNKNOWN; - for (i = 0; mapping_EM_to_RND_list[i].element_em != -1; i++) - mapping_EM_to_RND[mapping_EM_to_RND_list[i].element_em] = - mapping_EM_to_RND_list[i].element_rnd; + for (i = 0; em_object_mapping_list[i].element_em != -1; i++) + mapping_EM_to_RND[em_object_mapping_list[i].element_em] = + em_object_mapping_list[i].element_rnd; mapping_initialized = TRUE; } @@ -5401,43 +5572,78 @@ unsigned int InitRND(long seed) return InitEngineRND(seed); } +#define DEBUG_EM_GFX 0 + void InitGraphicInfo_EM(void) { - int mapping_EM_to_RND_element[TILE_MAX]; - int mapping_EM_to_RND_action[TILE_MAX]; - int mapping_EM_to_RND_direction[TILE_MAX]; - boolean mapping_EM_to_RND_backside[TILE_MAX]; - int i, j; + struct Mapping_EM_to_RND_object object_mapping[TILE_MAX]; + struct Mapping_EM_to_RND_player player_mapping[2][SPR_MAX]; + int i, j, p; - /* return "EL_UNKNOWN" for all undefined elements in mapping array */ +#if DEBUG_EM_GFX + if (graphic_info_em_object[0][0].bitmap == NULL) + { + /* EM graphics not yet initialized in em_open_all() */ + + return; + } +#endif + + /* always start with reliable default values */ for (i = 0; i < TILE_MAX; i++) { - mapping_EM_to_RND_element[i] = EL_UNKNOWN; - mapping_EM_to_RND_backside[i] = FALSE; - mapping_EM_to_RND_action[i] = ACTION_DEFAULT; - mapping_EM_to_RND_direction[i] = MV_NO_MOVING; + object_mapping[i].element_rnd = EL_UNKNOWN; + object_mapping[i].is_backside = FALSE; + object_mapping[i].action = ACTION_DEFAULT; + object_mapping[i].direction = MV_NO_MOVING; + } + + /* always start with reliable default values */ + for (p = 0; p < 2; p++) + { + for (i = 0; i < SPR_MAX; i++) + { + player_mapping[p][i].element_rnd = EL_UNKNOWN; + player_mapping[p][i].action = ACTION_DEFAULT; + player_mapping[p][i].direction = MV_NO_MOVING; + } } - for (i = 0; mapping_EM_to_RND_list[i].element_em != -1; i++) + for (i = 0; em_object_mapping_list[i].element_em != -1; i++) { - int e = mapping_EM_to_RND_list[i].element_em; + int e = em_object_mapping_list[i].element_em; - mapping_EM_to_RND_element[e] = mapping_EM_to_RND_list[i].element_rnd; - mapping_EM_to_RND_backside[e] = mapping_EM_to_RND_list[i].is_backside; + object_mapping[e].element_rnd = em_object_mapping_list[i].element_rnd; + object_mapping[e].is_backside = em_object_mapping_list[i].is_backside; - if (mapping_EM_to_RND_list[i].action != -1) - mapping_EM_to_RND_action[e] = mapping_EM_to_RND_list[i].action; + if (em_object_mapping_list[i].action != -1) + object_mapping[e].action = em_object_mapping_list[i].action; - if (mapping_EM_to_RND_list[i].direction != -1) - mapping_EM_to_RND_direction[e] = 1<< mapping_EM_to_RND_list[i].direction; + if (em_object_mapping_list[i].direction != -1) + object_mapping[e].direction = (1 << em_object_mapping_list[i].direction); + } + + for (i = 0; em_player_mapping_list[i].action_em != -1; i++) + { + int a = em_player_mapping_list[i].action_em; + int p = em_player_mapping_list[i].player_nr; + + player_mapping[p][a].element_rnd = em_player_mapping_list[i].element_rnd; + + if (em_player_mapping_list[i].action != -1) + player_mapping[p][a].action = em_player_mapping_list[i].action; + + if (em_player_mapping_list[i].direction != -1) + player_mapping[p][a].direction = + (1 << em_player_mapping_list[i].direction); } for (i = 0; i < TILE_MAX; i++) { - int element = mapping_EM_to_RND_element[i]; - int action = mapping_EM_to_RND_action[i]; - int direction = mapping_EM_to_RND_direction[i]; - int backside = mapping_EM_to_RND_backside[i]; + int element = object_mapping[i].element_rnd; + int action = object_mapping[i].action; + int direction = object_mapping[i].direction; + boolean is_backside = object_mapping[i].is_backside; boolean action_removing = (action == ACTION_DIGGING || action == ACTION_SNAPPING || action == ACTION_COLLECTING); @@ -5450,7 +5656,9 @@ void InitGraphicInfo_EM(void) for (j = 0; j < 8; j++) { - int effective_element = (j < 7 ? element : + int effective_element = (j > 5 && i == Yacid_splash_eB ? EL_EMPTY : + j > 5 && i == Yacid_splash_wB ? EL_EMPTY : + j < 7 ? element : i == Ynut_sB ? element : i == Xdrip_stretch ? element : i == Xdrip_stretchB ? element : @@ -5460,11 +5668,23 @@ void InitGraphicInfo_EM(void) i == Xball_2 ? element : i == Xball_2B ? element : i == Yball_eat ? element : + i == Ykey_1_eat ? element : + i == Ykey_2_eat ? element : + i == Ykey_3_eat ? element : + i == Ykey_4_eat ? element : + i == Ykey_5_eat ? element : + i == Ykey_6_eat ? element : + i == Ykey_7_eat ? element : + i == Ykey_8_eat ? element : + i == Ylenses_eat ? element : + i == Ymagnify_eat ? element : + i == Ygrass_eat ? element : + i == Ydirt_eat ? element : i == Yspring_kill_e ? EL_SPRING : i == Yspring_kill_w ? EL_SPRING : i == Yemerald_stone ? EL_EMERALD : i == Ydiamond_stone ? EL_ROCK : - backside ? EL_EMPTY : + is_backside ? EL_EMPTY : action_removing ? EL_EMPTY : element); int effective_action = (j < 7 ? action : @@ -5477,6 +5697,18 @@ void InitGraphicInfo_EM(void) i == Xball_2 ? action : i == Xball_2B ? action : i == Yball_eat ? action : + i == Ykey_1_eat ? action : + i == Ykey_2_eat ? action : + i == Ykey_3_eat ? action : + i == Ykey_4_eat ? action : + i == Ykey_5_eat ? action : + i == Ykey_6_eat ? action : + i == Ykey_7_eat ? action : + i == Ykey_8_eat ? action : + i == Ylenses_eat ? action : + i == Ymagnify_eat ? action : + i == Ygrass_eat ? action : + i == Ydirt_eat ? action : i == Xsand_stonein_1 ? action : i == Xsand_stonein_2 ? action : i == Xsand_stonein_3 ? action : @@ -5493,7 +5725,7 @@ void InitGraphicInfo_EM(void) el_act_dir2img(effective_element, effective_action, direction)); struct GraphicInfo *g = &graphic_info[graphic]; - struct GraphicInfo_EM *g_em = &graphic_info_em[i][7 - j]; + struct GraphicInfo_EM *g_em = &graphic_info_em_object[i][7 - j]; Bitmap *src_bitmap; int src_x, src_y; int sync_frame = (i == Xdrip_stretch ? 7 : @@ -5501,16 +5733,28 @@ void InitGraphicInfo_EM(void) i == Ydrip_s2 ? j + 8 : i == Ydrip_s2B ? j + 8 : i == Xacid_1 ? 0 : - i == Xacid_2 ? 1 : - i == Xacid_3 ? 2 : - i == Xacid_4 ? 3 : - i == Xacid_5 ? 4 : - i == Xacid_6 ? 5 : - i == Xacid_7 ? 6 : - i == Xacid_8 ? 7 : + i == Xacid_2 ? 10 : + i == Xacid_3 ? 20 : + i == Xacid_4 ? 30 : + i == Xacid_5 ? 40 : + i == Xacid_6 ? 50 : + i == Xacid_7 ? 60 : + i == Xacid_8 ? 70 : i == Xball_2 ? 7 : i == Xball_2B ? j + 8 : i == Yball_eat ? j + 1 : + i == Ykey_1_eat ? j + 1 : + i == Ykey_2_eat ? j + 1 : + i == Ykey_3_eat ? j + 1 : + i == Ykey_4_eat ? j + 1 : + i == Ykey_5_eat ? j + 1 : + i == Ykey_6_eat ? j + 1 : + i == Ykey_7_eat ? j + 1 : + i == Ykey_8_eat ? j + 1 : + i == Ylenses_eat ? j + 1 : + i == Ymagnify_eat ? j + 1 : + i == Ygrass_eat ? j + 1 : + i == Ydirt_eat ? j + 1 : i == Xamoeba_1 ? 0 : i == Xamoeba_2 ? 1 : i == Xamoeba_3 ? 2 : @@ -5522,9 +5766,9 @@ void InitGraphicInfo_EM(void) i == Xexit_2 ? j + 8 : i == Xexit_3 ? j + 16 : i == Xdynamite_1 ? 0 : - i == Xdynamite_2 ? 2 : - i == Xdynamite_3 ? 4 : - i == Xdynamite_4 ? 6 : + i == Xdynamite_2 ? 20 : + i == Xdynamite_3 ? 40 : + i == Xdynamite_4 ? 60 : i == Xsand_stonein_1 ? j + 1 : i == Xsand_stonein_2 ? j + 9 : i == Xsand_stonein_3 ? j + 17 : @@ -5545,34 +5789,40 @@ void InitGraphicInfo_EM(void) i == Xsand_stoneout_2 && j == 5 ? 22 : i == Xsand_stoneout_2 && j == 6 ? 26 : i == Xsand_stoneout_2 && j == 7 ? 30 : - i == Xboom_bug && j == 2 ? 1 : - i == Xboom_bug && j == 3 ? 2 : - i == Xboom_bug && j == 4 ? 2 : - i == Xboom_bug && j == 5 ? 1 : - i == Xboom_bug && j == 6 ? 1 : + i == Xboom_bug && j == 1 ? 2 : + i == Xboom_bug && j == 2 ? 2 : + i == Xboom_bug && j == 3 ? 4 : + i == Xboom_bug && j == 4 ? 4 : + i == Xboom_bug && j == 5 ? 2 : + i == Xboom_bug && j == 6 ? 2 : i == Xboom_bug && j == 7 ? 0 : - i == Xboom_bomb && j == 2 ? 1 : - i == Xboom_bomb && j == 3 ? 2 : - i == Xboom_bomb && j == 4 ? 2 : - i == Xboom_bomb && j == 5 ? 1 : - i == Xboom_bomb && j == 6 ? 1 : + i == Xboom_bomb && j == 1 ? 2 : + i == Xboom_bomb && j == 2 ? 2 : + i == Xboom_bomb && j == 3 ? 4 : + i == Xboom_bomb && j == 4 ? 4 : + i == Xboom_bomb && j == 5 ? 2 : + i == Xboom_bomb && j == 6 ? 2 : i == Xboom_bomb && j == 7 ? 0 : - i == Xboom_android && j == 7 ? 3 : - i == Xboom_1 && j == 2 ? 1 : - i == Xboom_1 && j == 3 ? 2 : - i == Xboom_1 && j == 4 ? 2 : - i == Xboom_1 && j == 5 ? 3 : - i == Xboom_1 && j == 6 ? 3 : - i == Xboom_1 && j == 7 ? 4 : - i == Xboom_2 && j == 0 ? 4 : - i == Xboom_2 && j == 1 ? 4 : - i == Xboom_2 && j == 2 ? 5 : - i == Xboom_2 && j == 3 ? 5 : - i == Xboom_2 && j == 4 ? 5 : - i == Xboom_2 && j == 5 ? 6 : + i == Xboom_android && j == 7 ? 6 : + i == Xboom_1 && j == 1 ? 2 : + i == Xboom_1 && j == 2 ? 2 : + i == Xboom_1 && j == 3 ? 4 : + i == Xboom_1 && j == 4 ? 4 : + i == Xboom_1 && j == 5 ? 6 : + i == Xboom_1 && j == 6 ? 6 : + i == Xboom_1 && j == 7 ? 8 : + i == Xboom_2 && j == 0 ? 8 : + i == Xboom_2 && j == 1 ? 8 : + i == Xboom_2 && j == 2 ? 10 : + i == Xboom_2 && j == 3 ? 10 : + i == Xboom_2 && j == 4 ? 10 : + i == Xboom_2 && j == 5 ? 12 : + i == Xboom_2 && j == 6 ? 12 : + i == Xboom_2 && j == 7 ? 12 : effective_action != action ? 0 : j); -#if 0 + +#if DEBUG_EM_GFX Bitmap *debug_bitmap = g_em->bitmap; int debug_src_x = g_em->src_x; int debug_src_y = g_em->src_y; @@ -5585,7 +5835,7 @@ void InitGraphicInfo_EM(void) sync_frame); getGraphicSourceExt(graphic, frame, &src_bitmap, &src_x, &src_y, - g->double_movement && backside); + g->double_movement && is_backside); #if 1 g_em->bitmap = src_bitmap; @@ -5611,7 +5861,7 @@ void InitGraphicInfo_EM(void) int cx = ABS(dx) * TILEX / 8; int cy = ABS(dy) * TILEY / 8; - if (backside) /* tile where movement starts */ + if (is_backside) /* tile where movement starts */ { if (dx < 0 || dy < 0) { @@ -5646,7 +5896,11 @@ void InitGraphicInfo_EM(void) } #endif -#if 0 + /* create unique graphic identifier to decide if tile must be redrawn */ + g_em->unique_identifier = + (i << 16) | (frame << 8) | g_em->width | g_em->height; + +#if DEBUG_EM_GFX if (g_em->bitmap != debug_bitmap || g_em->src_x != debug_src_x || g_em->src_y != debug_src_y || @@ -5662,7 +5916,6 @@ void InitGraphicInfo_EM(void) if (i != last_i) { printf("\n"); - last_i = i; } @@ -5671,18 +5924,19 @@ void InitGraphicInfo_EM(void) if (element != effective_element) printf(" [%d ('%s')]", - effective_element,element_info[effective_element].token_name); + effective_element, + element_info[effective_element].token_name); printf("\n"); if (g_em->bitmap != debug_bitmap) - printf(" %d(%d): different bitmap!\n", - j, backside); + printf(" %d (%d): different bitmap! (0x%08x != 0x%08x)\n", + j, is_backside, (int)(g_em->bitmap), (int)(debug_bitmap)); if (g_em->src_x != debug_src_x || g_em->src_y != debug_src_y) printf(" frame %d (%c): %d,%d (%d,%d) should be %d,%d (%d,%d)\n", - j, (backside ? 'B' : 'F'), + j, (is_backside ? 'B' : 'F'), g_em->src_x, g_em->src_y, g_em->src_x / 32, g_em->src_y / 32, debug_src_x, debug_src_y, @@ -5692,15 +5946,15 @@ void InitGraphicInfo_EM(void) g_em->src_offset_y != 0 || g_em->dst_offset_x != 0 || g_em->dst_offset_y != 0) - printf(" %d(%d): offsets %d,%d and %d,%d should be all 0\n", - j, backside, + printf(" %d (%d): offsets %d,%d and %d,%d should be all 0\n", + j, is_backside, g_em->src_offset_x, g_em->src_offset_y, g_em->dst_offset_x, g_em->dst_offset_y); if (g_em->width != TILEX || g_em->height != TILEY) - printf(" %d(%d): size %d,%d should be %d,%d\n", - j, backside, + printf(" %d (%d): size %d,%d should be %d,%d\n", + j, is_backside, g_em->width, g_em->height, TILEX, TILEY); } #endif @@ -5708,7 +5962,98 @@ void InitGraphicInfo_EM(void) } } -#if 0 + for (p = 0; p < 2; p++) + { + for (i = 0; i < SPR_MAX; i++) + { + int element = player_mapping[p][i].element_rnd; + int action = player_mapping[p][i].action; + int direction = player_mapping[p][i].direction; + + for (j = 0; j < 8; j++) + { + int effective_element = element; + int effective_action = action; + int graphic = (direction == MV_NO_MOVING ? + el_act2img(effective_element, effective_action) : + el_act_dir2img(effective_element, effective_action, + direction)); + struct GraphicInfo *g = &graphic_info[graphic]; + struct GraphicInfo_EM *g_em = &graphic_info_em_player[p][i][7 - j]; + Bitmap *src_bitmap; + int src_x, src_y; + int sync_frame = j; + +#if DEBUG_EM_GFX + Bitmap *debug_bitmap = g_em->bitmap; + int debug_src_x = g_em->src_x; + int debug_src_y = g_em->src_y; +#endif + + int frame = getAnimationFrame(g->anim_frames, + g->anim_delay, + g->anim_mode, + g->anim_start_frame, + sync_frame); + + getGraphicSourceExt(graphic, frame, &src_bitmap, &src_x,&src_y, FALSE); + +#if 1 + g_em->bitmap = src_bitmap; + g_em->src_x = src_x; + g_em->src_y = src_y; + g_em->src_offset_x = 0; + g_em->src_offset_y = 0; + g_em->dst_offset_x = 0; + g_em->dst_offset_y = 0; + g_em->width = TILEX; + g_em->height = TILEY; +#endif + +#if DEBUG_EM_GFX + if (g_em->bitmap != debug_bitmap || + g_em->src_x != debug_src_x || + g_em->src_y != debug_src_y) + { + static int last_i = -1; + + if (i != last_i) + { + printf("\n"); + last_i = i; + } + + printf("::: EMC GFX ERROR for p/a %d/%d -> %d ('%s', '%s', %d)", + p, i, element, element_info[element].token_name, + element_action_info[effective_action].suffix, direction); + + if (element != effective_element) + printf(" [%d ('%s')]", + effective_element, + element_info[effective_element].token_name); + + printf("\n"); + + if (g_em->bitmap != debug_bitmap) + printf(" %d: different bitmap! (0x%08x != 0x%08x)\n", + j, (int)(g_em->bitmap), (int)(debug_bitmap)); + + if (g_em->src_x != debug_src_x || + g_em->src_y != debug_src_y) + printf(" frame %d: %d,%d (%d,%d) should be %d,%d (%d,%d)\n", + j, + g_em->src_x, g_em->src_y, + g_em->src_x / 32, g_em->src_y / 32, + debug_src_x, debug_src_y, + debug_src_x / 32, debug_src_y / 32); + } +#endif + + } + } + } + +#if DEBUG_EM_GFX exit(0); #endif } -- 2.34.1