|
This function has nothing to do with STATE graphics engine
Think of it as an extension to the Win32 API.
It is also possible to load a jpeg file (*.jpg).
If bitmap_file_name ends with ".jpg" and there is no file with the same name only with a .bmp extension
in the same directory then the function will load the jpg file
Note the difference between this command and STATE_bitmap_load()
STATE_bitmap_load() command loads a bitmap into the engine, while STATE_utilities_load_bitmap_from_file()
is just an extension to the Win32 API making it easy to load a bitmap from
the disk and to get its HBITMAP handle (a Win32 type)
|