Nyerguds Posted September 28, 2015 Share Posted September 28, 2015 Huh. So the game supports transparent tmp files, then? I thought it always messed up colour #0 by treating it as transparent. So, um, that just seems like one boolean. How is it an array? Or do you mean it's also per cell? Link to comment Share on other sites More sharing options...
Blade Posted September 28, 2015 Share Posted September 28, 2015 TransFlag is actually an offset to one of the arrays in the footer of the file, its the footer array that contains the values treated as bools flagging each cell image as using the transparent blitter or not. This is for the software blitter at any rate, there is also a code path that caches the tiles as directdraw surfaces, its behaviour regarding the flags might be different. Link to comment Share on other sites More sharing options...
Nyerguds Posted September 28, 2015 Share Posted September 28, 2015 Ah. And they're one byte per boolean, there? Link to comment Share on other sites More sharing options...
Blade Posted September 29, 2015 Share Posted September 29, 2015 It would appear so, yeah. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now