Resources

Everything related to the code /
Tout ce qui touche au code
Post Reply
milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Resources

Post by milipili » Thu Jul 03, 2008 10:02 am

To make a nice OS X application bundle, I need resources in a separated folder. Anyway, the user should be able to have his mods into a second folder (resources are contained into the bundle the application seems to be a single file). The same goes for GNU/Linux,Unix/Solaris if the application is installed by the system.

I added some tools to handle resources (src/misc/resources.h). A missing function might be to be able to make a list of all folders (for example Resources::FindFolders(lst, "mods/") to have all available mods - and then the shortcut Resources::FindMods(lst)).

is there any special tip to be aware of ?
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Jul 03, 2008 2:27 pm

no, I don't see any. Just drop answers beginning with a '.'
mods can only be real folders, so we don't even have to go through our virtual file system.
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests