planetmaker wrote:There seems to happen some unwanted things, if I compile OpenGFX with the "-c" flag. See http://dev.openttdcoop.org/issues/903 and the attached screenshot. I'm not quite sure why the alignment of namely the track sprites (both some road, monorail and maglev) seems to fail. I tested with r413 (with -c) / r414 (without -c) of OpenGFX (anonymous checkout via hg clone http://mz.openttdcoop.org/hg/opengfx )
i.e. some sprites in OpenGFX should have bit 6 set, but they don't -- not a GRFCodec buggrfcodec readme wrote:-c
Enable sprite-shrinking optimizations. Note that these are not necessarily safe. In particular, sprites that will share their bounding box (as for some station sprites) must not have their upper-right hand corner moved, and the sprite defining the bounding box must not be shrunk smaller than any that will share with it.
Sprites with bit 6 of their compression byte set will never be shrunk.