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

Add wide background for chest write

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 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))
return EXIT_FAILURE;
totalDim.x = LXLOGIC ();
totalDim.y = LYLOGIC ();
iconDim.x = 0;
iconDim.y = 0;
if (!g_pPixmap->Cache (
CHBACKCHESTW, "image/back-chest-w.png", totalDim, iconDim))
return EXIT_FAILURE;
totalDim.x = DIMCELX * 2 * 16;
totalDim.y = DIMCELY * 2 * 6;
iconDim.x = DIMCELX * 2;

View File

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

View File

@ -654,7 +654,7 @@ static Phase table[] =
{
EV_PHASE_WRITE,
"image/write.png",
CHNONE,
CHBACKCHESTW,
CPixmap::Mode::FIX,
false,
{
@ -733,7 +733,7 @@ static Phase table[] =
{
EV_PHASE_WRITEp,
"image/write.png",
CHNONE,
CHBACKCHESTW,
CPixmap::Mode::FIX,
false,
{