Older .cfg files in svn were saved incorrectly: the wrong size of chunk #5 (0x0101 instead of 0xE1) made it impossible to re-read the file in gfxcfg. gfxcfg can read and save gfx2.cfg. Upward compatibility is provided: - If new chunk types are added to the format, it only needs a re-compile. Older files can be read and saved. - If new keyboard shortcuts are added (134 currently), the older files can be read and the default shortcut will be used for missing keys. Fixed many endianness cases, hopefully Fixed LBM loading : bug in ASM->C conversion of Couleur_ILBM_line() Broke PCX loading : argh! git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@176 416bcca6-2ee7-4201-b75f-2eb2f807beb1
		
			
				
	
	
		
			73 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
 | 
						|
void Pixel_Chargement_dans_ecran_courant(word Pos_X,word Pos_Y,byte Couleur);
 | 
						|
void Pixel_Chargement_dans_preview      (word Pos_X,word Pos_Y,byte Couleur);
 | 
						|
void Pixel_Chargement_dans_brosse       (word Pos_X,word Pos_Y,byte Couleur);
 | 
						|
 | 
						|
void Nom_fichier_complet(char * Nom_du_fichier, byte Sauve_Colorix);
 | 
						|
 | 
						|
void Charger_image(byte Image);
 | 
						|
void Sauver_image(byte Image);
 | 
						|
 | 
						|
// -- PKM -------------------------------------------------------------------
 | 
						|
void Test_PKM(void);
 | 
						|
void Load_PKM(void);
 | 
						|
void Save_PKM(void);
 | 
						|
 | 
						|
// -- LBM -------------------------------------------------------------------
 | 
						|
void Test_LBM(void);
 | 
						|
void Load_LBM(void);
 | 
						|
void Save_LBM(void);
 | 
						|
 | 
						|
  byte * LBM_Buffer;
 | 
						|
 | 
						|
 | 
						|
// -- GIF -------------------------------------------------------------------
 | 
						|
void Test_GIF(void);
 | 
						|
void Load_GIF(void);
 | 
						|
void Save_GIF(void);
 | 
						|
 | 
						|
// -- PCX -------------------------------------------------------------------
 | 
						|
void Test_PCX(void);
 | 
						|
void Load_PCX(void);
 | 
						|
void Save_PCX(void);
 | 
						|
 | 
						|
// -- BMP -------------------------------------------------------------------
 | 
						|
void Test_BMP(void);
 | 
						|
void Load_BMP(void);
 | 
						|
void Save_BMP(void);
 | 
						|
 | 
						|
// -- IMG -------------------------------------------------------------------
 | 
						|
void Test_IMG(void);
 | 
						|
void Load_IMG(void);
 | 
						|
void Save_IMG(void);
 | 
						|
 | 
						|
// -- SCx -------------------------------------------------------------------
 | 
						|
void Test_SCx(void);
 | 
						|
void Load_SCx(void);
 | 
						|
void Save_SCx(void);
 | 
						|
 | 
						|
// -- CEL -------------------------------------------------------------------
 | 
						|
void Test_CEL(void);
 | 
						|
void Load_CEL(void);
 | 
						|
void Save_CEL(void);
 | 
						|
 | 
						|
// -- KCF -------------------------------------------------------------------
 | 
						|
void Test_KCF(void);
 | 
						|
void Load_KCF(void);
 | 
						|
void Save_KCF(void);
 | 
						|
 | 
						|
// -- PAL -------------------------------------------------------------------
 | 
						|
void Test_PAL(void);
 | 
						|
void Load_PAL(void);
 | 
						|
void Save_PAL(void);
 | 
						|
 | 
						|
// -- PI1 -------------------------------------------------------------------
 | 
						|
void Test_PI1(void);
 | 
						|
void Load_PI1(void);
 | 
						|
void Save_PI1(void);
 | 
						|
 | 
						|
// -- PC1 -------------------------------------------------------------------
 | 
						|
void Test_PC1(void);
 | 
						|
void Load_PC1(void);
 | 
						|
void Save_PC1(void);
 |