mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
Make Varoom sky fix work correctly on all resolutions.
This commit is contained in:
parent
3620ff3e0a
commit
90a43d9a85
@ -494,7 +494,8 @@ U0 DrawIt(CTask *task, CDC *dc)
|
||||
Car *tmpc = &c[0];
|
||||
|
||||
dc->color = LTCYAN;
|
||||
GrRect(dc, 0, 0, w, HORIZON_DIP * Sin(dip_<70>) + h/8);
|
||||
GrRect(dc, 0, 0, w, HORIZON_DIP * Sin(dip_<70>) + FONT_HEIGHT * 5);
|
||||
GrRect(dc, 0, 0, w, HORIZON_DIP * Sin(dip_<70>) + h - 470);
|
||||
|
||||
Mat4x4IdentEqu(r);
|
||||
Mat4x4RotY(r, ă - c[0].é);
|
||||
@ -936,4 +937,4 @@ Varoom;
|
||||
|