GsTexClut;
} TIM2ImageHeader;
-enum CSM {
+typedef enum
+{
CSM1=0,
CSM2=1,
-};
+} CSM;
-enum TIM2ColorEncoding{
+typedef enum
+{
RGBA32=0,
RGB24=1,
RGBA16=2,
-};
-enum TIM2IndexEncoding{
+} TIM2ColorEncoding;
+
+typedef enum
+{
IDTEX8=3,
IDTEX4=4,
-};
+} TIM2IndexEncoding;
\f
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
return tim2_image_header;
}
-static inline Quantum GetChannelValue(unsigned int word,unsigned char channel, enum TIM2ColorEncoding ce){
+static inline Quantum GetChannelValue(unsigned int word,unsigned char channel,TIM2ColorEncoding ce){
switch(ce)
{
case RGBA16:
}
}
-static inline Quantum GetAlpha(unsigned int word, enum TIM2ColorEncoding ce){
+static inline Quantum GetAlpha(unsigned int word, TIM2ColorEncoding ce){
switch(ce)
{
case RGBA16:
MagickOffsetType ImgDataOffset=TellBlob(image);
- enum CSM csm;
+ CSM csm;
char
clut_depth=0,