Planeset newgrf

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1793
Joined: 30 Mar 2005 09:43

Post by peter1138 »

DaleStan wrote:Is there any way I can detect that the OpenTTD in question has UTF-8 support? If so, I'll check for that too, and load the strings if either the GRF or libfreetype is available
Hmm, I guess we'd have to add, or modify, an action 7 variable. What's more useful, checking individual unicode locations are defined, or just a general "we can use any unicode character" variable?
He's like, some kind of OpenTTD developer.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Well, I expected to be checking var 9D first, but it seems to me that one of the var 85 bits would also work.

As an NFO coder, a bit somewhere that means "don't load these strings if they contain characters whose glyphs aren't available" would be the easiest, but it may not be feasible.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 11 guests