Revision 9af8ab28
     Added by danij almost 17 years ago
    Added by danij almost 17 years ago
  
  
  Continued work on the materials system as some of the bugs reported with the unofficial svn rev #6160 release will be fixed in the process:
	
- Get the materials manager up and running as early as possible, just before the definitions are read in Def_Read().
- Added Material definitions (only available in _DEBUG builds atm since this is very early stuff) - this can be used to override the materials generated automatically from the TEXTURE1/2 defs, the flat lump list, sprites and ddtextures. It is now possible to reference a new material defined only in a DED to be used on a world surface e.g., sector floor/ceiling in the WAD map data itself. I will continue to expand the Material definitions stuff and make available in release builds when fully tested.
- User-created Material definitions now override those which are automatically generated.
- Store materialtex names (e.g., the name of the texture from TEXTURE1/2 or the lump name in the case of flats) in materialtex_t and hash them for fast(er) lookup.
- Postpone determination of a materials' environment class (for sound processing effects like echo) until it is needed. As materials are now generated before the definitions are read; we do not have the knowledge at this time.
Files
- added
- modified
- copied
- renamed
- deleted