diff --git a/resources/image/back-chest-r.png b/resources/image/back-chest-r.png new file mode 100644 index 0000000..ea90849 Binary files /dev/null and b/resources/image/back-chest-r.png differ diff --git a/src/blupi.cxx b/src/blupi.cxx index 3d334e9..54f32f5 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 ( + CHBACKCHESTR, "image/back-chest-r.png", totalDim, iconDim)) + return EXIT_FAILURE; + totalDim.x = LXLOGIC (); totalDim.y = LYLOGIC (); iconDim.x = 0; diff --git a/src/def.h b/src/def.h index 2a40be1..9d00ab1 100644 --- a/src/def.h +++ b/src/def.h @@ -86,7 +86,8 @@ #define CHMASK2 15 #define CHBACKBUILD 16 #define CHBACKBOOK 17 -#define CHBACKCHESTW 18 +#define CHBACKCHESTR 18 +#define CHBACKCHESTW 19 #define MAX_PRIVATE_MISSIONS 20 diff --git a/src/event.cxx b/src/event.cxx index 74b50b6..cabc116 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -575,7 +575,7 @@ static Phase table[] = { EV_PHASE_READ, "image/read.png", - CHNONE, + CHBACKCHESTR, CPixmap::Mode::FIX, false, {