diff --git a/resources/image/back-bye.png b/resources/image/back-bye.png new file mode 100644 index 0000000..8829f68 Binary files /dev/null and b/resources/image/back-bye.png differ diff --git a/src/blupi.cxx b/src/blupi.cxx index 9eaffb3..17618a2 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -886,6 +886,13 @@ DoInit (int argc, char * argv[], bool & exit) CHBACKCHESTW, "image/back-chest-w.png", totalDim, iconDim)) return EXIT_FAILURE; + totalDim.x = LXLOGIC (); + totalDim.y = LYLOGIC (); + iconDim.x = 0; + iconDim.y = 0; + if (!g_pPixmap->Cache (CHBACKBYE, "image/back-bye.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 4109f21..e312596 100644 --- a/src/def.h +++ b/src/def.h @@ -89,6 +89,7 @@ #define CHBACKCHESTR 18 #define CHBACKCHESTW 19 #define CHBACKSETUP 20 +#define CHBACKBYE 21 #define MAX_PRIVATE_MISSIONS 20 diff --git a/src/event.cxx b/src/event.cxx index 2e57b43..1f55c8a 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -1492,7 +1492,7 @@ static Phase table[] = { EV_PHASE_BYE, "image/bye.png", - CHNONE, + CHBACKBYE, CPixmap::Mode::FIX, false, {