run "unshield x <path to your dvd>/travel/data2.cab" where the map
should go (about 4.3 GB)
export MAP_DATA=<path to where the map has been unshielded>/DIRMAP_MAP/DIE.map
-move smp4.smp from DIE.map to a higher directory, since it currently
-crashes the program.
GPS Support:
if (val != -1) {
dx=c[1].x-c[0].x;
dy=c[0].y-c[1].y;
- if (dy > dx) {
- ca[0].y=val;
- cb[1].y=val+1;
- } else {
- ca[1].x=val;
- cb[0].x=val+1;
+ if (dx > 0 && dy > 0) {
+ if (dy > dx) {
+ ca[0].y=val;
+ cb[1].y=val+1;
+ } else {
+ ca[1].x=val;
+ cb[0].x=val+1;
+ }
+ ret+=block_binarytree_walk(block, p, ca, ign, blk_inf, t, data, func);
+ ret+=block_binarytree_walk(block, p, cb, ign, blk_inf, t, data, func);
}
- ret+=block_binarytree_walk(block, p, ca, ign, blk_inf, t, data, func);
- ret+=block_binarytree_walk(block, p, cb, ign, blk_inf, t, data, func);
}
return ret;
}