/*This file contains the sectorlist class, to save the list of
  modified sectors*/

/*Maybe i should be proud of this, this is a classical!
  I always said "Who needs C++?"
  >;>>> */

struct sectorlist;
/*The structure sectorlist, public for pointers, members are private*/

struct sectorlist* sectorlist_new();
/*A constructor, NULL on error*/

int sectorlist_remsector (struct sectorlist* list,int x, int y);
/*Removes a sector from the list
  0 on success, 1 on not found, -1 on error*/

int sectorlist_kill(struct sectorlist* list);
/*A destructor, 0 on success, -1 on error*/

int sectorlist_addsector (struct sectorlist* list,int x, int y,int brightness);
/*Adds a sector to the list
  0 added, 1, changed, -1 error */
  
int sectorlist_print (struct sectorlist* list);
/*And most important: print out all sectors*/
