mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add widescreen background for wind and lost screens
This commit is contained in:
parent
f7eab8a329
commit
d458b67fd2
BIN
resources/image/back-lost.png
Normal file
BIN
resources/image/back-lost.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
BIN
resources/image/back-win.png
Normal file
BIN
resources/image/back-win.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 132 KiB |
@ -886,6 +886,20 @@ DoInit (int argc, char * argv[], bool & exit)
|
|||||||
CHBACKCHESTW, "image/back-chest-w.png", totalDim, iconDim))
|
CHBACKCHESTW, "image/back-chest-w.png", totalDim, iconDim))
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
|
totalDim.x = LXLOGIC ();
|
||||||
|
totalDim.y = LYLOGIC ();
|
||||||
|
iconDim.x = 0;
|
||||||
|
iconDim.y = 0;
|
||||||
|
if (!g_pPixmap->Cache (CHBACKWIN, "image/back-win.png", totalDim, iconDim))
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
|
totalDim.x = LXLOGIC ();
|
||||||
|
totalDim.y = LYLOGIC ();
|
||||||
|
iconDim.x = 0;
|
||||||
|
iconDim.y = 0;
|
||||||
|
if (!g_pPixmap->Cache (CHBACKLOST, "image/back-lost.png", totalDim, iconDim))
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
totalDim.x = LXLOGIC ();
|
totalDim.x = LXLOGIC ();
|
||||||
totalDim.y = LYLOGIC ();
|
totalDim.y = LYLOGIC ();
|
||||||
iconDim.x = 0;
|
iconDim.x = 0;
|
||||||
|
@ -90,6 +90,8 @@
|
|||||||
#define CHBACKCHESTW 19
|
#define CHBACKCHESTW 19
|
||||||
#define CHBACKSETUP 20
|
#define CHBACKSETUP 20
|
||||||
#define CHBACKBYE 21
|
#define CHBACKBYE 21
|
||||||
|
#define CHBACKWIN 22
|
||||||
|
#define CHBACKLOST 23
|
||||||
|
|
||||||
#define MAX_PRIVATE_MISSIONS 20
|
#define MAX_PRIVATE_MISSIONS 20
|
||||||
|
|
||||||
|
@ -812,7 +812,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_LOST,
|
EV_PHASE_LOST,
|
||||||
"image/lost.png",
|
"image/lost.png",
|
||||||
CHNONE,
|
CHBACKLOST,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
@ -831,7 +831,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_WIN,
|
EV_PHASE_WIN,
|
||||||
"image/win.png",
|
"image/win.png",
|
||||||
CHNONE,
|
CHBACKWIN,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user