4 * [Generated from resources, 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 ----------------------------------------------------------*
29 /* --- resources_init --- *
35 * Use: Initialises the shared resource system, setting up the
36 * link to the SapphRes DLL. Note that this initialisation is
37 * /not/ performed automatically.
40 extern routine resources_init;
42 /* --- resources_find --- *
44 * On entry: R0 == resource code
45 * R1 == pointer to name (only for rsType_template)
47 * On exit: CS if found, and
48 * R0 == pointer to resource
49 * R1 == pointer to resource limit (only for rsType_message)
53 * Use: Locates resources in the shared resource DLL.
56 extern routine resources_find;
58 /*----- Resource types ----------------------------------------------------*/
60 #define rsType_sprite 0
61 #define rsType_message 1
62 #define rsType_template 2
64 /*----- That's all, folks -------------------------------------------------*/