spring: develop 8070e3e6 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kloot | kloot | develop | 2008-05-03 21:47:34 | develop c2d74f13 |
Changeset | Add an unsynced ExtractModArchiveFile(path) callout to enable LuaUI widgets to extract files from mod archives. Only relative paths that point to actual archive members are accepted, example: Spring.ExtractModArchiveFile("sounds/boom.wav") will create a directory "sounds/" and extract "boom.wav" to it if and only if the mod archive contains both the directory and the file (any dirs pointing anywhere but to an archive member will simply cause the "does this file exist?" check to fail). git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5838 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/Lua/LuaUnsyncedCtrl.cpp | [ Diff ] [ File ] | |||
mod - rts/Lua/LuaUnsyncedCtrl.h | [ Diff ] [ File ] |