From e0fb66428a9b78b4c326df8d7e30429a5b271d74 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Sun, 12 Apr 2026 02:40:00 -0500 Subject: Remove dead plugin scaffolds and duplicate lib dirs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The *_native C++ ports were replaced by bundled Python + .py plugins in de4db79, but the source dirs were left behind without any CMake wiring — causing confusion when editing them appears to do nothing. Same story for libs/dds_header (stale duplicate of libs/preview_dds, unrelated to the actively-used libs/dds-header) and libs/game_gamebryo (superseded by libs/game_bethesda/src/gamebryo). Removes: - libs/basic_games_native - libs/form43_checker_native - libs/installer_omod_native - libs/preview_dds_native - libs/rootbuilder_native - libs/script_extender_checker_native - libs/dds_header - libs/game_gamebryo --- libs/preview_dds_native/src/ddsfile.h | 47 ----------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 libs/preview_dds_native/src/ddsfile.h (limited to 'libs/preview_dds_native/src/ddsfile.h') diff --git a/libs/preview_dds_native/src/ddsfile.h b/libs/preview_dds_native/src/ddsfile.h deleted file mode 100644 index 4242c61..0000000 --- a/libs/preview_dds_native/src/ddsfile.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef DDSFILE_H -#define DDSFILE_H - -#include "ddsformat.h" - -#include -#include -#include - -struct DDSMipLevel { - uint32_t width; - uint32_t height; - QByteArray data; -}; - -struct DDSFace { - QVector mips; -}; - -class DDSFile -{ -public: - bool loadFromFile(const QString& path); - bool loadFromData(const QByteArray& data); - - uint32_t width() const { return m_width; } - uint32_t height() const { return m_height; } - bool isCubemap() const { return m_cubemap; } - int faceCount() const { return m_faces.size(); } - int mipCount() const { return m_faces.isEmpty() ? 0 : m_faces[0].mips.size(); } - const DDSFace& face(int i) const { return m_faces[i]; } - const GLFormatInfo& glFormat() const { return m_glFormat; } - QString description() const { return m_description; } - -private: - bool parse(const QByteArray& data); - - uint32_t m_width = 0; - uint32_t m_height = 0; - bool m_cubemap = false; - GLFormatInfo m_glFormat; - DXGIFormat m_dxgiFormat = DXGIFormat::UNKNOWN; - QString m_description; - QVector m_faces; -}; - -#endif // DDSFILE_H -- cgit v1.3.1