/* * resources.h * * [Generated from resources, 25 September 1996] */ #if !defined(__CC_NORCROFT) || !defined(__arm) #error You must use the Norcroft ARM Compiler for Sapphire programs #endif #pragma include_only_once #pragma force_top_level #ifndef __resources_h #define __resources_h #ifndef __sapphire_h #include "sapphire.h" #endif /*----- Overview ----------------------------------------------------------* * * Functions provided: * * resource_init * resource_find */ /* --- resources_init --- * * * On entry: -- * * On exit: -- * * Use: Initialises the shared resource system, setting up the * link to the SapphRes DLL. Note that this initialisation is * /not/ performed automatically. */ extern routine resources_init; /* --- resources_find --- * * * On entry: R0 == resource code * R1 == pointer to name (only for rsType_template) * * On exit: CS if found, and * R0 == pointer to resource * R1 == pointer to resource limit (only for rsType_message) * else CC and * R0,R1 preserved * * Use: Locates resources in the shared resource DLL. */ extern routine resources_find; /*----- Resource types ----------------------------------------------------*/ #define rsType_sprite 0 #define rsType_message 1 #define rsType_template 2 /*----- That's all, folks -------------------------------------------------*/ #endif