SDL Graphics mode detection and checking if valid, CFG saves only configuration for valid modes where the user set <3 | Imperfect | Unsupported.

Modes are not sorted yet (cosmetic)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@199 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-10-05 02:10:53 +00:00
parent 0705aae104
commit 40fe3ccf09
8 changed files with 140 additions and 118 deletions

View File

@@ -71,8 +71,9 @@ struct S_Mode_video
word Fullscreen;
byte Etat; // 0:Cool 1:OK ; 2:Bof ; 3:Naze ; si on rajoute +128 => incompatible
};
GLOBAL struct S_Mode_video Mode_video[NB_MODES_VIDEO];
GLOBAL struct S_Mode_video Mode_video[MAX_MODES_VIDEO];
GLOBAL int Nb_modes_video; // Nombre de modes réellement recensés dans Mode_video[]
GLOBAL struct
{