- took PTypeBase and all its subclasses out of the DObject hierarchy.

- moved scope flag to a new variable that is specific to PType instead of hijacking the ObjectFlags for this.
This commit is contained in:
Christoph Oelckers 2017-04-13 17:47:17 +02:00
commit 98dab9c4b9
14 changed files with 71 additions and 316 deletions

View file

@ -77,7 +77,6 @@ cycle_t ActionCycles;
class PActorInfo : public PCompoundType
{
DECLARE_CLASS(PActorInfo, PCompoundType);
public:
PActorInfo()
:PCompoundType(sizeof(FActorInfo), alignof(FActorInfo))
@ -113,8 +112,6 @@ public:
};
IMPLEMENT_CLASS(PActorInfo, false, false)
void AddActorInfo(PClass *cls)
{
auto type = new PActorInfo;