-
Notifications
You must be signed in to change notification settings - Fork 0
Source: SFML PhysFS
eXpl0it3r edited this page Oct 18, 2012
·
1 revision
A simple module that loads resources using the physfs library for be used with ::OpenFromStream(). Also this module is an example of how should be implemented the InputStream class. This module can be used freely.
Usage
sf::Music coolmusic;
sf::physfs musicstream("coolmusic.ogg");
coolmusic.OpenFromStream(musicstream);
Notes
-
You must initialize first the physfs library and mount the paths.
-
The file will be open only for reading.