Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MTEMP.TMP map header file + related CA_LoadFile changes #63

Closed
wants to merge 3 commits into from

Commits on Sep 11, 2024

  1. id_ca: Fix a possible memory leak in CA_LoadFile.

    The Catacomb 3-D sources and reconstructed Keen 4-6 v1.4-5 sources,
    along with Blake Stone sources, show no use of the function, while
    the known uses in the sources for the Catacomb Adventure Series
    and Wolfenstein 3D ignore the returned value.
    NY00123 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    1292986 View commit details
    Browse the repository at this point in the history
  2. id_ca: Split the function CA_LoadFile

    By calling CAL_LoadFile_Int directly, it should be possible
    to open a file without adjusting its file extension.
    NY00123 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    aeed533 View commit details
    Browse the repository at this point in the history
  3. id_ca: Support loading map header file from MTEMP.TMP

    MTEMP.TMP was the file generated by TED5.EXE for Carmack-compressed files,
    while MAPHEAD.EXT would be used for maps not going through that phase.
    The situation possibly changed in Wolfenstein 3D shareware v1.1,
    using MAPHEAD.EXT with Carmack compression altogether.
    Due to the lack of awareness for years, MAPHEAD.EXT had been commonly used
    for Keen 4-6 map editing with Carmack compression, and the open-source release
    of Keen Dreams from 2014 similarly used MAPHEAD.KDR with Huffman compression.
    For purposes of backwards compatibility, Omnispeak still accepts MAPHEAD.EXT.
    NY00123 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    9854193 View commit details
    Browse the repository at this point in the history