From a75a924ca5f67336d9e065ab307d976c4cd8fabc Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 4 Jun 2007 06:53:25 +0000 Subject: [1699948] Allow changing the viewport size if you're using a larger terminal than 80x24. Also allow moving the PC around the viewport without scrolling the viewport if the viewport is large enough. This is not tested on DOS and Windows yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1524 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/defines.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/defines.h') diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h index 9ce64087e6..5b8bb6200c 100644 --- a/crawl-ref/source/defines.h +++ b/crawl-ref/source/defines.h @@ -109,6 +109,9 @@ #define Y_ABYSS_WIDTH (Y_ABYSS_2 - Y_ABYSS_1 + 1) #define Y_ABYSS_CENTER (Y_ABYSS_1 + Y_ABYSS_WIDTH / 2) +#define LOS_RADIUS 8 +#define ENV_SHOW_OFFSET (LOS_RADIUS + 1) +#define ENV_SHOW_DIAMETER (ENV_SHOW_OFFSET * 2 + 1) #define LOS_SX 8 #define LOS_EX 25 #define LOS_SY 1 -- cgit v1.2.3-54-g00ecf