forked from mirror/OpenTTD
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
This commit is contained in:
@@ -727,7 +727,7 @@ static void AbortGeneratingWorldCallback(Window *w, bool confirmed)
|
||||
if (confirmed) {
|
||||
AbortGeneratingWorld();
|
||||
} else if (IsGeneratingWorld() && !IsGeneratingWorldAborted()) {
|
||||
SetMouseCursor(SPR_CURSOR_ZZZ);
|
||||
SetMouseCursor(SPR_CURSOR_ZZZ, PAL_NONE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -737,7 +737,7 @@ static void ShowTerrainProgressProc(Window* w, WindowEvent* e)
|
||||
case WE_CLICK:
|
||||
switch (e->we.click.widget) {
|
||||
case 2:
|
||||
if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE);
|
||||
if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE);
|
||||
ShowQuery(
|
||||
STR_GENERATION_ABORT_CAPTION,
|
||||
STR_GENERATION_ABORT_MESSAGE,
|
||||
|
Reference in New Issue
Block a user