Browse Source

Remove mouse from credit page

pull/25/head
Anders Jenbo 7 years ago
parent
commit
199fd17e2e
  1. 1
      Source/mainmenu.cpp
  2. 4
      Stub/DiabloUI/credits.cpp
  3. 3
      Stub/DiabloUI/mainmenu.cpp
  4. 3
      Stub/DiabloUI/selconn.cpp
  5. 8
      Stub/DiabloUI/selhero.cpp
  6. 3
      Stub/DiabloUI/title.cpp

1
Source/mainmenu.cpp

@ -47,6 +47,7 @@ int __stdcall mainmenu_select_hero_dialog(
&gnDifficulty))
TermMsg("Unable to display SelHeroSing");
if (dlgresult == 2)
gbLoadGame = TRUE;
else

4
Stub/DiabloUI/credits.cpp

@ -555,8 +555,8 @@ BOOL __stdcall UiCreditsDialog(int a1)
SDL_Event event;
while (!endMenu && lineCount > 0) {
CapFPS();
credts_Render();
DrawMouse();
UiFadeIn();
while (SDL_PollEvent(&event)) {
@ -569,8 +569,6 @@ BOOL __stdcall UiCreditsDialog(int a1)
exit(0);
}
}
CapFPS();
}
BlackPalette();

3
Stub/DiabloUI/mainmenu.cpp

@ -66,6 +66,7 @@ BOOL __stdcall UiMainMenuDialog(char *name, int *pdwResult, void(__stdcall *fnSo
bool endMenu = false;
while (!endMenu) {
CapFPS();
mainmenu_Render(name);
DrawMouse();
UiFadeIn();
@ -165,8 +166,6 @@ BOOL __stdcall UiMainMenuDialog(char *name, int *pdwResult, void(__stdcall *fnSo
break;
}
}
CapFPS();
}
BlackPalette();

3
Stub/DiabloUI/selconn.cpp

@ -66,6 +66,7 @@ int __stdcall UiSelectProvider(int a1, _SNETPROGRAMDATA *client_info, _SNETPLAYE
bool endMenu = false;
while (!endMenu) {
CapFPS();
selconn_Render();
DrawMouse();
UiFadeIn();
@ -124,8 +125,6 @@ int __stdcall UiSelectProvider(int a1, _SNETPROGRAMDATA *client_info, _SNETPLAYE
exit(0);
}
}
CapFPS();
}
BlackPalette();

8
Stub/DiabloUI/selhero.cpp

@ -224,6 +224,8 @@ BOOL __stdcall UiSelHeroSingDialog(
bool endMenu = false;
while (!endMenu) {
CapFPS();
switch (submenu) {
case SINGLEPLAYER_LOAD:
selhero_Render();
@ -340,8 +342,6 @@ BOOL __stdcall UiSelHeroSingDialog(
exit(0);
}
}
CapFPS();
}
BlackPalette();
@ -396,6 +396,8 @@ BOOL __stdcall UiSelHeroMultDialog(
int endMenu = false;
while (endMenu == false) {
CapFPS();
switch (submenu) {
case MULTIPLAYER_LOBBY:
selhero_Render_GameType(HeroChosen, 1);
@ -562,8 +564,6 @@ BOOL __stdcall UiSelHeroMultDialog(
exit(0);
}
}
CapFPS();
}
BlackPalette();

3
Stub/DiabloUI/title.cpp

@ -28,6 +28,7 @@ BOOL __stdcall UiTitleDialog(int a1)
SDL_Event event;
while (!endMenu && SDL_GetTicks() < timeOut) {
CapFPS();
title_Render();
UiFadeIn();
@ -41,8 +42,6 @@ BOOL __stdcall UiTitleDialog(int a1)
exit(0);
}
}
CapFPS();
}
BlackPalette();

Loading…
Cancel
Save