aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles/logic.cpp
diff options
context:
space:
mode:
authorCameron Cawley2019-06-23 22:37:15 +0100
committerLe Philousophe2019-06-23 23:37:15 +0200
commit3cca7f938f604c42e3540c423c52650c61a41888 (patch)
tree859fce6f38e1b3a82d63400e926fb431a9b7c15d /engines/cryomni3d/versailles/logic.cpp
parenta1fef1fe9ba4c4c6a10af100453b7b3e516acfee (diff)
downloadscummvm-rg350-3cca7f938f604c42e3540c423c52650c61a41888.tar.gz
scummvm-rg350-3cca7f938f604c42e3540c423c52650c61a41888.tar.bz2
scummvm-rg350-3cca7f938f604c42e3540c423c52650c61a41888.zip
CRYOMNI3D: Fix warnings (#1699)
Diffstat (limited to 'engines/cryomni3d/versailles/logic.cpp')
-rw-r--r--engines/cryomni3d/versailles/logic.cpp116
1 files changed, 100 insertions, 16 deletions
diff --git a/engines/cryomni3d/versailles/logic.cpp b/engines/cryomni3d/versailles/logic.cpp
index 48c919b2b3..6ce21bc1a2 100644
--- a/engines/cryomni3d/versailles/logic.cpp
+++ b/engines/cryomni3d/versailles/logic.cpp
@@ -3010,26 +3010,110 @@ bool CryOmni3DEngine_Versailles::handleBomb(ZonFixedImage *fimg) {
}
const char *CryOmni3DEngine_Versailles::kBombPassword = "JEMENVAISMAISLETATDEMEURERATOUJOURS";
-// We use brace elision here because it's dumped from the EXE
const uint16 CryOmni3DEngine_Versailles::kBombLettersPos[2][kBombPasswordMaxLength][2] = {
{
- 26, 91, 84, 89, 141, 89, 202, 88, 261, 87, 322, 86, 384, 85, 448, 84,
- 512, 83, 576, 83, 26, 175, 84, 175, 142, 174, 202, 174, 260, 174, 322,
- 174, 384, 173, 448, 173, 512, 173, 576, 172, 26, 261, 84, 261, 141,
- 261, 202, 261, 261, 262, 322, 262, 383, 262, 447, 263, 512, 263, 576,
- 263, 26, 344, 84, 345, 142, 346, 202, 347, 260, 348, 322, 349, 384,
- 350, 448, 351, 512, 352, 576, 352
+ {26, 91},
+ {84, 89},
+ {141, 89},
+ {202, 88},
+ {261, 87},
+ {322, 86},
+ {384, 85},
+ {448, 84},
+ {512, 83},
+ {576, 83},
+ {26, 175},
+ {84, 175},
+ {142, 174},
+ {202, 174},
+ {260, 174},
+ {322, 174},
+ {384, 173},
+ {448, 173},
+ {512, 173},
+ {576, 172},
+ {26, 261},
+ {84, 261},
+ {141, 261},
+ {202, 261},
+ {261, 262},
+ {322, 262},
+ {383, 262},
+ {447, 263},
+ {512, 263},
+ {576, 263},
+ {26, 344},
+ {84, 345},
+ {142, 346},
+ {202, 347},
+ {260, 348},
+ {322, 349},
+ {384, 350},
+ {448, 351},
+ {512, 352},
+ {576, 352}
},
{
- 42, 26, 100, 24, 155, 22, 214, 19, 271, 18, 330, 15, 389, 14, 451, 11,
- 515, 8, 576, 6, 45, 102, 100, 102, 156, 101, 215, 100, 272, 99, 331,
- 98, 391, 97, 453, 96, 515, 94, 578, 94, 44, 184, 101, 184, 157, 184,
- 215, 183, 272, 183, 331, 183, 391, 182, 453, 182, 515, 182, 577, 181,
- 44, 267, 101, 267, 157, 267, 215, 268, 272, 268, 331, 268, 390, 269,
- 453, 269, 515, 269, 578, 269, 45, 348, 101, 349, 156, 349, 215, 351,
- 271, 351, 331, 351, 391, 353, 453, 354, 515, 355, 577, 356, 44, 434,
- 101, 435, 156, 436, 215, 437, 272, 437, 331, 437, 391, 439, 453, 440,
- 515, 441, 578, 442
+ {42, 26},
+ {100, 24},
+ {155, 22},
+ {214, 19},
+ {271, 18},
+ {330, 15},
+ {389, 14},
+ {451, 11},
+ {515, 8},
+ {576, 6},
+ {45, 102},
+ {100, 102},
+ {156, 101},
+ {215, 100},
+ {272, 99},
+ {331, 98},
+ {391, 97},
+ {453, 96},
+ {515, 94},
+ {578, 94},
+ {44, 184},
+ {101, 184},
+ {157, 184},
+ {215, 183},
+ {272, 183},
+ {331, 183},
+ {391, 182},
+ {453, 182},
+ {515, 182},
+ {577, 181},
+ {44, 267},
+ {101, 267},
+ {157, 267},
+ {215, 268},
+ {272, 268},
+ {331, 268},
+ {390, 269},
+ {453, 269},
+ {515, 269},
+ {578, 269},
+ {45, 348},
+ {101, 349},
+ {156, 349},
+ {215, 351},
+ {271, 351},
+ {331, 351},
+ {391, 353},
+ {453, 354},
+ {515, 355},
+ {577, 356},
+ {44, 434},
+ {101, 435},
+ {156, 436},
+ {215, 437},
+ {272, 437},
+ {331, 437},
+ {391, 439},
+ {453, 440},
+ {515, 441},
+ {578, 442}
},
};