mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-10 06:31:35 +00:00
Fix all loading bar fills
This commit is contained in:
parent
f1e66e8a98
commit
0e6dce2f98
4 changed files with 4 additions and 3 deletions
BIN
nzportable.3dsx
BIN
nzportable.3dsx
Binary file not shown.
BIN
nzportable.elf
BIN
nzportable.elf
Binary file not shown.
|
@ -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...");
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue