17 Feb 2013, 08:25 by Lewin
Krom wrote:I'm not sure we could add snow roads to KaM Remake, because the tileset is limited to 256 elements and they all are already taken. However in distant future we may allow more tileset elements, but thats much harder than code for adding snow houses.
It wouldn't have to be as complicated as that, we could just load up the snow overlay texture separately (like we do for water animations) and automatically render it on top of roads when the tile under the road is snow. There's really no need for roads/fields to be in the 256 terrain tiles anyway, since they never get used for the tile type (as in fTerrain.Land[X,Y].Terrain is NEVER set to the road/field tiles in the map file OR while the game is running), the only similarity is in the way they get rendered, but the same goes for water animations...