Title: DATATOAOF Author: Paul Fidler Version: 0.08 Title From: Documentation Author From: Documentation Version From: Documentation Supplier: Paul Fidler (praf1@uk.ac.cam.phx) Date: 14/11/92 Keywords: Software development tools Shareware: No Machine: Archimedes Operating system: RISCOS Memory requirements: Peripherals needed: Other s/ware needed: C compiler or assembler Directory: micros/arch/riscos/a/a191 Date mounted/updated: 30/11/92 File names: a191.arc Unarchived files: 29 Unarchived size: 102 Kbytes Omissions: See also: ------------------------------------------------------------------------------- Acquiring the package: Download the uuencoded file and extract using SparkPlug 2 (see the "tools_help" file in arch/riscos/tools for further info). Description: DataToAOF is designed primarily for C or ARM code programmers, who wish to store data of some sort or other within their programs. It was originally written so that sprite files could be stored within !Runimage files, to stop people editing them. The program allows you to encapsulate any file within an AOF file that can then be linked into your program. This will allow you to include data, sprites, templates, drawfiles etc. inside the !RunImage file of your application, where they're safe from prying eyes. A replacement to the Risc_OSLib resspr functions is provided to allow sprites files to be hidden. You will have to write functions to deal with any other sort of files yourself (although replacement template functions should be ready soon). Examples are provided to show you how to use text files and sprites files.