diff options
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c index 81bc756..30c807a 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1304,6 +1304,17 @@ void draw_parts(pixel *vid) int cr, cg, cb; float fr, fg, fb; float pt = R_TEMP; + if(GRID_MODE) + { + for(ny=0;ny<YRES;ny++) + for(nx=0;nx<XRES;nx++) + { + if(ny%(4*GRID_MODE)==0) + blendpixel(vid, nx, ny, 100, 100, 100, 80); + if(nx%(4*GRID_MODE)==0) + blendpixel(vid, nx, ny, 100, 100, 100, 80); + } + } for(i = 0; i<NPART; i++) { #ifdef OpenGL if(cmode == CM_FANCY) //If fancy mode |
