Lines Matching full:width
42 int width;
53 int width;
182 void D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height)
186 void D_EndDirectRect (int x, int y, int width, int height)
191 void CenterWindow(HWND hWndCenter, int width, int height, BOOL lefttopjustify)
196 CenterX = (GetSystemMetrics(SM_CXSCREEN) - width) / 2;
209 int lastmodestate, width, height;
216 WindowRect.right = modelist[modenum].width;
219 DIBWidth = modelist[modenum].width;
229 width = rect.right - rect.left;
239 width,
268 if (vid.conwidth > modelist[modenum].width)
269 vid.conwidth = modelist[modenum].width;
270 vid.width = vid.conwidth;
287 int lastmodestate, width, height;
294 gdevmode.dmPelsWidth = modelist[modenum].width <<
308 WindowRect.right = modelist[modenum].width;
311 DIBWidth = modelist[modenum].width;
320 width = rect.right - rect.left;
330 width,
353 if (vid.conwidth > modelist[modenum].width)
354 vid.conwidth = modelist[modenum].width;
355 vid.width = vid.conwidth;
659 void GL_BeginRendering (int *x, int *y, int *width, int *height)
664 *width = WindowRect.right - WindowRect.left;
670 // glViewport (*x, *y, *width, *height);
1190 modelist[MODE_FULLSCREEN_DEFAULT].width,
1219 modelist[MODE_FULLSCREEN_DEFAULT].width,
1331 if (COM_CheckParm("-width"))
1332 modelist[0].width = Q_atoi(com_argv[COM_CheckParm("-width")+1]);
1334 modelist[0].width = 640;
1336 if (modelist[0].width < 320)
1337 modelist[0].width = 320;
1342 modelist[0].height = modelist[0].width * 240/320;
1348 modelist[0].width, modelist[0].height);
1393 modelist[nummodes].width = devmode.dmPelsWidth;
1404 // if the width is more than twice the height, reduce it by half because this
1408 if (modelist[nummodes].width > (modelist[nummodes].height << 1))
1410 modelist[nummodes].width >>= 1;
1413 modelist[nummodes].width,
1421 if ((modelist[nummodes].width == modelist[i].width) &&
1450 devmode.dmPelsWidth = lowresmodes[j].width;
1458 modelist[nummodes].width = devmode.dmPelsWidth;
1471 if ((modelist[nummodes].width == modelist[i].width) &&
1576 int basenummodes, width, height, bpp, findbpp, done;
1640 modelist[MODE_FULLSCREEN_DEFAULT].width =
1649 if (COM_CheckParm("-width"))
1651 width = Q_atoi(com_argv[COM_CheckParm("-width")+1]);
1655 width = 640;
1676 modelist[nummodes].width = width;
1689 if ((modelist[nummodes].width == modelist[i].width) &&
1714 if ((modelist[i].width == width) &&
1728 if ((modelist[i].width == width) && (modelist[i].bpp == bpp))
1874 M_DrawPic ( (320-p->width)/2, 4, p);
1924 "command line with -width <width>");