2 |
// // |
// // |
3 |
// File : enigma_mapping.cpp // |
// File : enigma_mapping.cpp // |
4 |
// Purpose : // |
// Purpose : // |
5 |
// Time-stamp: <Wed Jun/25/2003 21:19 MET amgine@reallysoft.de> // |
// Time-stamp: <Thu Jun/26/2003 11:34 MET amgine@reallysoft.de> // |
6 |
// // |
// // |
7 |
// (C) May 2003 by Ralf Westram <amgine@rallysoft.de> // |
// (C) May 2003 by Ralf Westram <amgine@rallysoft.de> // |
8 |
// // |
// // |
44 |
"fl-himalaya", // Oxyd1 floor 0x0a |
"fl-himalaya", // Oxyd1 floor 0x0a |
45 |
"fl-himalaya", // Oxyd1 floor 0x0b |
"fl-himalaya", // Oxyd1 floor 0x0b |
46 |
"fl-inverse", // Oxyd1 floor 0x0c |
"fl-inverse", // Oxyd1 floor 0x0c |
47 |
"fl-black", // Oxyd1 floor 0x0d |
"fl-acblack", // Oxyd1 floor 0x0d |
48 |
"fl-white", // Oxyd1 floor 0x0e |
"fl-acwhite", // Oxyd1 floor 0x0e |
49 |
"fl-swamp", // Oxyd1 floor 0x0f |
"fl-swamp", // Oxyd1 floor 0x0f |
50 |
UNUSED, // Oxyd1 floor 0x10 |
UNUSED, // Oxyd1 floor 0x10 |
51 |
UNUSED, // Oxyd1 floor 0x11 |
UNUSED, // Oxyd1 floor 0x11 |
195 |
"", // Oxyd1 stone 0x41 magic stone |
"", // Oxyd1 stone 0x41 magic stone |
196 |
"st-actorimpulse", // Oxyd1 stone 0x42 |
"st-actorimpulse", // Oxyd1 stone 0x42 |
197 |
"st-actorimpulse_invisible", // Oxyd1 stone 0x43 |
"st-actorimpulse_invisible", // Oxyd1 stone 0x43 |
198 |
"st-laser-1", // "st-laser-s", // Oxyd1 stone 0x44 |
"st-laser-1", // Oxyd1 stone 0x44 The laser-names are fake names! |
199 |
"st-laser-2", // "st-laser-n", // Oxyd1 stone 0x45 |
"st-laser-2", // Oxyd1 stone 0x45 Direction and state are generated by Enigma. |
200 |
"st-laser-3", // "st-laser-e", // Oxyd1 stone 0x46 |
"st-laser-3", // Oxyd1 stone 0x46 |
201 |
"st-mirror-p|", // Oxyd1 stone 0x47 |
"st-mirror-p|", // Oxyd1 stone 0x47 |
202 |
"st-mirror-p/", // Oxyd1 stone 0x48 |
"st-mirror-p/", // Oxyd1 stone 0x48 |
203 |
"st-mirror-p-", // Oxyd1 stone 0x49 |
"st-mirror-p-", // Oxyd1 stone 0x49 |
554 |
UNUSED, // OxydMagnum stone 0x41 |
UNUSED, // OxydMagnum stone 0x41 |
555 |
"st-actorimpulse", // OxydMagnum stone 0x42 |
"st-actorimpulse", // OxydMagnum stone 0x42 |
556 |
"st-actorimpulse_invisible", // OxydMagnum stone 0x43 |
"st-actorimpulse_invisible", // OxydMagnum stone 0x43 |
557 |
"st-laser-1", // "st-laser-n", // OxydMagnum stone 0x44 |
"st-laser-1", // OxydMagnum stone 0x44 The laser-names are fake names! |
558 |
"st-laser-2", // "st-laser-s", // OxydMagnum stone 0x45 |
"st-laser-2", // OxydMagnum stone 0x45 Direction and state are generated by Enigma. |
559 |
"st-laser-3", // "st-laser-e", // OxydMagnum stone 0x46 |
"st-laser-3", // OxydMagnum stone 0x46 |
560 |
"st-mirror-p|", // OxydMagnum stone 0x47 |
"st-mirror-p|", // OxydMagnum stone 0x47 |
561 |
"st-mirror-p/", // OxydMagnum stone 0x48 |
"st-mirror-p/", // OxydMagnum stone 0x48 |
562 |
"st-mirror-p-", // OxydMagnum stone 0x49 |
"st-mirror-p-", // OxydMagnum stone 0x49 |
785 |
"fl-rough-blue", // PerOxyd floor 0x0a (common was 'fl-normal') |
"fl-rough-blue", // PerOxyd floor 0x0a (common was 'fl-normal') |
786 |
"fl-rough-red", // PerOxyd floor 0x0b (common was 'fl-stone') |
"fl-rough-red", // PerOxyd floor 0x0b (common was 'fl-stone') |
787 |
0, // PerOxyd floor 0x0c (common was 'fl-inverse') |
0, // PerOxyd floor 0x0c (common was 'fl-inverse') |
788 |
"fl-black", // PerOxyd floor 0x0d |
"fl-acblack", // PerOxyd floor 0x0d |
789 |
"fl-white", // PerOxyd floor 0x0e |
"fl-acwhite", // PerOxyd floor 0x0e |
790 |
"fl-swamp", // PerOxyd floor 0x0f |
"fl-swamp", // PerOxyd floor 0x0f |
791 |
UNUSED, // PerOxyd floor 0x10 |
UNUSED, // PerOxyd floor 0x10 |
792 |
UNUSED, // PerOxyd floor 0x11 |
UNUSED, // PerOxyd floor 0x11 |
852 |
UNUSED, // PerOxyd floor 0x4d |
UNUSED, // PerOxyd floor 0x4d |
853 |
0, // PerOxyd floor 0x4e |
0, // PerOxyd floor 0x4e |
854 |
0, // PerOxyd floor 0x4f |
0, // PerOxyd floor 0x4f |
855 |
0, // PerOxyd floor 0x50 |
"fl-black", // PerOxyd floor 0x50 |
856 |
0, // PerOxyd floor 0x51 |
"fl-white", // PerOxyd floor 0x51 |
857 |
"fl-bridge", // PerOxyd floor 0x52 (common was 'fl-bridge') |
"fl-bridge", // PerOxyd floor 0x52 |
858 |
0, // PerOxyd floor 0x53 |
0, // PerOxyd floor 0x53 |
859 |
UNUSED, // PerOxyd floor 0x54 |
UNUSED, // PerOxyd floor 0x54 |
860 |
0, // PerOxyd floor 0x55 (common was 'fl-plank') |
0, // PerOxyd floor 0x55 (common was 'fl-plank') |
933 |
0, // PerOxyd stone 0x3b (common was 'st-magic') |
0, // PerOxyd stone 0x3b (common was 'st-magic') |
934 |
"st-actorimpulse", // PerOxyd stone 0x3c |
"st-actorimpulse", // PerOxyd stone 0x3c |
935 |
"st-actorimpulse_invisible", // PerOxyd stone 0x3d |
"st-actorimpulse_invisible", // PerOxyd stone 0x3d |
936 |
"st-laser-1", // "st-laser-n", // PerOxyd stone 0x3e |
"st-laser-1", // PerOxyd stone 0x3e The laser-names are fake names! |
937 |
"st-laser-2", // "st-laser-s", // PerOxyd stone 0x3f |
"st-laser-2", // PerOxyd stone 0x3f Direction and state are generated by Enigma. |
938 |
"st-laser-3", // "st-laser-e", // PerOxyd stone 0x40 |
"st-laser-3", // PerOxyd stone 0x40 |
939 |
"st-mirror-p|", // PerOxyd stone 0x41 |
"st-mirror-p|", // PerOxyd stone 0x41 |
940 |
"st-mirror-p/", // PerOxyd stone 0x42 |
"st-mirror-p/", // PerOxyd stone 0x42 |
941 |
"st-mirror-p-", // PerOxyd stone 0x43 |
"st-mirror-p-", // PerOxyd stone 0x43 |
965 |
"st-puzzle-nesw", // PerOxyd stone 0x5b |
"st-puzzle-nesw", // PerOxyd stone 0x5b |
966 |
"st-puzzle-hollow", // PerOxyd stone 0x5c |
"st-puzzle-hollow", // PerOxyd stone 0x5c |
967 |
0, // PerOxyd stone 0x5d |
0, // PerOxyd stone 0x5d |
968 |
0, // PerOxyd stone 0x5e |
0, // PerOxyd stone 0x5e (coffee-stone, opens like an oxyd, then it may be moved and below is a cup of coffee) |
969 |
0, // PerOxyd stone 0x5f |
0, // PerOxyd stone 0x5f |
970 |
"st-disco-dark", // PerOxyd stone 0x60 |
"st-disco-dark", // PerOxyd stone 0x60 |
971 |
"st-disco-medium", // PerOxyd stone 0x61 |
"st-disco-medium", // PerOxyd stone 0x61 |
1015 |
0, // PerOxyd stone 0x8d |
0, // PerOxyd stone 0x8d |
1016 |
0, // PerOxyd stone 0x8e (common was 'st-rock6') |
0, // PerOxyd stone 0x8e (common was 'st-rock6') |
1017 |
UNUSED, // PerOxyd stone 0x8f |
UNUSED, // PerOxyd stone 0x8f |
1018 |
"st-rock8", // PerOxyd stone 0x90 |
"st-rock8", // PerOxyd stone 0x90 |
1019 |
"st-rotator-left", // PerOxyd stone 0x91 |
"st-rotator_move-left", // PerOxyd stone 0x91 |
1020 |
"st-rotator-right", // PerOxyd stone 0x92 |
"st-rotator_move-right", // PerOxyd stone 0x92 |
1021 |
"st-swap", // PerOxyd stone 0x93 |
"st-swap", // PerOxyd stone 0x93 |
1022 |
0, // PerOxyd stone 0x94 |
0, // PerOxyd stone 0x94 |
1023 |
0, // PerOxyd stone 0x95 |
0, // PerOxyd stone 0x95 |
1024 |
"st-rubberband", // PerOxyd stone 0x96 |
"st-rubberband", // PerOxyd stone 0x96 |
1062 |
|
|
1063 |
static const char *PerOxyd_item_map[256] = { |
static const char *PerOxyd_item_map[256] = { |
1064 |
0, // PerOxyd item 0x00 |
0, // PerOxyd item 0x00 |
1065 |
0, // PerOxyd item 0x01 (common was 'it-extralife') |
"it-extralife", // PerOxyd item 0x01 |
1066 |
0, // PerOxyd item 0x02 (common was 'it-document') |
0, // PerOxyd item 0x02 (common was 'it-document') |
1067 |
0, // PerOxyd item 0x03 (common was 'it-document') |
0, // PerOxyd item 0x03 (common was 'it-document') |
1068 |
0, // PerOxyd item 0x04 (common was 'it-hammer') |
0, // PerOxyd item 0x04 (common was 'it-hammer') |
1069 |
"it-coffee", // PerOxyd item 0x05 |
"it-coffee", // PerOxyd item 0x05 |
1070 |
0, // PerOxyd item 0x06 |
0, // PerOxyd item 0x06 |
1071 |
0, // PerOxyd item 0x07 (common was 'it-umbrella') |
0, // PerOxyd item 0x07 (common was 'it-umbrella') |
1072 |
0, // PerOxyd item 0x08 |
0, // PerOxyd item 0x08 |
1073 |
0, // PerOxyd item 0x09 |
0, // PerOxyd item 0x09 |
1074 |
0, // PerOxyd item 0x0a (common was 'it-dynamite') |
0, // PerOxyd item 0x0a (common was 'it-dynamite') |
1075 |
0, // PerOxyd item 0x0b (common was 'it-blackbomb') |
"it-blackbomb", // PerOxyd item 0x0b |
1076 |
0, // PerOxyd item 0x0c (common was 'it-whitebomb') |
0, // PerOxyd item 0x0c (common was 'it-whitebomb') |
1077 |
0, // PerOxyd item 0x0d |
0, // PerOxyd item 0x0d |
1078 |
0, // PerOxyd item 0x0e |
0, // PerOxyd item 0x0e |
1133 |
0, // PerOxyd item 0x45 |
0, // PerOxyd item 0x45 |
1134 |
"it-blocker", // PerOxyd item 0x46 |
"it-blocker", // PerOxyd item 0x46 |
1135 |
"it-magicwand", // PerOxyd item 0x47 |
"it-magicwand", // PerOxyd item 0x47 |
1136 |
0, // PerOxyd item 0x48 |
"it-wrench", // PerOxyd item 0x48 |
1137 |
UNUSED, // PerOxyd item 0x49 |
UNUSED, // PerOxyd item 0x49 |
1138 |
"it-odometer", // PerOxyd item 0x4a |
"it-odometer", // PerOxyd item 0x4a |
1139 |
"it-puller-n", // PerOxyd item 0x4b |
"it-puller-n", // PerOxyd item 0x4b |
1349 |
UNUSED, // OxydExtra stone 0x3b |
UNUSED, // OxydExtra stone 0x3b |
1350 |
"st-actorimpulse", // OxydExtra stone 0x3c |
"st-actorimpulse", // OxydExtra stone 0x3c |
1351 |
UNUSED, // OxydExtra stone 0x3d |
UNUSED, // OxydExtra stone 0x3d |
1352 |
"st-laser-1", // "st-laser-n", // OxydExtra stone 0x3e |
"st-laser-1", // OxydExtra stone 0x3e The laser-names are fake names! |
1353 |
"st-laser-2", // "st-laser-s", // OxydExtra stone 0x3f |
"st-laser-2", // OxydExtra stone 0x3f Direction and state are generated by Enigma. |
1354 |
"st-laser-3", // "st-laser-e", // OxydExtra stone 0x40 |
"st-laser-3", // OxydExtra stone 0x40 |
1355 |
UNUSED, // OxydExtra stone 0x41 |
UNUSED, // OxydExtra stone 0x41 |
1356 |
UNUSED, // OxydExtra stone 0x42 |
UNUSED, // OxydExtra stone 0x42 |
1357 |
"st-mirror-p-", // OxydExtra stone 0x43 |
"st-mirror-p-", // OxydExtra stone 0x43 |