viewing paste mapfree cell debug issue | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
short x = (rnd()%(map[src->m].xs-2)+1), y = (rnd()%(map[src->m].ys-2)+1);
                        short i=0, x2=300, y2=300;
                        for (i=0; i<10; i++){
                                map_search_freecell(src, 0, &x, &y, -1, -1, 1|2);
                                ShowDebug("src.x=%d, src.y=%d x=%d, y=%d distance>30?=%d\n",src->x,src->y,x,y,check_distance_blxy(src, x, y, 30));
                                map_search_freecell(src, 0, &x2, &y2, -1, -1, 1|2);
                                ShowDebug("src.x=%d, src.y=%d x2=%d, y2=%d distance>30?=%d\n",src->x,src->y,x2,y2,check_distance_blxy(src, x, y, 30));
                        }
 
[Debug]: src.x=110, src.y=106 x=102, y=100 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=108, y2=100 distance<30?=1
[Debug]: src.x=110, src.y=106 x=114, y=89 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=98, y2=99 distance<30?=1
[Debug]: src.x=110, src.y=106 x=97, y=98 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=117, y2=87 distance<30?=1
[Debug]: src.x=110, src.y=106 x=115, y=99 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=102, y2=96 distance<30?=1
[Debug]: src.x=110, src.y=106 x=102, y=101 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=84, y2=110 distance<30?=1
[Debug]: src.x=110, src.y=106 x=98, y=96 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=84, y2=118 distance<30?=1
[Debug]: src.x=110, src.y=106 x=101, y=98 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=113, y2=87 distance<30?=1
[Debug]: src.x=110, src.y=106 x=111, y=92 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=114, y2=85 distance<30?=1
[Debug]: src.x=110, src.y=106 x=116, y=100 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=123, y2=100 distance<30?=1
[Debug]: src.x=110, src.y=106 x=101, y=97 distance<30?=1
[Debug]: src.x=110, src.y=106 x2=112, y2=85 distance<30?=1
[Debug]: src.x=105, src.y=96 x=91, y=117 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=110, y2=106 distance<30?=1
[Debug]: src.x=105, src.y=96 x=117, y=116 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=113, y2=110 distance<30?=1
[Debug]: src.x=105, src.y=96 x=101, y=98 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=91, y2=84 distance<30?=1
[Debug]: src.x=105, src.y=96 x=91, y=89 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=89, y2=112 distance<30?=1
[Debug]: src.x=105, src.y=96 x=121, y=97 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=114, y2=109 distance<30?=1
[Debug]: src.x=105, src.y=96 x=114, y=102 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=118, y2=101 distance<30?=1
[Debug]: src.x=105, src.y=96 x=86, y=82 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=90, y2=119 distance<30?=1
[Debug]: src.x=105, src.y=96 x=108, y=101 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=110, y2=114 distance<30?=1
[Debug]: src.x=105, src.y=96 x=107, y=100 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=115, y2=84 distance<30?=1
[Debug]: src.x=105, src.y=96 x=90, y=115 distance<30?=1
[Debug]: src.x=105, src.y=96 x2=115, y2=96 distance<30?=1
[Debug]: src.x=105, src.y=97 x=97, y=97 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=116, y2=97 distance<30?=1
[Debug]: src.x=105, src.y=97 x=122, y=101 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=109, y2=108 distance<30?=1
[Debug]: src.x=105, src.y=97 x=114, y=108 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=120, y2=100 distance<30?=1
[Debug]: src.x=105, src.y=97 x=89, y=118 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=93, y2=85 distance<30?=1
[Debug]: src.x=105, src.y=97 x=121, y=101 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=93, y2=102 distance<30?=1
[Debug]: src.x=105, src.y=97 x=92, y=113 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=90, y2=83 distance<30?=1
[Debug]: src.x=105, src.y=97 x=112, y=111 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=89, y2=110 distance<30?=1
[Debug]: src.x=105, src.y=97 x=93, y=110 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=84, y2=114 distance<30?=1
[Debug]: src.x=105, src.y=97 x=110, y=92 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=96, y2=101 distance<30?=1
[Debug]: src.x=105, src.y=97 x=88, y=110 distance<30?=1
[Debug]: src.x=105, src.y=97 x2=122, y2=102 distance<30?=1
Viewed 354 times, submitted by lighta.