Project

General

Profile

« Previous | Next » 

Revision 8efc5ac7

Added by danij over 13 years ago

Continued refactor of the Textures and Materials subsystems:
  • Record logical dimensions of a texture in de::Texture, set to width = height = 0 in the default constructor. Added a new constructor which allows setting the logical dimensions at this time. Added new public methods for changing logical dimensions post construction.
  • Removed logical dimensions from de::masktex_t, de::spritetex_t and de::patchtex_t
  • When preparing a source image in DOOM's Patch format - update the origin offsets stored in any associated de::spritetex_t or de::patchtex_t as appropriate.
  • When preparing a de::Texture whose logical dimensions are width = height = 0 - replace them with the actual pixel dimensions from the loaded source image

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences