Changesets: DarkRadiant
master c9c505a8 30.11.2020 03:57 Details Diff |
0005108: Fix unit tests after TestContext API change |
Affected Issues 0005108 |
|
mod - radiantcore/settings/GameManager.cpp | Diff File | ||
mod - test/MapSavingLoading.cpp | Diff File | ||
mod - test/VFS.cpp | Diff File | ||
master e10a6968 30.11.2020 03:36 Details Diff |
Merge remote-tracking branch 'remotes/origin/openmapsfrompk4' # Conflicts: # radiantcore/Makefile.am # tools/msvc/DarkRadiant.vcxproj.filters # tools/msvc/DarkRadiantCore.vcxproj # tools/msvc/DarkRadiantCore.vcxproj.filters # tools/msvc/Tests/Tests.vcxproj.filters |
||
mod - include/iarchive.h | Diff File | ||
mod - include/ifilesystem.h | Diff File | ||
mod - include/ifiletypes.h | Diff File | ||
mod - include/imapresource.h | Diff File | ||
add - install/bitmaps/file.png | Diff File | ||
add - install/bitmaps/package.png | Diff File | ||
mod - install/menu.xml | Diff File | ||
mod - libs/debugging/ScopedDebugTimer.h | Diff File | ||
mod - libs/os/file.h | Diff File | ||
add - libs/os/filesize.h | Diff File | ||
add - libs/stream/MapResourceStream.h | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/Makefile.am | Diff File | ||
mod - libs/wxutil/TreeView.cpp | Diff File | ||
mod - libs/wxutil/TreeView.h | Diff File | ||
mod - libs/wxutil/VFSTreePopulator.cpp | Diff File | ||
mod - libs/wxutil/VFSTreePopulator.h | Diff File | ||
add - libs/wxutil/fsview/FileSystemView.cpp | Diff File | ||
add - libs/wxutil/fsview/FileSystemView.h | Diff File | ||
add - libs/wxutil/fsview/Populator.cpp | Diff File | ||
add - libs/wxutil/fsview/Populator.h | Diff File | ||
mod - plugins/sound/SoundManager.cpp | Diff File | ||
mod - plugins/sound/SoundPlayer.cpp | Diff File | ||
mod - radiant/Makefile.am | Diff File | ||
mod - radiant/ui/UserInterfaceModule.cpp | Diff File | ||
mod - radiant/ui/einspector/SkinChooser.cpp | Diff File | ||
add - radiant/ui/mapselector/MapSelector.cpp | Diff File | ||
add - radiant/ui/mapselector/MapSelector.h | Diff File | ||
rm - radiant/ui/prefabselector/PrefabPopulator.cpp | Diff | ||
rm - radiant/ui/prefabselector/PrefabPopulator.h | Diff | ||
mod - radiant/ui/prefabselector/PrefabSelector.cpp | Diff File | ||
mod - radiant/ui/prefabselector/PrefabSelector.h | Diff File | ||
mod - radiant/uimanager/SoundChooser.cpp | Diff File | ||
mod - radiantcore/Makefile.am | Diff File | ||
mod - radiantcore/eclass/Doom3EntityClass.cpp | Diff File | ||
mod - radiantcore/filetypes/FileTypeRegistry.cpp | Diff File | ||
mod - radiantcore/filetypes/FileTypeRegistry.h | Diff File | ||
add - radiantcore/map/ArchivedMapResource.cpp | Diff File | ||
add - radiantcore/map/ArchivedMapResource.h | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - radiantcore/map/Map.h | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
add - radiantcore/map/MapResourceLoader.cpp | Diff File | ||
add - radiantcore/map/MapResourceLoader.h | Diff File | ||
mod - radiantcore/map/MapResourceManager.cpp | Diff File | ||
mod - radiantcore/map/MapResourceManager.h | Diff File | ||
add - radiantcore/map/NodeCounter.h | Diff File | ||
mod - radiantcore/map/algorithm/MapImporter.cpp | Diff File | ||
mod - radiantcore/map/algorithm/MapImporter.h | Diff File | ||
mod - radiantcore/settings/GameManager.cpp | Diff File | ||
mod - radiantcore/shaders/ShaderDefinition.h | Diff File | ||
mod - radiantcore/shaders/ShaderLibrary.cpp | Diff File | ||
rm - radiantcore/vfs/Archive.h | Diff | ||
add - radiantcore/vfs/AssetsList.h | Diff File | ||
mod - radiantcore/vfs/DirectoryArchive.cpp | Diff File | ||
mod - radiantcore/vfs/DirectoryArchive.h | Diff File | ||
mod - radiantcore/vfs/Doom3FileSystem.cpp | Diff File | ||
mod - radiantcore/vfs/Doom3FileSystem.h | Diff File | ||
add - radiantcore/vfs/FileVisitor.h | Diff File | ||
mod - radiantcore/vfs/GenericFileSystem.h | Diff File | ||
mod - radiantcore/vfs/ZipArchive.cpp | Diff File | ||
mod - radiantcore/vfs/ZipArchive.h | Diff File | ||
add - test/FileTypes.cpp | Diff File | ||
mod - test/Makefile.am | Diff File | ||
mod - test/MapExport.cpp | Diff File | ||
add - test/MapSavingLoading.cpp | Diff File | ||
mod - test/TestContext.h | Diff File | ||
mod - test/VFS.cpp | Diff File | ||
add - test/algorithm/Primitives.h | Diff File | ||
mod - test/algorithm/Scene.h | Diff File | ||
add - test/algorithm/XmlUtils.h | Diff File | ||
add - test/resources/map_loading_test.pk4 | Diff File | ||
add - test/resources/tdm/altar.pk4 | Diff File | ||
add - test/resources/tdm/maps/altar.darkradiant | Diff File | ||
add - test/resources/tdm/maps/altar.map | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
openmapsfrompk4 1b0fb803 30.11.2020 03:27 Details Diff |
0005108: Fix unit tests |
Affected Issues 0005108 |
|
mod - test/MapSavingLoading.cpp | Diff File | ||
openmapsfrompk4 9902de7b 30.11.2020 03:10 Details Diff |
0005108: Linux compilation fixes |
Affected Issues 0005108 |
|
mod - radiant/Makefile.am | Diff File | ||
mod - radiant/ui/mapselector/MapSelector.cpp | Diff File | ||
mod - radiant/ui/mapselector/MapSelector.h | Diff File | ||
mod - radiantcore/map/MapResourceLoader.cpp | Diff File | ||
openmapsfrompk4 4bd351da 29.11.2020 18:25 Details Diff |
0005108: Move ArchivedMapResource implementation to .cpp file. Prevent saving of read-only resources. |
Affected Issues 0005108 |
|
mod - radiantcore/Makefile.am | Diff File | ||
add - radiantcore/map/ArchivedMapResource.cpp | Diff File | ||
mod - radiantcore/map/ArchivedMapResource.h | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
openmapsfrompk4 07aed612 29.11.2020 17:54 Details Diff |
0005108: Change dialog buttons, such that clicking OK with a PK4 selected will open that archive. |
Affected Issues 0005108 |
|
mod - radiant/ui/mapselector/MapSelector.cpp | Diff File | ||
mod - radiant/ui/mapselector/MapSelector.h | Diff File | ||
openmapsfrompk4 390e11e6 29.11.2020 13:05 Details Diff |
0005108: Re-implement the Map::saveAs algorithm to create a new resource instance, since the existing resource might be a read-only one. Unit tests extended. |
Affected Issues 0005108 |
|
mod - include/imapresource.h | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
mod - test/MapSavingLoading.cpp | Diff File | ||
openmapsfrompk4 f152515b 29.11.2020 11:55 Details Diff |
0005108: Add unit test checking the file selection dialog is coming up when saving an archived map |
Affected Issues 0005108 |
|
mod - radiantcore/map/ArchivedMapResource.h | Diff File | ||
mod - test/MapSavingLoading.cpp | Diff File | ||
openmapsfrompk4 f77b54a8 29.11.2020 11:48 Details Diff |
0005108: Introduce IMapResource::isReadOnly which will be returning true for maps that cannot be saved to the same location they've been loaded from. |
Affected Issues 0005108 |
|
mod - include/imapresource.h | Diff File | ||
mod - radiantcore/map/ArchivedMapResource.h | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - radiantcore/map/Map.h | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
openmapsfrompk4 3d31502d 29.11.2020 11:06 Details Diff |
0005108: Add unit test cases covering OpenMapFromArchive |
Affected Issues 0005108 |
|
mod - test/MapSavingLoading.cpp | Diff File | ||
add - test/resources/map_loading_test.pk4 | Diff File | ||
openmapsfrompk4 cba0b361 29.11.2020 04:24 Details Diff |
0005108: Double clicking a file will attempt to open it |
Affected Issues 0005108 |
|
mod - radiant/ui/mapselector/MapSelector.cpp | Diff File | ||
openmapsfrompk4 1f5a51f9 29.11.2020 04:02 Details Diff |
0005108: First working implementation |
Affected Issues 0005108 |
|
mod - libs/stream/MapResourceStream.h | Diff File | ||
mod - radiantcore/map/ArchivedMapResource.h | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
openmapsfrompk4 d9f4daef 29.11.2020 03:39 Details Diff |
0005108: Add ArchivedMapResource specialisation, which will load the map from any PAK file. Add two virtual method to be overridden by the ArchivedMapResource |
Affected Issues 0005108 |
|
mod - include/imapresource.h | Diff File | ||
mod - radiant/ui/prefabselector/PrefabSelector.cpp | Diff File | ||
add - radiantcore/map/ArchivedMapResource.h | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
mod - radiantcore/map/MapResourceManager.cpp | Diff File | ||
mod - radiantcore/map/MapResourceManager.h | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
openmapsfrompk4 753549d1 28.11.2020 07:53 Details Diff |
0005108: Add (nonfunctional) OpenMapFromArchive command, plus some refactoring and shifting code around |
Affected Issues 0005108 |
|
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - radiantcore/map/Map.h | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
openmapsfrompk4 c12db2bf 28.11.2020 06:31 Details Diff |
0005108: Add unit test checking the user being able to cancel the map loading process |
Affected Issues 0005108 |
|
mod - test/MapSavingLoading.cpp | Diff File | ||
openmapsfrompk4 db49aa7f 28.11.2020 05:35 Details Diff |
0005108: Streamline exception handling a bit, reducing the amount of catch blocks |
Affected Issues 0005108 |
|
mod - include/imapresource.h | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResourceLoader.cpp | Diff File | ||
mod - radiantcore/map/MapResourceLoader.h | Diff File | ||
openmapsfrompk4 e56d7a7b 28.11.2020 05:14 Details Diff |
0005108: Refactor stream instantation into a separate MapResourceStream implementation, taking care of the VFS vs. physical file switching. |
Affected Issues 0005108 |
|
add - libs/stream/MapResourceStream.h | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
openmapsfrompk4 d1a3727f 28.11.2020 03:17 Details Diff |
0005108: Move implementation to .cpp file, remove migrated code from MapResource class. |
Affected Issues 0005108 |
|
mod - radiantcore/Makefile.am | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - radiantcore/map/MapResource.h | Diff File | ||
add - radiantcore/map/MapResourceLoader.cpp | Diff File | ||
mod - radiantcore/map/MapResourceLoader.h | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
openmapsfrompk4 36599788 28.11.2020 03:03 Details Diff |
0005108: Start moving the stream loading method to a new MapResourceLoader class. The physical file handling part remains in MapResource. |
Affected Issues 0005108 |
|
mod - radiantcore/map/MapResource.cpp | Diff File | ||
add - radiantcore/map/MapResourceLoader.h | Diff File | ||
mod - radiantcore/map/algorithm/MapImporter.cpp | Diff File | ||
mod - radiantcore/map/algorithm/MapImporter.h | Diff File | ||
mod - test/MapSavingLoading.cpp | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
openmapsfrompk4 d99aea47 28.11.2020 02:45 Details Diff |
0005108: Add test case loading a map without info file |
Affected Issues 0005108 |
|
mod - test/MapSavingLoading.cpp | Diff File | ||
master 9934407f 27.11.2020 14:11 Details Diff |
Merge branch 'orbweaver/master' into 'greebo/master' This includes the recent changes to light rendering in the 3D view, making CamRenderer responsible for lighting intersection calculations. |
||
mod - include/irender.h | Diff File | ||
mod - include/irenderable.h | Diff File | ||
mod - libs/entitylib.h | Diff File | ||
mod - libs/math/AABB.h | Diff File | ||
mod - libs/math/Frustum.h | Diff File | ||
mod - libs/math/Matrix4.h | Diff File | ||
mod - libs/math/Vector3.h | Diff File | ||
mod - libs/math/Vector4.h | Diff File | ||
add - libs/render/CamRenderer.h | Diff File | ||
mod - libs/render/SimpleFrontendRenderer.h | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.h | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/render/RenderStatistics.h | Diff File | ||
mod - radiant/xyview/XYRenderer.h | Diff File | ||
mod - radiantcore/Makefile.am | Diff File | ||
mod - radiantcore/brush/BrushNode.cpp | Diff File | ||
mod - radiantcore/brush/BrushNode.h | Diff File | ||
mod - radiantcore/brush/Face.cpp | Diff File | ||
mod - radiantcore/brush/Face.h | Diff File | ||
mod - radiantcore/brush/FaceInstance.cpp | Diff File | ||
mod - radiantcore/brush/FaceInstance.h | Diff File | ||
mod - radiantcore/entity/light/Light.cpp | Diff File | ||
mod - radiantcore/entity/light/Renderables.cpp | Diff File | ||
mod - radiantcore/model/picomodel/PicoModelLoader.cpp | Diff File | ||
mod - radiantcore/model/picomodel/StaticModel.cpp | Diff File | ||
mod - radiantcore/model/picomodel/StaticModel.h | Diff File | ||
mod - radiantcore/model/picomodel/StaticModelNode.cpp | Diff File | ||
mod - radiantcore/model/picomodel/StaticModelNode.h | Diff File | ||
mod - radiantcore/model/picomodel/StaticModelSurface.cpp | Diff File | ||
mod - radiantcore/model/picomodel/StaticModelSurface.h | Diff File | ||
mod - radiantcore/patch/Patch.cpp | Diff File | ||
mod - radiantcore/patch/Patch.h | Diff File | ||
mod - radiantcore/patch/PatchNode.cpp | Diff File | ||
mod - radiantcore/patch/PatchNode.h | Diff File | ||
master 4645016b 27.11.2020 14:02 Details Diff |
Pre-merge rename of RenderablePicoModel to StaticModel Do the rename explicitly in advance of the merge to avoid confusing Git when it tries to merge in changes to files which have been both renamed and moved. |
||
openmapsfrompk4 c3a01d03 27.11.2020 12:03 Details Diff |
0005108: Use std::ifstream to read from absolute filesystem paths instead of the custom TextFileInputStream. |
Affected Issues 0005108 |
|
mod - libs/debugging/ScopedDebugTimer.h | Diff File | ||
mod - plugins/sound/SoundPlayer.cpp | Diff File | ||
mod - radiantcore/map/Map.cpp | Diff File | ||
mod - radiantcore/map/MapResource.cpp | Diff File | ||
openmapsfrompk4 7e63672d 27.11.2020 04:07 Details Diff |
0005108: Remove redundant checks, openFileStream will throw exceptions anyway |
Affected Issues 0005108 |
|
mod - radiantcore/map/MapResource.cpp | Diff File | ||
mod - test/MapSavingLoading.cpp | Diff File | ||
openmapsfrompk4 4ef43f78 27.11.2020 04:05 Details Diff |
0005108: Fix MapResource's file extension calculation, since the resource path can contain ".." that might fool os::getExtension() |
Affected Issues 0005108 |
|
mod - radiantcore/map/MapResource.cpp | Diff File |