Searched refs:main_map_screen_y_top (Results 1 – 5 of 5) sorted by relevance
88 int main_map_screen_y_top = 0; variable652 main_map_screen_y_top = small_map_screen_y_top; in switch_to_game_map()653 main_map_screen_y_bottom = main_map_screen_y_top + size; in switch_to_game_map()700 bottom = main_map_screen_y_bottom, height = main_map_screen_y_bottom - main_map_screen_y_top; in draw_marks()769 int main_t = main_map_screen_y_top, main_b = main_map_screen_y_bottom, in draw_game_map()1013 int screen_map_height = main_map_screen_y_bottom - main_map_screen_y_top; in draw_game_map()1015 int m_py = 512 - ((mouse_y-main_map_screen_y_top) * 512) / screen_map_height; in draw_game_map()1156 int screen_map_height = main_map_screen_y_bottom - main_map_screen_y_top; in delete_mark_on_map_on_mouse_position()1163 || mouse_y < main_map_screen_y_top || mouse_y > main_map_screen_y_bottom) { in delete_mark_on_map_on_mouse_position()1168 …my = (tile_map_size_y * 6) - ((mouse_y - main_map_screen_y_top) * tile_map_size_y * 6) / screen_ma… in delete_mark_on_map_on_mouse_position()
86 int screen_map_height = main_map_screen_y_bottom - main_map_screen_y_top; in click_map_handler()91 int m_py = 512 - ((my-main_map_screen_y_top) * 512) / screen_map_height; in click_map_handler()
365 int screen_map_height = main_map_screen_y_bottom - main_map_screen_y_top; in pf_get_mouse_position_extended()369 || mouse_y < main_map_screen_y_top in pf_get_mouse_position_extended()376 *py = (tile_y * 6) - ((mouse_y - main_map_screen_y_top) * tile_y * 6) / screen_map_height; in pf_get_mouse_position_extended()
94 extern int main_map_screen_y_top;
3755 …p[0].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3756 …p[1].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3757 …p[2].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3758 …p[3].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3766 …p[0].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3767 …p[1].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3768 …p[2].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…3769 …p[3].y = main_map_screen_y_bottom - (main_map_screen_y_bottom - main_map_screen_y_top) * bounds->p…