Grafx2 can now read and convert gfx2.cfg from the original DOS (96.5%) format.
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
This commit is contained in:
10
struct.h
10
struct.h
@@ -120,7 +120,7 @@ struct T_Degrade_Tableau
|
||||
dword Inverse; // "Le dégradé va de Fin à Debut" //INT
|
||||
dword Melange; // Valeur de mélange du dégradé (0-255) //LONG
|
||||
dword Technique; // Technique à utiliser (0-2) //INT
|
||||
};
|
||||
} __attribute__((__packed__));
|
||||
|
||||
// Déclaration d'une info de shade
|
||||
struct T_Shade
|
||||
@@ -139,7 +139,7 @@ struct Config_Mode_video
|
||||
byte Etat;
|
||||
word Largeur;
|
||||
word Hauteur;
|
||||
};
|
||||
} __attribute__((__packed__));
|
||||
|
||||
struct Config_Header
|
||||
{
|
||||
@@ -148,20 +148,20 @@ struct Config_Header
|
||||
byte Version2;
|
||||
byte Beta1;
|
||||
byte Beta2;
|
||||
};
|
||||
} __attribute__((__packed__));
|
||||
|
||||
struct Config_Chunk
|
||||
{
|
||||
byte Numero;
|
||||
word Taille;
|
||||
};
|
||||
} __attribute__((__packed__));
|
||||
|
||||
struct Config_Infos_touche
|
||||
{
|
||||
word Numero;
|
||||
word Touche;
|
||||
word Touche2;
|
||||
};
|
||||
} __attribute__((__packed__));
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user