Advertisement
Guest User

Untitled

a guest
Jul 16th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. output: appvar
  2. name: vargfx
  3. source-format: c
  4. include-file: vargfx.h
  5. palettes:
  6. - bright_palette
  7. - dark_palette
  8. converts:
  9. - brightImages
  10. - darkImages
  11. archived: true
  12.  
  13. palette: bright_palette
  14. max-entries: 256
  15. fixed-color: {index:0, r:0, g:0, b:0}
  16. fixed-color: {index:255, r:255, g:255, b:255}
  17. images: automatic
  18.  
  19. palette: dark_palette
  20. max-entries: 64
  21. images: automatic
  22.  
  23. convert: brightImages
  24. palette: bright_palette
  25. images:
  26. - grass.png
  27. - tulip.png
  28. - sky.png
  29. transparent-color-index: 0
  30.  
  31. convert: darkImages
  32. palette: dark_palette
  33. images:
  34. - stone.png
  35. - cobbleStone.png
  36. - myLife.png
  37.  
  38.  
  39. # This is the comments to the code above. convimg freaks out if I try to comment the code above directly so I'm writing it down here :P
  40. # (Line 2) This will be the name of the appvar when you send it to your calculator
  41. # (Line 4) This is the header file (along with its corresponding '.c' file) with a bunch of useful global variables in it
  42. # (Line 6) This will be the name of your palette(s) when you go to set it up with 'gfx_SetPalette()'.
  43. # (Line 9) Your image group(s). Different image groups for different palettes I guess...
  44. # (Line 14) number of entries in your palette. Instead of having 256 different shades of gray, you can save memory by just using, say, 64.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement