diff --git a/resources/image/back-setup.png b/resources/image/back-setup.png new file mode 100644 index 0000000..7ba962b Binary files /dev/null and b/resources/image/back-setup.png differ diff --git a/src/blupi.cxx b/src/blupi.cxx index 54f32f5..9eaffb3 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 ( + CHBACKSETUP, "image/back-setup.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 9d00ab1..4109f21 100644 --- a/src/def.h +++ b/src/def.h @@ -88,6 +88,7 @@ #define CHBACKBOOK 17 #define CHBACKCHESTR 18 #define CHBACKCHESTW 19 +#define CHBACKSETUP 20 #define MAX_PRIVATE_MISSIONS 20 diff --git a/src/event.cxx b/src/event.cxx index cabc116..2e57b43 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -417,7 +417,7 @@ static Phase table[] = { EV_PHASE_SETUP, "image/setup01.png", - CHNONE, + CHBACKSETUP, CPixmap::Mode::FIX, false, { @@ -496,7 +496,7 @@ static Phase table[] = { EV_PHASE_SETUPp, "image/setup01.png", - CHNONE, + CHBACKSETUP, CPixmap::Mode::FIX, false, { @@ -1524,7 +1524,7 @@ static Phase table[] = { EV_PHASE_SETTINGS, "image/setup00.png", - CHNONE, + CHBACKSETUP, CPixmap::Mode::FIX, false, {