- loadBitmapFromFile
T loadBitmapFromFile(string filename)
Loads a bitmap from disk.
Currently supported formats: *.tga, *.png
- loadBitmapFromImage
T loadBitmapFromImage(Image img)
Loads a bitmap from Image.
- loadBitmapFromXMP
deprecated T loadBitmapFromXMP(ExtendibleBitmap xmp, string ID)
Gets a bitmap from the XMP file.
DEPRECATED! Recommended to use *.tga with devarea extensions or even *.png files.
- loadBitmapSheetFromFile
T[] loadBitmapSheetFromFile(string filename, int x, int y)
Loads a bitmap sheet from file.
This one doesn't require TGA devarea extensions.
- loadBitmapSheetFromImage
T[] loadBitmapSheetFromImage(Image img, int x, int y)
Creates a bitmap sheet from an image file.
This one doesn't require embedded data.
- loadFileFromDisk
File loadFileFromDisk(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadImage
Image loadImage(F file)
Loads an Image from a File or VFile.
Automatically detects format from file extension.
- loadPaletteFromFile
Color[] loadPaletteFromFile(string filename)
Loads a palette from a file.
- loadPaletteFromImage
Color[] loadPaletteFromImage(Image img)
Loads a palette from image.
- loadPaletteFromXMP
void loadPaletteFromXMP(ExtendibleBitmap xmp, string ID, Raster target, int offset)
Loads a palette from an XMP file.
Deprecated!
- loadSoundFromFile
Mix_Chunk* loadSoundFromFile(char* filename)
Loads a *.wav file if SDL2 mixer is used