Normalized code.
This commit is contained in:
@@ -238,6 +238,3 @@ void WriteAsmFile (const StrBuf* Data, const Collection* A, const Bitmap* B)
|
||||
Error ("Error closing output file `%s': %s", Name, strerror (errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -61,6 +61,3 @@ void WriteAsmFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
|
||||
/* End of asm.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -304,6 +304,3 @@ void FreeAttrList (Collection* C)
|
||||
/* Free the collection itself */
|
||||
FreeCollection (C);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -126,6 +126,3 @@ void FreeAttrList (Collection* C);
|
||||
/* End of attr.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -83,6 +83,3 @@ void WriteBinFile (const StrBuf* Data, const Collection* A,
|
||||
Error ("Error closing output file `%s': %s", Name, strerror (errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -61,6 +61,3 @@ void WriteBinFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
|
||||
/* End of bin.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -175,6 +175,3 @@ Pixel GetPixel (const Bitmap* B, unsigned X, unsigned Y)
|
||||
/* Return the pixel */
|
||||
return B->Data[Y * B->Width + X];
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -184,6 +184,3 @@ INLINE unsigned GetBitmapColors (const Bitmap* B)
|
||||
/* End of bitmap.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -223,6 +223,3 @@ void WriteCFile (const StrBuf* Data, const Collection* A, const Bitmap* B)
|
||||
Error ("Error closing output file `%s': %s", Name, strerror (errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -61,6 +61,3 @@ void WriteCFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
|
||||
/* End of c.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,3 @@ Color RGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -94,6 +94,3 @@ Color RGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A);
|
||||
/* End of color.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -123,4 +123,3 @@ void ListConversionTargets (FILE* F)
|
||||
fprintf (F, " %s\n", ConverterMap[I].Format);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -70,6 +70,3 @@ void ListConversionTargets (FILE* F);
|
||||
/* End of convert.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -85,6 +85,3 @@ void Internal (const char* Format, ...)
|
||||
va_end (ap);
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2))
|
||||
/* End of error.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -123,6 +123,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size)
|
||||
}
|
||||
return Data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -72,6 +72,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size);
|
||||
/* End of fileio.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -229,6 +229,3 @@ StrBuf* GenGeosBitmap (const Bitmap* B, const Collection* A attribute ((unused))
|
||||
/* Return the converted bitmap */
|
||||
return D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -108,6 +108,3 @@ StrBuf* GenGeosIcon (const Bitmap* B, const Collection* A attribute ((unused)))
|
||||
/* Return the converted bitmap */
|
||||
return D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,3 @@ StrBuf* GenGeosIcon (const Bitmap* B, const Collection* A);
|
||||
/* End of geosicon.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -119,6 +119,3 @@ Bitmap* ReadInputFile (const Collection* A)
|
||||
/* Call the format specific read */
|
||||
return InputFormatTable[F->Id].Read (A);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,6 +63,3 @@ Bitmap* ReadInputFile (const Collection* A);
|
||||
/* End of input.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -101,6 +101,3 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A attribute ((unused)))
|
||||
/* Return the converted bitmap */
|
||||
return D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,3 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A);
|
||||
/* End of koala.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -552,6 +552,3 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A)
|
||||
/* Return the converted bitmap */
|
||||
return D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,3 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A);
|
||||
/* End of lynxsprite.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -405,6 +405,3 @@ int main (int argc, char* argv [])
|
||||
/* Success */
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -140,6 +140,3 @@ void WriteOutputFile (const StrBuf* Data, const Collection* A, const Bitmap* B)
|
||||
/* Call the format specific write */
|
||||
OutputFormatTable[F->Id].Write (Data, A, B);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -65,6 +65,3 @@ void WriteOutputFile (const StrBuf* Data, const Collection* A, const Bitmap* B);
|
||||
/* End of output.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -138,6 +138,3 @@ void DumpPalette (FILE* F, const Palette* P)
|
||||
(((unsigned long) C->R) << 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -85,6 +85,3 @@ void DumpPalette (FILE* F, const Palette* P);
|
||||
/* End of palette.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -440,6 +440,3 @@ Bitmap* ReadPCXFile (const Collection* A)
|
||||
/* Return the bitmap */
|
||||
return B;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -60,6 +60,3 @@ Bitmap* ReadPCXFile (const Collection* A);
|
||||
/* End of pcx.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -67,6 +67,3 @@ union Pixel {
|
||||
/* End of pixel.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -84,6 +84,3 @@ StrBuf* GenRaw (const Bitmap* B, const Collection* A attribute ((unused)))
|
||||
/* Return the converted bitmap */
|
||||
return D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -61,7 +61,5 @@ StrBuf* GenRaw (const Bitmap* B, const Collection* A);
|
||||
|
||||
|
||||
/* End of raw.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -177,6 +177,3 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A)
|
||||
/* Return the converted bitmap */
|
||||
return D;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -64,6 +64,3 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A);
|
||||
/* End of vic2sprite.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user