Changeset 124 for abuse/trunk/src/imlib/loader.hpp
- Timestamp:
- Mar 18, 2008, 9:36:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/loader.hpp
r57 r124 17 17 // supported graphics file formats so far.. 18 18 19 enum graphics_type 19 enum graphics_type 20 20 { LOADER_not_supported, 21 LOADER_mdl, 22 LOADER_spe, 23 LOADER_ppm, 24 LOADER_bmp8, // 8 bit color Microsoft Bitmap25 LOADER_bmp24, 26 LOADER_pcx8, 27 LOADER_pcx24, 28 LOADER_xwd, 29 LOADER_pic, 21 LOADER_mdl, // propritary 22 LOADER_spe, // propritary 23 LOADER_ppm, // portable pixmap 24 LOADER_bmp8, // 8 bit color Microsoft Bitmap 25 LOADER_bmp24, // 24 bit color Microsoft Bitmap 26 LOADER_pcx8, // 8 bit color PC paintbrush 27 LOADER_pcx24, // 24 bit color PC paintbrush 28 LOADER_xwd, // X-window dump format 29 LOADER_pic, // Pic (used in Gl's) 30 30 LOADER_lbm, // Delux Paint 31 31 LOADER_targa // 24 bit, converted to 8 on load though … … 33 33 34 34 graphics_type tell_file_type(char *filename); 35 int tell_color_size(char *filename); // returns 8 or 24 36 short load_any(char *filename, image **&images, 37 35 int tell_color_size(char *filename); // returns 8 or 24 36 short load_any(char *filename, image **&images, 37 palette *&pal, short &total_read, palette *ref_pal=0); 38 38 image24 *load_any24(char *filename); 39 39
Note: See TracChangeset
for help on using the changeset viewer.