--- hatari/src/falcon/hostscreen.h 2019/04/09 08:47:20 1.1.1.3 +++ hatari/src/falcon/hostscreen.h 2019/04/09 08:53:21 1.1.1.6 @@ -1,15 +1,13 @@ /* Hatari - hostscreen.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_HOSTSCREEN_H #define HATARI_HOSTSCREEN_H -#include - extern void HostScreen_Init(void); extern void HostScreen_UnInit(void); extern void HostScreen_toggleFullScreen(void); @@ -21,10 +19,10 @@ extern Uint32 HostScreen_getPitch(void); extern Uint32 HostScreen_getWidth(void); extern Uint32 HostScreen_getHeight(void); extern Uint8 * HostScreen_getVideoramAddress(void); -extern void HostScreen_setPaletteColor(Uint8 idx, Uint32 red, Uint32 green, Uint32 blue); +extern SDL_PixelFormat *HostScreen_getFormat(void); +extern void HostScreen_setPaletteColor(Uint8 idx, Uint8 red, Uint8 green, Uint8 blue); extern Uint32 HostScreen_getPaletteColor(Uint8 idx); -extern void HostScreen_updatePalette(Uint16 colorCount); -extern Uint32 HostScreen_getColor(Uint32 red, Uint32 green, Uint32 blue); -extern void HostScreen_setWindowSize(Uint32 width, Uint32 height, Uint32 bpp); +extern void HostScreen_updatePalette(int colorCount); +extern void HostScreen_setWindowSize(int width, int height, int bpp); #endif