1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Add widescreen background for wind and lost screens

This commit is contained in:
Mathieu Schroeter 2018-07-23 17:49:35 +02:00
parent f7eab8a329
commit d458b67fd2
5 changed files with 18 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

View File

@ -886,6 +886,20 @@ DoInit (int argc, char * argv[], bool & exit)
CHBACKCHESTW, "image/back-chest-w.png", totalDim, iconDim))
return EXIT_FAILURE;
totalDim.x = LXLOGIC ();
totalDim.y = LYLOGIC ();
iconDim.x = 0;
iconDim.y = 0;
if (!g_pPixmap->Cache (CHBACKWIN, "image/back-win.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;
totalDim.x = LXLOGIC ();
totalDim.y = LYLOGIC ();
iconDim.x = 0;

View File

@ -90,6 +90,8 @@
#define CHBACKCHESTW 19
#define CHBACKSETUP 20
#define CHBACKBYE 21
#define CHBACKWIN 22
#define CHBACKLOST 23
#define MAX_PRIVATE_MISSIONS 20

View File

@ -812,7 +812,7 @@ static Phase table[] =
{
EV_PHASE_LOST,
"image/lost.png",
CHNONE,
CHBACKLOST,
CPixmap::Mode::FIX,
true,
{
@ -831,7 +831,7 @@ static Phase table[] =
{
EV_PHASE_WIN,
"image/win.png",
CHNONE,
CHBACKWIN,
CPixmap::Mode::FIX,
true,
{