1. 31 Jul, 2020 1 commit
  2. 02 Aug, 2019 1 commit
  3. 23 Dec, 2018 1 commit
  4. 03 Feb, 2018 3 commits
  5. 30 Jan, 2018 1 commit
  6. 29 Jan, 2018 3 commits
  7. 26 Jan, 2018 8 commits
  8. 22 Jan, 2018 1 commit
    • chaz's avatar
      Switch to glfw, support alpha etc. · a2f58442
      chaz authored
      This updates the example loader to support alpha, conditionally with
      the command line arg --alph.  It also allows loading any size bitmap
      with --any-size.  Behind the scenes, it's been rewritten to support GLFW
      instead of GLUT.
      a2f58442
  9. 21 Jan, 2018 2 commits
  10. 19 Jan, 2018 3 commits
    • chaz's avatar
      Decode 32 bits · 99052e49
      chaz authored
      This cleans up how we look at 16-bit files, and adds the decoders for
      32-bit files.  I'm not sure if the 16-bit stuff is correct yet since I
      haven't written the decoders.
      99052e49
    • chaz's avatar
      Moving some stuff around for aesthetics · 0207983c
      chaz authored
      0207983c
    • chaz's avatar
      Refine format support · af3b983a
      chaz authored
      Turns out Windows NT format is weeeeeird.  Let's just avoid it.
      af3b983a
  11. 17 Jan, 2018 1 commit
  12. 16 Jan, 2018 1 commit
    • chaz's avatar
      Start of a massive refactor · 98e8a779
      chaz authored
      * Change how bitfields are stored.  With respect to xFrednet, I think
        this will be much simpler.  I haven't changed the decoders yet, so
        this may get tweaked again.
      * Get stricter about loading/checking masks.
      * Stricter checks when loading a palette.  We also now only load as many
        palette entries as there are declared in the file, leaving other
        colors as black, in case of an out of bounds value.
      * Start tweaking decoders to give the compiler a little optimization
        help in the form of reordering an if outside a while.
      * Basically I need to finish up by doing the rest of the decoders.
      98e8a779
  13. 15 Jan, 2018 1 commit
  14. 14 Jan, 2018 2 commits
    • chaz's avatar
      Some tweaks to loading the info header · 3e1847ef
      chaz authored
      Plus some more stylistic liberties.
      3e1847ef
    • chaz's avatar
      API overhaul, now with alpha channels · 6415620a
      chaz authored
      Thanks to xFrednet, we now can load alpha channels out of bitmaps.  I
      think these API tweaks make sense toward making that as easy as
      possible.
      
      Also made the API fully functional already.  Still need to write some
      tests.
      
      ALSO did an overhaul of the "documentation" and some general comments.
      6415620a
  15. 13 Jan, 2018 3 commits
  16. 31 Dec, 2017 1 commit
  17. 10 Dec, 2017 1 commit
    • xFrednet's avatar
      I added alpha loading and some examples. · b41dd543
      xFrednet authored
      The alpha channel will be loaded if the flag BMPREAD_LOAD_ALPHA in enabled. In case of a bitmap that doesn't provide a alpha channel all alpha values will be set to 0xff.
      
      The examples added are "art" and can be used by everyone for everything... Except selling them under a different name.(No one would buy them!!)
      b41dd543
  18. 02 Dec, 2017 1 commit
  19. 30 Nov, 2017 2 commits
  20. 19 Jul, 2016 3 commits
    • chaz's avatar
      Bump version · fd276487
      chaz authored
      I'm calling this 2.1.  Even though it's a fairly major overhaul, it's
      still backwards-compatible, interface-wise, with 2.0.
      fd276487
    • chaz's avatar
      Update security info in README · 256bb7fa
      chaz authored
      256bb7fa
    • chaz's avatar
      Add some basic tests for new code · ae096302
      chaz authored
      I got some basic edge-case tests for the new operation-checking
      functions, but I didn't worry about being too thorough.  That should
      probably be fixed at some point.
      ae096302