Addon zips can now live directly in content/addons.

The zips will need to provide their own subdirectory for the addon to 
register as such.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2871 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2007-12-15 09:48:59 +00:00
parent 52c333a850
commit acbff37448
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.7: Changes towards version 0.7:
- Addon zips can live in content/addons directly - Michael
- 3DO music separated into an addon pack - Michael - 3DO music separated into an addon pack - Michael
- Major change in resource index scheme - Michael - Major change in resource index scheme - Michael
- .lst replaced (mapping to IDs instead of to files) - .lst replaced (mapping to IDs instead of to files)
+2
View File
@@ -326,6 +326,8 @@ mountContentDir (uio_Repository *repository, const char *contentPath)
return; return;
} }
mountDirZips (contentHandle, addonsDir, "addons");
availableAddons = uio_getDirList (addonsDir, "", "", match_MATCH_PREFIX); availableAddons = uio_getDirList (addonsDir, "", "", match_MATCH_PREFIX);
if (availableAddons != NULL) if (availableAddons != NULL)
{ {