#ifndef __SECTOR_H__
#define __SECTOR_H__

#define SECTOR_FIELDS 120
#define N_SECTORS 3

#define _MAXIMALE_ABWEICHUNG 10.0f
#define _MAGMA_KRAFT 10
#define _MAGMA_RADIUS 8
#define _MAGMA_ANZAHL 500
#define SCHRITT 3.5f

typedef struct _Sector Sector;
struct _Sector {
	char field[SECTOR_FIELDS][SECTOR_FIELDS];
	int dirty;
	int display_list;
	float x_offset, y_offset;
};

typedef struct _Earth Earth;
struct _Earth {
	Sector *sector[N_SECTORS];
};

typedef enum {
	NORTH,
	EAST,
	SOUTH,
	WEST
} Direction;

Sector* sector_new();
Earth* earth_new();

#endif


