Home
last modified time | relevance | path

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

/dports/games/simutrans/simutrans-121.0/vehicle/
H A Dsimpeople.cc354 sint32 display_steps = (uint32)(steps + steps_offset)*(uint16)raster_width; in get_screen_offset() local
356 display_steps &= 0xFFFFFC00; in get_screen_offset()
359 display_steps = (display_steps*diagonal_multiplier)>>10; in get_screen_offset()
361 xoff += (display_steps*dx) >> 10; in get_screen_offset()
362 yoff += ((display_steps*dy) >> 10) + (get_hoff(raster_width))/(4*16); in get_screen_offset()
H A Dsimvehicle.cc391 sint32 display_steps = (uint32)steps*(uint16)raster_width; in get_screen_offset() local
393 display_steps &= 0xFFFFFC00; in get_screen_offset()
396 display_steps = (display_steps*diagonal_multiplier)>>10; in get_screen_offset()
398 xoff += (display_steps*dx) >> 10; in get_screen_offset()
399 yoff += ((display_steps*dy) >> 10) + (get_hoff(raster_width))/(4*16); in get_screen_offset()