Home
last modified time | relevance | path

Searched refs:vbufPitch (Results 1 – 11 of 11) sorted by relevance

/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dwl_atmos.cpp53 void DrawStarSky(byte *vbuf, uint32_t vbufPitch) in DrawStarSky() argument
60 for(i = 0; i < hvheight; i++, ptr += vbufPitch) in DrawStarSky()
75 vbuf[yy * vbufPitch + xx] = shade + 15; in DrawStarSky()
101 void DrawRain(byte *vbuf, uint32_t vbufPitch) in DrawRain() argument
152 vbuf[yy * vbufPitch + xx] = shade+15; in DrawRain()
153 vbuf[(yy - 1) * vbufPitch + xx] = shade+16; in DrawRain()
155 vbuf[(yy - 2) * vbufPitch + xx] = shade+17; in DrawRain()
164 void DrawSnow(byte *vbuf, uint32_t vbufPitch) in DrawSnow() argument
217 vbuf[yy * vbufPitch + xx] = shade+17; in DrawSnow()
218 vbuf[yy * vbufPitch + xx - 1] = shade+16; in DrawSnow()
[all …]
H A Dwl_floorceiling.cpp16 static void R_DrawPlane(byte *vbuf, unsigned vbufPitch, int min_wallheight, int halfheight, fixed p… in R_DrawPlane() argument
44 tex_offset = vbuf + (signed)vbufPitch * (halfheight + y0); in R_DrawPlane()
45 tex_offsetPitch = vbufPitch-viewwidth; in R_DrawPlane()
50 tex_offset = vbuf + (signed)vbufPitch * (halfheight - y0 - 1); in R_DrawPlane()
51 tex_offsetPitch = -viewwidth-vbufPitch; in R_DrawPlane()
139 void DrawFloorAndCeiling(byte *vbuf, unsigned vbufPitch, int min_wallheight) in DrawFloorAndCeiling() argument
143 R_DrawPlane(vbuf, vbufPitch, min_wallheight, halfheight, viewz-(64<<FRACBITS)); in DrawFloorAndCeiling()
144 R_DrawPlane(vbuf, vbufPitch, min_wallheight, halfheight, viewz); in DrawFloorAndCeiling()
H A Dwl_atmos.h9 void DrawStarSky(byte *vbuf, uint32_t vbufPitch);
13 void DrawRain(byte *vbuf, uint32_t vbufPitch);
17 void DrawSnow(byte *vbuf, uint32_t vbufPitch);
H A Dwl_dir3dspr.cpp13 fixed nx1, fixed nx2, byte *vbuf, unsigned vbufPitch) in Scale3DShaper() argument
94 else vmem=vbuf+screndy*vbufPitch+slinex; in Scale3DShaper()
112 vmem+=vbufPitch; in Scale3DShaper()
123 void Scale3DShape(byte *vbuf, unsigned vbufPitch, statobj_t *ob) in Scale3DShape() argument
220 Scale3DShaper(viewx2,viewx1,ob->shapenum,ob->flags,ny2,ny1,nx2,nx1,vbuf,vbufPitch); in Scale3DShape()
224 Scale3DShaper(viewx1,viewx2,ob->shapenum,ob->flags,ny1,ny2,nx1,nx2,vbuf,vbufPitch); in Scale3DShape()
H A Dwl_draw.cpp65 unsigned vbufPitch = 0; variable
299 yendoffs = yendoffs * vbufPitch + postx; in ScalePost()
315 yendoffs -= vbufPitch; in ScalePost()
322 vbufPitch = pitch; in GlobalScalePost()
1239 DrawStarSky(vbuf, vbufPitch); in R_RenderView()
1246 DrawParallax(vbuf, vbufPitch); in R_RenderView()
1250 DrawClouds(vbuf, vbufPitch, min_wallheight); in R_RenderView()
1252 DrawFloorAndCeiling(vbuf, vbufPitch, min_wallheight); in R_RenderView()
1261 DrawRain(vbuf, vbufPitch); in R_RenderView()
1265 DrawSnow(vbuf, vbufPitch); in R_RenderView()
[all …]
H A Dwl_parallax.cpp33 void DrawParallax(byte *vbuf, unsigned vbufPitch) in DrawParallax() argument
59 for(int y = 0, offs = x; y < yend; y++, offs += vbufPitch) in DrawParallax()
H A Dwl_cloudsky.cpp211 void DrawClouds(byte *vbuf, unsigned vbufPitch, int min_wallheight) in DrawClouds() argument
232 top_offset0 = vbufPitch * (halfheight - y0 - 1); in DrawClouds()
235 for(int y = y0, top_offset = top_offset0; y < halfheight; y++, top_offset -= vbufPitch) in DrawClouds()
H A Dr_sprites.cpp362 extern unsigned vbufPitch;
414 byte *destBase = vbuf + actx + startX + (upperedge > 0 ? vbufPitch*upperedge : 0); in ScaleSprite()
429 dest += vbufPitch; in ScaleSprite()
481 byte *destBase = vbuf+x1+startX + (y1 > 0 ? vbufPitch*y1 : 0); in R_DrawPlayerSprite()
492 dest += vbufPitch; in R_DrawPlayerSprite()
H A Dwl_cloudsky.h40 void DrawClouds(byte *vbuf, unsigned vbufPitch, int min_wallheight);
H A Dwl_def.h476 void DrawParallax(byte *vbuf, unsigned vbufPitch);
480 void Scale3DShape(byte *vbuf, unsigned vbufPitch, statobj_t *ob);
H A Dwl_loadsave.cpp65 extern unsigned vbufPitch;
634 vbufPitch = SAVEPICWIDTH; in SaveScreenshot()
644 M_CreatePNG(file, vbuf, GPalette.BaseColors, SS_PAL, SAVEPICWIDTH, SAVEPICHEIGHT, vbufPitch); in SaveScreenshot()