- implemented the Heretic status bar.

This commit is contained in:
Christoph Oelckers 2017-03-27 21:01:40 +02:00
commit a6bf93c624
11 changed files with 396 additions and 119 deletions

View file

@ -508,7 +508,6 @@ public:
FxConstant(PType *type, VMValue &vmval, const FScriptPosition &pos) : FxExpression(EFX_Constant, pos)
{
ValueType = value.Type = type;
isresolved = true;
switch (vmval.Type)
{
@ -522,13 +521,14 @@ public:
break;
case REGT_STRING:
value = ExpVal(vmval.s());
new(&value) ExpVal(vmval.s());
break;
case REGT_POINTER:
value.pointer = vmval.a;
break;
}
ValueType = value.Type = type;
}
static FxExpression *MakeConstant(PSymbol *sym, const FScriptPosition &pos);