4 * [Generated from resspr, 25 September 1996]
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8 #error You must use the Norcroft ARM Compiler for Sapphire programs
11 #pragma include_only_once
12 #pragma force_top_level
21 /*----- Overview ----------------------------------------------------------*
30 /* --- resspr_load --- *
32 * On entry: R0 == pointer to filename
34 * On exit: May return an error
36 * Use: Loads a sprite file into memory and allows it to be
37 * referenced through resspr_area. Note that Straylight's
38 * Sprinkle module must be loaded if more than one sprite file
39 * is to be used for resources.
42 extern routine resspr_load;
44 /* --- resspr_area --- *
48 * On exit: R0 == pointer to application's sprite area
50 * Use: Locates the application's `Sprites' resource in memory and
51 * returns a pointer to it. If the resource has not been
52 * loaded, 1 is returned, to indicate to use the WIMP area.
53 * If multiple sprite files have been loaded, this call returns
54 * the address of the first: they will have been linked together
55 * so that Sprinkle will treat them as one big area.
58 extern routine resspr_area;
60 /* --- resspr_init --- *
62 * On entry: R0 == pointer to application name
66 * Use: Initalises resspr, loading the Sprites resource.
69 extern routine resspr_init;
71 /*----- That's all, folks -------------------------------------------------*/