Alchemy
Loading...
Searching...
No Matches

operand.h File Reference

Go to the source code of this file.

Typedefs

typedef void(*) OperandFunc(struct ScriptOperands *state, s32 operation, s32 value)
 A work value's handler: by operation (enum ScriptOperandOperation in script_commands.c) it sets the object field it names to value, adds value to it, or stores whether it equals value in conditionResult.

Variables

const OperandFunc gScript_OperandHandlerTable [41]
 The handler for each work value number (enum ScriptWork).

Typedef Documentation

◆ OperandFunc

typedef void(*) OperandFunc(struct ScriptOperands *state, s32 operation, s32 value)

A work value's handler: by operation (enum ScriptOperandOperation in script_commands.c) it sets the object field it names to value, adds value to it, or stores whether it equals value in conditionResult.

Definition at line 11 of file operand.h.

Variable Documentation

◆ gScript_OperandHandlerTable

const OperandFunc gScript_OperandHandlerTable[41]
extern

The handler for each work value number (enum ScriptWork).

Definition at line 9 of file operand.c.

Referenced by Script_ApplyOperandCommand().