[OpenTTD] Improved 32 bpp support

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
Michi_cc
OpenTTD Developer
OpenTTD Developer
Posts: 619
Joined: 14 Jun 2004 23:27
Location: Berlin, Germany
Contact:

[OpenTTD] Improved 32 bpp support

Post by Michi_cc »

With r23002 the 32 bpp support in OpenTTD was improved.

It is now possible for graphics base sets and NewGRFs to give OpenTTD a hint that they prefer a 32 bpp blitter. OpenTTD will try to honour that hint and switch blitters automatically, but will ignore it if necessary. Only 8 bpp sprites are guaranteed to work with any blitter, so 8 bpp fallback sprites are still necessary even with a 32 bpp hint.

For NewGRFs, this hint is given via Action 14. For graphics base sets, the obg file format was extended.

-- Michael Lutz
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: [OpenTTD] Improved 32 bpp support

Post by Lord Aro »

excellent! thanks! this should be very helpful :)
now, to learn how to make newgrfs :)
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 9 guests