mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add widescreen background for title screen
This commit is contained in:
parent
d458b67fd2
commit
83d5b34416
@ -847,6 +847,14 @@ DoInit (int argc, char * argv[], bool & exit)
|
||||
g_pPixmap->DrawImage (-1, CHBACK, rcRect); // dessine le fond
|
||||
g_pPixmap->Display ();
|
||||
|
||||
totalDim.x = LXLOGIC ();
|
||||
totalDim.y = LYLOGIC ();
|
||||
iconDim.x = 0;
|
||||
iconDim.y = 0;
|
||||
if (!g_pPixmap->Cache (
|
||||
CHBACKTITLE, "image/back-title.png", totalDim, iconDim))
|
||||
return EXIT_FAILURE;
|
||||
|
||||
totalDim.x = LXLOGIC ();
|
||||
totalDim.y = LYLOGIC ();
|
||||
iconDim.x = 0;
|
||||
|
@ -92,6 +92,7 @@
|
||||
#define CHBACKBYE 21
|
||||
#define CHBACKWIN 22
|
||||
#define CHBACKLOST 23
|
||||
#define CHBACKTITLE 24
|
||||
|
||||
#define MAX_PRIVATE_MISSIONS 20
|
||||
|
||||
|
@ -102,7 +102,7 @@ static Phase table[] =
|
||||
{
|
||||
EV_PHASE_TESTCD,
|
||||
"image/init.png",
|
||||
CHNONE,
|
||||
CHBACKTITLE,
|
||||
CPixmap::Mode::FIX,
|
||||
false,
|
||||
{
|
||||
@ -128,7 +128,7 @@ static Phase table[] =
|
||||
{
|
||||
EV_PHASE_INIT,
|
||||
"image/init.png",
|
||||
CHNONE,
|
||||
CHBACKTITLE,
|
||||
CPixmap::Mode::FIX,
|
||||
false,
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user