diff options
author | Max Horn | 2010-11-17 12:13:23 +0000 |
---|---|---|
committer | Max Horn | 2010-11-17 12:13:23 +0000 |
commit | 5ceb54d088392844d826176d9e4ae1fad62fbd72 (patch) | |
tree | d977b255e48c693eda50c145249ecbc8d894bc26 /engines/tinsel/palette.h | |
parent | 5a554e3dbe3e9ad3375e43125ec79b07366f4827 (diff) | |
download | scummvm-rg350-5ceb54d088392844d826176d9e4ae1fad62fbd72.tar.gz scummvm-rg350-5ceb54d088392844d826176d9e4ae1fad62fbd72.tar.bz2 scummvm-rg350-5ceb54d088392844d826176d9e4ae1fad62fbd72.zip |
TINSEL: Get rid of some global variables
These were actually all "harmless" (i.e. where no obstructions
to RTL support). Still good to get rid of 'em!
svn-id: r54286
Diffstat (limited to 'engines/tinsel/palette.h')
-rw-r--r-- | engines/tinsel/palette.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/tinsel/palette.h b/engines/tinsel/palette.h index e4cee3e301..9743ee53aa 100644 --- a/engines/tinsel/palette.h +++ b/engines/tinsel/palette.h @@ -90,7 +90,6 @@ struct PALQ { bool bFading; // Whether or not fading COLORREF palRGB[MAX_COLOURS]; // actual palette colours }; -typedef PALQ *PPALQ; #define PALETTE_MOVED 0x8000 // when this bit is set in the "posInDAC" // field - the palette entry has moved @@ -123,6 +122,8 @@ void UpdateDACqueue( // places a palette in the video DAC queue int numColours, // number of colours in palette COLORREF *pColours); // list of RGB tripples +void UpdateDACqueue(int posInDAC, COLORREF color); + PALQ *AllocPalette( // allocate a new palette SCNHANDLE hNewPal); // palette to allocate @@ -144,7 +145,7 @@ COLORREF GetBgndColour(); // returns current background colour void SetBgndColour( // sets current background colour COLORREF colour); // colour to set the background to -void FadingPalette(PPALQ pPalQ, bool bFading); +void FadingPalette(PALQ *pPalQ, bool bFading); void CreateTranslucentPalette(SCNHANDLE BackPal); |