Adonthell  0.4
mapsquare_walkable.h File Reference

Declares the mapsquare_walkable and mapsquare_walkable_area classes. More...

#include "fileops.h"
#include "drawable.h"
#include <vector>
Include dependency graph for mapsquare_walkable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mapsquare_walkable
 Contains information about the walkability of a mapsquare. More...
 
class  mapsquare_walkable_area
 Area of mapsquare_walkables, for use with mapcharacter and mapobject classes. More...
 

Macros

#define ALL_WALKABLE   15
 Walkable from every side. More...
 
#define WALKABLE_SOUTH   1
 Walkable from South. More...
 
#define WALKABLE_NORTH   2
 Walkable from North. More...
 
#define WALKABLE_EAST   4
 Walkable from East. More...
 
#define WALKABLE_WEST   8
 Walkable from West. More...
 
#define NONE_WALKABLE   0
 Unreachable. More...
 

Variables

const u_int16 MAPSQUARE_SIZE = 20
 Size of a mapsquare (in pixels). More...
 

Detailed Description

Macro Definition Documentation

◆ ALL_WALKABLE

#define ALL_WALKABLE   15

Walkable from every side.

Definition at line 48 of file mapsquare_walkable.h.

◆ WALKABLE_SOUTH

#define WALKABLE_SOUTH   1

Walkable from South.

Definition at line 54 of file mapsquare_walkable.h.

◆ WALKABLE_NORTH

#define WALKABLE_NORTH   2

Walkable from North.

Definition at line 60 of file mapsquare_walkable.h.

◆ WALKABLE_EAST

#define WALKABLE_EAST   4

Walkable from East.

Definition at line 66 of file mapsquare_walkable.h.

◆ WALKABLE_WEST

#define WALKABLE_WEST   8

Walkable from West.

Definition at line 72 of file mapsquare_walkable.h.

◆ NONE_WALKABLE

#define NONE_WALKABLE   0

Unreachable.

Definition at line 78 of file mapsquare_walkable.h.

Variable Documentation

◆ MAPSQUARE_SIZE

const u_int16 MAPSQUARE_SIZE = 20

Size of a mapsquare (in pixels).

Definition at line 42 of file mapsquare_walkable.h.