spring: develop 33a50981 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
tvo | tvo | develop | 2006-08-24 11:12:17 | develop b282f753 |
Changeset | * Clean up FileSystem, FileSystemHandler, UnixFileSystemHandler, WinFileSystemHandler: less useless functions, more functionality * Fix code using those ^^ * Other code can now safely assume current working directory == writable data directory, that simplifies a lot. * Add AIVAL_LOCATE_FILE_R and AIVAL_LOCATE_FILE_W, in both cases data points to a char buffer (C style null terminated string) with a filename in it. Spring tries to locate that file in data directory and replaces the contents of the data buffer with the new filename. _R is the read-only variant, _W the read-write variant. The char buffer must be big enough obviously. (TODO: patch AIs to use this) * Deprecate AIVAL_SCRIPT_FILENAME, it passed around std::strings which is unsafe on Windows (risk for malloc in program, free in DLL...) * Add AIVAL_SCRIPT_FILENAME_CSTR, same as AIVAL_SCRIPT_FILENAME but data points to a char buffer large enough to hold the script filename. * Add MapArchives config option, defaults to 1, set to 0 to disable mapping of archives in datadir roots to the Virtual File System. * unitsync is now quiet (instead of spamming console with datadir messages on each Init() call) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@1934 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/ExternalAI/AICallback.cpp | [ Diff ] [ File ] | |||
mod - rts/ExternalAI/IAICallback.h | [ Diff ] [ File ] | |||
mod - rts/Game/Game.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/UI/GUI/GUIfont.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/UI/InfoConsole.cpp | [ Diff ] [ File ] | |||
mod - rts/Game/UI/SelectionKeyHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/terrain/Textures.cpp | [ Diff ] [ File ] | |||
mod - rts/Rendering/GL/myGL.cpp | [ Diff ] [ File ] | |||
mod - rts/Rendering/Textures/Bitmap.cpp | [ Diff ] [ File ] | |||
mod - rts/Rendering/Textures/nv_dds.cpp | [ Diff ] [ File ] | |||
mod - rts/Rendering/glFont.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Path/PathEstimator.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Projectiles/ExplosionGenerator.cpp | [ Diff ] [ File ] | |||
mod - rts/System/FileSystem/ArchiveDir.cpp | [ Diff ] [ File ] | |||
mod - rts/System/FileSystem/ArchiveFactory.cpp | [ Diff ] [ File ] | |||
mod - rts/System/FileSystem/ArchiveScanner.cpp | [ Diff ] [ File ] | |||
mod - rts/System/FileSystem/FileHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/System/LoadSaveHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Main.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Net.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 - rts/System/Platform/Win/WinFileSystemHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/System/Platform/Win/WinFileSystemHandler.h | [ Diff ] [ File ] | |||
mod - rts/System/Sync/Logger.cpp | [ Diff ] [ File ] | |||
mod - rts/System/SyncTracer.cpp | [ Diff ] [ File ] | |||
mod - rts/System/mmgr.cpp | [ Diff ] [ File ] | |||
mod - tools/unitsync/pybind.cpp | [ Diff ] [ File ] | |||
mod - tools/unitsync/unitsync.cpp | [ Diff ] [ File ] |