diff --git a/rogueviz/snow.cpp b/rogueviz/snow.cpp index 35d6dc65..5471c028 100644 --- a/rogueviz/snow.cpp +++ b/rogueviz/snow.cpp @@ -40,11 +40,15 @@ bool snow_glitch = false; /* disable textures */ bool snow_texture = true; +/* draw single objects? */ +bool single_objects = true; + int snow_shape = 0; struct snowball { transmatrix T; int model_id; + int object_id; }; map> snowballs_at; @@ -134,14 +138,29 @@ bool draw_snow(cell *c, const shiftmatrix& V) { } } - for(int t=0; tcolor) queuepoly(V*T.T, obj->sh, obj->color); + } + } } else { auto& p = queuepoly(V * T.T, shapeid(snow_shape), snow_color);