- added an accessor to the actor defaults. This might have been possible with less work using a function but that would have necessitated some type casts when using it on subclasses.
- scriptified A_BarrelDestroy to test the above.
This commit is contained in:
parent
24925c88a8
commit
98fa3d2d93
8 changed files with 157 additions and 24 deletions
|
|
@ -355,12 +355,14 @@ public:
|
|||
class FxClassDefaults : public FxExpression
|
||||
{
|
||||
FxExpression *obj;
|
||||
bool EmitTail;
|
||||
|
||||
public:
|
||||
FxClassDefaults(FxExpression*, const FScriptPosition &);
|
||||
FxClassDefaults(FxExpression *, const FScriptPosition &);
|
||||
~FxClassDefaults();
|
||||
PPrototype *ReturnProto();
|
||||
FxExpression *Resolve(FCompileContext&);
|
||||
bool IsDefaultObject() const;
|
||||
ExpEmit Emit(VMFunctionBuilder *build);
|
||||
};
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue