- 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

@ -48,10 +48,7 @@ static void LoadKeys (const char *modname, bool dbl)
{
char section[64];
if (GameName() == NULL)
return;
mysnprintf (section, countof(section), "%s.%s%sBindings", GameName(), modname,
mysnprintf (section, countof(section), "%s.%s%sBindings", gameinfo.ConfigName, modname,
dbl ? ".Double" : ".");
FKeyBindings *bindings = dbl? &DoubleBindings : &Bindings;