Changesets: DarkRadiant
master 77afaa5b 05.03.2019 21:16 Details Diff |
Avoid returning 'assets.lst' from forEachFile() The assets.lst is intended to be converted into vfs::Visibility values by the VFS module, not returned directly as a file. |
||
mod - radiant/test/vfsTest.cpp | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master 6a9561bd 27.02.2019 22:05 Details Diff |
Add a test for assets.lst handling Test visibility of models in the example PK4. This required an additional change to make the handling of modPath() lazy in the ZipArchive implementing files, matching the earlier equivalent change in the DirectoryArchive implementation. |
||
mod - include/ifilesystem.h | Diff File | ||
mod - radiant/test/vfsTest.cpp | Diff File | ||
mod - radiant/vfs/DeflatedArchiveTextFile.h | Diff File | ||
mod - radiant/vfs/StoredArchiveTextFile.h | Diff File | ||
mod - radiant/vfs/ZipArchive.cpp | Diff File | ||
mod - radiant/vfs/ZipArchive.h | Diff File | ||
master cb966cf4 26.02.2019 21:50 Details Diff |
Add more tests for existence of VFS files Ensure the presence of the files in the models PK4, using both getFileCount() and walking the tree with forEachFile(). |
||
mod - radiant/test/vfsTest.cpp | Diff File | ||
master a4f838ec 26.02.2019 21:38 Details Diff |
Fix bug in DirectoryArchive::containsFile path handling First bug found as a result of unit tests: the containsFile() code path was adding an extra trailing slash to the requested filename, which resulted in the file not being found on UNIX. Probably does not affect the main application much because nothing is using getFileCount() except for the Python interface (and now the unit test). |
||
add - radiant/test/data/vfs_root/materials/example.mtr | Diff File | ||
mod - radiant/test/vfsTest.cpp | Diff File | ||
mod - radiant/vfs/DirectoryArchive.cpp | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master 2c6c5d24 26.02.2019 21:07 Details Diff |
Make DirectoryArchiveTextFile::modPath() entirely lazy The call to game::current::getModPath() now happens in modPath() itself, so DirectoryArchiveTextFile can be constructed in tests without making any calls to the XMLRegistry. The DirectoryArchiveTextFile header file is also moved into radiant/vfs since it is not used anywhere else. |
||
mod - radiant/vfs/DirectoryArchive.cpp | Diff File | ||
mod - radiant/vfs/DirectoryArchive.h | Diff File | ||
master 193ff898 20.02.2019 22:17 Details Diff |
Attempt to initialise Doom3FileSystem in tests Added a test/data directory with a PK4 containing a couple of test files. Test can now initialise the Doom3FileSystem but files are not yet being looked up correctly. Minor changes to Doom3FileSystem implementation, making the handling of _modPath more lazy so that it won't trigger assertions caused by trying to access the registry during initialisation. |
||
add - radiant/test/data/vfs_root/test_models.pk4 | Diff File | ||
mod - radiant/test/vfsTest.cpp | Diff File | ||
mod - radiant/vfs/DirectoryArchive.cpp | Diff File | ||
mod - radiant/vfs/DirectoryArchive.h | Diff File | ||
mod - radiant/vfs/ZipArchive.cpp | Diff File | ||
mod - radiant/vfs/ZipArchive.h | Diff File | ||
master 32cb2455 20.02.2019 21:28 Details Diff |
Move initDirectory out of public VirtualFileSystem interface | ||
mod - include/ifilesystem.h | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.h | Diff File | ||
master b5bfd086 19.02.2019 22:15 Details Diff |
Add missing test/vfsTest.cpp | ||
add - radiant/test/vfsTest.cpp | Diff File | ||
master 92cedbdb 19.02.2019 22:05 Details Diff |
Add an extremely trivial unit test for Doom3FileSystem All the test does is construct an instance of Doom3FileSystem and confirm its module name and dependencies. This required moving the StaticModule instance owner into a separate .cpp file so it could be excluded from the test binary (otherwise this would pull in a whole load of cascading dependencies starting with the modulesystem). |
||
mod - radiant/Makefile.am | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
add - radiant/vfs/Doom3FileSystemModule.cpp | Diff File | ||
master 6caff698 19.02.2019 21:27 Details Diff |
Resurrect tests using the include-only version of Boost.Test Tests were previously disabled to avoid linking with the Boost.Test dynamic library. This can be avoided by using the header-only version, which imposes the limitation that each test module can only contain a single translation unit. Currently the only test module is the facePlaneTest. |
||
mod - radiant/Makefile.am | Diff File | ||
mod - radiant/test/facePlaneTest.cpp | Diff File | ||
master 1558f104 13.02.2019 22:21 Details Diff |
ShaderFileLoader handles FileInfo objects ShaderFileLoader receives the full FileInfo from the VFS, but the visibility information does not yet make it into the ShaderDefinition. |
||
mod - radiant/shaders/Doom3ShaderSystem.cpp | Diff File | ||
master e24c2462 13.02.2019 22:07 Details Diff |
Move single-use ShaderFileLoader into Doom3ShaderSystem.cpp | ||
mod - radiant/Makefile.am | Diff File | ||
mod - radiant/shaders/Doom3ShaderSystem.cpp | Diff File | ||
rm - radiant/shaders/ShaderFileLoader.cpp | Diff | ||
rm - radiant/shaders/ShaderFileLoader.h | Diff | ||
master 330a6a35 13.02.2019 21:54 Details Diff |
Remove ILongRunningOperation and related code Looks like nothing is using this any more. |
||
mod - include/iradiant.h | Diff File | ||
mod - radiant/RadiantModule.cpp | Diff File | ||
mod - radiant/RadiantModule.h | Diff File | ||
mod - radiant/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiant/shaders/Doom3ShaderSystem.h | Diff File | ||
mod - radiant/shaders/ShaderFileLoader.cpp | Diff File | ||
mod - radiant/shaders/ShaderFileLoader.h | Diff File | ||
master 772506fc 12.02.2019 22:06 Details Diff |
VirtualFileSystem::VisitorFunc takes a metadata object Using a new FileInfo object rather than separate name and visibility parameters. |
||
mod - include/ifilesystem.h | Diff File | ||
mod - plugins/dm.gui/XDataLoader.cpp | Diff File | ||
mod - plugins/dm.gui/gui/GuiManager.cpp | Diff File | ||
mod - plugins/script/interfaces/FileSystemInterface.cpp | Diff File | ||
mod - plugins/sound/SoundManager.cpp | Diff File | ||
mod - radiant/eclassmgr/EClassManager.cpp | Diff File | ||
mod - radiant/fonts/FontLoader.cpp | Diff File | ||
mod - radiant/fonts/FontLoader.h | Diff File | ||
mod - radiant/particles/ParticlesManager.cpp | Diff File | ||
mod - radiant/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiant/skins/Doom3SkinCache.cpp | Diff File | ||
mod - radiant/ui/modelselector/ModelPopulator.h | Diff File | ||
mod - radiant/ui/prefabselector/PrefabPopulator.cpp | Diff File | ||
mod - radiant/ui/prefabselector/PrefabPopulator.h | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master da7d2daf 07.02.2019 21:53 Details Diff |
Use Visibility information in ModelSelector Setting a model to 'hidden' in an assets.lst now hides the model from the model selector, although it appears in the map as normal. |
||
mod - radiant/ui/modelselector/ModelPopulator.h | Diff File | ||
master 9c1bbc44 06.02.2019 22:24 Details Diff |
Pass visibility information to filesystem visitors The VirtualFileSystem::VisitorFunc now has a second parameter for the vfs::Visibility enum value, which is set based on the previously-parsed assets.lst if present. No callbacks are currently using this information as yet. |
||
mod - include/ifilesystem.h | Diff File | ||
mod - plugins/script/interfaces/FileSystemInterface.cpp | Diff File | ||
mod - plugins/sound/SoundManager.cpp | Diff File | ||
mod - radiant/eclassmgr/EClassManager.cpp | Diff File | ||
mod - radiant/fonts/FontLoader.cpp | Diff File | ||
mod - radiant/fonts/FontLoader.h | Diff File | ||
mod - radiant/particles/ParticlesManager.cpp | Diff File | ||
mod - radiant/shaders/Doom3ShaderSystem.cpp | Diff File | ||
mod - radiant/skins/Doom3SkinCache.cpp | Diff File | ||
mod - radiant/ui/modelselector/ModelPopulator.h | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master 6b62c682 06.02.2019 21:20 Details Diff |
Move Archive interface out of iarchive.h The Archive interface is not actually used by anything outside of the radiant/vfs directory, so does not need to appear in an interface file. |
||
mod - include/iarchive.h | Diff File | ||
mod - include/ifilesystem.h | Diff File | ||
add - radiant/vfs/Archive.h | Diff File | ||
mod - radiant/vfs/DirectoryArchive.h | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.h | Diff File | ||
mod - radiant/vfs/GenericFileSystem.h | Diff File | ||
master 37016de4 05.02.2019 22:24 Details Diff |
Initial parsing of assets.lst Currently the parsing is done only by a local class AssetsList, and the parsed information is not exposed or used anywhere else. |
||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master 51a15c95 04.02.2019 22:23 Details Diff |
Merge ArchiveVisitor and FileVisitor Since these are local classes which are only ever used together, they might as well be a single class rather than one functor wrapping another. |
||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master 7b5a6c40 31.01.2019 22:19 Details Diff |
Remove unused Archive::EMode Enum was only used by ArchiveVisitor which is now a local class, so no need for the enum to appear on the Archive interface, and since eDirectories was never used the enum is obsolete anyway. |
||
mod - include/iarchive.h | Diff File | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
master 2411d438 31.01.2019 22:11 Details Diff |
Move single-use FileVisitor and ArchiveVisitor into Doom3FileSystem.cpp | ||
rm - radiant/vfs/ArchiveVisitor.h | Diff | ||
mod - radiant/vfs/Doom3FileSystem.cpp | Diff File | ||
rm - radiant/vfs/FileVisitor.h | Diff | ||
master 1b456d2a 23.01.2019 22:18 Details Diff |
Switch to conventional radio buttons in Light Inspector The images on the toggle buttons don't even show in Linux, and from Springheel's mapping tutorials they look really ugly on Windows. These are now replaced with standard radio buttons. |
||
mod - install/ui/lightinspector.fbp | Diff File | ||
mod - install/ui/lightinspector.xrc | Diff File | ||
mod - radiant/ui/lightinspector/LightInspector.cpp | Diff File | ||
mod - radiant/ui/lightinspector/LightInspector.h | Diff File | ||
master 66f490bc 22.01.2019 22:14 Details Diff |
Add manual section on moving objects between layers | ||
add - doc/img/LightInTwoLayers.png | Diff File | ||
mod - doc/manual.adoc | Diff File | ||
mod - doc/manual.html | Diff File | ||
master b772193a 22.01.2019 22:14 Details Diff |
Slightly reduce wasted space in Layers window screenshot | ||
mod - doc/img/LayersWindow.png | Diff File | ||
master d31b3f1e 18.01.2019 21:19 Details Diff |
Bump Linux version number in configure.ac and debian/changelog | ||
mod - configure.ac | Diff File | ||
mod - debian/changelog | Diff File | ||
mod - debian/control | Diff File | ||
mod - debian/darkradiant.install | Diff File |