diff options
Diffstat (limited to 'engines/mortevielle/outtext.cpp')
-rw-r--r-- | engines/mortevielle/outtext.cpp | 51 |
1 files changed, 22 insertions, 29 deletions
diff --git a/engines/mortevielle/outtext.cpp b/engines/mortevielle/outtext.cpp index 7c504232aa..4975185c37 100644 --- a/engines/mortevielle/outtext.cpp +++ b/engines/mortevielle/outtext.cpp @@ -1,45 +1,38 @@ Common::String delig; -const array<0, 31, byte> tabdr -= {{ - 32, 101, 115, 97, 114, 105, 110, - 117, 116, 111, 108, 13, 100, 99, - 112, 109, 46, 118, 130, 39, 102, - 98, 44, 113, 104, 103, 33, 76, - 85, 106, 30, 31 - } +const byte tabdr[32] = { + 32, 101, 115, 97, 114, 105, 110, + 117, 116, 111, 108, 13, 100, 99, + 112, 109, 46, 118, 130, 39, 102, + 98, 44, 113, 104, 103, 33, 76, + 85, 106, 30, 31 }; -const array<0, 31, byte> tab30 -= {{ - 69, 67, 74, 138, 133, 120, 77, 122, - 121, 68, 65, 63, 73, 80, 83, 82, - 156, 45, 58, 79, 49, 86, 78, 84, - 71, 81, 64, 66, 135, 34, 136, 91 - } +const byte tab30[32] = { + 69, 67, 74, 138, 133, 120, 77, 122, + 121, 68, 65, 63, 73, 80, 83, 82, + 156, 45, 58, 79, 49, 86, 78, 84, + 71, 81, 64, 66, 135, 34, 136, 91 }; -const array<0, 31, byte> tab31 -= {{ - 93, 47, 48, 53, 50, 70, 124, 75, - 72, 147, 140, 150, 151, 57, 56, 51, - 107, 139, 55, 89, 131, 37, 54, 88, - 119, 0, 0, 0, 0, 0, 0, 0 - } +const byte tab31[32]= { + 93, 47, 48, 53, 50, 70, 124, 75, + 72, 147, 140, 150, 151, 57, 56, 51, + 107, 139, 55, 89, 131, 37, 54, 88, + 119, 0, 0, 0, 0, 0, 0, 0 }; void deline(int num , phrase &l , int &tl); static void cinq_huit(char &c, int &ind, byte &pt, boolean &the_end) { - const array<0, 31, char> rap - = {{ ',', ':', '@', '!', '?', '-', '‡', - ' ', '…', 'ƒ', '‚', 'Š', 'ˆ', '/', - '‹', 'Œ', '¢', '\47', '“', '"', '—', - '–', '0', '1', '2', '3', '4', '5', - '6', '7', '8', '9' - } + const unsigned char rap[32] = { + ',', ':', '@', '!', '?', '-', '\207', + '\240', '\205', '\203', '\202', '\212', '\210', '/', + '\213', '\214', '\242', '\047', '\223', '"', '\227', + '\226', '0', '1', '2', '3', '4', '5', + '6', '7', '8', '9' }; int oct, ocd; |