Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a working algorithm for decompressing DOOM64 format, compressed…
… data. This is still somewhat early and requires a lot more study so it can be documented fully. Has been tested and proven to work with all texture and map data lumps in the original DOOM64 ROM-embedded IWAD on both 32 and 64 bit arches (note: algorithm expects big endian src data and outputs big endian).
- Loading branch information
danij
committed
Nov 26, 2008
1 parent
edaca13
commit 44ba80a
Showing
6 changed files
with
340 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,5 +43,6 @@ | |
#include "m_linkedlist.h" | ||
#include "m_binarytree.h" | ||
#include "m_gridmap.h" | ||
#include "m_decomp64.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/**\file | ||
*\section License | ||
* License: GPL | ||
* Online License Link: http://www.gnu.org/licenses/gpl.html | ||
* | ||
*\author Copyright © 2008 Daniel Swanson <danij@dengine.net> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, | ||
* Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
/** | ||
* m_decomp64.h: Decompression algorithm, used with various lumps of | ||
* DOOM64 data. | ||
*/ | ||
|
||
#ifndef __M_DECOMPRESS64_H__ | ||
#define __M_DECOMPRESS64_H__ | ||
|
||
void M_Decompress64(byte* dst, const byte* src); | ||
|
||
#endif |
Oops, something went wrong.