Atrinik Client 2.5
Data Structures | Defines | Typedefs | Variables
include/map.h File Reference

Go to the source code of this file.

Data Structures

struct  _multi_part_tile
struct  _multi_part_obj
struct  _mapdata
struct  MapCell
struct  Map

Defines

#define MAP_START_XOFF   386
#define MAP_START_YOFF   143
#define MAP_TILE_POS_YOFF   23
#define MAP_TILE_POS_YOFF2   12
#define MAP_TILE_POS_XOFF   48
#define MAP_TILE_POS_XOFF2   24
#define MAP_TILE_XOFF   12
#define MAP_TILE_YOFF   24
#define MAX_LAYERS   7

Typedefs

typedef struct _multi_part_tile _multi_part_tile
typedef struct _multi_part_obj _multi_part_obj
typedef struct _mapdata _mapdata

Variables

struct MapCell MapCell
struct Map Map
_mapdata MapData

Detailed Description

Map header file.

Definition in file map.h.


Define Documentation

#define MAP_START_XOFF   386

Map start X offset

Definition at line 34 of file map.h.

#define MAP_START_YOFF   143

Map start Y offset

Definition at line 37 of file map.h.

#define MAP_TILE_POS_XOFF   48

Map tile position X offset

Definition at line 46 of file map.h.

#define MAP_TILE_POS_XOFF2   24

Map tile position X offset 2

Definition at line 49 of file map.h.

#define MAP_TILE_POS_YOFF   23

Map tile position Y offset

Definition at line 40 of file map.h.

#define MAP_TILE_POS_YOFF2   12

Map tile position Y offset 2

Definition at line 43 of file map.h.

#define MAP_TILE_XOFF   12

Map tile X offset

Definition at line 52 of file map.h.

#define MAP_TILE_YOFF   24

Map tile Y offset

Definition at line 55 of file map.h.

#define MAX_LAYERS   7

Maximum number of layers.

Definition at line 58 of file map.h.


Typedef Documentation

typedef struct _mapdata _mapdata

Map data structure

Table of predefined multi arch objects. mpart_id and mpart_nr in the arches are committed from server to analyze the exact tile position inside a mpart object.

The way of determinate the starting and shift points is explained in the dev/multi_arch folder of the arches, where the multi arch templates & masks are.

Multi part object tile structure


Variable Documentation

Current shown map: mapname, length, etc

Definition at line 39 of file map.c.