Changesets: DarkRadiant

openmapsfrompk4 9902de7b

2020-11-30 03:10:55

greebo

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

2020-11-29 18:25:36

greebo

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

2020-11-29 17:54:03

greebo

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

2020-11-29 13:05:17

greebo

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

2020-11-29 11:55:40

greebo

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

2020-11-29 11:48:13

greebo

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

2020-11-29 11:06:02

greebo

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

2020-11-29 04:24:55

greebo

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

2020-11-29 04:02:14

greebo

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

2020-11-29 03:39:40

greebo

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

2020-11-28 07:53:47

greebo

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

2020-11-28 06:31:36

greebo

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

2020-11-28 05:35:59

greebo

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

2020-11-28 05:14:01

greebo

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

2020-11-28 03:17:46

greebo

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

2020-11-28 03:03:51

greebo

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

2020-11-28 02:45:50

greebo

Details Diff
0005108: Add test case loading a map without info file Affected Issues
0005108
mod - test/MapSavingLoading.cpp Diff File

master 9934407f

2020-11-27 14:11:37

orbweaver

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.
Attach Issues:
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

2020-11-27 14:02:21

orbweaver

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.
Attach Issues:

openmapsfrompk4 c3a01d03

2020-11-27 12:03:30

greebo

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

2020-11-27 04:07:41

greebo

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

2020-11-27 04:05:34

greebo

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

openmapsfrompk4 86bb90c0

2020-11-27 03:48:24

greebo

Details Diff
0005108: Refactor MapResource and add some documentation.
Add map loading test passing an invalid resource path pointing to a folder, which made the MapResource crash.
Fixed the crash by throwing the correct exception type as mentioned in the docs.
Affected Issues
0005108
mod - radiantcore/map/MapResource.cpp Diff File
mod - radiantcore/map/MapResource.h Diff File
mod - test/MapSavingLoading.cpp Diff File

openmapsfrompk4 c83ce131

2020-11-27 03:18:20

greebo

Details Diff
0005108: Remove unneeded member MapResource::_originalName Affected Issues
0005108
mod - radiantcore/map/MapResource.cpp Diff File
mod - radiantcore/map/MapResource.h Diff File

openmapsfrompk4 0d4cbc42

2020-11-27 03:06:37

greebo

Details Diff
0005108: Check that saving works when opening a map in both mod-relative and absolute paths Affected Issues
0005108
mod - test/MapSavingLoading.cpp Diff File
 First  Prev  1 2 3 ... 10 ... 20 21 22 23 24 25 26 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 105 106 107  Next  Last