Home
last modified time | relevance | path

Searched refs:tryright (Results 1 – 2 of 2) sorted by relevance

/dports/games/ags/ags_linux_v.3.4.4.1/Engine/ac/
H A Droom.cpp869 int tryleft=forchar->x - 1,tryright=forchar->x + 1; in load_new_room() local
873 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() local
886 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()
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/
H A Droom.cpp796 int tryleft = forchar->x - 1, tryright = forchar->x + 1; in load_new_room() local
802 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() local
824 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()