qzdoom/src/g_shared
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
..
a_action.cpp - Fixed: deadthings.txt contained a superfluous ';' which created parsing errors 2007-05-28 14:46:49 +00:00
a_action.h - Converted Heretic's and Hexen's players to DECORATE. 2006-11-07 10:20:09 +00:00
a_armor.cpp - added Skulltag's custom F1 help screen MAPINFO option. 2007-05-10 22:22:38 +00:00
a_artifacts.cpp - Changed the PowerTimeFreezer "blink" effect back to checking against 2007-12-08 22:29:59 +00:00
a_artifacts.h - Added a compatibility option to restore the original behavior of the Invisibility 2007-05-12 11:14:09 +00:00
a_bridge.cpp SVN r258 (trunk) 2006-07-16 09:10:45 +00:00
a_camera.cpp Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
a_debris.cpp SVN r258 (trunk) 2006-07-16 09:10:45 +00:00
a_decals.cpp - Made AActor's xscale and yscale properties full precision fixed point 2006-11-14 16:54:02 +00:00
a_flashfader.cpp Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
a_fountain.cpp - Converted the Heretic sound sequences and the particle fountains to DECORATE. 2006-12-02 15:38:50 +00:00
a_hatetarget.cpp - Fixed: The global WeaponSection string was never freed. It has been replaced 2006-10-31 14:53:21 +00:00
a_keys.cpp - also replaced the AM crosshair drawer by a DCanvas::DrawPixel function. 2007-12-24 14:24:24 +00:00
a_keys.h - Merged a lot of these static destructor-only structs into regular 2006-05-12 03:14:40 +00:00
a_lightning.cpp - Fixed: M_NotifyNewSave() needlessly created a copy of the filename. 2006-05-18 04:25:26 +00:00
a_lightning.h Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
a_mapmarker.cpp - Made AActor's xscale and yscale properties full precision fixed point 2006-11-14 16:54:02 +00:00
a_morph.cpp - Added DTA_TopOffset and DTA_LeftOffset values to the automap background drawer. 2007-07-12 15:15:57 +00:00
a_movingcamera.cpp Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
a_pickups.cpp - forgot to change 2 files for last commit. 2007-12-25 10:25:43 +00:00
a_pickups.h - fixed: The BFGBall's explosion sequence was missing a state. 2007-07-28 12:38:10 +00:00
a_puzzleitems.cpp Moved a_puzzleitems.cpp from g_hexen to g_shared 2006-12-25 12:41:31 +00:00
a_quake.cpp - Changed earthquake code to not add all the intensities but use the maximum 2007-02-10 21:22:31 +00:00
a_secrettrigger.cpp - Reverted updaterevision.vcproj to r385 and added a note as a build event 2006-11-26 01:30:34 +00:00
a_sectoraction.cpp Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
a_setcolor.cpp - added two new things which can set a sector's color without the need of tags 2007-10-29 22:15:46 +00:00
a_sharedglobal.h - Fixed: When a skybox viewpoint is destroyed it should clear all 2007-12-17 22:18:52 +00:00
a_skies.cpp - Fixed a few font related problems. 2007-12-23 21:56:46 +00:00
a_soundenvironment.cpp Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
a_soundsequence.cpp - Converted the Heretic sound sequences and the particle fountains to DECORATE. 2006-12-02 15:38:50 +00:00
a_spark.cpp Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
a_waterzone.cpp Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
a_weaponpiece.cpp SVN r258 (trunk) 2006-07-16 09:10:45 +00:00
a_weaponpiece.h - Backported the classnames-are-names changes from the FP code. 2006-05-10 02:40:43 +00:00
a_weapons.cpp - added two new things which can set a sector's color without the need of tags 2007-10-29 22:15:46 +00:00
hudmessages.cpp - Assembly code is disabled when building with __APPLE__ defined, for now. 2006-09-19 23:25:51 +00:00
sbar.h - Discovered that Shader Model 1.4 clamps my constants, so I can't use 2007-12-26 04:42:15 +00:00
sbarinfo.cpp - Discovered that Shader Model 1.4 clamps my constants, so I can't use 2007-12-26 04:42:15 +00:00
sbarinfo.h - Had a look at sbarinfo.cpp and noticed a few places where it allocated 2007-12-22 23:19:08 +00:00
shared_sbar.cpp - Discovered that Shader Model 1.4 clamps my constants, so I can't use 2007-12-26 04:42:15 +00:00