/* Copyright 2008 Jeffrey Lee
   This file is part of Pale.
   Pale is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   Pale is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   You should have received a copy of the GNU General Public License
   along with Pale.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _LOADSAVE_H
#define _LOADSAVE_H

#include "pale.h"

//DEPPEND

extern void save_file(char *name,sprfile *file);
extern void save_palette(char *name,rgb *pal);
extern void save_sprite(char *name,preview *spr);
extern void load_palette1(sprfile *s,int sprite,char *name);
extern void load_palette2(preview *p,char *name);
extern void load_palette3(paleditor *e,char *name);
extern sprfile *load_spritefile(char *name);

#endif
