Closed Rosalie241 closed 3 years ago
The code for loading BMP textures is a leftover too, isn't it? GLideN64 doesn't dump textures as BMP and only loads PNG textures from my testing.
Technically it should be able to load BMP images, it's very picky about header etc though, see https://github.com/gonetz/GLideN64/blob/master/src/GLideNHQ/TxImage.cpp#L398
BMP textures support was added to properly support palettized CI textures, that is use HD textures with original N64 palettes. It could be especially useful for Paper Mario, where palette changes dynamically. Alas, this possibility is never used by texture artists, afaik.
GLideNHQ doesn't actually support loading DDS files so we shouldn't pretend like we do, this removes the dead code in
TxImage
and removes thedds
bits inTxHiResLoader
.