home *** CD-ROM | disk | FTP | other *** search
-
- FNshell_SpriteAreaLoad()
- => str file name of sprite file
-
- <= int address of sprite area containing
- loaded file
-
- Creates a new sprite area and loads an existing
- file into it, returning a pointer to the area.
-
- --------------------------------------------------------
-
- PROCshell_SpriteAreaSave()
- => int address of spritearea (as returned
- by FNshell_SpriteAreaLoad>
- str file name
-
- --------------------------------------------------------
-
- FNshell_UserSpritesBase
- => None
-
- <= int address that user sprite file has
- been loaded at
-
- --------------------------------------------------------
-
- FNshell_SpriteGetPtr()
- => int address of spritearea (as returned
- by FNshell_SpriteAreaLoad>
- str name of sprite
-
- <=int pointer to sprite
-
- This call is used to get a pointer to a sprite
- that can be passed to other routines.
-
- --------------------------------------------------------
-
- PROCshell_SpriteRename()
- => int address of spritearea (as returned
- by FNshell_SpriteAreaLoad
- str old name of sprite
- str new name of sprite
-
- --------------------------------------------------------
-
- FNshell_SpriteExists()
- => int address of spritearea (1 for wimp
- pool, FNshell_UserSpritesBase for
- user area)
- str sprite name
-
- <= bool TRUE or FALSE
-
- It is probably better to use the two associated
- calls FNshell_SpriteExistsInWimpPool and
- FNshell_SpriteExistsInUserArea as it makes it
- more obvious what the call is doing.
-
- --------------------------------------------------------
-
- FNshell_SpriteExistsInWimpPool(()
- => str sprite name
-
- <= bool TRUE or FALSE
-
- Effectively checks whether the sprite has been
- defined in the !Sprites/!Sprites22 file.
-
- --------------------------------------------------------
-
- FNshell_SpriteExistsInUserArea()
- => str sprite name
-
- <= bool TRUE or FALSE
-
- Effectively checks whether the sprite has been
- defined in the Sprites/Sprites22 file.
-
- --------------------------------------------------------
-
- PROCshell_SpriteAreaInit()
- => int address of sprite area
- int size of area
-
- Prepares a block of memory for use as a sprite area.
-
- --------------------------------------------------------
-
- PROCshell_SpriteLoad()
- => int address of sprite area
- str full file name of a sprite file
-
- Loads a sprite file into an area of memory previously
- prepared by PROCshell_SpriteAreaInit.
-
- --------------------------------------------------------
-
- PROCshell_SpriteRemoveLeftWastage()
- => int address of sprite area
- str sprite name
- int pointer to sprite
-
- Makes sure that the sprite is aligned on a word
- boundary. If a sprite pointer is given it will be used,
- if not the sprite name will be used to access the
- sprite. (Pointers are faster).
-
- --------------------------------------------------------
-
- PROCshell_SpriteGetSize()
- => int address of sprite area
- str sprite name
- int pointer to sprite
- int width (updated on return)
- int height (updated on return)
-
- If a sprite pointer is given it will be used,
- if not the sprite name will be used to access the
- sprite. (Pointers are faster).
-
- --------------------------------------------------------
-
- PROCshell_SpriteGetMode()
- => int address of sprite area
- str sprite name
- int pointer to sprite
- int mode (updated on return)
-
- If a sprite pointer is given it will be used,
- if not the sprite name will be used to access the
- sprite. (Pointers are faster).
-
- --------------------------------------------------------
-
- PROCshell_SpriteLoadAsDraw
- => str file name of sprite file
- int file size
- int x offset (OS units)
- int y offset (OS units)
- int address of drawfile buffer (updated on return)
- int sprite area handle (updated on return)
-
- Creates a DrawFile buffer containing the specified
- sprite file.
-
- --------------------------------------------------------
-
- FNshell_SpritesGetHeaderSize
- => None
-
- = int size of sprite file header
-
- --------------------------------------------------------