- Backported the classnames-are-names changes from the FP code.

SVN r97 (trunk)
This commit is contained in:
Randy Heit 2006-05-10 02:40:43 +00:00
commit d878c2e7d6
108 changed files with 1476 additions and 1053 deletions

View file

@ -557,7 +557,7 @@ static void GenericParse (FGenericParse *parser, const char **keywords,
bool notdone = true;
int keyword;
int val;
const TypeInfo *info;
const PClass *info;
do
{
@ -598,7 +598,7 @@ static void GenericParse (FGenericParse *parser, const char **keywords,
}
else
{
info = TypeInfo::IFindType (sc_String);
info = PClass::FindClass (sc_String);
if (!info->IsDescendantOf (RUNTIME_CLASS(AActor)))
{
Printf ("%s is not an Actor (in %s %s)\n",
@ -611,7 +611,7 @@ static void GenericParse (FGenericParse *parser, const char **keywords,
sc_String, type, name.GetChars());
}
}
SET_FIELD (const TypeInfo *, info);
SET_FIELD (const PClass *, info);
break;
case GEN_Splash: