diff options
Diffstat (limited to 'engines/cine/pal.h')
-rw-r--r-- | engines/cine/pal.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/engines/cine/pal.h b/engines/cine/pal.h new file mode 100644 index 0000000000..75d20e7cde --- /dev/null +++ b/engines/cine/pal.h @@ -0,0 +1,44 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2006 The ScummVM project + * + * cinE Engine is (C) 2004-2005 by CinE Team + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#ifndef CINE_PAL_H_ +#define CINE_PAL_H_ + +struct palEntryStruct { + char name[10]; + u8 pal1[16]; + u8 pal2[16]; +}; + +typedef struct palEntryStruct palEntryStruct; + +void loadPal(const char *fileName); + +extern u16 tempPalette[256]; +extern u8 colorMode256; +extern u8 palette256[256 * 3]; + +void loadRelatedPalette(const char *fileName); + +#endif |