gfxcfg now uses SDL keysyms for input, you can test it to check how SDL understands keys on your platform. The utility still doesn't load gfx2.cfg, and still saves is badly.

Fixed more hardcoded scancodes (shade menu).


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-09-27 16:53:26 +00:00
parent 089f8ca225
commit 8ec86f1899
9 changed files with 469 additions and 511 deletions

View File

@@ -2677,9 +2677,9 @@ byte Bouton_Load_ou_Save(byte Load, byte Image)
if (Bouton_clicke<=0)
{
Temp=strlen(Fichier_recherche);
if (Temp<12)
if (Touche_ANSI>= ' ' && Touche_ANSI < 255 && Temp<50)
{
Fichier_recherche[Temp]=toupper(Touche_ASCII);
Fichier_recherche[Temp]=toupper(Touche_ANSI);
Fichier_recherche[Temp+1]=0;
Fichier_le_plus_ressemblant=Nom_correspondant_le_mieux_a(Fichier_recherche);
if ( (Fichier_le_plus_ressemblant)