Menu

Commit [r1761]  Maximize  Restore  History

Trunk 1.1:

- support of external data:
- legal local "path" attribut values are "./anyname" and
"externaldata/anyname"
- all external data files are stored at "path" with suffix ".txt"
- download of "url" via curl (http, ftp, ...)
- download only when no local copy exists
- store downloaded file at "path"
- Lua API extension: wo:externalData("path") for retrieval as string
Note:
- together with multilevel feature and libimport any Sokoban levelpack
is now directly playable on Enigma.
- libimport currently supports only linefeed terminated files
- levelpack composer does not yet support external data
- some error checks needs to be improved in external data support

ral 2009-07-19

changed /trunk/src/file.cc
changed /trunk/src/file.hh
changed /trunk/src/lev/Proxy.cc
changed /trunk/src/lev/Proxy.hh
changed /trunk/src/lev/SubProxy.cc
changed /trunk/src/lev/SubProxy.hh
changed /trunk/src/lua.cc
changed /trunk/src/main.cc
/trunk/src/file.cc Diff Switch to side-by-side view
Loading...
/trunk/src/file.hh Diff Switch to side-by-side view
Loading...
/trunk/src/lev/Proxy.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lev/Proxy.hh Diff Switch to side-by-side view
Loading...
/trunk/src/lev/SubProxy.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lev/SubProxy.hh Diff Switch to side-by-side view
Loading...
/trunk/src/lua.cc Diff Switch to side-by-side view
Loading...
/trunk/src/main.cc Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.