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:
parent
c1abfd65fa
commit
1bedfdca85
BIN
resources/image/back-chest-w.png
Normal file
BIN
resources/image/back-chest-w.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
@ -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;
|
||||
|
@ -86,6 +86,7 @@
|
||||
#define CHMASK2 15
|
||||
#define CHBACKBUILD 16
|
||||
#define CHBACKBOOK 17
|
||||
#define CHBACKCHESTW 18
|
||||
|
||||
#define MAX_PRIVATE_MISSIONS 20
|
||||
|
||||
|
@ -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,
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user