home *** CD-ROM | disk | FTP | other *** search
- /* Title: resspr+.h
- * Pupose: Access to sprite resources that have been
- * hidden within your program using !DataToAOF
- * Author: (c) Paul Fidler 1992
- * Use: This headed file is designed to be used in
- * place of RISCOSLib.h.resspr . It provides
- * The same two fuctions as resspr.h, but
- * resspr_init() now takes two parameters.
- */
-
- #ifndef __resspr_h
- #define __resspr_h
-
- # ifndef __sprite_h
- # include "sprite.h"
- # endif
-
- /* ----------------------------- resspr_init -------------------------------
- * Description: Initialises, ready for calls to resspr functions.
- *
- * Parameters: sprite_area *sprites - The address of the hidden sprite
- * file.
- * int length - The length of the hidden sprite
- * file.
- * Returns: void.
- * Other Info: call before using any resspr functions and before using
- * template_init() !! This function reads in your sprites.
- * This fuction is NOT exactly the same as the RISCOSLib
- * fuction it replaces.
- *
- */
-
- extern void resspr_init(sprite_area *sprites, int length);
-
- /* ------------------------------ resspr_area ------------------------------
- * Description: Return pointer to sprite area being used.
- *
- * Parameters: void
- * Returns: pointer to sprite area being used.
- * Other Info: useful for passing params to functions like baricon which
- * expect to be told sprite area to use.
- * This fuction has exactly the same functionality as the
- * RISCOSLib fuction it replaces. Please note that you MUST
- * use this fuction to discover the address of the sprite
- * area. Do not assume that it is the same as the address
- * of the sprite file that you passed to resspr_init().
- * ~~~~
- *
- */
-
- extern sprite_area *resspr_area(void);
-
-
-
- #endif
-