- moved all remaining fields from PClassActor to FActorInfo.
- added a few access functions for FActorInfo variables. With PClassActor now empty the class descriptors can finally be converted back to static data outside the class hierarchy, like they were before the scripting merge, and untangle the game data from VM internals.
This commit is contained in:
parent
854053a14f
commit
e4d2380775
25 changed files with 122 additions and 118 deletions
|
|
@ -626,7 +626,7 @@ void ZCCCompiler::CreateClassTypes()
|
|||
}
|
||||
c->cls->Type = me;
|
||||
auto ac = dyn_cast<PClassActor>(me);
|
||||
if (ac != nullptr) ac->SourceLumpName = *c->cls->SourceName;
|
||||
if (ac != nullptr) ac->ActorInfo()->SourceLumpName = *c->cls->SourceName;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue