| PathEngine home | previous: | next: |
Loads an image file into memory to be later played by
tSigned32 loadSplashImage(const char* fileName);
|
| filename | A C string with the name of the file to open. |
If the method fails then a value of -1 is returned,
otherwise an index is returned that can be later passed in to
If no path is specified then the testbed's working directory will be searched.
This will be the directory the testbed was run from.
A relative or absolute path may be specified as part of the filename.
Relative paths will interpreted as relative to the testbed's working directory.
The image file may be in one of the following formats: .bmp, .dds, .dib, .jpg, .png, and .tga.
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |