Skip to content

SFW Fixed Release

Compare
Choose a tag to compare
@esmelusina esmelusina released this 03 Nov 00:14
· 13 commits to master since this release

Fixes:

  • Sprite atlases that were NOT square weren't indexing correctly, fixed. Some defines added and fixed.
  • Newline now goes to the next line instead of the previous (for drawstring).
  • Example project now includes release and debug versions of the library.

Instructions
Just link to sfw.lib (sfw_d.lib for debug) and use with sfwdraw.h.

The attached project (in zip) should compile out of the box. Use as a basis to explore/study functionality. sfwdraw.h explains just about everything going on.

Be sure to call sfw::initContext before attempting to use any of the other functions! Calling initContext more than once per application lifetime is currently not supported.

Esmeralda Salamone, [email protected]