Changesets: DarkRadiant

core_module 5a11be86

18.07.2020 04:05

greebo


Details Diff
0005231: MapFileManager is now merely dispatching the FileSelectionRequest, to remove any wx/wxutil references. Affected Issues
0005231
mod - libs/messages/FileSelectionRequest.h Diff File
add - radiant/ui/FileSelectionRequestHandler.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/MapFileManager.cpp Diff File
mod - radiantcore/map/MapFileManager.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

core_module 36c9248f

17.07.2020 04:53

greebo


Details Diff
0005231: Introduce file selection request, to be handled by the UI modules. Affected Issues
0005231
mod - include/imessagebus.h Diff File
add - libs/messages/FileSelectionRequest.h Diff File
mod - radiantcore/map/MapFileManager.cpp Diff File

master 8c4c31ce

15.07.2020 19:51

orbweaver


Details Diff
Working upload of uncompressed RGB DDS images

If the DDS header does not have a FOURCC indicating compressed data, we make a
lookup into another map which associates DDS bit depths (24 for RGB, 32 for
RGBA) with OpenGL memory layouts (GL_RGB or GL_RGBA), and pass an additional
parameter to setFormat() indicating that the image is uncompressed and should
be uploaded with glTexImage2D rather than glCompressedTexImage2D.

The vertexcolors_break_shading test map now renders correctly including the
uncompressed DDS placeholder texture, which is in RGB8 (24 bit) format. No
testing of RGBA8 textures so far.
mod - radiant/image/dds.cpp Diff File

master 3d6a74e0

13.07.2020 20:10

orbweaver


Details Diff
Calculate mipmap sizes for uncompressed DDS formats

Calculated sizes look good (we are reading the correct number of bytes each
time), but there is not yet any handling of the uncompressed format at the GL
level, so the image still gives the "unrecognised format 0" warning.
mod - radiant/image/dds.cpp Diff File

master 127fea8d

13.07.2020 19:55

orbweaver


Details Diff
Use some of the new DDSHeader methods in LoadDDSFromStream()

Switch to using the new public methods on DDSHeader e.g. getWidth(),
getHeight(), getCompressionFormat() etc. Compression formats are now looked up
by FOURCC string rather than ddsPF_t enum values.
mod - radiant/image/dds.cpp Diff File
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

core_module bc6d7ad5

12.07.2020 12:44

greebo


Details Diff
0005231: Implement the shutdown handler, to ask for saving any pending changes to the map.
Fix crash at shutdown if the progress dialog is not cleaned up before the module it has been instantiated from is unloaded.
Affected Issues
0005231
mod - radiant/ui/mainframe/ScreenUpdateBlocker.cpp Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/Map.h Diff File

core_module 80cfb357

11.07.2020 04:12

greebo


Details Diff
0005231: Let's not keep these flags uninitialised Affected Issues
0005231
mod - libs/messages/ApplicationShutdownRequest.h Diff File
mod - libs/messages/AutomaticMapSaveRequest.h Diff File

core_module f394ef18

11.07.2020 04:11

greebo


Details Diff
0005231: Convert call to askForSave() to a veto-able ApplicationShutdownRequest sent over the message bus Affected Issues
0005231
mod - include/imessagebus.h Diff File
add - libs/messages/ApplicationShutdownRequest.h Diff File
mod - radiant/ui/mainframe/MainFrame.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

core_module 6ec1bd39

09.07.2020 04:14

greebo


Details Diff
0005231: Move clipboard handling to separate module to prevent crashes at shutdown due to memory allocation/deallocation problems. Affected Issues
0005231
add - include/iclipboard.h Diff File
mod - libs/wxutil/Makefile.am Diff File
rm - libs/wxutil/clipboard.cpp Diff
rm - libs/wxutil/clipboard.h Diff
add - radiant/clipboard/ClipboardModule.cpp Diff File
add - radiant/clipboard/ClipboardModule.h Diff File
mod - radiantcore/selection/clipboard/Clipboard.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File
mod - tools/msvc/include.vcxproj Diff File
mod - tools/msvc/wxutillib.vcxproj Diff File
mod - tools/msvc/wxutillib.vcxproj.filters Diff File

master 55d8e4f7

08.07.2020 19:41

orbweaver


Details Diff
Add more metadata methods to DDSHeader

New methods getCompressionFormat() and getRGBBits(), which are used by the
debug operator<< but not in any calling code so far. Also removed some unused
byte-swapping functions in ddslib.cpp, and simplified the naming of the ones
which are used.
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

master 59126f9f

07.07.2020 20:08

orbweaver


Details Diff
Add some metadata extraction to DDSHeader

A couple of public methods to extract data, including isValid() and
isCompressed(), and a non-member operator<< for dumping a DDSHeader to an
output stream and printing certain information such as its size and mipmap
count.
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

master 83645a81

07.07.2020 19:41

orbweaver


Details Diff
Modernise and C++-ify definitions in ddslib.{h,cpp}

Remove "extern C" wrapper, convert "typedef struct" to "struct", switch to
uint32_t instead of unsigned int for certain fields which require a
precisely-defined size.
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

core_module 239df580

04.07.2020 18:16

greebo


Details Diff
0005231: Disable menu items without any associated event (like the MRU placeholder item) Affected Issues
0005231
mod - radiant/uimanager/menu/MenuItem.cpp Diff File

core_module e624366f

01.07.2020 04:18

greebo


Details Diff
0005231: Make OpenMap command algorithm more robust Affected Issues
0005231
mod - radiantcore/map/Map.cpp Diff File

core_module 48b9553e

01.07.2020 03:58

greebo


Details Diff
0005231: Prevent divisions by zero using the entry box in the TransformationDialog's scale controls Affected Issues
0005231
mod - radiant/ui/transform/TransformDialog.cpp Diff File

core_module a829a7f2

01.07.2020 03:52

greebo


Details Diff
0005231: Remove CommandNotAvailableException.h, fall back to the more widely used cmd::ExecutionNotPossible Affected Issues
0005231
mod - libs/command/ExecutionNotPossible.h Diff File
mod - radiantcore/map/Map.cpp Diff File
rm - radiantcore/selection/algorithm/CommandNotAvailableException.h Diff
mod - radiantcore/selection/algorithm/Group.cpp Diff File
mod - radiantcore/selection/algorithm/Group.h Diff File
mod - radiantcore/selection/group/SelectionGroupModule.cpp Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File

master 49f11acc

30.06.2020 20:02

orbweaver


Details Diff
Map DDS formats to GLenum using an std::map

The C++11 initialiser list syntax makes an std::map much more streamlined to
use as a hard-coded mapping between two sets of values (much like what would be
done in Python).
mod - radiant/image/dds.cpp Diff File

master 09e8c823

30.06.2020 19:47

orbweaver


Details Diff
Streamline DDSImage mipmap loading

No need for a separate getMipMapPixels() method, since addMipMap() can
immediately return the pointer to the mipmap's byte data which is used in the
next line of LoadDDSFromStream() to stream in the actual data.
mod - radiant/image/dds.cpp Diff File

core_module 81c5199f

29.06.2020 05:00

greebo


Details Diff
0005231: Fix BrushMakePrefab command argument validation. Affected Issues
0005231
mod - radiantcore/selection/algorithm/Primitives.cpp Diff File

core_module 4248f754

29.06.2020 04:53

greebo


Details Diff
0005231: Fix brush prism/cone/sphere command Affected Issues
0005231
mod - radiant/ui/UserInterfaceModule.cpp Diff File

core_module 3aefb119

29.06.2020 04:34

greebo


Details Diff
0005231: Fix jump to camera not redrawing the orthoview after refocusing. Affected Issues
0005231
mod - radiant/xyview/XYWnd.cpp Diff File

core_module a28c732a

29.06.2020 03:28

greebo


Details Diff
0005231: Fix Jump to Object algorithm crashing Affected Issues
0005231
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/camera/GlobalCamera.cpp Diff File

core_module 244e6aa7

28.06.2020 20:06

greebo


Details Diff
0005231: Remove benchmark helper again Affected Issues
0005231
mod - radiantcore/brush/BrushModule.cpp Diff File

core_module 124c8938

28.06.2020 19:02

greebo


Details Diff
0005231: Fix create simple patch mesh command registration Affected Issues
0005231
mod - radiantcore/patch/PatchModule.cpp Diff File

core_module fefecff2

28.06.2020 16:05

greebo


Details Diff
0005231: Fix Patch Inspector row/col selectors not properly repopulated after patch dimension change (transpose) Affected Issues
0005231
mod - radiant/ui/patch/PatchInspector.cpp Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 206 207 208 209 210 211 212 ... 240 ... 269 270 271  Next  Last