Project

General

Profile

« Previous | Next » 

Revision 23c87026

Added by danij over 14 years ago

Use the gltexture instance wrapper with graphics loaded in DOOM Patch format. Created new instance flags for "monochrome" and "upscale and sharpen" and incorporated them into the instancing.

Note this means that the current Patch precaching methods will generate unused instances because the public Patch drawing/selection methods do not presently allow specifying the same context (i.e., instance state).

Next step: Do not reference Patches with lump indices. Selection/drawer methods should take a persistent id generated by the engine (hashed from the lump name). Precaching a texture as a Patch returns the logical id.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences