diff --git a/resources/image/back-chest-w.png b/resources/image/back-chest-w.png new file mode 100644 index 0000000..35b205c Binary files /dev/null and b/resources/image/back-chest-w.png differ diff --git a/src/blupi.cxx b/src/blupi.cxx index fc67efc..3d334e9 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -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; diff --git a/src/def.h b/src/def.h index 8a2ba17..2a40be1 100644 --- a/src/def.h +++ b/src/def.h @@ -86,6 +86,7 @@ #define CHMASK2 15 #define CHBACKBUILD 16 #define CHBACKBOOK 17 +#define CHBACKCHESTW 18 #define MAX_PRIVATE_MISSIONS 20 diff --git a/src/event.cxx b/src/event.cxx index a53e7a0..74b50b6 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -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, {