qzdoom/src/textures
Randy Heit 1acc3d00c4 - Discovered that Shader Model 1.4 clamps my constants, so I can't use
palettes smaller than 256 entries with the shader I wrote for it. Is there
  a list of gotchas like this listed some where? I'd really like to see it.
  
  Well, when compiled with SM2.0, the PalTex shader seems to be every-so-
  slightly faster on my GF7950GT than the SM1.4 version, so I guess it's a
  minor win for cards that support it.
- Fixed: ST_Endoom() failed to free the bitmap it used.
- Added the DTA_ColorOverlay attribute to blend a color with the texture
  being drawn. For software, this (currently) only works with black. For
  hardware, it works with any color. The motiviation for this was so I could
  rewrite the status bar calls that passed DIM_MAP to DTA_Translation to
  draw darker icons into something that didn't require making a whole new
  remap table.
- After having an "OMG! How could I have been so stupid?" moment, I have
  removed the off-by-one check from D3DFB. I had thought the off-by-one error
  was caused by rounding errors by the shader hardware. Not so. Rather, I
  wasn't sampling what I thought I was sampling. A texture that uses palette
  index 255 passes the value 1.0 to the shader. The shader needs to adjust the
  range of its palette indexes, or it will end up trying to read color 256
  from the palette texture when it should be reading color 255. Doh!
- The TranslationToTable() function has been added to map from translation
  numbers used by actors to the tables those numbers represent. This function
  performs validation for the input and returns NULL if the input value
  is invalid.
- Major changes to the way translation tables work: No longer are they each a
  256-byte array. Instead, the FRemapTable structure is used to represent each
  one. It includes a remap array for the software renderer, a palette array
  for a hardware renderer, and a native texture pointer for D3DFB. The
  translationtables array itself is now an array of TArrays that point to the
  real tables. The DTA_Translation attribute must also be passed a pointer
  to a FRemapTable, not a byte array as previously.
- Modified DFrameBuffer::DrawRateStuff() so that it can do its thing properly
  for D3DFB's 2D mode. Before, any fullscreen graphics (like help images)
  covered it up.


SVN r640 (trunk)
2007-12-26 04:42:15 +00:00
..
automaptexture.cpp - Turned on warning level 4 just to see what it would produce: a lot of 2006-12-21 04:34:43 +00:00
buildtexture.cpp - Fixed: Thing_ProjectileAimed did not set the missile's speed correctly. 2007-03-06 01:33:18 +00:00
canvastexture.cpp - Changed: Patch and IMGZ textures now initialize their dimensions upon creation. 2006-08-20 12:55:46 +00:00
ddstexture.cpp - Added true color processing to FDDSTexture. This is untested so far 2007-12-20 20:00:05 +00:00
flattexture.cpp - Changed: Patch and IMGZ textures now initialize their dimensions upon creation. 2006-08-20 12:55:46 +00:00
imgztexture.cpp - Fixed: If you called the FString assignment operator that accepts a 2007-01-25 04:02:06 +00:00
jpegtexture.cpp - Fixed: FTexture::~FTexture() must destroy the associated native texture 2007-12-20 18:53:35 +00:00
multipatchtexture.cpp - Fixed: FTexture::~FTexture() must destroy the associated native texture 2007-12-20 18:53:35 +00:00
patchtexture.cpp - Turned on warning level 4 just to see what it would produce: a lot of 2006-12-21 04:34:43 +00:00
pcxtexture.cpp - Fixed: FTexture::~FTexture() must destroy the associated native texture 2007-12-20 18:53:35 +00:00
pngtexture.cpp - Fixed: FTexture::~FTexture() must destroy the associated native texture 2007-12-20 18:53:35 +00:00
rawpagetexture.cpp - Changed: Patch and IMGZ textures now initialize their dimensions upon creation. 2006-08-20 12:55:46 +00:00
texture.cpp - Discovered that Shader Model 1.4 clamps my constants, so I can't use 2007-12-26 04:42:15 +00:00
tgatexture.cpp - Fixed: FTexture::~FTexture() must destroy the associated native texture 2007-12-20 18:53:35 +00:00
warptexture.cpp - Increased precision of texture scaling factors to full fixed point. In the process 2007-04-29 12:07:27 +00:00