(svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD

This commit is contained in:
rubidium
2011-11-17 21:09:08 +00:00
parent cc85ef493a
commit 6e31c2f068
10 changed files with 44 additions and 7 deletions

View File

@@ -259,13 +259,18 @@ static bool CreateMainSurface(uint w, uint h)
snprintf(caption, sizeof(caption), "OpenTTD %s", _openttd_revision);
SDL_CALL SDL_WM_SetCaption(caption, caption);
SDL_CALL SDL_ShowCursor(0);
GameSizeChanged();
return true;
}
bool VideoDriver_SDL::ClaimMousePointer()
{
SDL_CALL SDL_ShowCursor(0);
return true;
}
struct VkMapping {
uint16 vk_from;
byte vk_count;