Changesets: DarkRadiant
master 94760330 05.12.2020 08:01 Details Diff |
0005436: Move OpenGLModule to radiantcore binary |
Affected Issues 0005436 |
|
mod - radiant/Makefile.am | Diff File | ||
mod - radiantcore/Makefile.am | 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/properties/ftgl.props | Diff File | ||
master 92d8b414 05.12.2020 07:53 Details Diff |
0005382: Add unit test resources and start setting up a test map with some patches to weld |
Affected Issues 0005382 |
|
add - test/PatchWelding.cpp | Diff File | ||
add - test/resources/tdm/maps/weld_patches.mapx | Diff File | ||
add - test/resources/tdm/materials/numbers.mtr | Diff File | ||
add - test/resources/tdm/textures/numbers/0.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/1.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/10.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/11.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/12.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/13.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/14.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/15.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/16.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/17.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/18.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/19.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/2.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/20.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/3.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/4.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/5.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/6.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/7.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/8.tga | Diff File | ||
add - test/resources/tdm/textures/numbers/9.tga | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
master 1da29b53 05.12.2020 03:38 Details Diff |
0005382: Fix index-out-of-bounds crashes |
Affected Issues 0005382 |
|
mod - radiantcore/patch/algorithm/General.cpp | Diff File | ||
master 16f7c78f 05.12.2020 03:10 Details Diff |
0005382: ODRadiant uses (col,row) when accessing control points, DarkRadiant is using (row,col) Fix a copy/paste error in the algorithm. |
Affected Issues 0005382 |
|
mod - radiantcore/patch/algorithm/General.cpp | Diff File | ||
master dda10bc1 05.12.2020 02:37 Details Diff |
0005382: Having a go at porting the patch weld algorithm from ODRadiant |
Affected Issues 0005382 |
|
mod - install/menu.xml | Diff File | ||
mod - radiantcore/patch/PatchModule.cpp | Diff File | ||
mod - radiantcore/patch/algorithm/General.cpp | Diff File | ||
mod - radiantcore/patch/algorithm/General.h | Diff File | ||
master adc6b04a 04.12.2020 19:51 Details Diff |
Configure config.h from CMake Use the configure_file command to generate config.h from the template using CMake variables. Currently the CORE_MODULE_LIBRARY and PACKAGE_VERSION variables are set. DarkRadiant now runs but immediately shows a dialog complaining about multiple CamWnd modules. |
||
mod - CMakeLists.txt | Diff File | ||
mod - config.h.in | Diff File | ||
master 10b6eae5 04.12.2020 19:43 Details Diff |
Add initial config.h.in This is the template to be configured by configure_file in CMakeLists.txt |
||
add - config.h.in | Diff File | ||
master 22d1f78d 04.12.2020 19:25 Details Diff |
radiant no longer links with radiantcore radiantcore is a module loaded at runtime, so should not be directly linked into the darkradiant binary. |
||
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiantcore/CMakeLists.txt | Diff File | ||
master f80b6d89 04.12.2020 15:01 Details Diff |
Install binary and its shared library dependencies Install the darkradiant binary and the shared libraries it links against (wxutil, math etc), and set a relative -rpath so that the executable can find its libraries. Unlike with Automake, the use of "$ORIGIN/.." just works without needing to figure out how to escape the syntax through two levels of shell scripts plus the Makefile. The binary does now start to run without any linker error, but the application does not yet work because it cannot load the main module (probably because it is called 'libradiantcore.so' not 'radiantcore.so'). |
||
mod - CMakeLists.txt | Diff File | ||
master a151ee87 04.12.2020 14:30 Details Diff |
Main binary is now buildable with CMake Enable the '-z defs' linker which detects undefined symbols in shared objects, and used this information to add the required link options to our shared libraries. Because these link options are declared PUBLIC in CMake, they automatically propagate through to whatever links against the built library, so we don't need to manually repeat all of the link options when building the main binary. Also added some missing source files, including CPP files in subdirectories of wxutil, and the PicoModel C files in radiantcore. C++ standard version is increased to 17 to allow for std::filesystem; if this proves problematic the fallback to boost::filesystem can be brought across from the Automake build system. |
||
mod - CMakeLists.txt | Diff File | ||
mod - libs/module/CMakeLists.txt | Diff File | ||
mod - libs/scene/CMakeLists.txt | Diff File | ||
mod - libs/wxutil/CMakeLists.txt | Diff File | ||
mod - libs/xmlutil/CMakeLists.txt | Diff File | ||
add - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/selection/SelectionMouseTools.cpp | Diff File | ||
mod - radiantcore/CMakeLists.txt | Diff File | ||
master bd69224b 03.12.2020 20:27 Details Diff |
radiantcore is now buildable with CMake Added a couple of '#include <climits>' lines to files which were using INT_MAX without the necessary include (presumably it was included via some other source in the Automake build). |
||
mod - CMakeLists.txt | Diff File | ||
add - radiantcore/CMakeLists.txt | Diff File | ||
mod - radiantcore/layers/LayerManager.cpp | Diff File | ||
mod - radiantcore/model/export/ScaledModelExporter.cpp | Diff File | ||
master 6b7528e5 03.12.2020 20:12 Details Diff |
libs/module is now buildable with CMake All libraries within libs/ are now buildable, although obviously they are not going to link correctly until the linker flags are sorted out. |
||
mod - CMakeLists.txt | Diff File | ||
add - libs/module/CMakeLists.txt | Diff File | ||
master 3d9d7eba 03.12.2020 20:05 Details Diff |
wxutil library is now buildable with CMake find_package(wxWidgets) is used to locate wxWidgets itself; also added the FTGL dependency and bumped cmake_minimum_required to 3.12 (for add_compile_definitions) and C++ version to C++14 (for make_unique). |
||
mod - CMakeLists.txt | Diff File | ||
add - libs/wxutil/CMakeLists.txt | Diff File | ||
master 5df7247f 03.12.2020 17:22 Details Diff |
Build scenegraph library with CMake This one requires libsigc++ as well as our own libs/libfmt library. |
||
mod - CMakeLists.txt | Diff File | ||
add - libs/scene/CMakeLists.txt | Diff File | ||
master 59ce19fd 03.12.2020 17:11 Details Diff |
Build xmlutil library with CMake Use the FindPkgConfig module to locate libxml based on its .pc file, and propagate the necessary compiler flags to the xmlutil library. |
||
mod - CMakeLists.txt | Diff File | ||
add - libs/xmlutil/CMakeLists.txt | Diff File | ||
master ea704efa 03.12.2020 15:24 Details Diff |
VC++ projects adjusted after merge | ||
mod - tools/msvc/DarkRadiantCore.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiantCore.vcxproj.filters | Diff File | ||
mod - tools/msvc/libs.vcxproj | Diff File | ||
mod - tools/msvc/libs.vcxproj.filters | Diff File | ||
master 36f4baaf 03.12.2020 15:19 Details Diff |
Initial CMakeLists at toplevel and in libs/math Initial toplevel CMakeLists to set global properties and list the subdirectories, and another one in libs/math to build just the math sourcefiles. |
||
add - CMakeLists.txt | Diff File | ||
add - libs/math/CMakeLists.txt | Diff File | ||
master f812d4a9 03.12.2020 15:19 Details Diff |
Merge remote-tracking branch 'remotes/orbweaver/master' | ||
mod - compile | Diff File | ||
mod - configure.ac | Diff File | ||
mod - debian/changelog | Diff File | ||
mod - debian/control | Diff File | ||
mod - include/irender.h | Diff File | ||
mod - include/irenderable.h | Diff File | ||
mod - include/version.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 | ||
rm - libs/render/SimpleFrontendRenderer.h | Diff | ||
mod - libs/render/VectorLightList.h | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.h | Diff File | ||
mod - missing | 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/Brush.cpp | 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/LightNode.cpp | Diff File | ||
mod - radiantcore/entity/light/Renderables.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5ModelNode.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5ModelNode.h | Diff File | ||
mod - radiantcore/model/picomodel/PicoModelLoader.cpp | Diff File | ||
rm - radiantcore/model/picomodel/PicoModelNode.cpp | Diff | ||
add - radiantcore/model/picomodel/StaticModelNode.cpp | 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 | ||
rm - radiantcore/rendersystem/LinearLightList.cpp | Diff | ||
rm - radiantcore/rendersystem/LinearLightList.h | Diff | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.cpp | Diff File | ||
mod - radiantcore/rendersystem/OpenGLRenderSystem.h | Diff File | ||
master b903b57e 03.12.2020 14:49 Details Diff |
0005436: Add needed module dependency |
Affected Issues 0005436 |
|
mod - radiantcore/selection/RadiantSelectionSystem.cpp | Diff File | ||
master 55b292f1 03.12.2020 14:43 Details Diff |
0005436: Migrate RotateManipulator to use IGLFont |
Affected Issues 0005436 |
|
mod - install/user.xml | Diff File | ||
mod - radiantcore/selection/RadiantSelectionSystem.cpp | Diff File | ||
mod - radiantcore/selection/manipulators/RotateManipulator.cpp | Diff File | ||
mod - radiantcore/selection/manipulators/RotateManipulator.h | Diff File | ||
master 4738dd07 03.12.2020 14:33 Details Diff |
Set -rpath when building relocatable binary on Linux Setting -rpath to $ORIGIN/../lib/darkradiant enables the binary to load its libraries regardless of the installation location. |
||
mod - configure.ac | Diff File | ||
master 4309d9e9 02.12.2020 21:08 Details Diff |
Merge addLitRenderable and addRenderable addLitRenderable() is now just addRenderable(), and replaces the previous addRenderable() which accepted a LightList instead of a LitObject. In order to support non-lit objects, the LitObject parameter is now an optional pointer rather than a mandatory reference. |
||
mod - include/irenderable.h | Diff File | ||
mod - libs/render/CamRenderer.h | Diff File | ||
mod - radiant/xyview/XYRenderer.h | Diff File | ||
mod - radiantcore/brush/BrushNode.cpp | Diff File | ||
mod - radiantcore/model/md5/MD5ModelNode.cpp | Diff File | ||
mod - radiantcore/model/picomodel/StaticModel.cpp | Diff File | ||
mod - radiantcore/patch/PatchNode.cpp | Diff File | ||
master 78efba0b 02.12.2020 21:00 Details Diff |
Remove SimpleFrontendRenderer This RenderableCollector has not been used since the render preview widget was switched to use the CamRenderer (which it needs in order to correctly handle light intersections). |
||
rm - libs/render/SimpleFrontendRenderer.h | Diff | ||
master a1415441 02.12.2020 17:22 Details Diff |
0005436: Migrate CamWnd to use IGLFont |
Affected Issues 0005436 |
|
mod - install/user.xml | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/camera/CamWnd.h | Diff File | ||
mod - radiant/camera/CameraSettings.cpp | Diff File | ||
mod - radiant/camera/CameraSettings.h | Diff File | ||
master eaf7f1e9 02.12.2020 16:37 Details Diff |
0005436: Migrate RenderPreview to use IGLFont |
Affected Issues 0005436 |
|
mod - install/user.xml | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.cpp | Diff File | ||
mod - libs/wxutil/preview/RenderPreview.h | Diff File |