- converted half of ClericHoly. (Making a commit before starting on the more complex stuff.)
- added a 'constructor' for color values.
This commit is contained in:
parent
bc1e4eff72
commit
177aa6ec42
17 changed files with 455 additions and 368 deletions
|
|
@ -287,6 +287,7 @@ enum EFxType
|
|||
EFX_CVar,
|
||||
EFX_NamedNode,
|
||||
EFX_GetClass,
|
||||
EFX_ColorLiteral,
|
||||
EFX_COUNT
|
||||
};
|
||||
|
||||
|
|
@ -1540,6 +1541,24 @@ public:
|
|||
ExpEmit Emit(VMFunctionBuilder *build);
|
||||
};
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FxColorLiteral
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
class FxColorLiteral : public FxExpression
|
||||
{
|
||||
FArgumentList ArgList;
|
||||
int constval = 0;
|
||||
|
||||
public:
|
||||
|
||||
FxColorLiteral(FArgumentList &args, FScriptPosition &sc);
|
||||
FxExpression *Resolve(FCompileContext&);
|
||||
ExpEmit Emit(VMFunctionBuilder *build);
|
||||
};
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FxVMFunctionCall
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue