Previous: 4.51.2.3.7. init() To the Table of Contents Next: 4.51.2.3.9. loadFromFile()
4.51.2.3.7. init() Table of Contents 4.51.2.3.9. loadFromFile()

- 4.51.2.3.8. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.3. ogSprite object
4.51.2.3.8. load()


4.51.2.3.8. load()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Loads a sprite.

Declaration:
 function load(const filename:string):boolean;
Remarks:

Loads a sprite off disk into a sprite object.

This method is functionally equivalent to sprite.loadFromOffset(filename, 0);

Return value:

TRUE if successful, FALSE if failure.

See also:







Previous: 4.51.2.3.7. init() To the Table of Contents Next: 4.51.2.3.9. loadFromFile()
4.51.2.3.7. init() Table of Contents 4.51.2.3.9. loadFromFile()

- 4.51.2.3.8. -