- externalized the vector graphics for the automap arrows and the key.
SVN r2949 (trunk)
This commit is contained in:
parent
9e2e9262a4
commit
ce7921c9d9
12 changed files with 119 additions and 81 deletions
11
src/gi.cpp
11
src/gi.cpp
|
|
@ -247,6 +247,17 @@ void FMapInfoParser::ParseGameInfo()
|
|||
gameinfo.ArmorIcon2[8] = 0;
|
||||
}
|
||||
}
|
||||
else if(nextKey.CompareNoCase("maparrow") == 0)
|
||||
{
|
||||
sc.MustGetToken(TK_StringConst);
|
||||
gameinfo.mMapArrow = sc.String;
|
||||
if (sc.CheckToken(','))
|
||||
{
|
||||
sc.MustGetToken(TK_StringConst);
|
||||
gameinfo.mCheatMapArrow = sc.String;
|
||||
}
|
||||
else gameinfo.mCheatMapArrow = "";
|
||||
}
|
||||
// Insert valid keys here.
|
||||
GAMEINFOKEY_CSTRING(titlePage, "titlePage", 8)
|
||||
GAMEINFOKEY_STRINGARRAY(creditPages, "creditPage", 8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue