forked from mirror/OpenTTD
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
This commit is contained in:
@@ -149,7 +149,7 @@ struct Colour {
|
||||
uint8 b, g, r, a; ///< colour channels in LE order
|
||||
#endif /* TTD_ENDIAN == TTD_BIG_ENDIAN */
|
||||
|
||||
operator uint32 () { return *(uint32 *)this; }
|
||||
operator uint32 () const { return *(uint32 *)this; }
|
||||
};
|
||||
|
||||
enum FontSize {
|
||||
|
Reference in New Issue
Block a user