Home
last modified time | relevance | path

Searched refs:modenum (Results 1 – 18 of 18) sorted by relevance

/external/quake/quake/src/WinQuake/
Dvid_dos.cpp137 vmode_t *VID_GetModePtr (int modenum) in VID_GetModePtr() argument
145 while (modenum--) in VID_GetModePtr()
171 char *VID_ModeInfo (int modenum, char **ppheader) in VID_ModeInfo() argument
176 pv = VID_GetModePtr (modenum); in VID_ModeInfo()
198 int VID_SetMode (int modenum, unsigned char *palette) in VID_SetMode() argument
203 if ((modenum >= numvidmodes) || (modenum < 0)) in VID_SetMode()
208 Con_Printf ("No such video mode: %d\n", modenum); in VID_SetMode()
213 modenum = 0; // mode hasn't been set yet, so initialize to base in VID_SetMode()
222 pnewmode = VID_GetModePtr (modenum); in VID_SetMode()
246 Con_Printf ("Failed to set mode %d\n", modenum); in VID_SetMode()
[all …]
Dgl_vidnt.cpp44 int modenum; member
206 qboolean VID_SetWindowedMode (int modenum) in VID_SetWindowedMode() argument
216 WindowRect.right = modelist[modenum].width; in VID_SetWindowedMode()
217 WindowRect.bottom = modelist[modenum].height; in VID_SetWindowedMode()
219 DIBWidth = modelist[modenum].width; in VID_SetWindowedMode()
220 DIBHeight = modelist[modenum].height; in VID_SetWindowedMode()
266 if (vid.conheight > modelist[modenum].height) in VID_SetWindowedMode()
267 vid.conheight = modelist[modenum].height; in VID_SetWindowedMode()
268 if (vid.conwidth > modelist[modenum].width) in VID_SetWindowedMode()
269 vid.conwidth = modelist[modenum].width; in VID_SetWindowedMode()
[all …]
Dvid_win.cpp120 int modenum; member
505 modelist[curmode].modenum = m[i]; in VID_InitMGLFull()
652 modelist[0].modenum = MODE_WINDOWED; in VID_InitMGLDIB()
664 modelist[1].modenum = MODE_WINDOWED + 1; in VID_InitMGLDIB()
676 modelist[2].modenum = MODE_WINDOWED + 2; in VID_InitMGLDIB()
713 int i, j, modenum, cmodes, existingmode, originalnummodes, lowestres; in VID_InitFullDIB() local
720 modenum = 0; in VID_InitFullDIB()
725 stat = EnumDisplaySettings (NULL, modenum, &devmode); in VID_InitFullDIB()
742 modelist[nummodes].modenum = 0; in VID_InitFullDIB()
786 modenum++; in VID_InitFullDIB()
[all …]
Dvid_svgalib.cpp265 int modenum; in VID_DescribeMode_f() local
267 modenum = Q_atoi (Cmd_Argv(1)); in VID_DescribeMode_f()
268 if ((modenum >= num_modes) || (modenum < 0 ) || !modes[modenum].width) in VID_DescribeMode_f()
269 Con_Printf("Invalid video mode: %d!\n",modenum); in VID_DescribeMode_f()
270 Con_Printf("%d: %d x %d - ",modenum,modes[modenum].width,modes[modenum].height); in VID_DescribeMode_f()
271 if (modes[modenum].bytesperpixel == 0) in VID_DescribeMode_f()
274 Con_Printf("%d bpp\n", modes[modenum].bytesperpixel<<3); in VID_DescribeMode_f()
472 int VID_SetMode (int modenum, unsigned char *palette) in VID_SetMode() argument
476 if ((modenum >= num_modes) || (modenum < 0) || !modes[modenum].width) in VID_SetMode()
480 Con_Printf("No such video mode: %d\n",modenum); in VID_SetMode()
[all …]
Dvid_ext.cpp71 int modenum; member
117 qboolean VID_ExtraGetModeInfo(int modenum);
384 vesa_extra[nummodes].vesamode = modeinfo.modenum | LINEAR_MODE; in VID_InitExtra()
405 vesa_extra[nummodes].vesamode = modeinfo.modenum; in VID_InitExtra()
445 qboolean VID_ExtraGetModeInfo(int modenum) in VID_ExtraGetModeInfo() argument
453 regs.x.cx = modenum; in VID_ExtraGetModeInfo()
463 modeinfo.modenum = modenum; in VID_ExtraGetModeInfo()
549 printf("VID: (VESA) info for mode 0x%x\n", modeinfo.modenum); in VID_ExtraGetModeInfo()
Dvid.h79 int VID_SetMode (int modenum, unsigned char *palette);
Dvid_sunxil.cpp74 int modenum; member
Dvid_sunx.cpp78 int modenum; member
/external/quake/quake/src/QW/client/
Dgl_vidnt.c44 int modenum; member
206 qboolean VID_SetWindowedMode (int modenum) in VID_SetWindowedMode() argument
216 WindowRect.right = modelist[modenum].width; in VID_SetWindowedMode()
217 WindowRect.bottom = modelist[modenum].height; in VID_SetWindowedMode()
219 DIBWidth = modelist[modenum].width; in VID_SetWindowedMode()
220 DIBHeight = modelist[modenum].height; in VID_SetWindowedMode()
266 if (vid.conheight > modelist[modenum].height) in VID_SetWindowedMode()
267 vid.conheight = modelist[modenum].height; in VID_SetWindowedMode()
268 if (vid.conwidth > modelist[modenum].width) in VID_SetWindowedMode()
269 vid.conwidth = modelist[modenum].width; in VID_SetWindowedMode()
[all …]
Dvid_win.c124 int modenum; member
546 modelist[curmode].modenum = m[i]; in VID_InitMGLFull()
693 modelist[0].modenum = MODE_WINDOWED; in VID_InitMGLDIB()
705 modelist[1].modenum = MODE_WINDOWED + 1; in VID_InitMGLDIB()
717 modelist[2].modenum = MODE_WINDOWED + 2; in VID_InitMGLDIB()
754 int i, j, modenum, cmodes, existingmode, originalnummodes, lowestres; in VID_InitFullDIB() local
761 modenum = 0; in VID_InitFullDIB()
766 stat = EnumDisplaySettings (NULL, modenum, &devmode); in VID_InitFullDIB()
783 modelist[nummodes].modenum = 0; in VID_InitFullDIB()
827 modenum++; in VID_InitFullDIB()
[all …]
Dvid_svgalib.c266 int modenum; in VID_DescribeMode_f() local
268 modenum = Q_atoi (Cmd_Argv(1)); in VID_DescribeMode_f()
269 if ((modenum >= num_modes) || (modenum < 0 ) || !modes[modenum].width) in VID_DescribeMode_f()
270 Con_Printf("Invalid video mode: %d!\n",modenum); in VID_DescribeMode_f()
271 Con_Printf("%d: %d x %d - ",modenum,modes[modenum].width,modes[modenum].height); in VID_DescribeMode_f()
272 if (modes[modenum].bytesperpixel == 0) in VID_DescribeMode_f()
275 Con_Printf("%d bpp\n", modes[modenum].bytesperpixel<<3); in VID_DescribeMode_f()
473 int VID_SetMode (int modenum, unsigned char *palette) in VID_SetMode() argument
477 if ((modenum >= num_modes) || (modenum < 0) || !modes[modenum].width) in VID_SetMode()
481 Con_Printf("No such video mode: %d\n",modenum); in VID_SetMode()
[all …]
Dvid.h79 int VID_SetMode (int modenum, unsigned char *palette);
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
DSDL_vglvideo.c503 int adptype, i, modenum; in VGLListModes() local
511 for (modenum = 0; modenum < M_VESA_MODE_MAX; modenum++) { in VGLListModes()
512 minfo.vi_mode = modenum; in VGLListModes()
515 if (minfo.vi_mode != modenum) in VGLListModes()
/external/quake/quake/src/WinQuake/docs/
Dreadme.squake51 -mode <modenum>
DREADME128 -mode <modenum>
DINSTALL.Quake159 -mode <modenum>
DINSTALL159 -mode <modenum>
/external/quake/quake/src/QW/docs/
Dreadme.qwcl148 -mode <modenum>