Hmm ... We may have a problem Houston! I upgraded my patch to r2339. I added the new properties (11 +) to my code. I now get a fatal error loading the grf. Apparently TTDPatch hasn't been told about the new properties ... or I've botched something.Rubidium wrote:OpenTTD and TTDPatch should behave the same as they implement the same specs. The changes made to the old spec can be found at the bottom of my first post. It's basically callback 147 that got changed. Should be relatively trivial to update; the latest NFORenum will actually catch that 147 isn't used for objects anymore. You need to set a bit in a callback flags property to enable it though.wallyweb wrote:As I am a TTDX player, I'm not set up to code my work under OTTD.
I've attached two zips containing files suitable for testing.
The first one, dam_2338, works as expected under TTDPatch, pre-upgrade. The second one, dam_2339, fails in both pre and post upgrade with a fatal error in the properties section (Unknown property 11). Perhaps someone could try the grf in OTTD to see if the problem follows. In both cases, the graphics feature animations which change approximately every 6 TTDX days.
DISCLAIMER The graphics are a work in progress and no claim is intended or made as to the quality of the artwork. It is highly recommended not to include these in a permanent newgrf file or repository as they will chage.
