home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- * spredfio.h
- *
- * The sprite editor sprite data file IO
- **********************************************************************
- This file is part of
-
- STK -- The sprite toolkit -- version 1.0
-
- Copyright (C) Jari Karjala 1990
-
- The sprite toolkit (STK) is a FreeWare toolkit for creating high
- resolution sprite graphics with PCompatible hardware. This toolkit
- is provided as is without any warranty or such thing. See the file
- COPYING for further information.
-
- **********************************************************************
- **********************************************************************/
-
- /**********************************************************************
- * Load the sprite sdp->name. If sdp->h and sdp->w were non-zero
- * they are preserved, otherwise the read values are used.
- * Return: 0 if no errors, negative otherwise
- * (-1 fopen, -2 fread, -3 fclose error)
- **********************************************************************/
- int load_sprite(SPRED_DATA *sdp);
-
- /**********************************************************************
- * Save the given sprite.
- * Return: 0 if no errors, negative otherwise
- * (-1 fopen, -2 fwrite, -3 fclose error)
- **********************************************************************/
- int save_sprite(SPRED_DATA *sdp);
-