#include <stdio.h>
#include "wolf.h"
#include "../../common/platform.h"
#include "../../common/common_utils.h"
#include "../../filesys/file.h"
#include "../../memory/memory.h"
#include "../../loaders/tga.h"
#include "../../image/image.h"
#include "../../string/wtstring.h"
#include "../core/wolfcore.h"
#include "../../pak/pak.h"
#include "../wolfcore_decoder.h"
Functions | |
PUBLIC char * | WL1_GetReduxGFXFileName (W32 id) |
Returns lump name string. | |
PUBLIC char * | WL6_GetReduxGFXFileName (W32 id) |
Returns lump name string. | |
PRIVATE wtBoolean | wolf3d_gfx (char *dict, char *head, char *graph, W32 start, W32 end, picNum_t *picNum, char *(*GetReduxGFXFileName)(W32)) |
Converts Wolf3D graphic data. | |
PUBLIC void | wolffull_decoder (void) |
Decodes Wolfenstein 3-D full version. | |
void | wolfshare1_decoder (void) |
Decodes Wolfenstein 3-D Shareware version. | |
void | wolfshare14_decoder (void) |
Decodes Wolfenstein 3-D Shareware 1.4 version. | |
Variables | |
W8 | wolf_gamepal [] |
W32 | _filterScale |
wtBoolean | _doRedux |
wtBoolean | _outputInDirectory |
PRIVATE W32 | CeilingColourWL6 [] |
PRIVATE char * | WL6_songs [] |
PRIVATE char * | songTitles [] |
PRIVATE parTimes_t | parTimesWL6 [] |
PUBLIC char* WL1_GetReduxGFXFileName | ( | W32 | id | ) |
Returns lump name string.
[in] | id | Chunk value to get string name for. |
PUBLIC char* WL6_GetReduxGFXFileName | ( | W32 | id | ) |
Returns lump name string.
[in] | id | Chunk value to get string name for. |
PRIVATE wtBoolean wolf3d_gfx | ( | char * | dict, | |
char * | head, | |||
char * | graph, | |||
W32 | start, | |||
W32 | end, | |||
picNum_t * | picNum, | |||
char *(*)(W32) | GetReduxGFXFileName | |||
) |
Converts Wolf3D graphic data.
[in] | dict | Name of dictionary file to load. |
[in] | head | Name of header file to load. |
[in] | graph | Name of graphics file to load. |
[in] | start | Offset to start of sprite data |
[in] | end | Offset to end of sprite data |
[in] | picNum | Pointer to picNum_t structure to |
[in] | GetReduxGFXFileName | Call back function to get file names for graphics data. |
PUBLIC void wolffull_decoder | ( | void | ) |
Decodes Wolfenstein 3-D full version.
void wolfshare14_decoder | ( | void | ) |
Decodes Wolfenstein 3-D Shareware 1.4 version.
void wolfshare1_decoder | ( | void | ) |
Decodes Wolfenstein 3-D Shareware version.
PRIVATE W32 CeilingColourWL6[] |
Initial value:
{ 0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x1d1d,0xbfbf, 0x4e4e,0x4e4e,0x4e4e,0x1d1d,0x8d8d,0x4e4e,0x1d1d,0x2d2d,0x1d1d,0x8d8d, 0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x1d1d,0x2d2d,0xdddd,0x1d1d,0x1d1d,0x9898, 0x1d1d,0x9d9d,0x2d2d,0xdddd,0xdddd,0x9d9d,0x2d2d,0x4d4d,0x1d1d,0xdddd, 0x7d7d,0x1d1d,0x2d2d,0x2d2d,0xdddd,0xd7d7,0x1d1d,0x1d1d,0x1d1d,0x2d2d, 0x1d1d,0x1d1d,0x1d1d,0x1d1d,0xdddd,0xdddd,0x7d7d,0xdddd,0xdddd,0xdddd }
PRIVATE char* songTitles[] |
Initial value:
{ "CORNER", "IntoTheDungeons", "WarMarch", "GetThem", "PoundingHeadache", "HITLWLTZ", "INTROCW3", "NAZI_NOR", "NAZI_OMI", "P.O.W", "SALUTE", "Searching", "Suspense", "VICTORS", "WONDERIN", "FUNKYOU", "ENDLEVEL", "GoingAfterHitler", "PREGNANT", "UltimateConquest", "TheNaziRap", "ZeroHour", "TwelfthHour", "ROSTER", "URAHERO", "VICMARCH", "PACMAN" }