Index: config.doc ================================================================== --- config.doc +++ config.doc @@ -55,12 +55,13 @@ If defined, the file name of the palette to use (if not set, then the internal palette is used instead). The file format is hex rrggbb format separated by any kind of whitespaces. .progress - If nonzero, how many steps between dots in the progress report for the - auto testing most. + If positive, how many steps between dots in the progress report for the + auto testing most. If negative, number of milliseconds to sleep before + each level is executed. .screenFlags SDL flags: d = double buffer, f = full screen, h = use hardware surface, n = no window frame, p = hardware palette, r = allow the window to be resized, y = asynchronous blit, z = no parachute. Some flags might not Index: game.c ================================================================== --- game.c +++ game.c @@ -849,10 +849,11 @@ t=xrm_get_resource(resourcedb,optionquery,optionquery,2); if(n=lvl=t?strtol(t,0,10):0) goto start; for(n=1;n<=level_nindex;n++) { if(lvl) break; start: + if(pro<0) sqlite3_sleep(-pro); if(main_options['t']) printf("*** Level %d\n",n); else printf("Level %d",n); if(t=load_level(-n)) { printf(": Error during loading: %s\n",t); rc=1; continue; } @@ -872,11 +873,11 @@ for(i=0;i0 && !(i%pro)) putchar('.'); if(t=execute_turn(replay_list[i])) { printf(": Error on move %d: %s\n",i+1,t); rc=1; goto cont; } if(gameover==-1) {