Project

General

Profile

« Previous | Next » 

Revision 8c0fb451

Added by danij over 13 years ago

Cleanup of WAD module in preparation for larger changes needed to solve some
of the outstanding resource management issues:

  • Added option to re-use an already open DFILE* handle to W_OpenAuxiliary
    Reworked the implementation so that missing/locked files no longer result
    in a critical error (like the primary cache). Added missing error messages
    on (Z_)malloc fail.
  • Fixed missing lump cache select in W_ReadLump.
  • Fixed dangling pointers in W_CloseAuxiliary and made it a public method.
  • Pack structures used to read directly the WAD header and the lump directory.
  • Replaced the iwad member of filerecord_t with a flag (named FRF_IWAD)
  • Removed W_IsIWAD as it is no longer needed.
  • Moved the DFILE* argument for F_Read to the first argument in line with
    conventions otherwise employed throughout the rest of the filesystem
    abstraction layer.
  • Renamed DD_RegisterVFS to F_Register and moved into sys_filein.c
  • Moved ccmd "dir" into sys_filein.c
  • Updated code style.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences