mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-20 21:29:13 +00:00
Added support for logic_negate
This commit is contained in:
parent
276157fa8e
commit
4589d6ec66
@ -4009,6 +4009,10 @@ end
|
||||
}
|
||||
}
|
||||
|
||||
def packLogicNegate(blk) {
|
||||
out << "!("; packExpr(getSingle(blk.value, "BOOL").block[0]); out << ")"
|
||||
}
|
||||
|
||||
def packMathArithmetic(blk)
|
||||
{
|
||||
def op = getSingle(blk.field, "OP").text()
|
||||
@ -4078,6 +4082,9 @@ end
|
||||
case 'logic_operation':
|
||||
packLogicOperation(blk)
|
||||
break
|
||||
case 'logic_negate':
|
||||
packLogicNegate(blk)
|
||||
break
|
||||
case 'variables_get':
|
||||
packVarGet(blk)
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user