spring: develop ad5641a6 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
tvo | tvo | develop | 2006-08-10 02:20:28 | develop a3c4c417 |
Changeset | * Fix stupid typo in unitsync causing assertion to fail in GetSideName() if user has less mods then number of sides in mod. * Add unitsync.GetDataDirectories(bool write) to unitsync python bindings. If write is False this returns a list of ro & rw data directories, if write is True it returns a list only rw data directories. You can safely assume for now that the returned list has only 1 item if write == True or operating system == Windows. * Replace 2 instances of file write code using filesystem.GetNativeFilenames() by filesystem.GetWriteDir(). * UnixFileSystemHandler now chdirs to the writedir, this is backward compatibility for AIs etc. that do not know about multiple datadirs (yet). git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@1797 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/Rendering/Textures/Bitmap.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Path/PathEstimator.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Platform/FileSystem.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Platform/FileSystem.h | [ Diff ] [ File ] | |||
mod - rts/System/Platform/Linux/UnixFileSystemHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Platform/Linux/UnixFileSystemHandler.h | [ Diff ] [ File ] | |||
mod - tools/unitsync/pybind.cpp | [ Diff ] [ File ] | |||
mod - tools/unitsync/unitsync.cpp | [ Diff ] [ File ] |