[video] Use views instead of conwidth and conheight

conwidth and conheight have been moved into vid.conview (probably change
the name at some time), and scr_vrect has been replaced by a view as
well. This makes it much easier to create 2d elements that follow the
screen size (taking advantage of a view's gravity) which will, in the
end, make changing the window size easier.
This commit is contained in:
Bill Currie 2021-07-10 18:04:34 +09:00
parent a75c027b7f
commit 755ef524e4
29 changed files with 344 additions and 247 deletions

View file

@ -64,7 +64,6 @@ extern int clearconsole;
extern int clearnotify;
extern vrect_t *pconupdate;
extern vrect_t scr_vrect;
extern qboolean scr_skipupdate;