view ext/libpng-1.2.29/contrib/pngminim/encoder/dummy_inflate.c @ 502:96c4922c1c24

Added some imports to the world initialization code. I had to do this because you were not able to use the editor with the shooter demo map files without manually adding the imports to the map file. You do not have to do this now (note the TODO in the comments). I have also hard coded the camera zoom level to ensure the map editors zoom level at the time of saving the map is not used.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 18 May 2010 14:48:33 +0000
parents 4a0efb7baf70
children
line wrap: on
line source

#include "zlib.h"

int ZEXPORT inflate(strm, flush)
z_streamp strm;
int flush;
{ return Z_OK ; }

int ZEXPORT inflateReset(strm)
z_streamp strm;
{ return Z_OK ; }

int ZEXPORT inflateEnd(strm)
z_streamp strm;
{ return Z_STREAM_ERROR ; }

int ZEXPORT inflateInit_(strm, version, stream_size)
z_streamp strm;
const char *version;
int stream_size;
{ return Z_OK ; }

int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
z_streamp strm;
int windowBits;
const char *version;
int stream_size;
{ return Z_STREAM_ERROR ; }