aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/nms.gathering.org/nms2/prototype/test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/nms.gathering.org/nms2/prototype/test.js b/web/nms.gathering.org/nms2/prototype/test.js
index 4fd3dbc..f7a2453 100644
--- a/web/nms.gathering.org/nms2/prototype/test.js
+++ b/web/nms.gathering.org/nms2/prototype/test.js
@@ -4,6 +4,14 @@ var fontSize = 20;
var fontFace = "Arial Black";
var nightMode = false;
var nightBlur = {};
+
+/* "Orig" refers to the oriinal coordinate system.
+ *
+ * The short version is: This is the extents of the map, regardless of
+ * resolution. So if you place something at 1920x1032, it'll be at the very
+ * corner. If you change "orig", you also have to re-calculate all switch
+ * placements etc.
+ */
var orig = {
width:1920,
height:1032