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

Add wide background for chest read

This commit is contained in:
Mathieu Schroeter 2018-07-22 16:09:12 +02:00
parent 1bedfdca85
commit 8299c401a6
4 changed files with 11 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

View File

@ -862,6 +862,14 @@ DoInit (int argc, char * argv[], bool & exit)
if (!g_pPixmap->Cache (CHBACKBOOK, "image/back-book.png", totalDim, iconDim)) if (!g_pPixmap->Cache (CHBACKBOOK, "image/back-book.png", totalDim, iconDim))
return EXIT_FAILURE; return EXIT_FAILURE;
totalDim.x = LXLOGIC ();
totalDim.y = LYLOGIC ();
iconDim.x = 0;
iconDim.y = 0;
if (!g_pPixmap->Cache (
CHBACKCHESTR, "image/back-chest-r.png", totalDim, iconDim))
return EXIT_FAILURE;
totalDim.x = LXLOGIC (); totalDim.x = LXLOGIC ();
totalDim.y = LYLOGIC (); totalDim.y = LYLOGIC ();
iconDim.x = 0; iconDim.x = 0;

View File

@ -86,7 +86,8 @@
#define CHMASK2 15 #define CHMASK2 15
#define CHBACKBUILD 16 #define CHBACKBUILD 16
#define CHBACKBOOK 17 #define CHBACKBOOK 17
#define CHBACKCHESTW 18 #define CHBACKCHESTR 18
#define CHBACKCHESTW 19
#define MAX_PRIVATE_MISSIONS 20 #define MAX_PRIVATE_MISSIONS 20

View File

@ -575,7 +575,7 @@ static Phase table[] =
{ {
EV_PHASE_READ, EV_PHASE_READ,
"image/read.png", "image/read.png",
CHNONE, CHBACKCHESTR,
CPixmap::Mode::FIX, CPixmap::Mode::FIX,
false, false,
{ {