rnd-20040315-2-src
authorHolger Schemel <info@artsoft.org>
Mon, 15 Mar 2004 22:06:05 +0000 (23:06 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:46:20 +0000 (10:46 +0200)
* fixed graphical bug when displaying explosion animations
* fixed bug when appending to tapes, resulting in broken tapes
* re-recorded a few tapes broken by fixing gravity checking bug

ChangeLog
src/conf_e2g.c
src/conf_gfx.c
src/conf_gfx.h
src/conftime.h
src/editor.c
src/game.c
src/main.c
src/main.h

index 438cbfc310b5512cb4977e9cc1b836fa06ec9413..a6beddf8b256acfeca4fd89f3329427022bdbe2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+2004-03-14
+       * fixed graphical bug when displaying explosion animations
+       * fixed bug when appending to tapes, resulting in broken tapes
+       * re-recorded a few tapes broken by fixing gravity checking bug
+
 2004-03-13
        * "can move into acid" property now for all elements independently
        * "can fall into acid" property for player stored in same bitfield now
-       * added option for deadliness for sp_sniksnak and sp_electron
+       * added option for deadliness of Supaplex 'sniksnak' and 'electron'
        * version number set to 3.1.0 (finally!)
 
 2004-03-09
index 1bbae6db31acf28f735353521a7d43778511b922..3016da760f2454435cd0a53bfa56296d53827e56 100644 (file)
@@ -2525,6 +2525,14 @@ element_to_graphic[] =
     EL_UNKNOWN,                                -1, -1, FALSE,
     IMG_UNKNOWN
   },
+  {
+    EL_TRIGGER_ELEMENT,                        -1, -1, FALSE,
+    IMG_TRIGGER_ELEMENT
+  },
+  {
+    EL_TRIGGER_PLAYER,                 -1, -1, FALSE,
+    IMG_TRIGGER_PLAYER
+  },
   {
     EL_BD_BUTTERFLY_DOWN,              -1, -1, FALSE,
     IMG_BD_BUTTERFLY
index 2981ce83d256182dad9ef992aefdce104749dcd0..db8957cc099200b549f8cce571bbd2c6ec0078ee 100644 (file)
@@ -3150,6 +3150,16 @@ struct ConfigInfo image_config[] =
   { "unknown.ypos",                            "1"                     },
   { "unknown.frames",                          "1"                     },
 
+  { "trigger_element",                         "RocksDC.pcx"           },
+  { "trigger_element.xpos",                    "15"                    },
+  { "trigger_element.ypos",                    "14"                    },
+  { "trigger_element.frames",                  "1"                     },
+
+  { "trigger_player",                          "RocksDC.pcx"           },
+  { "trigger_player.xpos",                     "15"                    },
+  { "trigger_player.ypos",                     "13"                    },
+  { "trigger_player.frames",                   "1"                     },
+
 #include "conf_chr.c"  /* include auto-generated data structure definitions */
 #include "conf_cus.c"  /* include auto-generated data structure definitions */
 #include "conf_grp.c"  /* include auto-generated data structure definitions */
index 3411eb4c35cb2fec629c7c4975630281b90f5f50..67ec08c2dbcea791b6538f3524a2f42177ce95da 100644 (file)
 #define IMG_ARROW_UP                                   635
 #define IMG_ARROW_DOWN                                 636
 #define IMG_UNKNOWN                                    637
-#define IMG_CHAR_SPACE                                 638
-#define IMG_CHAR_EXCLAM                                        639
-#define IMG_CHAR_QUOTEDBL                              640
-#define IMG_CHAR_NUMBERSIGN                            641
-#define IMG_CHAR_DOLLAR                                        642
-#define IMG_CHAR_PROCENT                               643
-#define IMG_CHAR_AMPERSAND                             644
-#define IMG_CHAR_APOSTROPHE                            645
-#define IMG_CHAR_PARENLEFT                             646
-#define IMG_CHAR_PARENRIGHT                            647
-#define IMG_CHAR_ASTERISK                              648
-#define IMG_CHAR_PLUS                                  649
-#define IMG_CHAR_COMMA                                 650
-#define IMG_CHAR_MINUS                                 651
-#define IMG_CHAR_PERIOD                                        652
-#define IMG_CHAR_SLASH                                 653
-#define IMG_CHAR_0                                     654
-#define IMG_CHAR_1                                     655
-#define IMG_CHAR_2                                     656
-#define IMG_CHAR_3                                     657
-#define IMG_CHAR_4                                     658
-#define IMG_CHAR_5                                     659
-#define IMG_CHAR_6                                     660
-#define IMG_CHAR_7                                     661
-#define IMG_CHAR_8                                     662
-#define IMG_CHAR_9                                     663
-#define IMG_CHAR_COLON                                 664
-#define IMG_CHAR_SEMICOLON                             665
-#define IMG_CHAR_LESS                                  666
-#define IMG_CHAR_EQUAL                                 667
-#define IMG_CHAR_GREATER                               668
-#define IMG_CHAR_QUESTION                              669
-#define IMG_CHAR_AT                                    670
-#define IMG_CHAR_A                                     671
-#define IMG_CHAR_B                                     672
-#define IMG_CHAR_C                                     673
-#define IMG_CHAR_D                                     674
-#define IMG_CHAR_E                                     675
-#define IMG_CHAR_F                                     676
-#define IMG_CHAR_G                                     677
-#define IMG_CHAR_H                                     678
-#define IMG_CHAR_I                                     679
-#define IMG_CHAR_J                                     680
-#define IMG_CHAR_K                                     681
-#define IMG_CHAR_L                                     682
-#define IMG_CHAR_M                                     683
-#define IMG_CHAR_N                                     684
-#define IMG_CHAR_O                                     685
-#define IMG_CHAR_P                                     686
-#define IMG_CHAR_Q                                     687
-#define IMG_CHAR_R                                     688
-#define IMG_CHAR_S                                     689
-#define IMG_CHAR_T                                     690
-#define IMG_CHAR_U                                     691
-#define IMG_CHAR_V                                     692
-#define IMG_CHAR_W                                     693
-#define IMG_CHAR_X                                     694
-#define IMG_CHAR_Y                                     695
-#define IMG_CHAR_Z                                     696
-#define IMG_CHAR_BRACKETLEFT                           697
-#define IMG_CHAR_BACKSLASH                             698
-#define IMG_CHAR_BRACKETRIGHT                          699
-#define IMG_CHAR_ASCIICIRCUM                           700
-#define IMG_CHAR_UNDERSCORE                            701
-#define IMG_CHAR_COPYRIGHT                             702
-#define IMG_CHAR_AUMLAUT                               703
-#define IMG_CHAR_OUMLAUT                               704
-#define IMG_CHAR_UUMLAUT                               705
-#define IMG_CHAR_DEGREE                                        706
-#define IMG_CHAR_TRADEMARK                             707
-#define IMG_CHAR_CURSOR                                        708
-#define IMG_CUSTOM_1                                   709
-#define IMG_CUSTOM_1_EDITOR                            710
-#define IMG_CUSTOM_2                                   711
-#define IMG_CUSTOM_2_EDITOR                            712
-#define IMG_CUSTOM_3                                   713
-#define IMG_CUSTOM_3_EDITOR                            714
-#define IMG_CUSTOM_4                                   715
-#define IMG_CUSTOM_4_EDITOR                            716
-#define IMG_CUSTOM_5                                   717
-#define IMG_CUSTOM_5_EDITOR                            718
-#define IMG_CUSTOM_6                                   719
-#define IMG_CUSTOM_6_EDITOR                            720
-#define IMG_CUSTOM_7                                   721
-#define IMG_CUSTOM_7_EDITOR                            722
-#define IMG_CUSTOM_8                                   723
-#define IMG_CUSTOM_8_EDITOR                            724
-#define IMG_CUSTOM_9                                   725
-#define IMG_CUSTOM_9_EDITOR                            726
-#define IMG_CUSTOM_10                                  727
-#define IMG_CUSTOM_10_EDITOR                           728
-#define IMG_CUSTOM_11                                  729
-#define IMG_CUSTOM_11_EDITOR                           730
-#define IMG_CUSTOM_12                                  731
-#define IMG_CUSTOM_12_EDITOR                           732
-#define IMG_CUSTOM_13                                  733
-#define IMG_CUSTOM_13_EDITOR                           734
-#define IMG_CUSTOM_14                                  735
-#define IMG_CUSTOM_14_EDITOR                           736
-#define IMG_CUSTOM_15                                  737
-#define IMG_CUSTOM_15_EDITOR                           738
-#define IMG_CUSTOM_16                                  739
-#define IMG_CUSTOM_16_EDITOR                           740
-#define IMG_CUSTOM_17                                  741
-#define IMG_CUSTOM_17_EDITOR                           742
-#define IMG_CUSTOM_18                                  743
-#define IMG_CUSTOM_18_EDITOR                           744
-#define IMG_CUSTOM_19                                  745
-#define IMG_CUSTOM_19_EDITOR                           746
-#define IMG_CUSTOM_20                                  747
-#define IMG_CUSTOM_20_EDITOR                           748
-#define IMG_CUSTOM_21                                  749
-#define IMG_CUSTOM_21_EDITOR                           750
-#define IMG_CUSTOM_22                                  751
-#define IMG_CUSTOM_22_EDITOR                           752
-#define IMG_CUSTOM_23                                  753
-#define IMG_CUSTOM_23_EDITOR                           754
-#define IMG_CUSTOM_24                                  755
-#define IMG_CUSTOM_24_EDITOR                           756
-#define IMG_CUSTOM_25                                  757
-#define IMG_CUSTOM_25_EDITOR                           758
-#define IMG_CUSTOM_26                                  759
-#define IMG_CUSTOM_26_EDITOR                           760
-#define IMG_CUSTOM_27                                  761
-#define IMG_CUSTOM_27_EDITOR                           762
-#define IMG_CUSTOM_28                                  763
-#define IMG_CUSTOM_28_EDITOR                           764
-#define IMG_CUSTOM_29                                  765
-#define IMG_CUSTOM_29_EDITOR                           766
-#define IMG_CUSTOM_30                                  767
-#define IMG_CUSTOM_30_EDITOR                           768
-#define IMG_CUSTOM_31                                  769
-#define IMG_CUSTOM_31_EDITOR                           770
-#define IMG_CUSTOM_32                                  771
-#define IMG_CUSTOM_32_EDITOR                           772
-#define IMG_CUSTOM_33                                  773
-#define IMG_CUSTOM_33_EDITOR                           774
-#define IMG_CUSTOM_34                                  775
-#define IMG_CUSTOM_34_EDITOR                           776
-#define IMG_CUSTOM_35                                  777
-#define IMG_CUSTOM_35_EDITOR                           778
-#define IMG_CUSTOM_36                                  779
-#define IMG_CUSTOM_36_EDITOR                           780
-#define IMG_CUSTOM_37                                  781
-#define IMG_CUSTOM_37_EDITOR                           782
-#define IMG_CUSTOM_38                                  783
-#define IMG_CUSTOM_38_EDITOR                           784
-#define IMG_CUSTOM_39                                  785
-#define IMG_CUSTOM_39_EDITOR                           786
-#define IMG_CUSTOM_40                                  787
-#define IMG_CUSTOM_40_EDITOR                           788
-#define IMG_CUSTOM_41                                  789
-#define IMG_CUSTOM_41_EDITOR                           790
-#define IMG_CUSTOM_42                                  791
-#define IMG_CUSTOM_42_EDITOR                           792
-#define IMG_CUSTOM_43                                  793
-#define IMG_CUSTOM_43_EDITOR                           794
-#define IMG_CUSTOM_44                                  795
-#define IMG_CUSTOM_44_EDITOR                           796
-#define IMG_CUSTOM_45                                  797
-#define IMG_CUSTOM_45_EDITOR                           798
-#define IMG_CUSTOM_46                                  799
-#define IMG_CUSTOM_46_EDITOR                           800
-#define IMG_CUSTOM_47                                  801
-#define IMG_CUSTOM_47_EDITOR                           802
-#define IMG_CUSTOM_48                                  803
-#define IMG_CUSTOM_48_EDITOR                           804
-#define IMG_CUSTOM_49                                  805
-#define IMG_CUSTOM_49_EDITOR                           806
-#define IMG_CUSTOM_50                                  807
-#define IMG_CUSTOM_50_EDITOR                           808
-#define IMG_CUSTOM_51                                  809
-#define IMG_CUSTOM_51_EDITOR                           810
-#define IMG_CUSTOM_52                                  811
-#define IMG_CUSTOM_52_EDITOR                           812
-#define IMG_CUSTOM_53                                  813
-#define IMG_CUSTOM_53_EDITOR                           814
-#define IMG_CUSTOM_54                                  815
-#define IMG_CUSTOM_54_EDITOR                           816
-#define IMG_CUSTOM_55                                  817
-#define IMG_CUSTOM_55_EDITOR                           818
-#define IMG_CUSTOM_56                                  819
-#define IMG_CUSTOM_56_EDITOR                           820
-#define IMG_CUSTOM_57                                  821
-#define IMG_CUSTOM_57_EDITOR                           822
-#define IMG_CUSTOM_58                                  823
-#define IMG_CUSTOM_58_EDITOR                           824
-#define IMG_CUSTOM_59                                  825
-#define IMG_CUSTOM_59_EDITOR                           826
-#define IMG_CUSTOM_60                                  827
-#define IMG_CUSTOM_60_EDITOR                           828
-#define IMG_CUSTOM_61                                  829
-#define IMG_CUSTOM_61_EDITOR                           830
-#define IMG_CUSTOM_62                                  831
-#define IMG_CUSTOM_62_EDITOR                           832
-#define IMG_CUSTOM_63                                  833
-#define IMG_CUSTOM_63_EDITOR                           834
-#define IMG_CUSTOM_64                                  835
-#define IMG_CUSTOM_64_EDITOR                           836
-#define IMG_CUSTOM_65                                  837
-#define IMG_CUSTOM_65_EDITOR                           838
-#define IMG_CUSTOM_66                                  839
-#define IMG_CUSTOM_66_EDITOR                           840
-#define IMG_CUSTOM_67                                  841
-#define IMG_CUSTOM_67_EDITOR                           842
-#define IMG_CUSTOM_68                                  843
-#define IMG_CUSTOM_68_EDITOR                           844
-#define IMG_CUSTOM_69                                  845
-#define IMG_CUSTOM_69_EDITOR                           846
-#define IMG_CUSTOM_70                                  847
-#define IMG_CUSTOM_70_EDITOR                           848
-#define IMG_CUSTOM_71                                  849
-#define IMG_CUSTOM_71_EDITOR                           850
-#define IMG_CUSTOM_72                                  851
-#define IMG_CUSTOM_72_EDITOR                           852
-#define IMG_CUSTOM_73                                  853
-#define IMG_CUSTOM_73_EDITOR                           854
-#define IMG_CUSTOM_74                                  855
-#define IMG_CUSTOM_74_EDITOR                           856
-#define IMG_CUSTOM_75                                  857
-#define IMG_CUSTOM_75_EDITOR                           858
-#define IMG_CUSTOM_76                                  859
-#define IMG_CUSTOM_76_EDITOR                           860
-#define IMG_CUSTOM_77                                  861
-#define IMG_CUSTOM_77_EDITOR                           862
-#define IMG_CUSTOM_78                                  863
-#define IMG_CUSTOM_78_EDITOR                           864
-#define IMG_CUSTOM_79                                  865
-#define IMG_CUSTOM_79_EDITOR                           866
-#define IMG_CUSTOM_80                                  867
-#define IMG_CUSTOM_80_EDITOR                           868
-#define IMG_CUSTOM_81                                  869
-#define IMG_CUSTOM_81_EDITOR                           870
-#define IMG_CUSTOM_82                                  871
-#define IMG_CUSTOM_82_EDITOR                           872
-#define IMG_CUSTOM_83                                  873
-#define IMG_CUSTOM_83_EDITOR                           874
-#define IMG_CUSTOM_84                                  875
-#define IMG_CUSTOM_84_EDITOR                           876
-#define IMG_CUSTOM_85                                  877
-#define IMG_CUSTOM_85_EDITOR                           878
-#define IMG_CUSTOM_86                                  879
-#define IMG_CUSTOM_86_EDITOR                           880
-#define IMG_CUSTOM_87                                  881
-#define IMG_CUSTOM_87_EDITOR                           882
-#define IMG_CUSTOM_88                                  883
-#define IMG_CUSTOM_88_EDITOR                           884
-#define IMG_CUSTOM_89                                  885
-#define IMG_CUSTOM_89_EDITOR                           886
-#define IMG_CUSTOM_90                                  887
-#define IMG_CUSTOM_90_EDITOR                           888
-#define IMG_CUSTOM_91                                  889
-#define IMG_CUSTOM_91_EDITOR                           890
-#define IMG_CUSTOM_92                                  891
-#define IMG_CUSTOM_92_EDITOR                           892
-#define IMG_CUSTOM_93                                  893
-#define IMG_CUSTOM_93_EDITOR                           894
-#define IMG_CUSTOM_94                                  895
-#define IMG_CUSTOM_94_EDITOR                           896
-#define IMG_CUSTOM_95                                  897
-#define IMG_CUSTOM_95_EDITOR                           898
-#define IMG_CUSTOM_96                                  899
-#define IMG_CUSTOM_96_EDITOR                           900
-#define IMG_CUSTOM_97                                  901
-#define IMG_CUSTOM_97_EDITOR                           902
-#define IMG_CUSTOM_98                                  903
-#define IMG_CUSTOM_98_EDITOR                           904
-#define IMG_CUSTOM_99                                  905
-#define IMG_CUSTOM_99_EDITOR                           906
-#define IMG_CUSTOM_100                                 907
-#define IMG_CUSTOM_100_EDITOR                          908
-#define IMG_CUSTOM_101                                 909
-#define IMG_CUSTOM_101_EDITOR                          910
-#define IMG_CUSTOM_102                                 911
-#define IMG_CUSTOM_102_EDITOR                          912
-#define IMG_CUSTOM_103                                 913
-#define IMG_CUSTOM_103_EDITOR                          914
-#define IMG_CUSTOM_104                                 915
-#define IMG_CUSTOM_104_EDITOR                          916
-#define IMG_CUSTOM_105                                 917
-#define IMG_CUSTOM_105_EDITOR                          918
-#define IMG_CUSTOM_106                                 919
-#define IMG_CUSTOM_106_EDITOR                          920
-#define IMG_CUSTOM_107                                 921
-#define IMG_CUSTOM_107_EDITOR                          922
-#define IMG_CUSTOM_108                                 923
-#define IMG_CUSTOM_108_EDITOR                          924
-#define IMG_CUSTOM_109                                 925
-#define IMG_CUSTOM_109_EDITOR                          926
-#define IMG_CUSTOM_110                                 927
-#define IMG_CUSTOM_110_EDITOR                          928
-#define IMG_CUSTOM_111                                 929
-#define IMG_CUSTOM_111_EDITOR                          930
-#define IMG_CUSTOM_112                                 931
-#define IMG_CUSTOM_112_EDITOR                          932
-#define IMG_CUSTOM_113                                 933
-#define IMG_CUSTOM_113_EDITOR                          934
-#define IMG_CUSTOM_114                                 935
-#define IMG_CUSTOM_114_EDITOR                          936
-#define IMG_CUSTOM_115                                 937
-#define IMG_CUSTOM_115_EDITOR                          938
-#define IMG_CUSTOM_116                                 939
-#define IMG_CUSTOM_116_EDITOR                          940
-#define IMG_CUSTOM_117                                 941
-#define IMG_CUSTOM_117_EDITOR                          942
-#define IMG_CUSTOM_118                                 943
-#define IMG_CUSTOM_118_EDITOR                          944
-#define IMG_CUSTOM_119                                 945
-#define IMG_CUSTOM_119_EDITOR                          946
-#define IMG_CUSTOM_120                                 947
-#define IMG_CUSTOM_120_EDITOR                          948
-#define IMG_CUSTOM_121                                 949
-#define IMG_CUSTOM_121_EDITOR                          950
-#define IMG_CUSTOM_122                                 951
-#define IMG_CUSTOM_122_EDITOR                          952
-#define IMG_CUSTOM_123                                 953
-#define IMG_CUSTOM_123_EDITOR                          954
-#define IMG_CUSTOM_124                                 955
-#define IMG_CUSTOM_124_EDITOR                          956
-#define IMG_CUSTOM_125                                 957
-#define IMG_CUSTOM_125_EDITOR                          958
-#define IMG_CUSTOM_126                                 959
-#define IMG_CUSTOM_126_EDITOR                          960
-#define IMG_CUSTOM_127                                 961
-#define IMG_CUSTOM_127_EDITOR                          962
-#define IMG_CUSTOM_128                                 963
-#define IMG_CUSTOM_128_EDITOR                          964
-#define IMG_CUSTOM_129                                 965
-#define IMG_CUSTOM_129_EDITOR                          966
-#define IMG_CUSTOM_130                                 967
-#define IMG_CUSTOM_130_EDITOR                          968
-#define IMG_CUSTOM_131                                 969
-#define IMG_CUSTOM_131_EDITOR                          970
-#define IMG_CUSTOM_132                                 971
-#define IMG_CUSTOM_132_EDITOR                          972
-#define IMG_CUSTOM_133                                 973
-#define IMG_CUSTOM_133_EDITOR                          974
-#define IMG_CUSTOM_134                                 975
-#define IMG_CUSTOM_134_EDITOR                          976
-#define IMG_CUSTOM_135                                 977
-#define IMG_CUSTOM_135_EDITOR                          978
-#define IMG_CUSTOM_136                                 979
-#define IMG_CUSTOM_136_EDITOR                          980
-#define IMG_CUSTOM_137                                 981
-#define IMG_CUSTOM_137_EDITOR                          982
-#define IMG_CUSTOM_138                                 983
-#define IMG_CUSTOM_138_EDITOR                          984
-#define IMG_CUSTOM_139                                 985
-#define IMG_CUSTOM_139_EDITOR                          986
-#define IMG_CUSTOM_140                                 987
-#define IMG_CUSTOM_140_EDITOR                          988
-#define IMG_CUSTOM_141                                 989
-#define IMG_CUSTOM_141_EDITOR                          990
-#define IMG_CUSTOM_142                                 991
-#define IMG_CUSTOM_142_EDITOR                          992
-#define IMG_CUSTOM_143                                 993
-#define IMG_CUSTOM_143_EDITOR                          994
-#define IMG_CUSTOM_144                                 995
-#define IMG_CUSTOM_144_EDITOR                          996
-#define IMG_CUSTOM_145                                 997
-#define IMG_CUSTOM_145_EDITOR                          998
-#define IMG_CUSTOM_146                                 999
-#define IMG_CUSTOM_146_EDITOR                          1000
-#define IMG_CUSTOM_147                                 1001
-#define IMG_CUSTOM_147_EDITOR                          1002
-#define IMG_CUSTOM_148                                 1003
-#define IMG_CUSTOM_148_EDITOR                          1004
-#define IMG_CUSTOM_149                                 1005
-#define IMG_CUSTOM_149_EDITOR                          1006
-#define IMG_CUSTOM_150                                 1007
-#define IMG_CUSTOM_150_EDITOR                          1008
-#define IMG_CUSTOM_151                                 1009
-#define IMG_CUSTOM_151_EDITOR                          1010
-#define IMG_CUSTOM_152                                 1011
-#define IMG_CUSTOM_152_EDITOR                          1012
-#define IMG_CUSTOM_153                                 1013
-#define IMG_CUSTOM_153_EDITOR                          1014
-#define IMG_CUSTOM_154                                 1015
-#define IMG_CUSTOM_154_EDITOR                          1016
-#define IMG_CUSTOM_155                                 1017
-#define IMG_CUSTOM_155_EDITOR                          1018
-#define IMG_CUSTOM_156                                 1019
-#define IMG_CUSTOM_156_EDITOR                          1020
-#define IMG_CUSTOM_157                                 1021
-#define IMG_CUSTOM_157_EDITOR                          1022
-#define IMG_CUSTOM_158                                 1023
-#define IMG_CUSTOM_158_EDITOR                          1024
-#define IMG_CUSTOM_159                                 1025
-#define IMG_CUSTOM_159_EDITOR                          1026
-#define IMG_CUSTOM_160                                 1027
-#define IMG_CUSTOM_160_EDITOR                          1028
-#define IMG_CUSTOM_161                                 1029
-#define IMG_CUSTOM_161_EDITOR                          1030
-#define IMG_CUSTOM_162                                 1031
-#define IMG_CUSTOM_162_EDITOR                          1032
-#define IMG_CUSTOM_163                                 1033
-#define IMG_CUSTOM_163_EDITOR                          1034
-#define IMG_CUSTOM_164                                 1035
-#define IMG_CUSTOM_164_EDITOR                          1036
-#define IMG_CUSTOM_165                                 1037
-#define IMG_CUSTOM_165_EDITOR                          1038
-#define IMG_CUSTOM_166                                 1039
-#define IMG_CUSTOM_166_EDITOR                          1040
-#define IMG_CUSTOM_167                                 1041
-#define IMG_CUSTOM_167_EDITOR                          1042
-#define IMG_CUSTOM_168                                 1043
-#define IMG_CUSTOM_168_EDITOR                          1044
-#define IMG_CUSTOM_169                                 1045
-#define IMG_CUSTOM_169_EDITOR                          1046
-#define IMG_CUSTOM_170                                 1047
-#define IMG_CUSTOM_170_EDITOR                          1048
-#define IMG_CUSTOM_171                                 1049
-#define IMG_CUSTOM_171_EDITOR                          1050
-#define IMG_CUSTOM_172                                 1051
-#define IMG_CUSTOM_172_EDITOR                          1052
-#define IMG_CUSTOM_173                                 1053
-#define IMG_CUSTOM_173_EDITOR                          1054
-#define IMG_CUSTOM_174                                 1055
-#define IMG_CUSTOM_174_EDITOR                          1056
-#define IMG_CUSTOM_175                                 1057
-#define IMG_CUSTOM_175_EDITOR                          1058
-#define IMG_CUSTOM_176                                 1059
-#define IMG_CUSTOM_176_EDITOR                          1060
-#define IMG_CUSTOM_177                                 1061
-#define IMG_CUSTOM_177_EDITOR                          1062
-#define IMG_CUSTOM_178                                 1063
-#define IMG_CUSTOM_178_EDITOR                          1064
-#define IMG_CUSTOM_179                                 1065
-#define IMG_CUSTOM_179_EDITOR                          1066
-#define IMG_CUSTOM_180                                 1067
-#define IMG_CUSTOM_180_EDITOR                          1068
-#define IMG_CUSTOM_181                                 1069
-#define IMG_CUSTOM_181_EDITOR                          1070
-#define IMG_CUSTOM_182                                 1071
-#define IMG_CUSTOM_182_EDITOR                          1072
-#define IMG_CUSTOM_183                                 1073
-#define IMG_CUSTOM_183_EDITOR                          1074
-#define IMG_CUSTOM_184                                 1075
-#define IMG_CUSTOM_184_EDITOR                          1076
-#define IMG_CUSTOM_185                                 1077
-#define IMG_CUSTOM_185_EDITOR                          1078
-#define IMG_CUSTOM_186                                 1079
-#define IMG_CUSTOM_186_EDITOR                          1080
-#define IMG_CUSTOM_187                                 1081
-#define IMG_CUSTOM_187_EDITOR                          1082
-#define IMG_CUSTOM_188                                 1083
-#define IMG_CUSTOM_188_EDITOR                          1084
-#define IMG_CUSTOM_189                                 1085
-#define IMG_CUSTOM_189_EDITOR                          1086
-#define IMG_CUSTOM_190                                 1087
-#define IMG_CUSTOM_190_EDITOR                          1088
-#define IMG_CUSTOM_191                                 1089
-#define IMG_CUSTOM_191_EDITOR                          1090
-#define IMG_CUSTOM_192                                 1091
-#define IMG_CUSTOM_192_EDITOR                          1092
-#define IMG_CUSTOM_193                                 1093
-#define IMG_CUSTOM_193_EDITOR                          1094
-#define IMG_CUSTOM_194                                 1095
-#define IMG_CUSTOM_194_EDITOR                          1096
-#define IMG_CUSTOM_195                                 1097
-#define IMG_CUSTOM_195_EDITOR                          1098
-#define IMG_CUSTOM_196                                 1099
-#define IMG_CUSTOM_196_EDITOR                          1100
-#define IMG_CUSTOM_197                                 1101
-#define IMG_CUSTOM_197_EDITOR                          1102
-#define IMG_CUSTOM_198                                 1103
-#define IMG_CUSTOM_198_EDITOR                          1104
-#define IMG_CUSTOM_199                                 1105
-#define IMG_CUSTOM_199_EDITOR                          1106
-#define IMG_CUSTOM_200                                 1107
-#define IMG_CUSTOM_200_EDITOR                          1108
-#define IMG_CUSTOM_201                                 1109
-#define IMG_CUSTOM_201_EDITOR                          1110
-#define IMG_CUSTOM_202                                 1111
-#define IMG_CUSTOM_202_EDITOR                          1112
-#define IMG_CUSTOM_203                                 1113
-#define IMG_CUSTOM_203_EDITOR                          1114
-#define IMG_CUSTOM_204                                 1115
-#define IMG_CUSTOM_204_EDITOR                          1116
-#define IMG_CUSTOM_205                                 1117
-#define IMG_CUSTOM_205_EDITOR                          1118
-#define IMG_CUSTOM_206                                 1119
-#define IMG_CUSTOM_206_EDITOR                          1120
-#define IMG_CUSTOM_207                                 1121
-#define IMG_CUSTOM_207_EDITOR                          1122
-#define IMG_CUSTOM_208                                 1123
-#define IMG_CUSTOM_208_EDITOR                          1124
-#define IMG_CUSTOM_209                                 1125
-#define IMG_CUSTOM_209_EDITOR                          1126
-#define IMG_CUSTOM_210                                 1127
-#define IMG_CUSTOM_210_EDITOR                          1128
-#define IMG_CUSTOM_211                                 1129
-#define IMG_CUSTOM_211_EDITOR                          1130
-#define IMG_CUSTOM_212                                 1131
-#define IMG_CUSTOM_212_EDITOR                          1132
-#define IMG_CUSTOM_213                                 1133
-#define IMG_CUSTOM_213_EDITOR                          1134
-#define IMG_CUSTOM_214                                 1135
-#define IMG_CUSTOM_214_EDITOR                          1136
-#define IMG_CUSTOM_215                                 1137
-#define IMG_CUSTOM_215_EDITOR                          1138
-#define IMG_CUSTOM_216                                 1139
-#define IMG_CUSTOM_216_EDITOR                          1140
-#define IMG_CUSTOM_217                                 1141
-#define IMG_CUSTOM_217_EDITOR                          1142
-#define IMG_CUSTOM_218                                 1143
-#define IMG_CUSTOM_218_EDITOR                          1144
-#define IMG_CUSTOM_219                                 1145
-#define IMG_CUSTOM_219_EDITOR                          1146
-#define IMG_CUSTOM_220                                 1147
-#define IMG_CUSTOM_220_EDITOR                          1148
-#define IMG_CUSTOM_221                                 1149
-#define IMG_CUSTOM_221_EDITOR                          1150
-#define IMG_CUSTOM_222                                 1151
-#define IMG_CUSTOM_222_EDITOR                          1152
-#define IMG_CUSTOM_223                                 1153
-#define IMG_CUSTOM_223_EDITOR                          1154
-#define IMG_CUSTOM_224                                 1155
-#define IMG_CUSTOM_224_EDITOR                          1156
-#define IMG_CUSTOM_225                                 1157
-#define IMG_CUSTOM_225_EDITOR                          1158
-#define IMG_CUSTOM_226                                 1159
-#define IMG_CUSTOM_226_EDITOR                          1160
-#define IMG_CUSTOM_227                                 1161
-#define IMG_CUSTOM_227_EDITOR                          1162
-#define IMG_CUSTOM_228                                 1163
-#define IMG_CUSTOM_228_EDITOR                          1164
-#define IMG_CUSTOM_229                                 1165
-#define IMG_CUSTOM_229_EDITOR                          1166
-#define IMG_CUSTOM_230                                 1167
-#define IMG_CUSTOM_230_EDITOR                          1168
-#define IMG_CUSTOM_231                                 1169
-#define IMG_CUSTOM_231_EDITOR                          1170
-#define IMG_CUSTOM_232                                 1171
-#define IMG_CUSTOM_232_EDITOR                          1172
-#define IMG_CUSTOM_233                                 1173
-#define IMG_CUSTOM_233_EDITOR                          1174
-#define IMG_CUSTOM_234                                 1175
-#define IMG_CUSTOM_234_EDITOR                          1176
-#define IMG_CUSTOM_235                                 1177
-#define IMG_CUSTOM_235_EDITOR                          1178
-#define IMG_CUSTOM_236                                 1179
-#define IMG_CUSTOM_236_EDITOR                          1180
-#define IMG_CUSTOM_237                                 1181
-#define IMG_CUSTOM_237_EDITOR                          1182
-#define IMG_CUSTOM_238                                 1183
-#define IMG_CUSTOM_238_EDITOR                          1184
-#define IMG_CUSTOM_239                                 1185
-#define IMG_CUSTOM_239_EDITOR                          1186
-#define IMG_CUSTOM_240                                 1187
-#define IMG_CUSTOM_240_EDITOR                          1188
-#define IMG_CUSTOM_241                                 1189
-#define IMG_CUSTOM_241_EDITOR                          1190
-#define IMG_CUSTOM_242                                 1191
-#define IMG_CUSTOM_242_EDITOR                          1192
-#define IMG_CUSTOM_243                                 1193
-#define IMG_CUSTOM_243_EDITOR                          1194
-#define IMG_CUSTOM_244                                 1195
-#define IMG_CUSTOM_244_EDITOR                          1196
-#define IMG_CUSTOM_245                                 1197
-#define IMG_CUSTOM_245_EDITOR                          1198
-#define IMG_CUSTOM_246                                 1199
-#define IMG_CUSTOM_246_EDITOR                          1200
-#define IMG_CUSTOM_247                                 1201
-#define IMG_CUSTOM_247_EDITOR                          1202
-#define IMG_CUSTOM_248                                 1203
-#define IMG_CUSTOM_248_EDITOR                          1204
-#define IMG_CUSTOM_249                                 1205
-#define IMG_CUSTOM_249_EDITOR                          1206
-#define IMG_CUSTOM_250                                 1207
-#define IMG_CUSTOM_250_EDITOR                          1208
-#define IMG_CUSTOM_251                                 1209
-#define IMG_CUSTOM_251_EDITOR                          1210
-#define IMG_CUSTOM_252                                 1211
-#define IMG_CUSTOM_252_EDITOR                          1212
-#define IMG_CUSTOM_253                                 1213
-#define IMG_CUSTOM_253_EDITOR                          1214
-#define IMG_CUSTOM_254                                 1215
-#define IMG_CUSTOM_254_EDITOR                          1216
-#define IMG_CUSTOM_255                                 1217
-#define IMG_CUSTOM_255_EDITOR                          1218
-#define IMG_CUSTOM_256                                 1219
-#define IMG_CUSTOM_256_EDITOR                          1220
-#define IMG_GROUP_1                                    1221
-#define IMG_GROUP_1_EDITOR                             1222
-#define IMG_GROUP_2                                    1223
-#define IMG_GROUP_2_EDITOR                             1224
-#define IMG_GROUP_3                                    1225
-#define IMG_GROUP_3_EDITOR                             1226
-#define IMG_GROUP_4                                    1227
-#define IMG_GROUP_4_EDITOR                             1228
-#define IMG_GROUP_5                                    1229
-#define IMG_GROUP_5_EDITOR                             1230
-#define IMG_GROUP_6                                    1231
-#define IMG_GROUP_6_EDITOR                             1232
-#define IMG_GROUP_7                                    1233
-#define IMG_GROUP_7_EDITOR                             1234
-#define IMG_GROUP_8                                    1235
-#define IMG_GROUP_8_EDITOR                             1236
-#define IMG_GROUP_9                                    1237
-#define IMG_GROUP_9_EDITOR                             1238
-#define IMG_GROUP_10                                   1239
-#define IMG_GROUP_10_EDITOR                            1240
-#define IMG_GROUP_11                                   1241
-#define IMG_GROUP_11_EDITOR                            1242
-#define IMG_GROUP_12                                   1243
-#define IMG_GROUP_12_EDITOR                            1244
-#define IMG_GROUP_13                                   1245
-#define IMG_GROUP_13_EDITOR                            1246
-#define IMG_GROUP_14                                   1247
-#define IMG_GROUP_14_EDITOR                            1248
-#define IMG_GROUP_15                                   1249
-#define IMG_GROUP_15_EDITOR                            1250
-#define IMG_GROUP_16                                   1251
-#define IMG_GROUP_16_EDITOR                            1252
-#define IMG_GROUP_17                                   1253
-#define IMG_GROUP_17_EDITOR                            1254
-#define IMG_GROUP_18                                   1255
-#define IMG_GROUP_18_EDITOR                            1256
-#define IMG_GROUP_19                                   1257
-#define IMG_GROUP_19_EDITOR                            1258
-#define IMG_GROUP_20                                   1259
-#define IMG_GROUP_20_EDITOR                            1260
-#define IMG_GROUP_21                                   1261
-#define IMG_GROUP_21_EDITOR                            1262
-#define IMG_GROUP_22                                   1263
-#define IMG_GROUP_22_EDITOR                            1264
-#define IMG_GROUP_23                                   1265
-#define IMG_GROUP_23_EDITOR                            1266
-#define IMG_GROUP_24                                   1267
-#define IMG_GROUP_24_EDITOR                            1268
-#define IMG_GROUP_25                                   1269
-#define IMG_GROUP_25_EDITOR                            1270
-#define IMG_GROUP_26                                   1271
-#define IMG_GROUP_26_EDITOR                            1272
-#define IMG_GROUP_27                                   1273
-#define IMG_GROUP_27_EDITOR                            1274
-#define IMG_GROUP_28                                   1275
-#define IMG_GROUP_28_EDITOR                            1276
-#define IMG_GROUP_29                                   1277
-#define IMG_GROUP_29_EDITOR                            1278
-#define IMG_GROUP_30                                   1279
-#define IMG_GROUP_30_EDITOR                            1280
-#define IMG_GROUP_31                                   1281
-#define IMG_GROUP_31_EDITOR                            1282
-#define IMG_GROUP_32                                   1283
-#define IMG_GROUP_32_EDITOR                            1284
-#define IMG_TOON_1                                     1285
-#define IMG_TOON_2                                     1286
-#define IMG_TOON_3                                     1287
-#define IMG_TOON_4                                     1288
-#define IMG_TOON_5                                     1289
-#define IMG_TOON_6                                     1290
-#define IMG_TOON_7                                     1291
-#define IMG_TOON_8                                     1292
-#define IMG_TOON_9                                     1293
-#define IMG_TOON_10                                    1294
-#define IMG_TOON_11                                    1295
-#define IMG_TOON_12                                    1296
-#define IMG_TOON_13                                    1297
-#define IMG_TOON_14                                    1298
-#define IMG_TOON_15                                    1299
-#define IMG_TOON_16                                    1300
-#define IMG_TOON_17                                    1301
-#define IMG_TOON_18                                    1302
-#define IMG_TOON_19                                    1303
-#define IMG_TOON_20                                    1304
-#define IMG_MENU_CALIBRATE_RED                         1305
-#define IMG_MENU_CALIBRATE_BLUE                                1306
-#define IMG_MENU_CALIBRATE_YELLOW                      1307
-#define IMG_MENU_BUTTON                                        1308
-#define IMG_MENU_BUTTON_ACTIVE                         1309
-#define IMG_MENU_BUTTON_LEFT                           1310
-#define IMG_MENU_BUTTON_RIGHT                          1311
-#define IMG_MENU_BUTTON_UP                             1312
-#define IMG_MENU_BUTTON_DOWN                           1313
-#define IMG_MENU_BUTTON_LEFT_ACTIVE                    1314
-#define IMG_MENU_BUTTON_RIGHT_ACTIVE                   1315
-#define IMG_MENU_BUTTON_UP_ACTIVE                      1316
-#define IMG_MENU_BUTTON_DOWN_ACTIVE                    1317
-#define IMG_MENU_SCROLLBAR                             1318
-#define IMG_MENU_SCROLLBAR_ACTIVE                      1319
-#define IMG_FONT_INITIAL_1                             1320
-#define IMG_FONT_INITIAL_2                             1321
-#define IMG_FONT_INITIAL_3                             1322
-#define IMG_FONT_INITIAL_4                             1323
-#define IMG_FONT_TITLE_1                               1324
-#define IMG_FONT_TITLE_1_LEVELS                                1325
-#define IMG_FONT_TITLE_2                               1326
-#define IMG_FONT_MENU_1                                        1327
-#define IMG_FONT_MENU_2                                        1328
-#define IMG_FONT_TEXT_1                                        1329
-#define IMG_FONT_TEXT_1_LEVELS                         1330
-#define IMG_FONT_TEXT_1_PREVIEW                                1331
-#define IMG_FONT_TEXT_1_SCORES                         1332
-#define IMG_FONT_TEXT_1_ACTIVE_SCORES                  1333
-#define IMG_FONT_TEXT_2                                        1334
-#define IMG_FONT_TEXT_2_LEVELS                         1335
-#define IMG_FONT_TEXT_2_PREVIEW                                1336
-#define IMG_FONT_TEXT_2_SCORES                         1337
-#define IMG_FONT_TEXT_2_ACTIVE_SCORES                  1338
-#define IMG_FONT_TEXT_3                                        1339
-#define IMG_FONT_TEXT_3_LEVELS                         1340
-#define IMG_FONT_TEXT_3_PREVIEW                                1341
-#define IMG_FONT_TEXT_3_SCORES                         1342
-#define IMG_FONT_TEXT_3_ACTIVE_SCORES                  1343
-#define IMG_FONT_TEXT_4                                        1344
-#define IMG_FONT_TEXT_4_LEVELS                         1345
-#define IMG_FONT_TEXT_4_SCORES                         1346
-#define IMG_FONT_TEXT_4_ACTIVE_SCORES                  1347
-#define IMG_FONT_ENVELOPE_1                            1348
-#define IMG_FONT_ENVELOPE_2                            1349
-#define IMG_FONT_ENVELOPE_3                            1350
-#define IMG_FONT_ENVELOPE_4                            1351
-#define IMG_FONT_INPUT_1                               1352
-#define IMG_FONT_INPUT_1_MAIN                          1353
-#define IMG_FONT_INPUT_1_ACTIVE                                1354
-#define IMG_FONT_INPUT_1_ACTIVE_MAIN                   1355
-#define IMG_FONT_INPUT_1_ACTIVE_SETUP                  1356
-#define IMG_FONT_INPUT_2                               1357
-#define IMG_FONT_INPUT_2_ACTIVE                                1358
-#define IMG_FONT_OPTION_OFF                            1359
-#define IMG_FONT_OPTION_ON                             1360
-#define IMG_FONT_VALUE_1                               1361
-#define IMG_FONT_VALUE_2                               1362
-#define IMG_FONT_VALUE_OLD                             1363
-#define IMG_FONT_LEVEL_NUMBER                          1364
-#define IMG_FONT_TAPE_RECORDER                         1365
-#define IMG_FONT_GAME_INFO                             1366
-#define IMG_GLOBAL_BORDER                              1367
-#define IMG_GLOBAL_DOOR                                        1368
-#define IMG_EDITOR_ELEMENT_BORDER                      1369
-#define IMG_EDITOR_ELEMENT_BORDER_INPUT                        1370
-#define IMG_BACKGROUND_ENVELOPE_1                      1371
-#define IMG_BACKGROUND_ENVELOPE_2                      1372
-#define IMG_BACKGROUND_ENVELOPE_3                      1373
-#define IMG_BACKGROUND_ENVELOPE_4                      1374
-#define IMG_BACKGROUND                                 1375
-#define IMG_BACKGROUND_MAIN                            1376
-#define IMG_BACKGROUND_LEVELS                          1377
-#define IMG_BACKGROUND_SCORES                          1378
-#define IMG_BACKGROUND_EDITOR                          1379
-#define IMG_BACKGROUND_INFO                            1380
-#define IMG_BACKGROUND_SETUP                           1381
-#define IMG_BACKGROUND_DOOR                            1382
+#define IMG_TRIGGER_ELEMENT                            638
+#define IMG_TRIGGER_PLAYER                             639
+#define IMG_CHAR_SPACE                                 640
+#define IMG_CHAR_EXCLAM                                        641
+#define IMG_CHAR_QUOTEDBL                              642
+#define IMG_CHAR_NUMBERSIGN                            643
+#define IMG_CHAR_DOLLAR                                        644
+#define IMG_CHAR_PROCENT                               645
+#define IMG_CHAR_AMPERSAND                             646
+#define IMG_CHAR_APOSTROPHE                            647
+#define IMG_CHAR_PARENLEFT                             648
+#define IMG_CHAR_PARENRIGHT                            649
+#define IMG_CHAR_ASTERISK                              650
+#define IMG_CHAR_PLUS                                  651
+#define IMG_CHAR_COMMA                                 652
+#define IMG_CHAR_MINUS                                 653
+#define IMG_CHAR_PERIOD                                        654
+#define IMG_CHAR_SLASH                                 655
+#define IMG_CHAR_0                                     656
+#define IMG_CHAR_1                                     657
+#define IMG_CHAR_2                                     658
+#define IMG_CHAR_3                                     659
+#define IMG_CHAR_4                                     660
+#define IMG_CHAR_5                                     661
+#define IMG_CHAR_6                                     662
+#define IMG_CHAR_7                                     663
+#define IMG_CHAR_8                                     664
+#define IMG_CHAR_9                                     665
+#define IMG_CHAR_COLON                                 666
+#define IMG_CHAR_SEMICOLON                             667
+#define IMG_CHAR_LESS                                  668
+#define IMG_CHAR_EQUAL                                 669
+#define IMG_CHAR_GREATER                               670
+#define IMG_CHAR_QUESTION                              671
+#define IMG_CHAR_AT                                    672
+#define IMG_CHAR_A                                     673
+#define IMG_CHAR_B                                     674
+#define IMG_CHAR_C                                     675
+#define IMG_CHAR_D                                     676
+#define IMG_CHAR_E                                     677
+#define IMG_CHAR_F                                     678
+#define IMG_CHAR_G                                     679
+#define IMG_CHAR_H                                     680
+#define IMG_CHAR_I                                     681
+#define IMG_CHAR_J                                     682
+#define IMG_CHAR_K                                     683
+#define IMG_CHAR_L                                     684
+#define IMG_CHAR_M                                     685
+#define IMG_CHAR_N                                     686
+#define IMG_CHAR_O                                     687
+#define IMG_CHAR_P                                     688
+#define IMG_CHAR_Q                                     689
+#define IMG_CHAR_R                                     690
+#define IMG_CHAR_S                                     691
+#define IMG_CHAR_T                                     692
+#define IMG_CHAR_U                                     693
+#define IMG_CHAR_V                                     694
+#define IMG_CHAR_W                                     695
+#define IMG_CHAR_X                                     696
+#define IMG_CHAR_Y                                     697
+#define IMG_CHAR_Z                                     698
+#define IMG_CHAR_BRACKETLEFT                           699
+#define IMG_CHAR_BACKSLASH                             700
+#define IMG_CHAR_BRACKETRIGHT                          701
+#define IMG_CHAR_ASCIICIRCUM                           702
+#define IMG_CHAR_UNDERSCORE                            703
+#define IMG_CHAR_COPYRIGHT                             704
+#define IMG_CHAR_AUMLAUT                               705
+#define IMG_CHAR_OUMLAUT                               706
+#define IMG_CHAR_UUMLAUT                               707
+#define IMG_CHAR_DEGREE                                        708
+#define IMG_CHAR_TRADEMARK                             709
+#define IMG_CHAR_CURSOR                                        710
+#define IMG_CUSTOM_1                                   711
+#define IMG_CUSTOM_1_EDITOR                            712
+#define IMG_CUSTOM_2                                   713
+#define IMG_CUSTOM_2_EDITOR                            714
+#define IMG_CUSTOM_3                                   715
+#define IMG_CUSTOM_3_EDITOR                            716
+#define IMG_CUSTOM_4                                   717
+#define IMG_CUSTOM_4_EDITOR                            718
+#define IMG_CUSTOM_5                                   719
+#define IMG_CUSTOM_5_EDITOR                            720
+#define IMG_CUSTOM_6                                   721
+#define IMG_CUSTOM_6_EDITOR                            722
+#define IMG_CUSTOM_7                                   723
+#define IMG_CUSTOM_7_EDITOR                            724
+#define IMG_CUSTOM_8                                   725
+#define IMG_CUSTOM_8_EDITOR                            726
+#define IMG_CUSTOM_9                                   727
+#define IMG_CUSTOM_9_EDITOR                            728
+#define IMG_CUSTOM_10                                  729
+#define IMG_CUSTOM_10_EDITOR                           730
+#define IMG_CUSTOM_11                                  731
+#define IMG_CUSTOM_11_EDITOR                           732
+#define IMG_CUSTOM_12                                  733
+#define IMG_CUSTOM_12_EDITOR                           734
+#define IMG_CUSTOM_13                                  735
+#define IMG_CUSTOM_13_EDITOR                           736
+#define IMG_CUSTOM_14                                  737
+#define IMG_CUSTOM_14_EDITOR                           738
+#define IMG_CUSTOM_15                                  739
+#define IMG_CUSTOM_15_EDITOR                           740
+#define IMG_CUSTOM_16                                  741
+#define IMG_CUSTOM_16_EDITOR                           742
+#define IMG_CUSTOM_17                                  743
+#define IMG_CUSTOM_17_EDITOR                           744
+#define IMG_CUSTOM_18                                  745
+#define IMG_CUSTOM_18_EDITOR                           746
+#define IMG_CUSTOM_19                                  747
+#define IMG_CUSTOM_19_EDITOR                           748
+#define IMG_CUSTOM_20                                  749
+#define IMG_CUSTOM_20_EDITOR                           750
+#define IMG_CUSTOM_21                                  751
+#define IMG_CUSTOM_21_EDITOR                           752
+#define IMG_CUSTOM_22                                  753
+#define IMG_CUSTOM_22_EDITOR                           754
+#define IMG_CUSTOM_23                                  755
+#define IMG_CUSTOM_23_EDITOR                           756
+#define IMG_CUSTOM_24                                  757
+#define IMG_CUSTOM_24_EDITOR                           758
+#define IMG_CUSTOM_25                                  759
+#define IMG_CUSTOM_25_EDITOR                           760
+#define IMG_CUSTOM_26                                  761
+#define IMG_CUSTOM_26_EDITOR                           762
+#define IMG_CUSTOM_27                                  763
+#define IMG_CUSTOM_27_EDITOR                           764
+#define IMG_CUSTOM_28                                  765
+#define IMG_CUSTOM_28_EDITOR                           766
+#define IMG_CUSTOM_29                                  767
+#define IMG_CUSTOM_29_EDITOR                           768
+#define IMG_CUSTOM_30                                  769
+#define IMG_CUSTOM_30_EDITOR                           770
+#define IMG_CUSTOM_31                                  771
+#define IMG_CUSTOM_31_EDITOR                           772
+#define IMG_CUSTOM_32                                  773
+#define IMG_CUSTOM_32_EDITOR                           774
+#define IMG_CUSTOM_33                                  775
+#define IMG_CUSTOM_33_EDITOR                           776
+#define IMG_CUSTOM_34                                  777
+#define IMG_CUSTOM_34_EDITOR                           778
+#define IMG_CUSTOM_35                                  779
+#define IMG_CUSTOM_35_EDITOR                           780
+#define IMG_CUSTOM_36                                  781
+#define IMG_CUSTOM_36_EDITOR                           782
+#define IMG_CUSTOM_37                                  783
+#define IMG_CUSTOM_37_EDITOR                           784
+#define IMG_CUSTOM_38                                  785
+#define IMG_CUSTOM_38_EDITOR                           786
+#define IMG_CUSTOM_39                                  787
+#define IMG_CUSTOM_39_EDITOR                           788
+#define IMG_CUSTOM_40                                  789
+#define IMG_CUSTOM_40_EDITOR                           790
+#define IMG_CUSTOM_41                                  791
+#define IMG_CUSTOM_41_EDITOR                           792
+#define IMG_CUSTOM_42                                  793
+#define IMG_CUSTOM_42_EDITOR                           794
+#define IMG_CUSTOM_43                                  795
+#define IMG_CUSTOM_43_EDITOR                           796
+#define IMG_CUSTOM_44                                  797
+#define IMG_CUSTOM_44_EDITOR                           798
+#define IMG_CUSTOM_45                                  799
+#define IMG_CUSTOM_45_EDITOR                           800
+#define IMG_CUSTOM_46                                  801
+#define IMG_CUSTOM_46_EDITOR                           802
+#define IMG_CUSTOM_47                                  803
+#define IMG_CUSTOM_47_EDITOR                           804
+#define IMG_CUSTOM_48                                  805
+#define IMG_CUSTOM_48_EDITOR                           806
+#define IMG_CUSTOM_49                                  807
+#define IMG_CUSTOM_49_EDITOR                           808
+#define IMG_CUSTOM_50                                  809
+#define IMG_CUSTOM_50_EDITOR                           810
+#define IMG_CUSTOM_51                                  811
+#define IMG_CUSTOM_51_EDITOR                           812
+#define IMG_CUSTOM_52                                  813
+#define IMG_CUSTOM_52_EDITOR                           814
+#define IMG_CUSTOM_53                                  815
+#define IMG_CUSTOM_53_EDITOR                           816
+#define IMG_CUSTOM_54                                  817
+#define IMG_CUSTOM_54_EDITOR                           818
+#define IMG_CUSTOM_55                                  819
+#define IMG_CUSTOM_55_EDITOR                           820
+#define IMG_CUSTOM_56                                  821
+#define IMG_CUSTOM_56_EDITOR                           822
+#define IMG_CUSTOM_57                                  823
+#define IMG_CUSTOM_57_EDITOR                           824
+#define IMG_CUSTOM_58                                  825
+#define IMG_CUSTOM_58_EDITOR                           826
+#define IMG_CUSTOM_59                                  827
+#define IMG_CUSTOM_59_EDITOR                           828
+#define IMG_CUSTOM_60                                  829
+#define IMG_CUSTOM_60_EDITOR                           830
+#define IMG_CUSTOM_61                                  831
+#define IMG_CUSTOM_61_EDITOR                           832
+#define IMG_CUSTOM_62                                  833
+#define IMG_CUSTOM_62_EDITOR                           834
+#define IMG_CUSTOM_63                                  835
+#define IMG_CUSTOM_63_EDITOR                           836
+#define IMG_CUSTOM_64                                  837
+#define IMG_CUSTOM_64_EDITOR                           838
+#define IMG_CUSTOM_65                                  839
+#define IMG_CUSTOM_65_EDITOR                           840
+#define IMG_CUSTOM_66                                  841
+#define IMG_CUSTOM_66_EDITOR                           842
+#define IMG_CUSTOM_67                                  843
+#define IMG_CUSTOM_67_EDITOR                           844
+#define IMG_CUSTOM_68                                  845
+#define IMG_CUSTOM_68_EDITOR                           846
+#define IMG_CUSTOM_69                                  847
+#define IMG_CUSTOM_69_EDITOR                           848
+#define IMG_CUSTOM_70                                  849
+#define IMG_CUSTOM_70_EDITOR                           850
+#define IMG_CUSTOM_71                                  851
+#define IMG_CUSTOM_71_EDITOR                           852
+#define IMG_CUSTOM_72                                  853
+#define IMG_CUSTOM_72_EDITOR                           854
+#define IMG_CUSTOM_73                                  855
+#define IMG_CUSTOM_73_EDITOR                           856
+#define IMG_CUSTOM_74                                  857
+#define IMG_CUSTOM_74_EDITOR                           858
+#define IMG_CUSTOM_75                                  859
+#define IMG_CUSTOM_75_EDITOR                           860
+#define IMG_CUSTOM_76                                  861
+#define IMG_CUSTOM_76_EDITOR                           862
+#define IMG_CUSTOM_77                                  863
+#define IMG_CUSTOM_77_EDITOR                           864
+#define IMG_CUSTOM_78                                  865
+#define IMG_CUSTOM_78_EDITOR                           866
+#define IMG_CUSTOM_79                                  867
+#define IMG_CUSTOM_79_EDITOR                           868
+#define IMG_CUSTOM_80                                  869
+#define IMG_CUSTOM_80_EDITOR                           870
+#define IMG_CUSTOM_81                                  871
+#define IMG_CUSTOM_81_EDITOR                           872
+#define IMG_CUSTOM_82                                  873
+#define IMG_CUSTOM_82_EDITOR                           874
+#define IMG_CUSTOM_83                                  875
+#define IMG_CUSTOM_83_EDITOR                           876
+#define IMG_CUSTOM_84                                  877
+#define IMG_CUSTOM_84_EDITOR                           878
+#define IMG_CUSTOM_85                                  879
+#define IMG_CUSTOM_85_EDITOR                           880
+#define IMG_CUSTOM_86                                  881
+#define IMG_CUSTOM_86_EDITOR                           882
+#define IMG_CUSTOM_87                                  883
+#define IMG_CUSTOM_87_EDITOR                           884
+#define IMG_CUSTOM_88                                  885
+#define IMG_CUSTOM_88_EDITOR                           886
+#define IMG_CUSTOM_89                                  887
+#define IMG_CUSTOM_89_EDITOR                           888
+#define IMG_CUSTOM_90                                  889
+#define IMG_CUSTOM_90_EDITOR                           890
+#define IMG_CUSTOM_91                                  891
+#define IMG_CUSTOM_91_EDITOR                           892
+#define IMG_CUSTOM_92                                  893
+#define IMG_CUSTOM_92_EDITOR                           894
+#define IMG_CUSTOM_93                                  895
+#define IMG_CUSTOM_93_EDITOR                           896
+#define IMG_CUSTOM_94                                  897
+#define IMG_CUSTOM_94_EDITOR                           898
+#define IMG_CUSTOM_95                                  899
+#define IMG_CUSTOM_95_EDITOR                           900
+#define IMG_CUSTOM_96                                  901
+#define IMG_CUSTOM_96_EDITOR                           902
+#define IMG_CUSTOM_97                                  903
+#define IMG_CUSTOM_97_EDITOR                           904
+#define IMG_CUSTOM_98                                  905
+#define IMG_CUSTOM_98_EDITOR                           906
+#define IMG_CUSTOM_99                                  907
+#define IMG_CUSTOM_99_EDITOR                           908
+#define IMG_CUSTOM_100                                 909
+#define IMG_CUSTOM_100_EDITOR                          910
+#define IMG_CUSTOM_101                                 911
+#define IMG_CUSTOM_101_EDITOR                          912
+#define IMG_CUSTOM_102                                 913
+#define IMG_CUSTOM_102_EDITOR                          914
+#define IMG_CUSTOM_103                                 915
+#define IMG_CUSTOM_103_EDITOR                          916
+#define IMG_CUSTOM_104                                 917
+#define IMG_CUSTOM_104_EDITOR                          918
+#define IMG_CUSTOM_105                                 919
+#define IMG_CUSTOM_105_EDITOR                          920
+#define IMG_CUSTOM_106                                 921
+#define IMG_CUSTOM_106_EDITOR                          922
+#define IMG_CUSTOM_107                                 923
+#define IMG_CUSTOM_107_EDITOR                          924
+#define IMG_CUSTOM_108                                 925
+#define IMG_CUSTOM_108_EDITOR                          926
+#define IMG_CUSTOM_109                                 927
+#define IMG_CUSTOM_109_EDITOR                          928
+#define IMG_CUSTOM_110                                 929
+#define IMG_CUSTOM_110_EDITOR                          930
+#define IMG_CUSTOM_111                                 931
+#define IMG_CUSTOM_111_EDITOR                          932
+#define IMG_CUSTOM_112                                 933
+#define IMG_CUSTOM_112_EDITOR                          934
+#define IMG_CUSTOM_113                                 935
+#define IMG_CUSTOM_113_EDITOR                          936
+#define IMG_CUSTOM_114                                 937
+#define IMG_CUSTOM_114_EDITOR                          938
+#define IMG_CUSTOM_115                                 939
+#define IMG_CUSTOM_115_EDITOR                          940
+#define IMG_CUSTOM_116                                 941
+#define IMG_CUSTOM_116_EDITOR                          942
+#define IMG_CUSTOM_117                                 943
+#define IMG_CUSTOM_117_EDITOR                          944
+#define IMG_CUSTOM_118                                 945
+#define IMG_CUSTOM_118_EDITOR                          946
+#define IMG_CUSTOM_119                                 947
+#define IMG_CUSTOM_119_EDITOR                          948
+#define IMG_CUSTOM_120                                 949
+#define IMG_CUSTOM_120_EDITOR                          950
+#define IMG_CUSTOM_121                                 951
+#define IMG_CUSTOM_121_EDITOR                          952
+#define IMG_CUSTOM_122                                 953
+#define IMG_CUSTOM_122_EDITOR                          954
+#define IMG_CUSTOM_123                                 955
+#define IMG_CUSTOM_123_EDITOR                          956
+#define IMG_CUSTOM_124                                 957
+#define IMG_CUSTOM_124_EDITOR                          958
+#define IMG_CUSTOM_125                                 959
+#define IMG_CUSTOM_125_EDITOR                          960
+#define IMG_CUSTOM_126                                 961
+#define IMG_CUSTOM_126_EDITOR                          962
+#define IMG_CUSTOM_127                                 963
+#define IMG_CUSTOM_127_EDITOR                          964
+#define IMG_CUSTOM_128                                 965
+#define IMG_CUSTOM_128_EDITOR                          966
+#define IMG_CUSTOM_129                                 967
+#define IMG_CUSTOM_129_EDITOR                          968
+#define IMG_CUSTOM_130                                 969
+#define IMG_CUSTOM_130_EDITOR                          970
+#define IMG_CUSTOM_131                                 971
+#define IMG_CUSTOM_131_EDITOR                          972
+#define IMG_CUSTOM_132                                 973
+#define IMG_CUSTOM_132_EDITOR                          974
+#define IMG_CUSTOM_133                                 975
+#define IMG_CUSTOM_133_EDITOR                          976
+#define IMG_CUSTOM_134                                 977
+#define IMG_CUSTOM_134_EDITOR                          978
+#define IMG_CUSTOM_135                                 979
+#define IMG_CUSTOM_135_EDITOR                          980
+#define IMG_CUSTOM_136                                 981
+#define IMG_CUSTOM_136_EDITOR                          982
+#define IMG_CUSTOM_137                                 983
+#define IMG_CUSTOM_137_EDITOR                          984
+#define IMG_CUSTOM_138                                 985
+#define IMG_CUSTOM_138_EDITOR                          986
+#define IMG_CUSTOM_139                                 987
+#define IMG_CUSTOM_139_EDITOR                          988
+#define IMG_CUSTOM_140                                 989
+#define IMG_CUSTOM_140_EDITOR                          990
+#define IMG_CUSTOM_141                                 991
+#define IMG_CUSTOM_141_EDITOR                          992
+#define IMG_CUSTOM_142                                 993
+#define IMG_CUSTOM_142_EDITOR                          994
+#define IMG_CUSTOM_143                                 995
+#define IMG_CUSTOM_143_EDITOR                          996
+#define IMG_CUSTOM_144                                 997
+#define IMG_CUSTOM_144_EDITOR                          998
+#define IMG_CUSTOM_145                                 999
+#define IMG_CUSTOM_145_EDITOR                          1000
+#define IMG_CUSTOM_146                                 1001
+#define IMG_CUSTOM_146_EDITOR                          1002
+#define IMG_CUSTOM_147                                 1003
+#define IMG_CUSTOM_147_EDITOR                          1004
+#define IMG_CUSTOM_148                                 1005
+#define IMG_CUSTOM_148_EDITOR                          1006
+#define IMG_CUSTOM_149                                 1007
+#define IMG_CUSTOM_149_EDITOR                          1008
+#define IMG_CUSTOM_150                                 1009
+#define IMG_CUSTOM_150_EDITOR                          1010
+#define IMG_CUSTOM_151                                 1011
+#define IMG_CUSTOM_151_EDITOR                          1012
+#define IMG_CUSTOM_152                                 1013
+#define IMG_CUSTOM_152_EDITOR                          1014
+#define IMG_CUSTOM_153                                 1015
+#define IMG_CUSTOM_153_EDITOR                          1016
+#define IMG_CUSTOM_154                                 1017
+#define IMG_CUSTOM_154_EDITOR                          1018
+#define IMG_CUSTOM_155                                 1019
+#define IMG_CUSTOM_155_EDITOR                          1020
+#define IMG_CUSTOM_156                                 1021
+#define IMG_CUSTOM_156_EDITOR                          1022
+#define IMG_CUSTOM_157                                 1023
+#define IMG_CUSTOM_157_EDITOR                          1024
+#define IMG_CUSTOM_158                                 1025
+#define IMG_CUSTOM_158_EDITOR                          1026
+#define IMG_CUSTOM_159                                 1027
+#define IMG_CUSTOM_159_EDITOR                          1028
+#define IMG_CUSTOM_160                                 1029
+#define IMG_CUSTOM_160_EDITOR                          1030
+#define IMG_CUSTOM_161                                 1031
+#define IMG_CUSTOM_161_EDITOR                          1032
+#define IMG_CUSTOM_162                                 1033
+#define IMG_CUSTOM_162_EDITOR                          1034
+#define IMG_CUSTOM_163                                 1035
+#define IMG_CUSTOM_163_EDITOR                          1036
+#define IMG_CUSTOM_164                                 1037
+#define IMG_CUSTOM_164_EDITOR                          1038
+#define IMG_CUSTOM_165                                 1039
+#define IMG_CUSTOM_165_EDITOR                          1040
+#define IMG_CUSTOM_166                                 1041
+#define IMG_CUSTOM_166_EDITOR                          1042
+#define IMG_CUSTOM_167                                 1043
+#define IMG_CUSTOM_167_EDITOR                          1044
+#define IMG_CUSTOM_168                                 1045
+#define IMG_CUSTOM_168_EDITOR                          1046
+#define IMG_CUSTOM_169                                 1047
+#define IMG_CUSTOM_169_EDITOR                          1048
+#define IMG_CUSTOM_170                                 1049
+#define IMG_CUSTOM_170_EDITOR                          1050
+#define IMG_CUSTOM_171                                 1051
+#define IMG_CUSTOM_171_EDITOR                          1052
+#define IMG_CUSTOM_172                                 1053
+#define IMG_CUSTOM_172_EDITOR                          1054
+#define IMG_CUSTOM_173                                 1055
+#define IMG_CUSTOM_173_EDITOR                          1056
+#define IMG_CUSTOM_174                                 1057
+#define IMG_CUSTOM_174_EDITOR                          1058
+#define IMG_CUSTOM_175                                 1059
+#define IMG_CUSTOM_175_EDITOR                          1060
+#define IMG_CUSTOM_176                                 1061
+#define IMG_CUSTOM_176_EDITOR                          1062
+#define IMG_CUSTOM_177                                 1063
+#define IMG_CUSTOM_177_EDITOR                          1064
+#define IMG_CUSTOM_178                                 1065
+#define IMG_CUSTOM_178_EDITOR                          1066
+#define IMG_CUSTOM_179                                 1067
+#define IMG_CUSTOM_179_EDITOR                          1068
+#define IMG_CUSTOM_180                                 1069
+#define IMG_CUSTOM_180_EDITOR                          1070
+#define IMG_CUSTOM_181                                 1071
+#define IMG_CUSTOM_181_EDITOR                          1072
+#define IMG_CUSTOM_182                                 1073
+#define IMG_CUSTOM_182_EDITOR                          1074
+#define IMG_CUSTOM_183                                 1075
+#define IMG_CUSTOM_183_EDITOR                          1076
+#define IMG_CUSTOM_184                                 1077
+#define IMG_CUSTOM_184_EDITOR                          1078
+#define IMG_CUSTOM_185                                 1079
+#define IMG_CUSTOM_185_EDITOR                          1080
+#define IMG_CUSTOM_186                                 1081
+#define IMG_CUSTOM_186_EDITOR                          1082
+#define IMG_CUSTOM_187                                 1083
+#define IMG_CUSTOM_187_EDITOR                          1084
+#define IMG_CUSTOM_188                                 1085
+#define IMG_CUSTOM_188_EDITOR                          1086
+#define IMG_CUSTOM_189                                 1087
+#define IMG_CUSTOM_189_EDITOR                          1088
+#define IMG_CUSTOM_190                                 1089
+#define IMG_CUSTOM_190_EDITOR                          1090
+#define IMG_CUSTOM_191                                 1091
+#define IMG_CUSTOM_191_EDITOR                          1092
+#define IMG_CUSTOM_192                                 1093
+#define IMG_CUSTOM_192_EDITOR                          1094
+#define IMG_CUSTOM_193                                 1095
+#define IMG_CUSTOM_193_EDITOR                          1096
+#define IMG_CUSTOM_194                                 1097
+#define IMG_CUSTOM_194_EDITOR                          1098
+#define IMG_CUSTOM_195                                 1099
+#define IMG_CUSTOM_195_EDITOR                          1100
+#define IMG_CUSTOM_196                                 1101
+#define IMG_CUSTOM_196_EDITOR                          1102
+#define IMG_CUSTOM_197                                 1103
+#define IMG_CUSTOM_197_EDITOR                          1104
+#define IMG_CUSTOM_198                                 1105
+#define IMG_CUSTOM_198_EDITOR                          1106
+#define IMG_CUSTOM_199                                 1107
+#define IMG_CUSTOM_199_EDITOR                          1108
+#define IMG_CUSTOM_200                                 1109
+#define IMG_CUSTOM_200_EDITOR                          1110
+#define IMG_CUSTOM_201                                 1111
+#define IMG_CUSTOM_201_EDITOR                          1112
+#define IMG_CUSTOM_202                                 1113
+#define IMG_CUSTOM_202_EDITOR                          1114
+#define IMG_CUSTOM_203                                 1115
+#define IMG_CUSTOM_203_EDITOR                          1116
+#define IMG_CUSTOM_204                                 1117
+#define IMG_CUSTOM_204_EDITOR                          1118
+#define IMG_CUSTOM_205                                 1119
+#define IMG_CUSTOM_205_EDITOR                          1120
+#define IMG_CUSTOM_206                                 1121
+#define IMG_CUSTOM_206_EDITOR                          1122
+#define IMG_CUSTOM_207                                 1123
+#define IMG_CUSTOM_207_EDITOR                          1124
+#define IMG_CUSTOM_208                                 1125
+#define IMG_CUSTOM_208_EDITOR                          1126
+#define IMG_CUSTOM_209                                 1127
+#define IMG_CUSTOM_209_EDITOR                          1128
+#define IMG_CUSTOM_210                                 1129
+#define IMG_CUSTOM_210_EDITOR                          1130
+#define IMG_CUSTOM_211                                 1131
+#define IMG_CUSTOM_211_EDITOR                          1132
+#define IMG_CUSTOM_212                                 1133
+#define IMG_CUSTOM_212_EDITOR                          1134
+#define IMG_CUSTOM_213                                 1135
+#define IMG_CUSTOM_213_EDITOR                          1136
+#define IMG_CUSTOM_214                                 1137
+#define IMG_CUSTOM_214_EDITOR                          1138
+#define IMG_CUSTOM_215                                 1139
+#define IMG_CUSTOM_215_EDITOR                          1140
+#define IMG_CUSTOM_216                                 1141
+#define IMG_CUSTOM_216_EDITOR                          1142
+#define IMG_CUSTOM_217                                 1143
+#define IMG_CUSTOM_217_EDITOR                          1144
+#define IMG_CUSTOM_218                                 1145
+#define IMG_CUSTOM_218_EDITOR                          1146
+#define IMG_CUSTOM_219                                 1147
+#define IMG_CUSTOM_219_EDITOR                          1148
+#define IMG_CUSTOM_220                                 1149
+#define IMG_CUSTOM_220_EDITOR                          1150
+#define IMG_CUSTOM_221                                 1151
+#define IMG_CUSTOM_221_EDITOR                          1152
+#define IMG_CUSTOM_222                                 1153
+#define IMG_CUSTOM_222_EDITOR                          1154
+#define IMG_CUSTOM_223                                 1155
+#define IMG_CUSTOM_223_EDITOR                          1156
+#define IMG_CUSTOM_224                                 1157
+#define IMG_CUSTOM_224_EDITOR                          1158
+#define IMG_CUSTOM_225                                 1159
+#define IMG_CUSTOM_225_EDITOR                          1160
+#define IMG_CUSTOM_226                                 1161
+#define IMG_CUSTOM_226_EDITOR                          1162
+#define IMG_CUSTOM_227                                 1163
+#define IMG_CUSTOM_227_EDITOR                          1164
+#define IMG_CUSTOM_228                                 1165
+#define IMG_CUSTOM_228_EDITOR                          1166
+#define IMG_CUSTOM_229                                 1167
+#define IMG_CUSTOM_229_EDITOR                          1168
+#define IMG_CUSTOM_230                                 1169
+#define IMG_CUSTOM_230_EDITOR                          1170
+#define IMG_CUSTOM_231                                 1171
+#define IMG_CUSTOM_231_EDITOR                          1172
+#define IMG_CUSTOM_232                                 1173
+#define IMG_CUSTOM_232_EDITOR                          1174
+#define IMG_CUSTOM_233                                 1175
+#define IMG_CUSTOM_233_EDITOR                          1176
+#define IMG_CUSTOM_234                                 1177
+#define IMG_CUSTOM_234_EDITOR                          1178
+#define IMG_CUSTOM_235                                 1179
+#define IMG_CUSTOM_235_EDITOR                          1180
+#define IMG_CUSTOM_236                                 1181
+#define IMG_CUSTOM_236_EDITOR                          1182
+#define IMG_CUSTOM_237                                 1183
+#define IMG_CUSTOM_237_EDITOR                          1184
+#define IMG_CUSTOM_238                                 1185
+#define IMG_CUSTOM_238_EDITOR                          1186
+#define IMG_CUSTOM_239                                 1187
+#define IMG_CUSTOM_239_EDITOR                          1188
+#define IMG_CUSTOM_240                                 1189
+#define IMG_CUSTOM_240_EDITOR                          1190
+#define IMG_CUSTOM_241                                 1191
+#define IMG_CUSTOM_241_EDITOR                          1192
+#define IMG_CUSTOM_242                                 1193
+#define IMG_CUSTOM_242_EDITOR                          1194
+#define IMG_CUSTOM_243                                 1195
+#define IMG_CUSTOM_243_EDITOR                          1196
+#define IMG_CUSTOM_244                                 1197
+#define IMG_CUSTOM_244_EDITOR                          1198
+#define IMG_CUSTOM_245                                 1199
+#define IMG_CUSTOM_245_EDITOR                          1200
+#define IMG_CUSTOM_246                                 1201
+#define IMG_CUSTOM_246_EDITOR                          1202
+#define IMG_CUSTOM_247                                 1203
+#define IMG_CUSTOM_247_EDITOR                          1204
+#define IMG_CUSTOM_248                                 1205
+#define IMG_CUSTOM_248_EDITOR                          1206
+#define IMG_CUSTOM_249                                 1207
+#define IMG_CUSTOM_249_EDITOR                          1208
+#define IMG_CUSTOM_250                                 1209
+#define IMG_CUSTOM_250_EDITOR                          1210
+#define IMG_CUSTOM_251                                 1211
+#define IMG_CUSTOM_251_EDITOR                          1212
+#define IMG_CUSTOM_252                                 1213
+#define IMG_CUSTOM_252_EDITOR                          1214
+#define IMG_CUSTOM_253                                 1215
+#define IMG_CUSTOM_253_EDITOR                          1216
+#define IMG_CUSTOM_254                                 1217
+#define IMG_CUSTOM_254_EDITOR                          1218
+#define IMG_CUSTOM_255                                 1219
+#define IMG_CUSTOM_255_EDITOR                          1220
+#define IMG_CUSTOM_256                                 1221
+#define IMG_CUSTOM_256_EDITOR                          1222
+#define IMG_GROUP_1                                    1223
+#define IMG_GROUP_1_EDITOR                             1224
+#define IMG_GROUP_2                                    1225
+#define IMG_GROUP_2_EDITOR                             1226
+#define IMG_GROUP_3                                    1227
+#define IMG_GROUP_3_EDITOR                             1228
+#define IMG_GROUP_4                                    1229
+#define IMG_GROUP_4_EDITOR                             1230
+#define IMG_GROUP_5                                    1231
+#define IMG_GROUP_5_EDITOR                             1232
+#define IMG_GROUP_6                                    1233
+#define IMG_GROUP_6_EDITOR                             1234
+#define IMG_GROUP_7                                    1235
+#define IMG_GROUP_7_EDITOR                             1236
+#define IMG_GROUP_8                                    1237
+#define IMG_GROUP_8_EDITOR                             1238
+#define IMG_GROUP_9                                    1239
+#define IMG_GROUP_9_EDITOR                             1240
+#define IMG_GROUP_10                                   1241
+#define IMG_GROUP_10_EDITOR                            1242
+#define IMG_GROUP_11                                   1243
+#define IMG_GROUP_11_EDITOR                            1244
+#define IMG_GROUP_12                                   1245
+#define IMG_GROUP_12_EDITOR                            1246
+#define IMG_GROUP_13                                   1247
+#define IMG_GROUP_13_EDITOR                            1248
+#define IMG_GROUP_14                                   1249
+#define IMG_GROUP_14_EDITOR                            1250
+#define IMG_GROUP_15                                   1251
+#define IMG_GROUP_15_EDITOR                            1252
+#define IMG_GROUP_16                                   1253
+#define IMG_GROUP_16_EDITOR                            1254
+#define IMG_GROUP_17                                   1255
+#define IMG_GROUP_17_EDITOR                            1256
+#define IMG_GROUP_18                                   1257
+#define IMG_GROUP_18_EDITOR                            1258
+#define IMG_GROUP_19                                   1259
+#define IMG_GROUP_19_EDITOR                            1260
+#define IMG_GROUP_20                                   1261
+#define IMG_GROUP_20_EDITOR                            1262
+#define IMG_GROUP_21                                   1263
+#define IMG_GROUP_21_EDITOR                            1264
+#define IMG_GROUP_22                                   1265
+#define IMG_GROUP_22_EDITOR                            1266
+#define IMG_GROUP_23                                   1267
+#define IMG_GROUP_23_EDITOR                            1268
+#define IMG_GROUP_24                                   1269
+#define IMG_GROUP_24_EDITOR                            1270
+#define IMG_GROUP_25                                   1271
+#define IMG_GROUP_25_EDITOR                            1272
+#define IMG_GROUP_26                                   1273
+#define IMG_GROUP_26_EDITOR                            1274
+#define IMG_GROUP_27                                   1275
+#define IMG_GROUP_27_EDITOR                            1276
+#define IMG_GROUP_28                                   1277
+#define IMG_GROUP_28_EDITOR                            1278
+#define IMG_GROUP_29                                   1279
+#define IMG_GROUP_29_EDITOR                            1280
+#define IMG_GROUP_30                                   1281
+#define IMG_GROUP_30_EDITOR                            1282
+#define IMG_GROUP_31                                   1283
+#define IMG_GROUP_31_EDITOR                            1284
+#define IMG_GROUP_32                                   1285
+#define IMG_GROUP_32_EDITOR                            1286
+#define IMG_TOON_1                                     1287
+#define IMG_TOON_2                                     1288
+#define IMG_TOON_3                                     1289
+#define IMG_TOON_4                                     1290
+#define IMG_TOON_5                                     1291
+#define IMG_TOON_6                                     1292
+#define IMG_TOON_7                                     1293
+#define IMG_TOON_8                                     1294
+#define IMG_TOON_9                                     1295
+#define IMG_TOON_10                                    1296
+#define IMG_TOON_11                                    1297
+#define IMG_TOON_12                                    1298
+#define IMG_TOON_13                                    1299
+#define IMG_TOON_14                                    1300
+#define IMG_TOON_15                                    1301
+#define IMG_TOON_16                                    1302
+#define IMG_TOON_17                                    1303
+#define IMG_TOON_18                                    1304
+#define IMG_TOON_19                                    1305
+#define IMG_TOON_20                                    1306
+#define IMG_MENU_CALIBRATE_RED                         1307
+#define IMG_MENU_CALIBRATE_BLUE                                1308
+#define IMG_MENU_CALIBRATE_YELLOW                      1309
+#define IMG_MENU_BUTTON                                        1310
+#define IMG_MENU_BUTTON_ACTIVE                         1311
+#define IMG_MENU_BUTTON_LEFT                           1312
+#define IMG_MENU_BUTTON_RIGHT                          1313
+#define IMG_MENU_BUTTON_UP                             1314
+#define IMG_MENU_BUTTON_DOWN                           1315
+#define IMG_MENU_BUTTON_LEFT_ACTIVE                    1316
+#define IMG_MENU_BUTTON_RIGHT_ACTIVE                   1317
+#define IMG_MENU_BUTTON_UP_ACTIVE                      1318
+#define IMG_MENU_BUTTON_DOWN_ACTIVE                    1319
+#define IMG_MENU_SCROLLBAR                             1320
+#define IMG_MENU_SCROLLBAR_ACTIVE                      1321
+#define IMG_FONT_INITIAL_1                             1322
+#define IMG_FONT_INITIAL_2                             1323
+#define IMG_FONT_INITIAL_3                             1324
+#define IMG_FONT_INITIAL_4                             1325
+#define IMG_FONT_TITLE_1                               1326
+#define IMG_FONT_TITLE_1_LEVELS                                1327
+#define IMG_FONT_TITLE_2                               1328
+#define IMG_FONT_MENU_1                                        1329
+#define IMG_FONT_MENU_2                                        1330
+#define IMG_FONT_TEXT_1                                        1331
+#define IMG_FONT_TEXT_1_LEVELS                         1332
+#define IMG_FONT_TEXT_1_PREVIEW                                1333
+#define IMG_FONT_TEXT_1_SCORES                         1334
+#define IMG_FONT_TEXT_1_ACTIVE_SCORES                  1335
+#define IMG_FONT_TEXT_2                                        1336
+#define IMG_FONT_TEXT_2_LEVELS                         1337
+#define IMG_FONT_TEXT_2_PREVIEW                                1338
+#define IMG_FONT_TEXT_2_SCORES                         1339
+#define IMG_FONT_TEXT_2_ACTIVE_SCORES                  1340
+#define IMG_FONT_TEXT_3                                        1341
+#define IMG_FONT_TEXT_3_LEVELS                         1342
+#define IMG_FONT_TEXT_3_PREVIEW                                1343
+#define IMG_FONT_TEXT_3_SCORES                         1344
+#define IMG_FONT_TEXT_3_ACTIVE_SCORES                  1345
+#define IMG_FONT_TEXT_4                                        1346
+#define IMG_FONT_TEXT_4_LEVELS                         1347
+#define IMG_FONT_TEXT_4_SCORES                         1348
+#define IMG_FONT_TEXT_4_ACTIVE_SCORES                  1349
+#define IMG_FONT_ENVELOPE_1                            1350
+#define IMG_FONT_ENVELOPE_2                            1351
+#define IMG_FONT_ENVELOPE_3                            1352
+#define IMG_FONT_ENVELOPE_4                            1353
+#define IMG_FONT_INPUT_1                               1354
+#define IMG_FONT_INPUT_1_MAIN                          1355
+#define IMG_FONT_INPUT_1_ACTIVE                                1356
+#define IMG_FONT_INPUT_1_ACTIVE_MAIN                   1357
+#define IMG_FONT_INPUT_1_ACTIVE_SETUP                  1358
+#define IMG_FONT_INPUT_2                               1359
+#define IMG_FONT_INPUT_2_ACTIVE                                1360
+#define IMG_FONT_OPTION_OFF                            1361
+#define IMG_FONT_OPTION_ON                             1362
+#define IMG_FONT_VALUE_1                               1363
+#define IMG_FONT_VALUE_2                               1364
+#define IMG_FONT_VALUE_OLD                             1365
+#define IMG_FONT_LEVEL_NUMBER                          1366
+#define IMG_FONT_TAPE_RECORDER                         1367
+#define IMG_FONT_GAME_INFO                             1368
+#define IMG_GLOBAL_BORDER                              1369
+#define IMG_GLOBAL_DOOR                                        1370
+#define IMG_EDITOR_ELEMENT_BORDER                      1371
+#define IMG_EDITOR_ELEMENT_BORDER_INPUT                        1372
+#define IMG_BACKGROUND_ENVELOPE_1                      1373
+#define IMG_BACKGROUND_ENVELOPE_2                      1374
+#define IMG_BACKGROUND_ENVELOPE_3                      1375
+#define IMG_BACKGROUND_ENVELOPE_4                      1376
+#define IMG_BACKGROUND                                 1377
+#define IMG_BACKGROUND_MAIN                            1378
+#define IMG_BACKGROUND_LEVELS                          1379
+#define IMG_BACKGROUND_SCORES                          1380
+#define IMG_BACKGROUND_EDITOR                          1381
+#define IMG_BACKGROUND_INFO                            1382
+#define IMG_BACKGROUND_SETUP                           1383
+#define IMG_BACKGROUND_DOOR                            1384
 
-#define NUM_IMAGE_FILES                                        1383
+#define NUM_IMAGE_FILES                                        1385
 
 #endif /* CONF_GFX_H */
index 20f49ee9e96f5f27758bf87cb71ed86bf3318487..7ca4bbad62c819359abb77478b8f306c6c2dc73d 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2004-03-14 23:35]"
+#define COMPILE_DATE_STRING "[2004-03-15 22:28]"
index af251d33341060df607549939c1b98f0e5dd9813..67cd3d8c45fc828a177851fcc485c8d6a9533c51 100644 (file)
@@ -3294,7 +3294,12 @@ static int editor_el_custom_more[] =
   EL_CUSTOM_START + 252,
   EL_CUSTOM_START + 253,
   EL_CUSTOM_START + 254,
-  EL_CUSTOM_START + 255
+  EL_CUSTOM_START + 255,
+
+  EL_TRIGGER_ELEMENT,
+  EL_TRIGGER_PLAYER,
+  EL_EMPTY,
+  EL_EMPTY
 };
 static int *editor_hl_custom_more_ptr = editor_hl_custom_more;
 static int *editor_el_custom_more_ptr = editor_el_custom_more;
index 56094a02d0a0edf2119ab0d95379c84c8797ae25..16603506105450a9aa27a0cb60eea22ef717f892 100644 (file)
 #define GET_MAX_MOVE_DELAY(e)  (   (element_info[e].move_delay_fixed) + \
                                    (element_info[e].move_delay_random))
 
+#define GET_TARGET_ELEMENT(e, ch)                                      \
+       ((e) == EL_TRIGGER_ELEMENT ? (ch)->actual_trigger_element :     \
+        (e) == EL_TRIGGER_PLAYER  ? (ch)->actual_trigger_player : (e))
+
 #define ELEMENT_CAN_ENTER_FIELD_BASE_X(x, y, condition)                        \
                (IN_LEV_FIELD(x, y) && (IS_FREE(x, y) ||                \
                                        (condition)))
@@ -295,23 +299,25 @@ static void ChangeElement(int, int, int);
 
 static boolean CheckTriggeredElementChangeExt(int, int, int, int, int,int,int);
 #define CheckTriggeredElementChange(x, y, e, ev)                       \
-       CheckTriggeredElementChangeExt(x, y, e, ev, -1, CH_SIDE_ANY, -1)
+       CheckTriggeredElementChangeExt(x, y, e, ev, CH_PLAYER_ANY,      \
+                                      CH_SIDE_ANY, -1)
 #define CheckTriggeredElementChangePlayer(x, y, e, ev, p, s)           \
        CheckTriggeredElementChangeExt(x, y, e, ev, p, s, -1)
 #define CheckTriggeredElementChangeSide(x, y, e, ev, s)                        \
-       CheckTriggeredElementChangeExt(x, y, e, ev, -1, s, -1)
+       CheckTriggeredElementChangeExt(x, y, e, ev, CH_PLAYER_ANY, s, -1)
 #define CheckTriggeredElementChangePage(x, y, e, ev, p)                        \
-       CheckTriggeredElementChangeExt(x, y, e, ev, -1, CH_SIDE_ANY, p)
+       CheckTriggeredElementChangeExt(x, y, e, ev, CH_PLAYER_ANY,      \
+                                      CH_SIDE_ANY, p)
 
-static boolean CheckElementChangeExt(int, int, int, int, int, int, int);
-#define CheckElementChange(x, y, e, ev)                                        \
-       CheckElementChangeExt(x, y, e, ev, -1, CH_SIDE_ANY, -1)
+static boolean CheckElementChangeExt(int, int, int, int, int, int, int, int);
+#define CheckElementChange(x, y, e, te, ev)                            \
+       CheckElementChangeExt(x, y, e, te, ev, CH_PLAYER_ANY, CH_SIDE_ANY, -1)
 #define CheckElementChangePlayer(x, y, e, ev, p, s)                    \
-       CheckElementChangeExt(x, y, e, ev, p, s, -1)
-#define CheckElementChangeSide(x, y, e, ev, s)                         \
-       CheckElementChangeExt(x, y, e, ev, -1, s, -1)
-#define CheckElementChangePage(x, y, e, ev, p)                         \
-       CheckElementChangeExt(x, y, e, ev, -1, CH_SIDE_ANY, p)
+       CheckElementChangeExt(x, y, e, EL_EMPTY, ev, p, s, CH_PAGE_ANY)
+#define CheckElementChangeSide(x, y, e, te, ev, s)                     \
+       CheckElementChangeExt(x, y, e, te, ev, CH_PLAYER_ANY, s, CH_PAGE_ANY)
+#define CheckElementChangePage(x, y, e, te, ev, p)                     \
+       CheckElementChangeExt(x, y, e, te, ev, CH_PLAYER_ANY, CH_SIDE_ANY, p)
 
 static void PlayLevelSound(int, int, int);
 static void PlayLevelSoundNearest(int, int, int);
@@ -1235,6 +1241,19 @@ static void InitGameEngine()
   }
 #endif
 
+  /* ---------- initialize run-time trigger player and element ------------- */
+
+  for (i = 0; i < NUM_CUSTOM_ELEMENTS; i++)
+  {
+    struct ElementInfo *ei = &element_info[EL_CUSTOM_START + i];
+
+    for (j = 0; j < ei->num_change_pages; j++)
+    {
+      ei->change_page[j].actual_trigger_element = EL_EMPTY;
+      ei->change_page[j].actual_trigger_player = EL_PLAYER_1;
+    }
+  }
+
   /* ---------- initialize trigger events ---------------------------------- */
 
   /* initialize trigger events information */
@@ -3753,7 +3772,7 @@ void Impact(int x, int y)
   boolean object_hit = FALSE;
   boolean impact = (lastline || object_hit);
   int element = Feld[x][y];
-  int smashed = EL_UNDEFINED;
+  int smashed = EL_STEELWALL;
 
   if (!lastline)       /* check if element below was hit */
   {
@@ -3804,7 +3823,7 @@ void Impact(int x, int y)
     PlayLevelSound(x, y, SND_PEARL_BREAKING);
     return;
   }
-  else if (impact && CheckElementChange(x, y, element, CE_IMPACT))
+  else if (impact && CheckElementChange(x, y, element, smashed, CE_IMPACT))
   {
     PlayLevelSoundElementAction(x, y, element, ACTION_IMPACT);
 
@@ -3949,16 +3968,17 @@ void Impact(int x, int y)
          TestIfElementSmashesCustomElement(x, y, MV_DOWN);
 #endif
 
-         CheckElementChange(x, y + 1, smashed, CE_SMASHED);
+         CheckElementChange(x, y + 1, smashed, element, CE_SMASHED);
 
          CheckTriggeredElementChangeSide(x, y + 1, smashed,
                                          CE_OTHER_IS_SWITCHING, CH_SIDE_TOP);
-         CheckElementChangeSide(x, y + 1, smashed, CE_SWITCHED, CH_SIDE_TOP);
+         CheckElementChangeSide(x, y + 1, smashed, element,
+                                CE_SWITCHED, CH_SIDE_TOP);
        }
       }
       else
       {
-       CheckElementChange(x, y + 1, smashed, CE_SMASHED);
+       CheckElementChange(x, y + 1, smashed, element, CE_SMASHED);
       }
     }
   }
@@ -5876,7 +5896,7 @@ void ContinueMoving(int x, int y)
                change->trigger_element == touched_element)
            {
              CheckElementChangePage(newx, newy, hitting_element,
-                                    CE_OTHER_IS_HITTING, i);
+                                    touched_element, CE_OTHER_IS_HITTING, i);
              break;
            }
          }
@@ -5896,7 +5916,7 @@ void ContinueMoving(int x, int y)
                change->trigger_element == hitting_element)
            {
              CheckElementChangePage(nextx, nexty, touched_element,
-                                    CE_OTHER_GETS_HIT, i);
+                                    hitting_element, CE_OTHER_GETS_HIT, i);
              break;
            }
          }
@@ -6852,11 +6872,19 @@ static void ChangeElementNowExt(int x, int y, int target_element)
 static boolean ChangeElementNow(int x, int y, int element, int page)
 {
   struct ElementChangeInfo *change = &element_info[element].change_page[page];
+  int target_element;
 
   /* always use default change event to prevent running into a loop */
   if (ChangeEvent[x][y] == CE_BITMASK_DEFAULT)
     ChangeEvent[x][y] = CH_EVENT_BIT(CE_DELAY);
 
+  if (ChangeEvent[x][y] == CH_EVENT_BIT(CE_DELAY))
+  {
+    /* reset actual trigger element and player */
+    change->actual_trigger_element = EL_EMPTY;
+    change->actual_trigger_player = EL_PLAYER_1;
+  }
+
   /* do not change already changed elements with same change event */
 #if 0
   if (Changed[x][y] & ChangeEvent[x][y])
@@ -6947,7 +6975,9 @@ static boolean ChangeElementNow(int x, int y, int element, int page)
 
          ChangeEvent[ex][ey] = ChangeEvent[x][y];
 
-         ChangeElementNowExt(ex, ey, change->content[xx][yy]);
+         target_element = GET_TARGET_ELEMENT(change->content[xx][yy], change);
+
+         ChangeElementNowExt(ex, ey, target_element);
 
          something_has_changed = TRUE;
 
@@ -6963,7 +6993,9 @@ static boolean ChangeElementNow(int x, int y, int element, int page)
   }
   else
   {
-    ChangeElementNowExt(x, y, change->target_element);
+    target_element = GET_TARGET_ELEMENT(change->target_element, change);
+
+    ChangeElementNowExt(x, y, target_element);
 
     PlayLevelSoundElementAction(x, y, element, ACTION_CHANGING);
   }
@@ -7020,6 +7052,8 @@ static void ChangeElement(int x, int y, int page)
     {
       page = ChangePage[x][y];
       ChangePage[x][y] = -1;
+
+      change = &ei->change_page[page];
     }
 
 #if 0
@@ -7050,6 +7084,7 @@ static boolean CheckTriggeredElementChangeExt(int lx, int ly,
                                              int trigger_page)
 {
   int i, j, x, y;
+  int trigger_page_bits = (trigger_page < 0 ? CH_PAGE_ANY : 1 << trigger_page);
 
   if (!(trigger_events[trigger_element] & CH_EVENT_BIT(trigger_event)))
     return FALSE;
@@ -7072,7 +7107,7 @@ static boolean CheckTriggeredElementChangeExt(int lx, int ly,
          change->events & CH_EVENT_BIT(trigger_event) &&
          change->trigger_side & trigger_side &&
          change->trigger_player & trigger_player &&
-         change->trigger_page & (1 << trigger_page) &&
+         change->trigger_page & trigger_page_bits &&
          IS_EQUAL_OR_IN_GROUP(trigger_element, change->trigger_element))
       {
 #if 0
@@ -7084,6 +7119,9 @@ static boolean CheckTriggeredElementChangeExt(int lx, int ly,
        change_element = TRUE;
        page = j;
 
+       change->actual_trigger_element = trigger_element;
+       change->actual_trigger_player = EL_PLAYER_1 + log_2(trigger_player);
+
        break;
       }
     }
@@ -7112,6 +7150,7 @@ static boolean CheckTriggeredElementChangeExt(int lx, int ly,
 
 static boolean CheckElementChangeExt(int x, int y,
                                     int element,
+                                    int trigger_element,
                                     int trigger_event,
                                     int trigger_player,
                                     int trigger_side,
@@ -7144,6 +7183,9 @@ static boolean CheckElementChangeExt(int x, int y,
        change_element = TRUE;
        trigger_page = i;
 
+       change->actual_trigger_element = trigger_element;
+       change->actual_trigger_player = EL_PLAYER_1 + log_2(trigger_player);
+
        break;
       }
     }
@@ -7151,6 +7193,14 @@ static boolean CheckElementChangeExt(int x, int y,
     if (!change_element)
       return FALSE;
   }
+  else
+  {
+    struct ElementInfo *ei = &element_info[element];
+    struct ElementChangeInfo *change = &ei->change_page[trigger_page];
+
+    change->actual_trigger_element = trigger_element;
+    change->actual_trigger_player = EL_PLAYER_1;       /* unused */
+  }
 
 #else
 
@@ -9093,6 +9143,7 @@ void TestIfElementTouchesCustomElement(int x, int y)
   boolean change_center_element = FALSE;
   int center_element_change_page = 0;
   int center_element = Feld[x][y];     /* should always be non-moving! */
+  int border_trigger_element;
   int i, j;
 
   for (i = 0; i < NUM_DIRECTIONS; i++)
@@ -9137,6 +9188,7 @@ void TestIfElementTouchesCustomElement(int x, int y)
        {
          change_center_element = TRUE;
          center_element_change_page = j;
+         border_trigger_element = border_element;
 
          break;
        }
@@ -9162,8 +9214,12 @@ void TestIfElementTouchesCustomElement(int x, int y)
 #endif
            )
        {
-         CheckElementChangePage(xx, yy, border_element, CE_OTHER_IS_TOUCHING,
-                                j);
+#if 0
+         printf("::: border_element %d, %d\n", x, y);
+#endif
+
+         CheckElementChangePage(xx, yy, border_element, center_element,
+                                CE_OTHER_IS_TOUCHING, j);
          break;
        }
       }
@@ -9171,8 +9227,14 @@ void TestIfElementTouchesCustomElement(int x, int y)
   }
 
   if (change_center_element)
-    CheckElementChangePage(x, y, center_element, CE_OTHER_IS_TOUCHING,
-                          center_element_change_page);
+  {
+#if 0
+    printf("::: center_element %d, %d\n", x, y);
+#endif
+
+    CheckElementChangePage(x, y, center_element, border_trigger_element,
+                          CE_OTHER_IS_TOUCHING, center_element_change_page);
+  }
 }
 
 void TestIfElementHitsCustomElement(int x, int y, int direction)
@@ -9181,6 +9243,7 @@ void TestIfElementHitsCustomElement(int x, int y, int direction)
   int dy = (direction == MV_UP   ? -1 : direction == MV_DOWN  ? +1 : 0);
   int hitx = x + dx, hity = y + dy;
   int hitting_element = Feld[x][y];
+  int touched_element;
 #if 0
   boolean object_hit = (IN_LEV_FIELD(hitx, hity) &&
                        !IS_FREE(hitx, hity) &&
@@ -9197,15 +9260,20 @@ void TestIfElementHitsCustomElement(int x, int y, int direction)
     return;
 #endif
 
-  CheckElementChangeSide(x, y, hitting_element, CE_HITTING_SOMETHING,
-                        direction);
+  touched_element = (IN_LEV_FIELD(hitx, hity) ?
+                    MovingOrBlocked2Element(hitx, hity) : EL_STEELWALL);
+
+  CheckElementChangeSide(x, y, hitting_element, touched_element,
+                        CE_HITTING_SOMETHING, direction);
 
   if (IN_LEV_FIELD(hitx, hity))
   {
     int opposite_direction = MV_DIR_OPPOSITE(direction);
     int hitting_side = direction;
     int touched_side = opposite_direction;
+#if 0
     int touched_element = MovingOrBlocked2Element(hitx, hity);
+#endif
 #if 1
     boolean object_hit = (!IS_MOVING(hitx, hity) ||
                          MovDir[hitx][hity] != direction ||
@@ -9218,8 +9286,8 @@ void TestIfElementHitsCustomElement(int x, int y, int direction)
     {
       int i;
 
-      CheckElementChangeSide(hitx, hity, touched_element, CE_HIT_BY_SOMETHING,
-                            opposite_direction);
+      CheckElementChangeSide(hitx, hity, touched_element, hitting_element,
+                            CE_HIT_BY_SOMETHING, opposite_direction);
 
       if (IS_CUSTOM_ELEMENT(hitting_element) &&
          HAS_ANY_CHANGE_EVENT(hitting_element, CE_OTHER_IS_HITTING))
@@ -9240,8 +9308,8 @@ void TestIfElementHitsCustomElement(int x, int y, int direction)
 #endif
              )
          {
-           CheckElementChangePage(x, y, hitting_element, CE_OTHER_IS_HITTING,
-                                  i);
+           CheckElementChangePage(x, y, hitting_element, touched_element,
+                                  CE_OTHER_IS_HITTING, i);
            break;
          }
        }
@@ -9266,7 +9334,7 @@ void TestIfElementHitsCustomElement(int x, int y, int direction)
              )
          {
            CheckElementChangePage(hitx, hity, touched_element,
-                                  CE_OTHER_GETS_HIT, i);
+                                  hitting_element, CE_OTHER_GETS_HIT, i);
            break;
          }
        }
@@ -9282,6 +9350,7 @@ void TestIfElementSmashesCustomElement(int x, int y, int direction)
   int dy = (direction == MV_UP   ? -1 : direction == MV_DOWN  ? +1 : 0);
   int hitx = x + dx, hity = y + dy;
   int hitting_element = Feld[x][y];
+  int touched_element;
 #if 0
   boolean object_hit = (IN_LEV_FIELD(hitx, hity) &&
                        !IS_FREE(hitx, hity) &&
@@ -9298,15 +9367,20 @@ void TestIfElementSmashesCustomElement(int x, int y, int direction)
     return;
 #endif
 
-  CheckElementChangeSide(x, y, hitting_element, EP_CAN_SMASH_EVERYTHING,
-                        direction);
+  touched_element = (IN_LEV_FIELD(hitx, hity) ?
+                    MovingOrBlocked2Element(hitx, hity) : EL_STEELWALL);
+
+  CheckElementChangeSide(x, y, hitting_element, touched_element,
+                        EP_CAN_SMASH_EVERYTHING, direction);
 
   if (IN_LEV_FIELD(hitx, hity))
   {
     int opposite_direction = MV_DIR_OPPOSITE(direction);
     int hitting_side = direction;
     int touched_side = opposite_direction;
+#if 0
     int touched_element = MovingOrBlocked2Element(hitx, hity);
+#endif
 #if 1
     boolean object_hit = (!IS_MOVING(hitx, hity) ||
                          MovDir[hitx][hity] != direction ||
@@ -9319,7 +9393,7 @@ void TestIfElementSmashesCustomElement(int x, int y, int direction)
     {
       int i;
 
-      CheckElementChangeSide(hitx, hity, touched_element,
+      CheckElementChangeSide(hitx, hity, touched_element, hitting_element,
                             CE_SMASHED_BY_SOMETHING, opposite_direction);
 
       if (IS_CUSTOM_ELEMENT(hitting_element) &&
@@ -9341,8 +9415,8 @@ void TestIfElementSmashesCustomElement(int x, int y, int direction)
 #endif
              )
          {
-           CheckElementChangePage(x, y, hitting_element, CE_OTHER_IS_SMASHING,
-                                  i);
+           CheckElementChangePage(x, y, hitting_element, touched_element,
+                                  CE_OTHER_IS_SMASHING, i);
            break;
          }
        }
@@ -9367,7 +9441,7 @@ void TestIfElementSmashesCustomElement(int x, int y, int direction)
              )
          {
            CheckElementChangePage(hitx, hity, touched_element,
-                                  CE_OTHER_GETS_SMASHED, i);
+                                  hitting_element, CE_OTHER_GETS_SMASHED, i);
            break;
          }
        }
@@ -10634,8 +10708,8 @@ boolean DropElement(struct PlayerInfo *player)
 #if 1
       TestIfElementHitsCustomElement(jx, jy, direction);
 #else
-      CheckElementChangeSide(jx, jy, new_element, CE_HITTING_SOMETHING,
-                            direction);
+      CheckElementChangeSide(jx, jy, new_element, touched_element,
+                            CE_HITTING_SOMETHING, direction);
 #endif
     }
 
index 8dfd8930bb3877f43c026bacebd3026297adeb49..61fc8e4aac677e4f2cc8c6152a57d6e43298da55 100644 (file)
@@ -3400,6 +3400,16 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] =
     "unknown",
     "unknown element"
   },
+  {
+    "trigger_element",
+    "trigger",
+    "element triggering change"
+  },
+  {
+    "trigger_player",
+    "trigger",
+    "player triggering change"
+  },
 
   /* ----------------------------------------------------------------------- */
   /* "real" (and therefore drawable) runtime elements                        */
index cb739c041ccedc618bd196d452b74247444433eb..037ac80fcb6b45c118f721d10176ca68eed0fa09 100644 (file)
 /* ---------- end of custom elements section ------------------------------- */
 
 #define EL_UNKNOWN                     656
+#define EL_TRIGGER_ELEMENT             657
+#define EL_TRIGGER_PLAYER              658
 
-#define NUM_FILE_ELEMENTS              657
+#define NUM_FILE_ELEMENTS              659
 
 
 /* "real" (and therefore drawable) runtime elements */
@@ -1542,7 +1544,7 @@ struct ElementChangeInfo
   int delay_random;            /* added frame delay before changed (random) */
   int delay_frames;            /* either 1 (frames) or 50 (seconds; 50 fps) */
 
-  short trigger_element;       /* custom element triggering change */
+  short trigger_element;       /* element triggering change */
 
   int content[3][3];           /* new elements after extended change */
   boolean use_content;         /* use extended change content */
@@ -1559,6 +1561,11 @@ struct ElementChangeInfo
   void (*change_function)(int x, int y);
   void (*post_change_function)(int x, int y);
 
+  /* ---------- internal values used at runtime when playing ---------- */
+
+  short actual_trigger_element;        /* element that actually triggered change */
+  int actual_trigger_player;   /* player which actually triggered change */
+
   /* ---------- internal values used in level editor ---------- */
 
   int direct_action;           /* change triggered by actions on element */