MCPcopy Create free account
hub / github.com/demoth/jake2 / AddDirtyPoint

Method AddDirtyPoint

client/src/main/java/jake2/client/SCR.java:1300–1309  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

1298 * ================= SCR_AddDirtyPoint =================
1299 */
1300 static void AddDirtyPoint(int x, int y) {
1301 if (x < scr_dirty.x1)
1302 scr_dirty.x1 = x;
1303 if (x > scr_dirty.x2)
1304 scr_dirty.x2 = x;
1305 if (y < scr_dirty.y1)
1306 scr_dirty.y1 = y;
1307 if (y > scr_dirty.y2)
1308 scr_dirty.y2 = y;
1309 }
1310
1311 private static int lastframes = 0;
1312

Callers 8

RenderViewMethod · 0.95
PrepRefreshMethod · 0.95
DrawCenterStringMethod · 0.95
DirtyScreenMethod · 0.95
DrawFieldMethod · 0.95
ExecuteLayoutStringMethod · 0.95
DrawNotifyMethod · 0.95
DrawConsoleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected