Home
last modified time | relevance | path

Searched refs:ScrCenterY (Results 1 – 6 of 6) sorted by relevance

/dports/games/yadex/yadex-1.7.0/src/
H A Deditzoom.cc59 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()
H A Dyadex.h315 #define MAPY(y) (OrigY + (int) ((ScrCenterY - (int) (y)) / Scale))
319 #define SCREENY(y) (ScrCenterY + (int) ((OrigY - (y)) * Scale))
H A Dgfx.h62 extern int ScrCenterY; // Display Y-coord of center of screen/window
H A Dgotoobj.cc53 is.y = ScrCenterY; in CenterMapAroundCoords()
H A Dgfx.cc79 int ScrCenterY; // Display Y-coord of centre of screen/window variable
642 ScrCenterY = ScrMaxY / 2; in SetWindowSize()
701 ScrCenterY = ScrMaxY / 2; in SwitchToVGA256()
734 ScrCenterY = ScrMaxY / 2; in SwitchToVGA16()
H A Deditloop.cc1483 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()