mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-13 06:01:11 +00:00
Add some flags for PFunction
This commit is contained in:
parent
ed1c22186f
commit
8fbb4b90fb
1 changed files with 7 additions and 3 deletions
|
@ -14,6 +14,8 @@
|
|||
// like the simplest thing to do.
|
||||
|
||||
#define VARF_Optional (1<<0) // func param is optional
|
||||
#define VARF_Method (1<<1) // func has an implied self parameter
|
||||
#define VARF_Action (1<<2) // func has implied owner and state parameters
|
||||
|
||||
// Symbol information -------------------------------------------------------
|
||||
|
||||
|
@ -465,11 +467,13 @@ public:
|
|||
TArray<DWORD> ArgFlags; // Should be the same length as Proto->ArgumentTypes
|
||||
};
|
||||
TArray<Variant> Variants;
|
||||
DWORD Flags;
|
||||
|
||||
|
||||
size_t PropagateMark();
|
||||
|
||||
PFunction(FName name) : PSymbol(name) {}
|
||||
PFunction() : PSymbol(NAME_None) {}
|
||||
PFunction(FName name) : PSymbol(name), Flags(0) {}
|
||||
PFunction() : PSymbol(NAME_None), Flags(0) {}
|
||||
};
|
||||
|
||||
// Meta-info for every class derived from DObject ---------------------------
|
||||
|
|
Loading…
Reference in a new issue