Changed Title Logo

Started placing g2.dat sprites in resources/g2
This commit is contained in:
Robert Jordan 2015-05-18 23:33:21 -04:00
parent c1260fc11f
commit c48645a67a
5 changed files with 5 additions and 2 deletions

Binary file not shown.

BIN
resources/g2/0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
resources/g2/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -347,7 +347,8 @@ enum {
SPR_CREDITS_INFOGRAMES = 23230,
SPR_G2_BEGIN = 324288,
SPR_G2_LOGO = SPR_G2_BEGIN + 0
SPR_G2_LOGO = SPR_G2_BEGIN + 0,
SPR_G2_TITLE = SPR_G2_BEGIN + 1
};
#endif

View File

@ -102,7 +102,9 @@ static void window_title_logo_paint()
window_paint_get_registers(w, dpi);
// gfx_draw_sprite(dpi, SPR_MENU_LOGO, w->x, w->y, 0);
gfx_draw_sprite(dpi, SPR_G2_LOGO, w->x, w->y, 0);
int x = 2, y = 2;
gfx_draw_sprite(dpi, SPR_G2_LOGO, w->x + x, w->y + y, 0);
gfx_draw_sprite(dpi, SPR_G2_TITLE, w->x + x + 104, w->y + y + 18, 0);
window_title_logo_draw_expansion_packs(dpi);
}