1 /*
2  *  Open Fodder
3  *  ---------------
4  *
5  *  Copyright (C) 2008-2018 Open Fodder
6  *
7  *  This program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  This program is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License along
18  *  with this program; if not, write to the Free Software Foundation, Inc.,
19  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  */
22 
23 const extern sSpriteSheet* mSpriteSheetTypes_InGame_Amiga_CF2[];
24 
25 class cGraphics_Amiga2 : public cGraphics_Amiga {
26 
27 public:
28 
29     virtual void		Load_pStuff();
30     virtual void        Load_And_Draw_Image(const std::string &pFilename, unsigned int pColors, size_t pBackColor);
31     virtual void		Load_Service_Data();
32 
33     sImage              Decode_Image(const std::string& pFilename, const size_t pCount, const size_t pPaletteOffset, const size_t pStartIndex);
34 
35     tSharedBuffer       GetPalette(const std::string pFilename);
36     virtual sImage		GetImage(const std::string& pFilename, const size_t pPaletteIndex);
37 
38     virtual void        Map_Load_Resources();
39     virtual void        Mission_Intro_Load_Resources(const eTileTypes pTileset);
40 
41     virtual void		SetActiveSpriteSheet(eGFX_Types pSpriteType);
42 
43     void                Recruit_Draw_Hill();
44 
45     cGraphics_Amiga2();
46     ~cGraphics_Amiga2();
47 };
48