[ Home ]

wolfcore_redux.c File Reference

Redux the Wolfenstein 3-D graphics data. More...

#include <string.h>
#include "../spear/spear_def.h"
#include "../core/wolfcore.h"
#include "../../common/platform.h"
#include "../../common/common_utils.h"
#include "../../filesys/file.h"
#include "../../string/wtstring.h"
#include "../../memory/memory.h"
#include "../../loaders/tga.h"
#include "../../image/image.h"
#include "../../image/hq2x.h"
#include "../../image/scalebit.h"
#include "../wolfcore_decoder.h"

Include dependency graph for wolfcore_redux.c:


Functions

PUBLIC void * wolfcore_ReduxGFX (W32 chunkid, void *data, W32 *width, W32 *height, W32 *chunkChange, W8 *gamePalette, picNum_t *picNum)
 Scale and/or reassemble image chunks.

Variables

W32 _filterScale

Detailed Description

Redux the Wolfenstein 3-D graphics data.

Author:
Michael Liebscher
Date:
2006-2009

Function Documentation

PUBLIC void* wolfcore_ReduxGFX ( W32  chunkid,
void *  data,
W32 *  width,
W32 *  height,
W32 *  chunkChange,
W8 *  gamePalette,
picNum_t *  picNum 
)

Scale and/or reassemble image chunks.

Parameters:
[in] chunkid Chunk id of data.
[in] data Image data in the form RGB32.
[out] width Width of image in pixels.
[out] height Height of image in pixels.
[out] chunkChange Next iteration use this chunk id.
[out] gamePalette Palette to Redux image data with.
[out] picNum Image details.
Returns:
Image data on success, otherwise NULL.

Here is the call graph for this function:

Here is the caller graph for this function: