tmw/src/resources/mapreader.cpp File Reference

#include "resources/animation.h"
#include "resources/image.h"
#include "resources/mapreader.h"
#include "resources/resourcemanager.h"
#include "log.h"
#include "map.h"
#include "tileset.h"
#include "utils/base64.h"
#include "utils/stringutils.h"
#include "utils/xml.h"
#include <cassert>
#include <iostream>
#include <zlib.h>

Go to the source code of this file.

Functions

int inflateMemory (unsigned char *in, unsigned int inLength, unsigned char *&out, unsigned int &outLength)
 Inflates either zlib or gzip deflated memory.
int inflateMemory (unsigned char *in, unsigned int inLength, unsigned char *&out)

Variables

const unsigned int DEFAULT_TILE_WIDTH = 32
const unsigned int DEFAULT_TILE_HEIGHT = 32


Function Documentation

int inflateMemory ( unsigned char *  in,
unsigned int  inLength,
unsigned char *&  out 
)

Definition at line 111 of file mapreader.cpp.

int inflateMemory ( unsigned char *  in,
unsigned int  inLength,
unsigned char *&  out,
unsigned int &  outLength 
)

Inflates either zlib or gzip deflated memory.

The inflated memory is expected to be freed by the caller.

Definition at line 46 of file mapreader.cpp.


Variable Documentation

const unsigned int DEFAULT_TILE_HEIGHT = 32

Definition at line 40 of file mapreader.cpp.

const unsigned int DEFAULT_TILE_WIDTH = 32

Definition at line 39 of file mapreader.cpp.


Generated on Sun Apr 26 17:30:42 2009 for The Mana World by  doxygen 1.5.5