[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/include video.h
From: |
Nehal Mistry |
Subject: |
[Stratagus-CVS] stratagus/src/include video.h |
Date: |
Thu, 27 Nov 2003 22:43:36 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Nehal Mistry <address@hidden> 03/11/27 22:43:36
Modified files:
src/include : video.h
Log message:
_palette_link_ changes for color cycling
Patches:
Index: stratagus/src/include/video.h
diff -u stratagus/src/include/video.h:1.98 stratagus/src/include/video.h:1.99
--- stratagus/src/include/video.h:1.98 Thu Nov 20 02:59:44 2003
+++ stratagus/src/include/video.h Thu Nov 27 22:43:36 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: video.h,v 1.98 2003/11/20 07:59:44 nehalmistry Exp $
+// $Id: video.h,v 1.99 2003/11/28 03:43:36 nehalmistry Exp $
#ifndef __VIDEO_H__
#define __VIDEO_H__
@@ -149,11 +149,13 @@
** Links all palettes together to join the same palettes.
*/
struct _palette_link_ {
- PaletteLink* Next; /// Next palette
- SDL_Palette* Palette; /// Palette in hardware format
- long Checksum; /// Checksum for quick lookup
- int RefCount; /// Reference counter
+ PaletteLink* Prev; /// Previous palette
+ SDL_Surface* Surface; /// Surface that contains palette
};
+
+extern PaletteLink* PaletteList; /// List of all used palettes loaded
+
+extern void VideoPaletteListAdd(SDL_Surface* surface);
/**
** Video synchronization speed. Synchronization time in percent.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/include video.h,
Nehal Mistry <=