1
General / Cross-Platform Resource Loading
« on: January 01, 2013, 03:29:02 am »
Just started working with SFML 2.0 and I'm loving it! I'm working on a small application that requires loading images from resource and saw this nice wiki entry by Laurent https://github.com/SFML/SFML/wiki/Source%3A-Load-Image-From-Resource
Even though I'm developing on windows, I would like to use a more cross-platform friendly approach to load resources. (The "LoadImageFromResource(); is windows specific)
Does SFML have anything like that?
Edit: On second look, that entry isn't as relevant as I mentioned. To clarify: I would prefer not to use "LoadImage()", "LoadBitmap()" which are inside the windows.h header.
Even though I'm developing on windows, I would like to use a more cross-platform friendly approach to load resources. (The "LoadImageFromResource(); is windows specific)
Does SFML have anything like that?
Edit: On second look, that entry isn't as relevant as I mentioned. To clarify: I would prefer not to use "LoadImage()", "LoadBitmap()" which are inside the windows.h header.