Searched refs:tryright (Results 1 – 2 of 2) sorted by relevance
869 int tryleft=forchar->x - 1,tryright=forchar->x + 1; in load_new_room() local873 if (get_walkable_area_pixel(tryright, forchar->y) > 0) { in load_new_room()874 forchar->x=tryright; break; } in load_new_room()877 if (tryright<thisroom.right) { tryright++; nowhere++; } in load_new_room()882 int tryleft=forchar->y - 1,tryright=forchar->y + 1; in load_new_room() local886 if (get_walkable_area_pixel(forchar->x, tryright) > 0) { in load_new_room()887 forchar->y=tryright; break; } in load_new_room()890 if (tryright<thisroom.bottom) { tryright++; nowhere++; } in load_new_room()
796 int tryleft = forchar->x - 1, tryright = forchar->x + 1; in load_new_room() local802 if (get_walkable_area_pixel(tryright, forchar->y) > 0) { in load_new_room()803 forchar->x = tryright; in load_new_room()811 if (tryright < _GP(thisroom).Edges.Right) { in load_new_room()812 tryright++; in load_new_room()818 int tryleft = forchar->y - 1, tryright = forchar->y + 1; in load_new_room() local824 if (get_walkable_area_pixel(forchar->x, tryright) > 0) { in load_new_room()825 forchar->y = tryright; in load_new_room()833 if (tryright < _GP(thisroom).Edges.Bottom) { in load_new_room()834 tryright++; in load_new_room()