full line width when fullconsole is shown
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3590 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -32,7 +32,7 @@ struct console : consolebuffer<cline>
|
||||
|
||||
void render()
|
||||
{
|
||||
int conwidth = VIRTW*2 - 2*CONSPAD - 40*FONTH/3;
|
||||
int conwidth = VIRTW*2 - 2*CONSPAD - (fullconsole ? 2 : 40)*FONTH/3;
|
||||
int h = VIRTH*2 - 2*CONSPAD - 2*FONTH/3;
|
||||
int conheight = min(fullconsole ? (h*(fullconsole==1 ? altconsize : fullconsize))/100 : FONTH*consize, h);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user