incbin.bmx 244 B

12345678910
  1. Rem
  2. IncBin embeds an external data file in a BlitzMax program that can
  3. then be read using the "incbin::" device name.
  4. End Rem
  5. ' code snippet from demos/firepaint/firepaint.bmx
  6. Incbin "stars.png"
  7. Local stars=LoadImage( "incbin::stars.png" )