Home
last modified time | relevance | path

Searched refs:glheight (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/tenebrae/tenebrae_0/
H A Dgl_screen.c73 int glx, gly, glwidth, glheight; variable
739 buffer = malloc (myRow * glheight); in SCR_ScreenShot_f()
740 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer); in SCR_ScreenShot_f()
744 myBottom = buffer + myRow * (glheight - 1); in SCR_ScreenShot_f()
758 TIF_WriteFile (pcxname, glwidth, glheight, buffer); in SCR_ScreenShot_f()
760 buffer = malloc(glwidth*glheight*3 + 18); in SCR_ScreenShot_f()
765 buffer[14] = glheight&255; in SCR_ScreenShot_f()
766 buffer[15] = glheight>>8; in SCR_ScreenShot_f()
771 c = 18+glwidth*glheight*3; in SCR_ScreenShot_f()
778 COM_WriteFile (pcxname, buffer, glwidth*glheight*3 + 18 ); in SCR_ScreenShot_f()
[all …]
H A Dgl_rmisc.c130 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
136 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
142 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
148 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
155 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
162 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
H A Dglquake2.h69 extern int glx, gly, glwidth, glheight;
H A Dgl_rmain.c2088 extern int glwidth, glheight; in R_SetupGL()
2098 y = (vid.height-r_refdef.vrect.y) * glheight/vid.height; in R_SetupGL()
2099 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height; in R_SetupGL()
2108 if (y < glheight) in R_SetupGL()
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dgl_screen.c75 int glx, gly, glwidth, glheight; variable
325 r_refdef.vrect.height = q_min(glheight * size, glheight - sb_lines); //make room for sbar in SCR_CalcRefdef()
327 r_refdef.vrect.y = (glheight - sb_lines - r_refdef.vrect.height)/2; in SCR_CalcRefdef()
705 scr_conlines = glheight; //full screen //johnfitz -- glheight instead of vid.height in SCR_SetUpToDrawConsole()
709 scr_conlines = glheight/2; //half screen //johnfitz -- glheight instead of vid.height in SCR_SetUpToDrawConsole()
718 …scr_con_current -= scr_conspeed.value*(glheight/600.0)*host_frametime/timescale; //johnfitz -- tim… in SCR_SetUpToDrawConsole()
725 …scr_con_current += scr_conspeed.value*(glheight/600.0)*host_frametime/timescale; //johnfitz -- tim… in SCR_SetUpToDrawConsole()
919 glheight - sb_lines); in SCR_TileClear()
924 glheight - sb_lines); in SCR_TileClear()
938 glheight - r_refdef.vrect.y - r_refdef.vrect.height - sb_lines); in SCR_TileClear()
[all …]
H A Dgl_draw.c863 corner_verts[2].position[1] = glheight; in Draw_Fill()
866 corner_verts[3].position[1] = glheight; in Draw_Fill()
914 corner_verts[2].position[1] = glheight; in Draw_FadeScreen()
917 corner_verts[3].position[1] = glheight; in Draw_FadeScreen()
1007 GL_OrthoMatrix (0, glwidth, glheight, 0, -99999, 99999); in GL_SetCanvas()
1008 GL_Viewport (glx, gly, glwidth, glheight, 0.0f, 1.0f); in GL_SetCanvas()
1011 lines = vid.conheight - (scr_con_current * vid.conheight / glheight); in GL_SetCanvas()
1013 GL_Viewport (glx, gly, glwidth, glheight, 0.0f, 1.0f); in GL_SetCanvas()
1016 s = q_min((float)glwidth / 320.0, (float)glheight / 200.0); in GL_SetCanvas()
1023 GL_OrthoMatrix (0, glwidth/s, glheight/s, 0, -99999, 99999); in GL_SetCanvas()
[all …]
H A Dgl_rmain.c292 gly + glheight - r_refdef.vrect.y - r_refdef.vrect.height, in R_SetupMatrix()
488 gly + glheight - r_refdef.vrect.y - r_refdef.vrect.height, in R_DrawViewModel()
496 gly + glheight - r_refdef.vrect.y - r_refdef.vrect.height, in R_DrawViewModel()
H A Dsbar.c984 Draw_TileClear (0, glheight - sb_lines, glwidth, sb_lines); in Sbar_Draw()
986 Draw_TileClear (w, glheight - sb_lines, glwidth - w, sb_lines); in Sbar_Draw()
989 Draw_TileClear (0, glheight - sb_lines, (glwidth - w) / 2.0f, sb_lines); in Sbar_Draw()
990 Draw_TileClear ((glwidth - w) / 2.0f + w, glheight - sb_lines, (glwidth - w) / 2.0f, sb_lines); in Sbar_Draw()
H A Dconsole.c354 if (con_backscroll > con_totallines - (glheight>>3) - 1) in Con_Linefeed()
355 con_backscroll = con_totallines - (glheight>>3) - 1; in Con_Linefeed()
1206 con_vislines = lines * vid.conheight / glheight; in Con_DrawConsole()
H A Dgl_vidsdl.c3568 buffer_create_info.size = glwidth * glheight * 4; in SCR_ScreenShot_f()
3636 image_copy.bufferImageHeight = glheight; in SCR_ScreenShot_f()
3640 image_copy.imageExtent.height = glheight; in SCR_ScreenShot_f()
3664 vkMapMemory(vulkan_globals.device, memory, 0, glwidth * glheight * 4, 0, &buffer_ptr); in SCR_ScreenShot_f()
3669 const int size = glwidth * glheight * 4; in SCR_ScreenShot_f()
3679 ok = Image_WritePNG (imagename, buffer_ptr, glwidth, glheight, 32, true); in SCR_ScreenShot_f()
3681 ok = Image_WriteTGA (imagename, buffer_ptr, glwidth, glheight, 32, true); in SCR_ScreenShot_f()
3683 ok = Image_WriteJPG (imagename, buffer_ptr, glwidth, glheight, 32, quality, true); in SCR_ScreenShot_f()
H A Dgl_warp.c431 if (WARPIMAGESIZE + sb_lines > glheight) in R_UpdateWarpTextures()
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/
H A Dgl_screen.c73 int glx, gly, glwidth, glheight; variable
645 buffer = malloc(glwidth*glheight*3 + 18); in SCR_ScreenShot_f()
650 buffer[14] = glheight&255; in SCR_ScreenShot_f()
651 buffer[15] = glheight>>8; in SCR_ScreenShot_f()
654 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18 ); in SCR_ScreenShot_f()
657 c = 18+glwidth*glheight*3; in SCR_ScreenShot_f()
664 COM_WriteFile (pcxname, buffer, glwidth*glheight*3 + 18 ); in SCR_ScreenShot_f()
884 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in SCR_UpdateScreen()
H A Dglquake.h83 extern int glx, gly, glwidth, glheight;
H A Dgl_rmain.c1278 extern int glwidth, glheight; in R_SetupGL()
1288 y = (vid.height-r_refdef.vrect.y) * glheight/vid.height; in R_SetupGL()
1289 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height; in R_SetupGL()
1298 if (y < glheight) in R_SetupGL()
/dports/games/wizznic/Wizznic-1.1/tools/releaser/data/win/
H A DWizznic_glFullscreen.bat1 wizznic.exe -f -glheight -1 -glwidth -1
H A DWizznic_glWindowed.bat1 wizznic.exe -w -glheight -1 -glwidth -1
/dports/astro/opencpn/OpenCPN-5.2.4/include/
H A Demboss_data.h42 int glwidth, glheight; // next power of 2 larger than width/height variable
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/
H A Dgl_screen.c76 int glx, gly, glwidth, glheight; variable
851 size = glwidth * glheight * 3 + 18; in SCR_ScreenShot_f()
865 buffer[14] = glheight & 255; in SCR_ScreenShot_f()
866 buffer[15] = glheight >> 8; in SCR_ScreenShot_f()
870 glReadPixels_fp (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18); in SCR_ScreenShot_f()
1268 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in SCR_UpdateScreen()
H A Dglquake.h175 extern int glx, gly, glwidth, glheight;
/dports/cad/gmsh/gmsh-4.9.2-source/Fltk/
H A DgraphicWindow.cpp3801 int glheight = CTX::instance()->glSize[1] - mheight; in graphicWindow() local
3802 int height = mh + glheight + mheight + sh; in graphicWindow()
3806 glheight = height - mh - mheight - sh; in graphicWindow()
3807 CTX::instance()->glSize[1] = glheight + mheight; in graphicWindow()
3865 _tile = new Fl_Tile(0, mh, glwidth + twidth, glheight + mheight); in graphicWindow()
3867 int w2 = glwidth / 2, h2 = glheight / 2; in graphicWindow()
3869 gl.push_back(new openglWindow(twidth, mh, w2, glheight)); in graphicWindow()
3875 gl.push_back(new openglWindow(twidth, mh, w2, glheight)); in graphicWindow()
3888 gl.push_back(new openglWindow(twidth, mh + h2, w2, glheight - h2)); in graphicWindow()
3895 gl.push_back(new openglWindow(twidth, mh, glwidth, glheight)); in graphicWindow()
[all …]
/dports/x11/rxvt-unicode/rxvt-unicode-9.30/src/
H A Drxvtfont.C1288 int glheight = height; in load() local
1314 if (glheight < g.height - g.y) glheight = g.height - g.y; in load()
1325 || (height <= prop.height && glheight <= prop.height) in load()
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/
H A Dgl_rmisc.c178 GL_BeginRendering(&glx, &gly, &glwidth, &glheight); in R_TimeRefresh_f()
H A Dgl_rmain.c1712 y = (vid.height - r_refdef.vrect.y) * glheight/vid.height; in R_SetupGL()
1713 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height; in R_SetupGL()
1722 if (y < glheight) in R_SetupGL()
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/client/
H A Dgl_rmisc.c157 GL_BeginRendering(&glx, &gly, &glwidth, &glheight); in R_TimeRefresh_f()
H A Dgl_rmain.c1793 y = (vid.height - r_refdef.vrect.y) * glheight/vid.height; in R_SetupGL()
1794 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height; in R_SetupGL()
1803 if (y < glheight) in R_SetupGL()

12