Searched refs:ScrCenterY (Results 1 – 6 of 6) sorted by relevance
59 OrigY += (int) ((ScrCenterY - is.y) / Scale); in edit_zoom_in()62 OrigY -= (int) ((ScrCenterY - is.y) / Scale); in edit_zoom_in()75 OrigY += (int) ((ScrCenterY - is.y) / Scale); in edit_zoom_out()78 OrigY -= (int) ((ScrCenterY - is.y) / Scale); in edit_zoom_out()92 OrigY += (int) ((ScrCenterY - is.y) / Scale); in edit_set_zoom()95 OrigY -= (int) ((ScrCenterY - is.y) / Scale); in edit_set_zoom()
315 #define MAPY(y) (OrigY + (int) ((ScrCenterY - (int) (y)) / Scale))319 #define SCREENY(y) (ScrCenterY + (int) ((OrigY - (y)) * Scale))
62 extern int ScrCenterY; // Display Y-coord of center of screen/window
53 is.y = ScrCenterY; in CenterMapAroundCoords()
79 int ScrCenterY; // Display Y-coord of centre of screen/window variable642 ScrCenterY = ScrMaxY / 2; in SetWindowSize()701 ScrCenterY = ScrMaxY / 2; in SwitchToVGA256()734 ScrCenterY = ScrMaxY / 2; in SwitchToVGA16()
1483 else if (is.key == YK_UP && MAPY (ScrCenterY) < 20000) in EditorLoop()1488 else if (is.key == YK_DOWN && MAPY (ScrCenterY) > -20000) in EditorLoop()1496 else if (is.key == YK_PU && MAPY (ScrCenterY) < /*MapMaxY*/ 20000) in EditorLoop()1501 else if (is.key == YK_PD && MAPY (ScrCenterY) > /*MapMinY*/ -20000) in EditorLoop()2343 if (MAPY (ScrCenterY) < /*MapMaxY*/ 20000) in EditorLoop()2355 if (MAPY (ScrCenterY) > /*MapMinY*/ -20000) in EditorLoop()