Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DFile::CEL& make_tranp(DFile::CEL& cel){
- bool trnp = false;
- for(int y = 0; y < cel.height; ++y){
- int offh = y * cel.width;
- trnp = !trnp;
- for(int x = 0; x < cel.width; ++x){
- if(trnp = !trnp)
- cel.data[x + offh] = 256;
- }
- }
- }
Add Comment
Please, Sign In to add comment