Browse Source

Fix starting locale game

pull/25/head
Anders Jenbo 7 years ago
parent
commit
806f3e9902
  1. 4
      Stub/DiabloUI/selconn.cpp
  2. 10
      Stub/DiabloUI/selhero.cpp
  3. 3
      Stub/DiabloUI/title.cpp

4
Stub/DiabloUI/selconn.cpp

@ -5,7 +5,7 @@ void selconn_Render()
DrawArt(0, 0, &ArtBackground); DrawArt(0, 0, &ArtBackground);
DrawLogo(); DrawLogo();
DrawArtStr(-1, 161, AFT_BIG, AFC_SILVER, "Multi Player Game", JustCentre); DrawArtStr(0, 161, AFT_BIG, AFC_SILVER, "Multi Player Game", JustCentre);
int w = 335; int w = 335;
int x = 280; int x = 280;
@ -122,7 +122,7 @@ int __stdcall UiSelectProvider(
break; break;
} }
selconn_Free(); selconn_Free();
endMenu = SNetInitializeProvider('SCBL', client_info, user_info, ui_info, file_info); endMenu = SNetInitializeProvider(provider, client_info, user_info, ui_info, file_info);
selconn_Load(); selconn_Load();
break; break;
} }

10
Stub/DiabloUI/selhero.cpp

@ -47,7 +47,7 @@ void selhero_Render(bool multiPlayer)
if (multiPlayer) { if (multiPlayer) {
title = "Multi Player Characters"; title = "Multi Player Characters";
} }
DrawArtStr(-1, 161, AFT_BIG, AFC_SILVER, title, JustCentre); DrawArtStr(0, 161, AFT_BIG, AFC_SILVER, title, JustCentre);
DrawArt(30, 211, &ArtHero, heroInfo.heroclass); DrawArt(30, 211, &ArtHero, heroInfo.heroclass);
RenderStats(); RenderStats();
@ -86,7 +86,7 @@ void selhero_Render_Name(bool multiPlayer)
title = "New Multi Player Hero"; title = "New Multi Player Hero";
} }
DrawArtStr(-1, 161, AFT_BIG, AFC_SILVER, title, JustCentre); DrawArtStr(0, 161, AFT_BIG, AFC_SILVER, title, JustCentre);
int w = 368; int w = 368;
int x = 241; int x = 241;
@ -124,7 +124,7 @@ void selhero_Render_ClassSelector(bool multiPlayer)
if (multiPlayer) { if (multiPlayer) {
title = "New Multi Player Hero"; title = "New Multi Player Hero";
} }
DrawArtStr(-1, 161, AFT_BIG, AFC_SILVER, title, JustCentre); DrawArtStr(0, 161, AFT_BIG, AFC_SILVER, title, JustCentre);
int w = 369; int w = 369;
int x = 241; int x = 241;
@ -404,7 +404,7 @@ void selhero_Render_DifficultySelection()
DrawArt(0, 0, &ArtBackground); DrawArt(0, 0, &ArtBackground);
DrawLogo(); DrawLogo();
DrawArtStr(-1, 161, AFT_BIG, AFC_SILVER, "Create Game", JustCentre); DrawArtStr(0, 161, AFT_BIG, AFC_SILVER, "Create Game", JustCentre);
int w = 333; int w = 333;
int x = 281; int x = 281;
@ -549,7 +549,7 @@ void selhero_Render_GameSelection()
DrawArt(0, 0, &ArtBackground); DrawArt(0, 0, &ArtBackground);
DrawLogo(); DrawLogo();
DrawArtStr(-1, 161, AFT_BIG, AFC_SILVER, "Join UPD Game", JustCentre); DrawArtStr(0, 161, AFT_BIG, AFC_SILVER, "Join UPD Game", JustCentre);
int w = 333; int w = 333;
int x = 281; int x = 281;

3
Stub/DiabloUI/title.cpp

@ -4,7 +4,8 @@ void title_Render()
{ {
DrawArt(0, 0, &ArtBackground); DrawArt(0, 0, &ArtBackground);
DrawArtStr(-1, 410, AFT_MED, AFC_SILVER, "Copyright \xA9 1996-2001 Blizzard Entertainment", JustCentre); DrawArtStr(0, 410, AFT_MED, AFC_SILVER, "Copyright \xA9 1996-2001 Blizzard Entertainment", JustCentre);
DrawLogo(182, LOGO_BIG); DrawLogo(182, LOGO_BIG);
} }

Loading…
Cancel
Save