Sorry for the double post.
Found the problem.
Removing OpenGFX 2.2 and going back to v2.1 solves the problem.
I was reading the other day there was made an improvement to the mapgeneration graphics so I tried removing them first before going digging in the code.
I have not yet tested with a clean OTTD build but my "clean" More Heigt Levels build suffers the same problem when using v2.2.
Not much I can do except for going through the OpenGFX changelog on the Coopserver and trying to find out what the improvement is about.
I hope I can solve it ...
Edit:
After some testing ...
OpenGFX-nightly-r399 is the last one that loads without glitches.
From r402 the glitches apear.
The codeblock contains the changelog included with both. I suspect r400 & r401 to be the ones that "break" the moreheightlevels patch.
I have not fixed it yet but now I do know where to search.
Code: Select all
changeset: 402:e8eeec5ebf1f
tag: tip
user: Ammler <ammler@openttdcoop.org>
date: Sat Mar 27 11:08:58 2010 +0100
summary: Doc: update credits and blame list
changeset: 401:d457fa3c333b
user: Ammler <ammler@openttdcoop.org>
date: Sat Mar 27 10:20:06 2010 +0100
summary: Feature [#869]: include gui icon for debug tools
changeset: 400:28d9710d143e
user: Ammler <ammler@openttdcoop.org>
date: Fri Mar 26 22:44:43 2010 +0100
summary: Feature [#869]: gui icon for debug tools
changeset: 399:3d21b3586027
tag: tip
user: planetmaker <ottd@planetmaker.de>
date: Thu Mar 25 17:13:02 2010 +0100
summary: Doc: Update readme a bit
changeset: 398:39bc95ffc8b0
user: planetmaker <ottd@planetmaker.de>
date: Thu Mar 25 16:55:49 2010 +0100
summary: Change: Make Debian and Fedora users happy (Rubidium)
changeset: 397:128315c6c280
user: planetmaker <ottd@planetmaker.de>
date: Thu Mar 25 16:39:00 2010 +0100
summary: Fix: [Makefile] Don't build when calling clean and mrproper but clean more thoroughly (Rubidium)
changeset: 396:f27f00e31817
user: planetmaker <ottd@planetmaker.de>
date: Wed Mar 24 18:25:39 2010 +0100
summary: Change: [Makefile] Update Makefile to r77
If you need to play without glitches but do want to have a somewhat recent OpenGFX version, "update" to r399 and move any later version you may have(r402, r405 and v2.2) to a directory where it is not seen by the patchpack or the clean More
Height Levels patch.
Clean trunk does not show these glitches.
I hope to have fixed version soon.
Edit2:
I have fixed in my build.
For the self compilers ...
Open table/sprites.h and change these two lines:
Code: Select all
-static const uint16 OPENTTD_SPRITE_COUNT = 172;
+static const uint16 OPENTTD_SPRITE_COUNT = 173;
...
-static const SpriteID SPR_FLAT_BLACKTILES = SPR_OPENTTD_BASE + 153;
+static const SpriteID SPR_FLAT_BLACKTILES = SPR_OPENTTD_BASE + 154;
For the binary providers, please wait to provide a new binary untill I am sure that my fix is the correct one. You will know when I will have posted a new diff.
For the binary downloaders, please "update" OpenGFX to r399 or earlier, as explained in edit 1, until a new binary is available.