]> git.xonotic.org Git - xonotic/netradiant.git/commit
image: add crn support to the image plugin.
authordolcetriade <vcelestialragev@gmail.com>
Wed, 4 Jul 2018 05:49:58 +0000 (22:49 -0700)
committerThomas Debesse <dev@illwieckz.net>
Sun, 28 Oct 2018 21:28:42 +0000 (22:28 +0100)
commitca241db6276a5d520aa9c46ed57be3c66319ca1e
tree4ae565aaaf0dc3e3a7e522d046d00cc22fd7968f
parent920081572e6c0899e7163307e24bfbbda5ba2dd8
image: add crn support to the image plugin.

This works by converting the crn file to dds in memory
and then using the dds load functions to convert the dds
file to RGBA. This is because crn also stores the file as
a compressed texture meant to be uploaded directly to the
GPU, however, radiant wants an RGBA array.
libs/CMakeLists.txt
libs/crunch/CMakeLists.txt [new file with mode: 0644]
libs/crunch/crn_decomp.h [new file with mode: 0644]
libs/crunch/crn_defs.h [new file with mode: 0644]
libs/crunch/crn_rgba.cpp [new file with mode: 0644]
libs/crunch/crn_rgba.h [new file with mode: 0644]
libs/crunch/crnlib.h [new file with mode: 0644]
plugins/image/CMakeLists.txt
plugins/image/crn.cpp [new file with mode: 0644]
plugins/image/crn.h [new file with mode: 0644]
plugins/image/image.cpp