aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/duckman/duckman_credits.cpp
diff options
context:
space:
mode:
authorEric Fry2018-06-26 22:35:31 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit989d8d9b8abecee3f0b72c92a05067e128fc6cdd (patch)
tree6879c75dccd45e4ae6f2396ee62425f625494f37 /engines/illusions/duckman/duckman_credits.cpp
parent7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056 (diff)
downloadscummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.tar.gz
scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.tar.bz2
scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.zip
ILLUSIONS: Formatting, remove trailing whitespace.
Diffstat (limited to 'engines/illusions/duckman/duckman_credits.cpp')
-rw-r--r--engines/illusions/duckman/duckman_credits.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/engines/illusions/duckman/duckman_credits.cpp b/engines/illusions/duckman/duckman_credits.cpp
index ccbde8daf3..804d55e4d3 100644
--- a/engines/illusions/duckman/duckman_credits.cpp
+++ b/engines/illusions/duckman/duckman_credits.cpp
@@ -100,7 +100,7 @@ int DuckmanCredits::update(uint flags) {
uint16 wtext[128];
charToWChar(text, wtext, ARRAYSIZE(wtext));
- FontResource *font = _vm->_dict->findFont(0x120001);
+ FontResource *font = _vm->_dict->findFont(0x120001);
TextDrawer textDrawer;
WidthHeight dimensions;
uint16 *outText;
@@ -158,28 +158,28 @@ char *DuckmanCredits::readNextLine() {
Common::Point DuckmanCredits::getItemPosition(int index) {
static const struct { int16 x, y; } kCreditsItemsPoints[] = {
- {159, 200}, {158, 195}, {157, 190}, {156, 185}, {156, 180}, {157, 176},
- {158, 172}, {159, 168}, {161, 164}, {162, 161}, {163, 158}, {163, 155},
- {162, 152}, {161, 149}, {159, 147}, {158, 144}, {157, 142}, {156, 140},
- {156, 138}, {157, 136}, {158, 134}, {159, 132}, {161, 130}, {162, 128},
- {163, 127}, {163, 126}, {162, 125}, {161, 124}, {159, 123}, {158, 122},
- {157, 121}, {156, 120}, {156, 119}, {157, 118}, {158, 117}, {159, 116},
- {161, 115}, {162, 114}, {163, 113}, {163, 112}, {162, 111}, {161, 110},
- {159, 109}, {158, 108}, {157, 107}, {156, 106}, {156, 105}, {157, 104},
- {158, 103}, {159, 102}, {161, 101}, {162, 100}, {163, 99}, {163, 98},
- {162, 97}, {161, 96}, {159, 95}, {158, 94}, {157, 93}, {156, 92},
- {156, 91}, {157, 90}, {158, 89}, {159, 88}, {161, 87}, {162, 86},
- {163, 85}, {163, 84}, {162, 83}, {161, 82}, {159, 81}, {158, 80},
+ {159, 200}, {158, 195}, {157, 190}, {156, 185}, {156, 180}, {157, 176},
+ {158, 172}, {159, 168}, {161, 164}, {162, 161}, {163, 158}, {163, 155},
+ {162, 152}, {161, 149}, {159, 147}, {158, 144}, {157, 142}, {156, 140},
+ {156, 138}, {157, 136}, {158, 134}, {159, 132}, {161, 130}, {162, 128},
+ {163, 127}, {163, 126}, {162, 125}, {161, 124}, {159, 123}, {158, 122},
+ {157, 121}, {156, 120}, {156, 119}, {157, 118}, {158, 117}, {159, 116},
+ {161, 115}, {162, 114}, {163, 113}, {163, 112}, {162, 111}, {161, 110},
+ {159, 109}, {158, 108}, {157, 107}, {156, 106}, {156, 105}, {157, 104},
+ {158, 103}, {159, 102}, {161, 101}, {162, 100}, {163, 99}, {163, 98},
+ {162, 97}, {161, 96}, {159, 95}, {158, 94}, {157, 93}, {156, 92},
+ {156, 91}, {157, 90}, {158, 89}, {159, 88}, {161, 87}, {162, 86},
+ {163, 85}, {163, 84}, {162, 83}, {161, 82}, {159, 81}, {158, 80},
{157, 79}, {156, 78}, {156, 77}, {157, 76}, {158, 75}, {159, 74},
- {161, 73}, {162, 72}, {163, 71}, {163, 70}, {162, 69}, {161, 68},
- {159, 67}, {158, 66}, {157, 64}, {156, 62}, {156, 60}, {157, 58},
- {158, 56}, {159, 54}, {161, 52}, {162, 50}, {163, 40}, {163, 40},
- {162, 40}, {161, 40}, {159, 40}, {158, 40}, {157, 40}, {156, 40},
- {156, 40}, {157, 40}, {158, 40}, {159, 40}, {161, 40}, {162, 40},
- {163, 40}, {163, 40}, {162, 40}, {161, 40}, {159, 40}, {158, 40},
- {157, 40}, {156, 40}, {156, 40}, {157, 40}, {158, 40}, {159, 40},
- {161, 40}, {162, 40}, {163, 40}, {163, 40}, {162, 40}, {161, 40},
- {159, 40}, {158, 40}, { -1, -1}
+ {161, 73}, {162, 72}, {163, 71}, {163, 70}, {162, 69}, {161, 68},
+ {159, 67}, {158, 66}, {157, 64}, {156, 62}, {156, 60}, {157, 58},
+ {158, 56}, {159, 54}, {161, 52}, {162, 50}, {163, 40}, {163, 40},
+ {162, 40}, {161, 40}, {159, 40}, {158, 40}, {157, 40}, {156, 40},
+ {156, 40}, {157, 40}, {158, 40}, {159, 40}, {161, 40}, {162, 40},
+ {163, 40}, {163, 40}, {162, 40}, {161, 40}, {159, 40}, {158, 40},
+ {157, 40}, {156, 40}, {156, 40}, {157, 40}, {158, 40}, {159, 40},
+ {161, 40}, {162, 40}, {163, 40}, {163, 40}, {162, 40}, {161, 40},
+ {159, 40}, {158, 40}, { -1, -1}
};
if (index < 0 || index >= ARRAYSIZE(kCreditsItemsPoints))