From 542d0b2589d7686b5da456ffe9b22b278c0b5c27 Mon Sep 17 00:00:00 2001 From: Brendan Robert Date: Sun, 20 Jul 2014 11:23:23 -0500 Subject: [PATCH] Clarifications in the comments --- Platform/Apple/virtual/src/tile/tile.s | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Platform/Apple/virtual/src/tile/tile.s b/Platform/Apple/virtual/src/tile/tile.s index bd437a23..5542562e 100644 --- a/Platform/Apple/virtual/src/tile/tile.s +++ b/Platform/Apple/virtual/src/tile/tile.s @@ -13,8 +13,22 @@ SECTION_WIDTH=22 SECTION_HEIGHT=23 VIEWPORT_WIDTH=9 VIEWPORT_HEIGHT=9 -VIEWPORT_VERT_PAD=0 ; This is the distance between the center of the viewport and the top/bottom +VIEWPORT_VERT_PAD=4 ; This is the distance between the center of the viewport and the top/bottom VIEWPORT_HORIZ_PAD=4 ; This is the distance between the center of the viewport and the left/right + +;-------------- +; 0 1 2 3 4 5 6 7 8 9 +;0 .\ +;1 . |_ VERT PAD +;2 . | +;3 ./ +;4 X . . . . +;5 \_____/ +;6 | +;7 HORIZ PAD +;8 +;9 + MAX_MAP_ID=254 ; This means that the total map area can be as big as 5588x5842 tiles! REL_X=$50 ; Will always be in the range 0-43