- Each IWAD can now define its own config section. Hacx, Harmony and Action Doom2 now do that.

- moved IWAD identification data into a lump in zdoom.pk3.
- rewrote IWAD checking code 

SVN r2943 (trunk)
This commit is contained in:
Christoph Oelckers 2010-10-15 15:13:53 +00:00
commit eded2ef345
16 changed files with 663 additions and 446 deletions

View file

@ -414,7 +414,7 @@ void STACK_ARGS I_Error (const char *error, ...)
throw CRecoverableError (errortext);
}
void I_SetIWADInfo (const IWADInfo *info)
void I_SetIWADInfo ()
{
}
@ -511,7 +511,7 @@ int I_PickIWad_Gtk (WadStuff *wads, int numwads, bool showwin, int defaultiwad)
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
0, filepart,
1, IWADInfos[wads[i].Type].Name,
1, wads[i].Name,
2, i,
-1);
if (i == defaultiwad)
@ -625,7 +625,7 @@ int I_PickIWad (WadStuff *wads, int numwads, bool showwin, int defaultiwad)
filepart = wads[i].Path;
else
filepart++;
printf ("%d. %s (%s)\n", i+1, IWADInfos[wads[i].Type].Name, filepart);
printf ("%d. %s (%s)\n", i+1, wads[i].Name, filepart);
}
printf ("Which one? ");
scanf ("%d", &i);