Advertisement
Chronos_Ouroboros

I have no idea: Doom.CS

Jun 8th, 2015
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. image = new IMG256Colours (100, 100, pal, 256);
  2. for (int i = 0; i < 4; i++) {
  3. int offset = i * (25 * 25);
  4. for (int x = 0; x < 25 * 25; x++) {
  5. byte colour = 0;
  6. if (i == 0)
  7. colour = 160;
  8. else if (i == 1)
  9. colour = 112;
  10. else if (i == 2)
  11. colour = 240;
  12. else if (i == 3)
  13. colour = 250;
  14.  
  15. image [x + offset] = colour;
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement