mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
47f9642294
the expression classes were deleted again, this can be done without them.
58 lines
1.3 KiB
C++
58 lines
1.3 KiB
C++
#pragma once
|
|
#include "codegen.h"
|
|
#include "coreactor.h"
|
|
|
|
|
|
//==========================================================================
|
|
//
|
|
// FxClassDefaults
|
|
//
|
|
//==========================================================================
|
|
|
|
class FxClassDefaults : public FxExpression
|
|
{
|
|
FxExpression *obj;
|
|
|
|
public:
|
|
FxClassDefaults(FxExpression *, const FScriptPosition &);
|
|
~FxClassDefaults();
|
|
FxExpression *Resolve(FCompileContext&);
|
|
ExpEmit Emit(VMFunctionBuilder *build);
|
|
};
|
|
|
|
//==========================================================================
|
|
//
|
|
// FxGetDefaultByType
|
|
//
|
|
//==========================================================================
|
|
|
|
class FxGetDefaultByType : public FxExpression
|
|
{
|
|
FxExpression *Self;
|
|
|
|
public:
|
|
|
|
FxGetDefaultByType(FxExpression *self);
|
|
~FxGetDefaultByType();
|
|
FxExpression *Resolve(FCompileContext&);
|
|
ExpEmit Emit(VMFunctionBuilder *build);
|
|
};
|
|
|
|
//==========================================================================
|
|
//
|
|
//
|
|
//
|
|
//==========================================================================
|
|
|
|
class FxIsGameType : public FxExpression
|
|
{
|
|
int state;
|
|
|
|
public:
|
|
|
|
FxIsGameType(int arg, const FScriptPosition& pos);
|
|
~FxIsGameType();
|
|
FxExpression *Resolve(FCompileContext&);
|
|
ExpEmit Emit(VMFunctionBuilder *build);
|
|
};
|
|
|