Home
last modified time | relevance | path

Searched refs:SCREENWIDTH (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dr_draw.c160 dest += SCREENWIDTH; in R_DrawColumn()
175 dest += SCREENWIDTH; in R_DrawColumn()
235 dest += SCREENWIDTH;
296 dest += SCREENWIDTH; in R_DrawColumnLow()
297 dest2 += SCREENWIDTH; in R_DrawColumnLow()
311 dest += SCREENWIDTH; in R_DrawColumnLow()
312 dest2 += SCREENWIDTH; in R_DrawColumnLow()
424 dest += SCREENWIDTH; in R_DrawFuzzColumn()
511 dest += SCREENWIDTH; in R_DrawFuzzColumnLow()
585 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dr_draw.c141 dest += SCREENWIDTH; in R_DrawColumn()
200 dest += SCREENWIDTH;
246 dest += SCREENWIDTH; in R_DrawColumnLow()
247 dest2 += SCREENWIDTH; in R_DrawColumnLow()
334 dest += SCREENWIDTH; in R_DrawFuzzColumn()
401 dest += SCREENWIDTH; in R_DrawFuzzColumnLow()
402 dest2 += SCREENWIDTH; in R_DrawFuzzColumnLow()
462 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
513 dest += SCREENWIDTH; in R_DrawTranslatedColumnLow()
866 if (SCREENWIDTH&63) in R_FillBackScreen()
[all …]
H A Df_finale.c245 for (x=0 ; x<SCREENWIDTH/64 ; x++) in F_TextWrite()
250 if (SCREENWIDTH&63) in F_TextWrite()
253 dest += (SCREENWIDTH&63); in F_TextWrite()
287 if (cx+w > SCREENWIDTH) in F_TextWrite()
515 cx = SCREENWIDTH/2-width/2; in F_CastPrint()
564 V_DrawPatch(SCREENWIDTH/2, 170, patch); in F_CastDrawer()
596 dest += SCREENWIDTH; in F_DrawPatchCol()
622 if (scrolled > SCREENWIDTH) in F_BunnyScroll()
623 scrolled = SCREENWIDTH; in F_BunnyScroll()
627 for ( x=0 ; x<SCREENWIDTH ; x++) in F_BunnyScroll()
[all …]
/dports/games/uhexen/uhexen-0.601/src/
H A Dv_video.c62 desttop = screen+y*SCREENWIDTH+x; in V_DrawPatch()
71 dest = desttop+column->topdelta*SCREENWIDTH; in V_DrawPatch()
76 dest += SCREENWIDTH; in V_DrawPatch()
108 desttop = screen+y*SCREENWIDTH+x; in V_DrawFuzzPatch()
126 dest += SCREENWIDTH; in V_DrawFuzzPatch()
161 desttop = screen+y*SCREENWIDTH+x; in V_DrawAltFuzzPatch()
179 dest += SCREENWIDTH; in V_DrawAltFuzzPatch()
211 desttop = screen+y*SCREENWIDTH+x; in V_DrawShadowedPatch()
212 desttop2 = screen+(y+2)*SCREENWIDTH+x+2; in V_DrawShadowedPatch()
231 dest2 += SCREENWIDTH; in V_DrawShadowedPatch()
[all …]
H A Dr_draw.c76 dest += SCREENWIDTH; in R_DrawColumn()
108 dest += SCREENWIDTH; in R_DrawColumnLow()
163 dest += SCREENWIDTH; in R_DrawFuzzColumn()
204 dest += SCREENWIDTH; in R_DrawAltFuzzColumn()
243 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
278 dest += SCREENWIDTH; in R_DrawTranslatedFuzzColumn()
444 if (width == SCREENWIDTH) in R_InitBuffer()
482 if (SCREENWIDTH&63) in R_DrawViewBorder()
485 dest += (SCREENWIDTH&63); in R_DrawViewBorder()
548 if (SCREENWIDTH&63) in R_DrawTopBorder()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/
H A Dv_video.c95 || srcx + width > SCREENWIDTH in V_CopyRect()
99 || destx + width > SCREENWIDTH in V_CopyRect()
115 src += SCREENWIDTH; in V_CopyRect()
116 dest += SCREENWIDTH; in V_CopyRect()
191 dest += SCREENWIDTH; in V_DrawPatch()
255 dest += SCREENWIDTH; in V_DrawPatchFlipped()
318 dest += SCREENWIDTH; in V_DrawTLPatch()
514 || x + width >SCREENWIDTH in V_DrawBlock()
530 dest += SCREENWIDTH; in V_DrawBlock()
550 buf += SCREENWIDTH; in V_DrawFilledBox()
[all …]
H A Di_video.c75 SCREENWIDTH,
113 int window_width = SCREENWIDTH * 2;
297 window_height = (window_width * actualheight + SCREENWIDTH - 1) / SCREENWIDTH; in AdjustWindowSize()
620 if (w * actualheight < h * SCREENWIDTH) in CreateUpscaledTexture()
624 h = w * actualheight / SCREENWIDTH; in CreateUpscaledTexture()
630 w = h * SCREENWIDTH / actualheight; in CreateUpscaledTexture()
637 w_upscale = (w + SCREENWIDTH - 1) / SCREENWIDTH; in CreateUpscaledTexture()
677 w_upscale*SCREENWIDTH, in CreateUpscaledTexture()
902 window_width = factor * SCREENWIDTH; in SetScaleFactor()
1244 SCREENWIDTH, in SetVideoMode()
[all …]
H A Dv_diskicon.c70 tmpscreen = Z_Malloc(SCREENWIDTH * SCREENHEIGHT * sizeof(*tmpscreen), in SaveDiskData()
72 memset(tmpscreen, 0, SCREENWIDTH * SCREENHEIGHT * sizeof(*tmpscreen)); in SaveDiskData()
83 tmpscreen + yoffs * SCREENWIDTH + xoffs, SCREENWIDTH, in SaveDiskData()
110 + loading_disk_yoffs * SCREENWIDTH in DiskRegionPointer()
120 DiskRegionPointer(), SCREENWIDTH, in V_DrawDiskIcon()
124 CopyRegion(DiskRegionPointer(), SCREENWIDTH, in V_DrawDiskIcon()
138 CopyRegion(DiskRegionPointer(), SCREENWIDTH, in V_RestoreDiskBackground()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dr_draw.c80 dest += SCREENWIDTH; in R_DrawColumn()
110 dest += SCREENWIDTH; in R_DrawColumnLow()
146 dest += SCREENWIDTH; in R_DrawTLColumn()
187 dest += SCREENWIDTH; in R_DrawAltTLColumn()
227 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
265 dest += SCREENWIDTH; in R_DrawTranslatedTLColumn()
427 if (width == SCREENWIDTH) in R_InitBuffer()
452 if (scaledviewwidth == SCREENWIDTH) in R_DrawViewBorder()
465 if (SCREENWIDTH & 63) in R_DrawViewBorder()
468 dest += (SCREENWIDTH & 63); in R_DrawViewBorder()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dr_draw.c146 dest += SCREENWIDTH; in R_DrawColumn()
198 dest += SCREENWIDTH*8;
205 dest += SCREENWIDTH;
267 dest += SCREENWIDTH; in R_DrawMVisTLColumn()
320 dest += SCREENWIDTH; in R_DrawTLColumn()
376 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
600 || ds_x2>=SCREENWIDTH in R_DrawSpan()
729 || ds_x2>=SCREENWIDTH in R_DrawSpanLow()
859 if (SCREENWIDTH&63) in R_FillBackScreen()
955 ofs = top*SCREENWIDTH + SCREENWIDTH-side; in R_DrawViewBorder()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dr_draw.c146 dest += SCREENWIDTH; in R_DrawColumn()
198 dest += SCREENWIDTH*8;
205 dest += SCREENWIDTH;
267 dest += SCREENWIDTH; in R_DrawMVisTLColumn()
320 dest += SCREENWIDTH; in R_DrawTLColumn()
376 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
600 || ds_x2>=SCREENWIDTH in R_DrawSpan()
729 || ds_x2>=SCREENWIDTH in R_DrawSpanLow()
859 if (SCREENWIDTH&63) in R_FillBackScreen()
955 ofs = top*SCREENWIDTH + SCREENWIDTH-side; in R_DrawViewBorder()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dr_draw.c80 dest += SCREENWIDTH; in R_DrawColumn()
110 dest += SCREENWIDTH; in R_DrawColumnLow()
146 dest += SCREENWIDTH; in R_DrawTLColumn()
187 dest += SCREENWIDTH; in R_DrawAltTLColumn()
227 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
265 dest += SCREENWIDTH; in R_DrawTranslatedTLColumn()
427 if (width == SCREENWIDTH) in R_InitBuffer()
454 if (scaledviewwidth == SCREENWIDTH) in R_DrawViewBorder()
467 if (SCREENWIDTH & 63) in R_DrawViewBorder()
470 dest += (SCREENWIDTH & 63); in R_DrawViewBorder()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Dr_draw.c80 dest += SCREENWIDTH; in R_DrawColumn()
110 dest += SCREENWIDTH; in R_DrawColumnLow()
149 dest += SCREENWIDTH; in R_DrawTLColumn()
189 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
221 dest += SCREENWIDTH; in R_DrawTranslatedTLColumn()
352 if (width == SCREENWIDTH) in R_InitBuffer()
377 if (scaledviewwidth == SCREENWIDTH) in R_DrawViewBorder()
397 if (SCREENWIDTH & 63) in R_DrawViewBorder()
400 dest += (SCREENWIDTH & 63); in R_DrawViewBorder()
443 if (scaledviewwidth == SCREENWIDTH) in R_DrawTopBorder()
[all …]
H A Df_finale.c171 for (x = 0; x < SCREENWIDTH / 64; x++) in F_TextWrite()
176 if (SCREENWIDTH & 63) in F_TextWrite()
179 dest += (SCREENWIDTH & 63); in F_TextWrite()
215 if (cx + SHORT(w->width) > SCREENWIDTH) in F_TextWrite()
238 dest = desttop + column->topdelta * SCREENWIDTH; in F_DrawPatchCol()
244 dest += SCREENWIDTH; in F_DrawPatchCol()
272 memcpy(I_VideoBuffer, p1, SCREENHEIGHT * SCREENWIDTH); in F_DemonScroll()
280 yval += SCREENWIDTH; in F_DemonScroll()
285 memcpy(I_VideoBuffer, p2, SCREENWIDTH * SCREENHEIGHT); in F_DemonScroll()
362 V_MarkRect(0, 0, SCREENWIDTH, SCREENHEIGHT);
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Dr_draw.c93 dest += SCREENWIDTH; in R_DrawColumn()
103 dest += SCREENWIDTH; in R_DrawColumn()
134 dest += SCREENWIDTH; in R_DrawColumnLow()
173 dest += SCREENWIDTH; in R_DrawTLColumn()
213 dest += SCREENWIDTH; in R_DrawTranslatedColumn()
245 dest += SCREENWIDTH; in R_DrawTranslatedTLColumn()
376 if (width == SCREENWIDTH) in R_InitBuffer()
403 if (scaledviewwidth == SCREENWIDTH) in R_DrawViewBorder()
423 if (SCREENWIDTH & 63) in R_DrawViewBorder()
426 dest += (SCREENWIDTH & 63); in R_DrawViewBorder()
[all …]
H A Df_finale.c172 for (x = 0; x < SCREENWIDTH / 64; x++) in F_TextWrite()
177 if (SCREENWIDTH & 63) in F_TextWrite()
179 memcpy(dest, src + ((y & 63) << 6), SCREENWIDTH & 63); in F_TextWrite()
180 dest += (SCREENWIDTH & 63); in F_TextWrite()
216 if (cx + SHORT(w->width) > SCREENWIDTH) in F_TextWrite()
239 dest = desttop + column->topdelta * SCREENWIDTH; in F_DrawPatchCol()
245 dest += SCREENWIDTH; in F_DrawPatchCol()
316 V_DrawFilledBox(0, 0, SCREENWIDTH, SCREENHEIGHT, 0); in F_DrawUnderwater()
363 V_MarkRect(0, 0, SCREENWIDTH, SCREENHEIGHT);
371 for (x = 0; x < SCREENWIDTH; x++)
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/
H A Dv_video.c115 || srcx + width > SCREENWIDTH in V_CopyRect()
129 width = SCREENWIDTH - destx; in V_CopyRect()
141 src += SCREENWIDTH; in V_CopyRect()
142 dest += SCREENWIDTH; in V_CopyRect()
257 if (x >= SCREENWIDTH) in V_DrawPatch()
396 if (x >= SCREENWIDTH) in V_DrawPatchFlipped()
711 || x + width >SCREENWIDTH in V_DrawBlock()
727 dest += SCREENWIDTH; in V_DrawBlock()
775 buf += SCREENWIDTH; in V_DrawFilledBox()
786 w = SCREENWIDTH - x; in V_DrawHorizLine()
[all …]
H A Di_video.c322 window_height = (window_width * actualheight + SCREENWIDTH - 1) / SCREENWIDTH; in AdjustWindowSize()
666 w_upscale = (w + SCREENWIDTH - 1) / SCREENWIDTH; in CreateUpscaledTexture()
1066 window_width = factor * SCREENWIDTH; in SetScaleFactor()
1541 NONWIDEWIDTH = SCREENWIDTH; in I_GetScreenDimensions()
1576 SCREENWIDTH = w * ah / h; in I_GetScreenDimensions()
1578 SCREENWIDTH = (SCREENWIDTH + (crispy->hires ? 0 : 3)) & (int)~3; in I_GetScreenDimensions()
1580 SCREENWIDTH = MIN(SCREENWIDTH, MAXWIDTH); in I_GetScreenDimensions()
1629 blit_rect.w = SCREENWIDTH; in I_InitGraphics()
1716 blit_rect.w = SCREENWIDTH; in I_ReInitGraphics()
1803 SCREENWIDTH, in I_ReInitGraphics()
[all …]
H A Dv_diskicon.c70 tmpscreen = Z_Malloc(SCREENWIDTH * SCREENHEIGHT * sizeof(*tmpscreen), in SaveDiskData()
72 memset(tmpscreen, 0, SCREENWIDTH * SCREENHEIGHT * sizeof(*tmpscreen)); in SaveDiskData()
90 tmpscreen + yoffs * SCREENWIDTH + xoffs, SCREENWIDTH, in SaveDiskData()
123 + loading_disk_yoffs * SCREENWIDTH in DiskRegionPointer()
133 DiskRegionPointer(), SCREENWIDTH, in V_DrawDiskIcon()
137 CopyRegion(DiskRegionPointer(), SCREENWIDTH, in V_DrawDiskIcon()
151 CopyRegion(DiskRegionPointer(), SCREENWIDTH, in V_RestoreDiskBackground()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Df_wipe.cpp63 int width = SCREENWIDTH / 2; in wipe_shittyColMajorXform()
71 memcpy(array, dest, SCREENWIDTH*SCREENHEIGHT); in wipe_shittyColMajorXform()
129 for (x = i * (SCREENWIDTH/2) / MELT_WIDTH; x < (i + 1) * (SCREENWIDTH/2) / MELT_WIDTH; ++x) in wipe_doMelt()
276 xstep = (FIREWIDTH * FRACUNIT) / SCREENWIDTH; in wipe_doBurn()
310 fromold += SCREENWIDTH; in wipe_doBurn()
311 fromnew += SCREENWIDTH; in wipe_doBurn()
352 for (x = 0; x < SCREENWIDTH; x++) in wipe_doFade()
359 fromnew += SCREENWIDTH; in wipe_doFade()
360 fromold += SCREENWIDTH; in wipe_doFade()
399 wipe_scr_end = new short[SCREENWIDTH * SCREENHEIGHT / 2]; in wipe_EndScreen()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/ui/
H A Dbusyvisual.cpp74 static float doomWipeSamples[SCREENWIDTH+1];
146 for (i = 0; i <= SCREENWIDTH; ++i) in sampleDoomWipe()
148 doomWipeSamples[i] = MAX_OF(0, sampleDoomWipeSine((float) i / SCREENWIDTH)); in sampleDoomWipe()
163 DGL_Ortho(0, 0, SCREENWIDTH, SCREENHEIGHT, -1, 1); in Con_DrawTransition()
179 float topAlpha, s, div, colWidth = 1.f / SCREENWIDTH; in Con_DrawTransition()
192 for (i = 0; i <= SCREENWIDTH; ++i, x++, s += colWidth) in Con_DrawTransition()
208 for (i = 0; i <= SCREENWIDTH; ++i, x++, s += colWidth) in Con_DrawTransition()
220 float s = 0, colWidth = 1.f / SCREENWIDTH; in Con_DrawTransition()
227 for (i = 0; i <= SCREENWIDTH; ++i, x++, s+= colWidth) in Con_DrawTransition()
245 DGL_TexCoord2f(0, 1, 0); DGL_Vertex2f(SCREENWIDTH, SCREENHEIGHT); in Con_DrawTransition()
[all …]
/dports/games/edge/Edge-1.35-source/src/
H A Dr_wipe.cc66 int total_w = W_MakeValidSize(SCREENWIDTH); in CaptureScreenAsTexture()
73 cur_wipe_right = SCREENWIDTH / (float)total_w; in CaptureScreenAsTexture()
194 glVertex2i(SCREENWIDTH, SCREENHEIGHT); in RGL_Wipe_Fading()
197 glVertex2i(SCREENWIDTH, 0); in RGL_Wipe_Fading()
225 glVertex2i(SCREENWIDTH, SCREENHEIGHT); in RGL_Wipe_Pixelfade()
228 glVertex2i(SCREENWIDTH, 0); in RGL_Wipe_Pixelfade()
253 float sx = (float) x * SCREENWIDTH / MELT_DIVS; in RGL_Wipe_Melt()
291 glVertex2f(dx + SCREENWIDTH, dy + SCREENHEIGHT); in RGL_Wipe_Slide()
294 glVertex2f(dx + SCREENWIDTH, dy); in RGL_Wipe_Slide()
398 RGL_Wipe_Slide(how_far, -SCREENWIDTH, 0); in RGL_DoWipe()
[all …]
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dgl_wipe.c64 gld_GetTexDimension(SCREENWIDTH), gld_GetTexDimension(SCREENHEIGHT), in CaptureScreenAsTexID()
67 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, SCREENWIDTH, SCREENHEIGHT); in CaptureScreenAsTexID()
78 total_w = gld_GetTexDimension(SCREENWIDTH); in gld_wipe_doMelt()
83 fU2 = (float)SCREENWIDTH / (float)total_w; in gld_wipe_doMelt()
95 glTexCoord2f(fU2, fV1); glVertex2f((float)SCREENWIDTH, 0.0f); in gld_wipe_doMelt()
96 glTexCoord2f(fU2, fV2); glVertex2f((float)SCREENWIDTH, (float)SCREENHEIGHT); in gld_wipe_doMelt()
105 for (i=0; i <= SCREENWIDTH; i++) in gld_wipe_doMelt()
/dports/games/prboom/prboom-2.5.0/src/SDL/
H A Di_video.c521 SCREENWIDTH = width; in I_CalculateRes()
523 SCREENPITCH = SCREENWIDTH; in I_CalculateRes()
525 SCREENWIDTH = (width+15) & ~15; in I_CalculateRes()
527 if (!(SCREENWIDTH % 1024)) { in I_CalculateRes()
528 SCREENPITCH = SCREENWIDTH*V_GetPixelDepth()+32; in I_CalculateRes()
530 SCREENPITCH = SCREENWIDTH*V_GetPixelDepth(); in I_CalculateRes()
542 I_CalculateRes(SCREENWIDTH, SCREENHEIGHT); in I_SetRes()
546 screens[i].width = SCREENWIDTH; in I_SetRes()
554 screens[4].width = SCREENWIDTH; in I_SetRes()
695 R_InitBuffer(SCREENWIDTH, SCREENHEIGHT); in I_UpdateVideoMode()
[all …]
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dconfig.h14 extern int SCREENWIDTH;
16 #define SCREENPITCH (SCREENWIDTH*SURFACE_PIXEL_DEPTH)
18 #define SURFACE_WIDTH SCREENWIDTH
20 #define SURFACE_SHORT_PITCH SCREENWIDTH
21 #define SURFACE_INT_PITCH (SCREENWIDTH/2)

12345678910>>...16