demOS
 All Data Structures Files Modules Pages
BMPLOADER.H
Go to the documentation of this file.
1 /*------------------------------------------------------------------------------ -----------------
2  Copyright J.Hubert 2015
3 
4  This file is part of demOS
5 
6  demOS is free software: you can redistribute it and/or modify it under the terms of
7  the GNU Lesser General Public License as published by the Free Software Foundation,
8  either version 3 of the License, or (at your option) any later version.
9 
10  demOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY ;
11  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12  See the GNU Lesser General Public License for more details.
13 
14  You should have received a copy of the GNU Lesser General Public License along with demOS.
15  If not, see <http://www.gnu.org/licenses/>.
16 ------------------------------------------------------------------------------------------------- */
17 
20 #ifndef BMPLOADER_H
21 #define BMPLOADER_H
22 
23 #include "DEMOSDK\PC\SURFACE.H"
24 
25 ENUM(BITloadResult)
26 {
27  BITloadResult_OK,
28  BITloadResult_READERROR,
29  BITloadResult_UNKNOWN_FORMAT
30 } ;
31 
32 BITloadResult BITbmpLoad (BITsurface* _surface, MEMallocator* _allocator, char* _filename);
33 BITloadResult BITbmpLoadLUT (BITlut* _lut, MEMallocator* _allocator, char* _filename);
34 bool BITbmpSave (BITsurface* _surface, char* _filename);
35 
36 BITloadResult BITneoLoad (BITsurface* _surface, MEMallocator* _allocator, char* _filename);
37 
38 #endif
Definition: BASTYPES.H:125
Definition: SURFACE.H:86
Definition: SURFACE.H:52