summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pregame.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/pregame.cpp b/src/pregame.cpp
index 0d8a78f..6ac04de 100644
--- a/src/pregame.cpp
+++ b/src/pregame.cpp
@@ -81,9 +81,19 @@ void LoadPregameStyleNameAndNumber(m2d::EmbedLayout_c *layout) {
wcscpy(levelNumber, L"World ");
getNewerLevelNumberString(level->displayWorld, level->displayLevel, &levelNumber[6]);
- LevelNumShadow->SetString(levelNumber);
LevelNum->SetString(levelNumber);
+ // make the picture shadowy
+ int sidx = 0;
+ while (levelNumber[sidx]) {
+ if (levelNumber[sidx] == 11) {
+ levelNumber[sidx+1] = 0x200 | (levelNumber[sidx+1]&0xFF);
+ sidx += 2;
+ }
+ sidx++;
+ }
+ LevelNumShadow->SetString(levelNumber);
+
} else {
LevelNameShadow->SetString(L"Not found in LevelInfo!");
LevelName->SetString(L"Not found in LevelInfo!");