- added null pointer.
- fixed: FxMemberIdentifier checked for ClassPointers instead of object pointers to resolve the left hand side of the expression. - allow comparison of pointers.
This commit is contained in:
parent
3b0b0baf05
commit
4b41e735f1
7 changed files with 101 additions and 58 deletions
|
|
@ -636,7 +636,7 @@ void InitThingdef()
|
|||
// Define some member variables we feel like exposing to the user
|
||||
PSymbolTable &symt = RUNTIME_CLASS(AActor)->Symbols;
|
||||
PType *array5 = NewArray(TypeSInt32, 5);
|
||||
PType *TypeActor = NewClassPointer(RUNTIME_CLASS(AActor));
|
||||
PType *TypeActor = NewPointer(RUNTIME_CLASS(AActor));
|
||||
symt.AddSymbol(new PField(NAME_Alpha, TypeFloat64, VARF_Native, myoffsetof(AActor, Alpha)));
|
||||
symt.AddSymbol(new PField(NAME_Angle, TypeFloat64, VARF_Native, myoffsetof(AActor, Angles.Yaw)));
|
||||
symt.AddSymbol(new PField(NAME_Args, array5, VARF_Native, myoffsetof(AActor, args)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue