Cleanup and an accuracy improvement

This commit is contained in:
Clownacy 2019-07-16 13:21:21 +01:00
parent 6c7d49ad50
commit 36fdb4596d
2 changed files with 3 additions and 5 deletions

View file

@ -250,7 +250,6 @@ static BOOL LoadBitmap(SDL_RWops *fp, Surface_Ids surf_no, BOOL create_surface)
}
SDL_FreeSurface(converted_surface);
//surf[surf_no].needs_updating = TRUE;
printf(" ^ Successfully loaded\n");
success = TRUE;
}

View file

@ -208,7 +208,7 @@ int main(int argc, char *argv[])
}
}
RECT unused_rect = {0, 0, 320, 240};
RECT unused_rect = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT};
// Load cursor
size_t size;
@ -265,7 +265,6 @@ int main(int argc, char *argv[])
StartDirectDraw(0, 0);
else
StartDirectDraw(1, 0);
break;
}
break;
@ -299,8 +298,8 @@ int main(int argc, char *argv[])
StartDirectDraw(2, colourDepth);
SDL_ShowCursor(0);
break;
}
break;
}
@ -338,7 +337,7 @@ int main(int argc, char *argv[])
// Set rects
RECT loading_rect = {0, 0, 64, 8};
RECT clip_rect = {0, 0, windowWidth, windowHeight};
RECT clip_rect = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT};
// Load the "LOADING" text
MakeSurface_File("Loading", SURFACE_ID_LOADING);