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->DrawImage (-1, CHBACK, rcRect); // dessine le fond
|
||||||
g_pPixmap->Display ();
|
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.x = LXLOGIC ();
|
||||||
totalDim.y = LYLOGIC ();
|
totalDim.y = LYLOGIC ();
|
||||||
iconDim.x = 0;
|
iconDim.x = 0;
|
||||||
|
@ -92,6 +92,7 @@
|
|||||||
#define CHBACKBYE 21
|
#define CHBACKBYE 21
|
||||||
#define CHBACKWIN 22
|
#define CHBACKWIN 22
|
||||||
#define CHBACKLOST 23
|
#define CHBACKLOST 23
|
||||||
|
#define CHBACKTITLE 24
|
||||||
|
|
||||||
#define MAX_PRIVATE_MISSIONS 20
|
#define MAX_PRIVATE_MISSIONS 20
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_TESTCD,
|
EV_PHASE_TESTCD,
|
||||||
"image/init.png",
|
"image/init.png",
|
||||||
CHNONE,
|
CHBACKTITLE,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
@ -128,7 +128,7 @@ static Phase table[] =
|
|||||||
{
|
{
|
||||||
EV_PHASE_INIT,
|
EV_PHASE_INIT,
|
||||||
"image/init.png",
|
"image/init.png",
|
||||||
CHNONE,
|
CHBACKTITLE,
|
||||||
CPixmap::Mode::FIX,
|
CPixmap::Mode::FIX,
|
||||||
false,
|
false,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user