Page 1 of 1

(svn3825--b29 pre-release!) Displays zones as black squares

Posted: Tue Jul 12, 2011 5:10 pm
by tiger_eye
In the b29 pre-release, towns and dungeon entrances on the worldmap show up as black squares on the worldmap when using Shockbolt tiles. The modifications of svn3824 caused this. The following change appears to fix the issue:

Code: Select all

Index: game/modules/tome/class/Game.lua
===================================================================
--- game/modules/tome/class/Game.lua	(revision 3825)
+++ game/modules/tome/class/Game.lua	(working copy)
@@ -382,7 +382,7 @@
 		print("[DISPLAY MODE] Tileset: "..gfx.tiles)
 		print("[DISPLAY MODE] Size: "..gfx.size)
 
-		local do_bg = true
+		local do_bg = gfx.tiles == "ascii_full"
 		if gfx.size == "64x64" then
 			Map:setViewPort(216, 0, self.w - 216, (self.map_h_stop or 80) - 16, 64, 64, nil, 44, do_bg)
Also, why isn't 48x48 size tiles an option in "game/modules/tome/dialogs/GraphicMode.lua"? All it needs is to be uncommented (nevermind the border grid that appears when using ascii w/ background while in 48x48--I think we could live with that) :D

Re: (svn3825--b29 pre-release!) Displays zones as black squa

Posted: Tue Jul 12, 2011 7:31 pm
by tiger_eye
tiger_eye wrote:Also, why isn't 48x48 size tiles an option in "game/modules/tome/dialogs/GraphicMode.lua"? All it needs is to be uncommented (nevermind the border grid that appears when using ascii w/ background while in 48x48--I think we could live with that)
Aha! There was an issue with the targeting highlights while in 48x48 tile display mode. The attached patch allows for 48x48 tile display, and the targeting highlights are correct. The patch also includes the fix described in the previous post.

Perhaps in the following beta we can choose any tile size :D (with reasonable bounds)
48x48_tile_display.txt
(2.14 KiB) Downloaded 162 times