mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
Remove extraneous PField class
- Remove the existing PField class, rename PMemberField to PField, and derive it from PSymbol instead of the old PField.
This commit is contained in:
parent
7e24f6b00c
commit
476a98652c
1 changed files with 3 additions and 9 deletions
|
@ -319,16 +319,10 @@ protected:
|
||||||
|
|
||||||
// Struct/class fields ------------------------------------------------------
|
// Struct/class fields ------------------------------------------------------
|
||||||
|
|
||||||
class PField : public DObject
|
// A PField describes a symbol that takes up physical space in the struct.
|
||||||
|
class PField : public PSymbol
|
||||||
{
|
{
|
||||||
DECLARE_ABSTRACT_CLASS(PField, DObject);
|
DECLARE_CLASS(PField, PSymbol);
|
||||||
public:
|
|
||||||
FName FieldName;
|
|
||||||
};
|
|
||||||
|
|
||||||
class PMemberField : public PField
|
|
||||||
{
|
|
||||||
DECLARE_CLASS(PMemberField, PField);
|
|
||||||
HAS_OBJECT_POINTERS
|
HAS_OBJECT_POINTERS
|
||||||
public:
|
public:
|
||||||
unsigned int FieldOffset;
|
unsigned int FieldOffset;
|
||||||
|
|
Loading…
Reference in a new issue