mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Use the book background on widescreen
This commit is contained in:
parent
108c577b85
commit
cf02f03a6c
Binary file not shown.
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 112 KiB |
@ -760,7 +760,15 @@ DoInit (int argc, char * argv[], bool & exit)
|
|||||||
totalDim.y = LYLOGIC;
|
totalDim.y = LYLOGIC;
|
||||||
iconDim.x = 0;
|
iconDim.x = 0;
|
||||||
iconDim.y = 0;
|
iconDim.y = 0;
|
||||||
if (!g_pPixmap->Cache (CHBACKBUILD, "image/back-build.png", totalDim, iconDim))
|
if (!g_pPixmap->Cache (
|
||||||
|
CHBACKBUILD, "image/back-build.png", totalDim, iconDim))
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
|
totalDim.x = LXLOGIC;
|
||||||
|
totalDim.y = LYLOGIC;
|
||||||
|
iconDim.x = 0;
|
||||||
|
iconDim.y = 0;
|
||||||
|
if (!g_pPixmap->Cache (CHBACKBOOK, "image/back-book.png", totalDim, iconDim))
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
totalDim.x = DIMCELX * 2 * 16;
|
totalDim.x = DIMCELX * 2 * 16;
|
||||||
|
@ -90,6 +90,7 @@
|
|||||||
#define CHBIGNUM 14
|
#define CHBIGNUM 14
|
||||||
#define CHMASK2 15
|
#define CHMASK2 15
|
||||||
#define CHBACKBUILD 16
|
#define CHBACKBUILD 16
|
||||||
|
#define CHBACKBOOK 17
|
||||||
|
|
||||||
#define FOGHIDE 4
|
#define FOGHIDE 4
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
@ -172,7 +172,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_HISTORY0,
|
EV_PHASE_HISTORY0,
|
||||||
"image/history0.png",
|
"image/history0.png",
|
||||||
CHNONE,
|
CHBACKBOOK,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
@ -197,7 +197,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_HISTORY1,
|
EV_PHASE_HISTORY1,
|
||||||
"image/history1.png",
|
"image/history1.png",
|
||||||
CHNONE,
|
CHBACKBOOK,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
@ -222,7 +222,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_INFO,
|
EV_PHASE_INFO,
|
||||||
"image/info%.3d.png",
|
"image/info%.3d.png",
|
||||||
CHNONE,
|
CHBACKBOOK,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
@ -320,7 +320,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_STOP,
|
EV_PHASE_STOP,
|
||||||
"image/stop%.3d.png",
|
"image/stop%.3d.png",
|
||||||
CHNONE,
|
CHBACKBOOK,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
@ -369,7 +369,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_HELP,
|
EV_PHASE_HELP,
|
||||||
"image/help.png",
|
"image/help.png",
|
||||||
CHNONE,
|
CHBACKBOOK,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user