mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 07:34:50 +00:00
Added basic implementation for PField.
- I don't know why this didn't give me trouble before, but I needed to add IMPLEMENT_CLASS for PField.
This commit is contained in:
parent
3e46e6376c
commit
6575499f37
2 changed files with 17 additions and 0 deletions
|
@ -987,6 +987,21 @@ PStruct *NewStruct(FName name, DObject *outer)
|
|||
return static_cast<PStruct *>(stype);
|
||||
}
|
||||
|
||||
/* PField *****************************************************************/
|
||||
|
||||
IMPLEMENT_CLASS(PField)
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// PField - Default Constructor
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
PField::PField()
|
||||
: PSymbol(NAME_None)
|
||||
{
|
||||
}
|
||||
|
||||
/* PPrototype *************************************************************/
|
||||
|
||||
IMPLEMENT_CLASS(PPrototype)
|
||||
|
|
|
@ -329,6 +329,8 @@ public:
|
|||
|
||||
unsigned int FieldOffset;
|
||||
PType *FieldType;
|
||||
protected:
|
||||
PField();
|
||||
};
|
||||
|
||||
// Compound types -----------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue