fallout2-ce/src/export.h

16 lines
643 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef EXPORT_H
#define EXPORT_H
#include "interpreter.h"
int externalVariableSetValue(Program* program, const char* identifier, opcode_t opcode, int data);
int externalVariableGetValue(Program* program, const char* name, opcode_t* opcodePtr, int* dataPtr);
int externalVariableCreate(Program* program, const char* identifier);
void _initExport();
void externalVariablesClear();
Program* externalProcedureGetProgram(const char* identifier, int* addressPtr, int* argumentCountPtr);
int externalProcedureCreate(Program* program, const char* identifier, int address, int argumentCount);
void _exportClearAllVariables();
#endif /* EXPORT_H */