Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
SFML projects
»
Loading resources using sf::InputStream with physfs
Print
Pages: [
1
]
Author
Topic: Loading resources using sf::InputStream with physfs (Read 4298 times)
0 Members and 1 Guest are viewing this topic.
.teri
Newbie
Posts: 28
Loading resources using sf::InputStream with physfs
«
on:
August 05, 2011, 01:02:47 am »
There was an attempt to load resources using physfs... but without use the sf::InputStream. I wrote a
module that load resources using the physfs library
.
Works well, at least for me. 2 things to bear in mind:
-You must initialize the physfs library and mount the paths.
-The class only opens the file for reading.
I hope that is useful. In fact anyone can write this module easily.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Loading resources using sf::InputStream with physfs
«
Reply #1 on:
August 05, 2011, 08:07:25 am »
Hi
Why don't you put it on the wiki?
Logged
Laurent Gomila - SFML developer
.teri
Newbie
Posts: 28
Which category?
«
Reply #2 on:
August 07, 2011, 01:11:38 pm »
Quote from: "Laurent"
Hi
Why don't you put it on the wiki?
I wonder if must be in tutorial or projects.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Loading resources using sf::InputStream with physfs
«
Reply #3 on:
August 07, 2011, 01:51:02 pm »
If you just provide source code, it's a project.
If you write a complete tutorial about it, it's a tutorial
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
General
»
SFML projects
»
Loading resources using sf::InputStream with physfs