Project

General

Profile

« Previous | Next » 

Revision 8a2c8edc

Added by danij about 17 years ago

Cleaned up how all varieties of vissprite are managed with respect to lighting:
  • Lumobjs affecting models, sprites and psprites are now selected and lit using the same generalized routines.
  • Plane glows are now fully integrated into the dynlight management as another type of lumobj (currently one per glowing subsector plane).
  • The number of lights affecting each (p)sprite can now be specified with the cvar "rend-sprite-lights".
  • Parametrized Rend_RenderSprite, Rend_DrawPSprite and Rend_RenderMaskedWall (TODO: Replace the data section of vissprite_t with a union the new parameter structs and get rid of the various setupXYZParamsForVisSprite routines).
Also fixed some bugs:
  • SIGSEGV in the decorlight code caused by improperly initialized planes.
  • Indice/vertex allocation mixup in rend_list.c which resulted in acquiring more memory than actually needed.
  • All visible psprites should be drawn fullbright if any of them should be (see chaingun muzzle flash).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences