qzdoom-gpl/src/g_shared
Randy Heit 4ebfdac887 - Changed all coordinates for DrawTexture() to floating point so that the
player sprites will retain the same precision they had when they were
  rendered as part of the 3D view. (needed for propery alignment of flashes
  on top of weapon sprites) It worked just fine for D3D, but software
  rendering was another matter. I consequently did battle with imprecisions
  in the whole masked texture drawing routines that had previously been
  partially masked by only drawing on whole pixel boundaries. Particularly,
  the tops of posts are calculated by multiplying by spryscale, and the
  texture mapping coordinates are calculated by multiplying by dc_iscale
  (where dc_iscale = 1 / spryscale). Since these are both 16.16 fixed point
  values, there is a significant variance. For best results, the drawing
  routines should only use one of these values, but that would mean
  introducing division into the inner loop. If the division removed the
  necessity for the fudge code in R_DrawMaskedColumn(), would it be worth it?
  Or would the divide be slower than the fudging? Or would I be better off
  doing it like Build and using transparent pixel checks instead, not
  bothering with skipping transparent areas? For now, I chop off the
  fractional part of the top coordinate for software drawing, since it was
  the easiest thing to do (even if it wasn't the most correct thing to do).


SVN r1955 (trunk)
2009-11-01 01:27:33 +00:00
..
a_action.cpp - Enough with this "momentum" garbage. What Doom calls "momentum" is really 2009-06-30 20:57:51 +00:00
a_action.h - Macro-fied all access to action functions. 2008-08-10 22:48:37 +00:00
a_armor.cpp - moved definition of games' default armor icons into gameinfo definition. 2009-09-07 19:46:54 +00:00
a_artifacts.cpp - Fixed: When drawing with a special colormap the quad's flags weren't cleared 2009-09-21 13:15:36 +00:00
a_artifacts.h - Fixed: When drawing with a special colormap the quad's flags weren't cleared 2009-09-21 13:15:36 +00:00
a_bridge.cpp - Macro-fied access to action function parameters. 2008-08-13 22:54:24 +00:00
a_camera.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_debris.cpp - Enough with this "momentum" garbage. What Doom calls "momentum" is really 2009-06-30 20:57:51 +00:00
a_decals.cpp - Fixed: The rail sound used the shooter's position for calculating the sound origin 2009-10-17 11:30:44 +00:00
a_fastprojectile.cpp - fixed: Setting the first state's duration of a fast projectile to 0 caused 2009-10-19 17:17:06 +00:00
a_flashfader.cpp - Fixed: With hardware 2D, the console and menu need not reimplement palette 2008-05-21 01:47:34 +00:00
a_fountain.cpp - Cleaned up some include dependencies. 2008-09-14 23:54:38 +00:00
a_hatetarget.cpp - Cleaned up some include dependencies. 2008-09-14 23:54:38 +00:00
a_keys.cpp - Added 'ininventory item, amount' option to SBARINFO to check for a minimum 2009-01-02 17:49:48 +00:00
a_keys.h IMPORTANT NOTE: I uncommented some code depending on the missing x86.cpp file to allow this to compile, These changes must be reverted as soon as this file is added (see v_palette.cpp and win32/i_system.cpp.) 2008-08-09 11:35:42 +00:00
a_lightning.cpp - replaced all code that changed a sector's light level with a setter function. 2009-08-08 20:03:43 +00:00
a_lightning.h - Added more options to Light_ForceLightning: Setting the first arg to 0 2008-03-22 12:41:36 +00:00
a_mapmarker.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_morph.cpp - added a NULL pointer check to fog spawning in unmorphing code. 2009-10-09 20:18:31 +00:00
a_morph.h - Added Gez's real morph fix. 2009-09-18 05:46:15 +00:00
a_movingcamera.cpp - Cleaned up some include dependencies. 2008-09-14 23:54:38 +00:00
a_pickups.cpp - Fixed: When giving completely new ammo, the backpack did not clamp the 2009-10-24 05:02:49 +00:00
a_pickups.h - Fixed: The deprecated flag handler for the old bounce flags needs to clear 2009-09-16 21:03:09 +00:00
a_puzzleitems.cpp - The co-op summary screen now has a totals row at the bottom (if it fits). 2008-11-27 17:43:36 +00:00
a_quake.cpp - added better earthquake functions for ACS and DECORATE. 2009-10-15 08:25:07 +00:00
a_randomspawner.cpp - Gez's misc. bugs patch: 2009-09-16 15:57:08 +00:00
a_secrettrigger.cpp - The co-op summary screen now has a totals row at the bottom (if it fits). 2008-11-27 17:43:36 +00:00
a_sectoraction.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_setcolor.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_sharedglobal.h - added better earthquake functions for ACS and DECORATE. 2009-10-15 08:25:07 +00:00
a_skies.cpp - Added a SECF_NORESPAWN flag for sectors that prevents players from being respawned 2008-12-14 19:12:41 +00:00
a_soundenvironment.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_soundsequence.cpp - Changed compilation for g_doom, g_heretic, g_hexen and g_strife folders 2008-09-15 14:11:05 +00:00
a_spark.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_specialspot.cpp - Fixed: The Boss Brain could crash when it tried to shoot a cube but having no spawn spots placed. 2008-12-26 08:53:12 +00:00
a_specialspot.h - Converted the mace and all related actors to DECORATE and generalized 2008-08-03 19:10:48 +00:00
a_waterzone.cpp - Replaced the ActorInfo definitions of several internal classes with DECORATE definitions 2008-08-08 22:52:04 +00:00
a_weaponpiece.cpp More header cleanup. 2008-09-15 00:47:31 +00:00
a_weaponpiece.h More header cleanup. 2008-09-15 00:47:31 +00:00
a_weapons.cpp - Next round of things from Gez's experimental build: 2009-09-14 21:41:44 +00:00
hudmessages.cpp - The co-op summary screen now has a totals row at the bottom (if it fits). 2008-11-27 17:43:36 +00:00
sbar.h - Added A_SetCrosshair. 2009-07-01 02:00:36 +00:00
sbar_mugshot.cpp - Added player MugShotMaxHealth property. Negative values use the player's 2009-08-07 04:20:28 +00:00
sbarinfo.h - Applied vertical SBARINFO inventory bar patch. 2009-09-08 03:10:50 +00:00
sbarinfo_display.cpp - Changed all coordinates for DrawTexture() to floating point so that the 2009-11-01 01:27:33 +00:00
sbarinfo_parser.cpp - Applied vertical SBARINFO inventory bar patch. 2009-09-08 03:10:50 +00:00
shared_hud.cpp - Bumped netgame, demo and min demo version for the weapon slot changes. 2009-02-20 22:28:48 +00:00
shared_sbar.cpp - Added a NULL screen check when detaching HUD messages. 2009-07-16 23:07:20 +00:00