summaryrefslogtreecommitdiff
path: root/src/blupi.cxx
diff options
context:
space:
mode:
authorMathieu Schroeter <mathieu@schroetersa.ch>2018-07-23 23:34:06 +0200
committerMathieu Schroeter <mathieu@schroetersa.ch>2018-07-23 23:34:06 +0200
commit8d67df23b13e623872e7323c5827000c3f4514ba (patch)
treed2c80b792b6d99f1e35faa51fcbb4553d06dfb5a /src/blupi.cxx
parent76783ebfa639506bb0ddcf7a8d7f9e3e6663ae91 (diff)
Add widescreen background for school win screen
Diffstat (limited to 'src/blupi.cxx')
-rw-r--r--src/blupi.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/blupi.cxx b/src/blupi.cxx
index 04d8358..62e88ef 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -905,6 +905,13 @@ DoInit (int argc, char * argv[], bool & exit)
totalDim.y = LYLOGIC ();
iconDim.x = 0;
iconDim.y = 0;
+ if (!g_pPixmap->Cache (CHBACKWIN0, "image/back-disco.png", totalDim, iconDim))
+ return EXIT_FAILURE;
+
+ totalDim.x = LXLOGIC ();
+ totalDim.y = LYLOGIC ();
+ iconDim.x = 0;
+ iconDim.y = 0;
if (!g_pPixmap->Cache (CHBACKLOST, "image/back-lost.png", totalDim, iconDim))
return EXIT_FAILURE;