i=(c_step?c_step:0);
while((i<my_info.steps) && (quit==0) && (escape==0))
{
+#ifdef MORE_PRINTF
+ if(i%refresh==0) printf("step: %d\n",i);
+#endif
for(j=0;j<my_info.cpi;j++)
{
x_c=get_rand(d3_l.max_x);
sprintf(cc_txt,"total c: %d",my_info.cc);
d3_lattice_draw(&d3_l,x,y,z,25,arg_v,mode,0,NULL,0,NULL,0);
}
-#endif
-#ifdef MORE_PRINTF
- if(i%refresh==0) printf("step: %d\n",i);
#endif
if(i%resave==0 && strcmp(s_file,"") && resave!=0 && i!=0)
{
if(c_ptr>=b_ptr+BUFSIZE)
{
#ifdef MORE_PRINTF
- printf("getting another %d bytes of random data ...",BUFSIZE);
+ printf("getting another %d bytes of random data ...\n",BUFSIZE);
#endif
if(read(rand_fd,b_ptr,BUFSIZE*sizeof(u32))<BUFSIZE*sizeof(u32))
{
}
c_ptr=b_ptr;
#ifdef MORE_PRINTF
- printf(" done\n");
+ printf("got it!\n");
#endif
}