Add operator types

This commit is contained in:
Jan
2021-09-01 19:40:47 +02:00
parent 163ac55fed
commit e70cbaa4ce
3 changed files with 304 additions and 6 deletions

View File

@ -1116,6 +1116,35 @@ namespace IW4
operandInternalDataUnion internals;
};
enum expressionOperatorType_e
{
OP_NOOP = 0x0,
OP_RIGHTPAREN = 0x1,
OP_MUL = 0x2,
OP_DIV = 0x3,
OP_MOD = 0x4,
OP_PLUS = 0x5,
OP_MINUS = 0x6,
OP_NEG = 0x7,
OP_SMALLER = 0x8,
OP_SMALLEREQ = 0x9,
OP_GREATER = 0xA,
OP_GREATEREQ = 0xB,
OP_EQ = 0xC,
OP_NOTEQ = 0xD,
OP_LOGAND = 0xE,
OP_LOGOR = 0xF,
OP_LEFTPAREN = 0x10,
OP_COMMA = 0x11,
OP_BITAND = 0x12,
OP_BITOR = 0x13,
OP_BITNEG = 0x14,
OP_SHIFTLEFT = 0x15,
OP_SHIFTRIGHT = 0x16,
OP_COUNT
};
union entryInternalData
{
int op;