TileEngine/src/tileengine.h File Reference

#include <Python.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <math.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/file.h>
#include <sys/types.h>
#include <string>
#include <vector>
#include <map>
#include <cairo.h>
#include <pycairo.h>

Go to the source code of this file.

Classes

class  TileEngine

Defines

#define TILEENGINE_VERSION   "1.0"
#define PycairoSurface_GET(obj)   (((PycairoSurface *)(obj))->surface)

Enumerations

enum  TileFormat {
  TILE_FORMAT_BYTE_SIGNED, TILE_FORMAT_BYTE_UNSIGNED, TILE_FORMAT_SHORT_SIGNED, TILE_FORMAT_SHORT_UNSIGNED,
  TILE_FORMAT_LONG_SIGNED, TILE_FORMAT_LONG_UNSIGNED, TILE_FORMAT_FLOAT, TILE_FORMAT_DOUBLE,
  TILE_FORMAT_COUNT
}
enum  TileCode { TILE_CODE_RAW_BINARY_16 = 0, TILE_CODE_COMPRESSED_TEXT = 1, TILE_CODE_COMPRESSED_BINARY_16 = 2, TILE_CODE_COUNT }
enum  TileCodeCompressedText { TILE_CODE_COMPRESSED_TEXT_SKIP_0 = '.', TILE_CODE_COMPRESSED_TEXT_SKIP_1 = '!', TILE_CODE_COMPRESSED_TEXT_SKIP_2 = '@', TILE_CODE_COMPRESSED_TEXT_SKIP_3 = '#' }
enum  TileCodeCompressedBinary16 { TILE_CODE_COMPRESSED_BINARY_16_SKIP_0 = 0xff, TILE_CODE_COMPRESSED_BINARY_16_SKIP_1 = 0xfe, TILE_CODE_COMPRESSED_BINARY_16_SKIP_2 = 0xfd, TILE_CODE_COMPRESSED_BINARY_16_HIGH_MAX = 0xfc }


Detailed Description

Tile Engine include file

Definition in file tileengine.h.


Enumeration Type Documentation

enum TileCode

Tile change encoding codes for different compression techniques.

Definition at line 143 of file tileengine.h.

Compressed Text Tokens.

Definition at line 161 of file tileengine.h.

Compressed Text Tokens.

Definition at line 152 of file tileengine.h.

enum TileFormat

Tile format codes for different tile data types.

Definition at line 129 of file tileengine.h.


Generated on Wed Feb 2 09:19:22 2011 for Micropolis by  doxygen 1.5.6