Fix all loading bar fills

This commit is contained in:
Ryan Baldwin 2022-08-19 02:51:09 -07:00
parent f1e66e8a98
commit 0e6dce2f98
4 changed files with 4 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1169,8 +1169,9 @@ void HUD_ProgressBar (void)
progressbar = 100 - ((cl.progress_bar-sv.time)*10);
if (progressbar >= 100)
progressbar = 100;
Draw_FillByColor ((vid.width)/2 - 51, vid.height*0.75 - 1, 102, 5, 0, 0, 0,100);
Draw_FillByColor ((vid.width)/2 - 50, vid.height*0.75, progressbar, 3, 255, 255, 255,100);
Draw_FillByColor (((vid.width) >> 1) - 51, (int)(vid.height*0.75 - 1), 102, 5, 0, 0, 0,100);
Draw_FillByColor (((vid.width) >> 1) - 50, (int)((vid.height*3) >> 2), (int)progressbar, 3, 255, 255, 255,100);
Draw_String ((vid.width - (88))/2, vid.height*0.75 + 10, "Reviving...");
}

View File

@ -800,7 +800,7 @@ void Draw_LoadingFill(void)
float loadsize = loading_cur_step * (max_step / loading_num_step);
Draw_FillByColor (x - 2, y - 2, max_step + 4, size + 4, 69, 69, 69, 255);
Draw_FillByColor (x, y, loadsize, size, 0, 0, 0, 200);
Draw_FillByColor (x, y, (int)loadsize, size, 255, 255, 255, 255);
switch(loading_step) {
case 1: text = "Loading Models.."; break;