Browse Source

Removed cursor when game starts

pull/18/head
aperturesecurity 7 years ago
parent
commit
2060a8ea30
  1. 4
      Source/gmenu.cpp
  2. 1
      Stub/init.cpp

4
Source/gmenu.cpp

@ -596,7 +596,9 @@ void __fastcall gmenu_draw_menu_item(TMenuItem *pItem, int a2)
MyPcxFRAME = 1;
}
DrawArtWithMask(320 - (gdwLogoWidth / 2), -50, gdwLogoWidth, gdwLogoHeight, MyPcxFRAME, 250, pPcxLogoImage);
//DrawArtWithMask(320 - (gdwLogoWidth / 2), -50, gdwLogoWidth, gdwLogoHeight, MyPcxFRAME, 250, pPcxLogoImage);
CelDecodeOnly(64, 275, GameTitle, MyPcxFRAME, 640);
if (++diablogo_cel_frame == 29)
{

1
Stub/init.cpp

@ -72,6 +72,7 @@ void __fastcall init_create_window(int nCmdShow)
init_archives();
gmenu_init_menu();
SDL_Diablo_UI();
SDL_ShowCursor(SDL_DISABLE);
}
LRESULT __stdcall MainWndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)

Loading…
Cancel
Save