fallout2-ce/src/export.h

20 lines
668 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef EXPORT_H
#define EXPORT_H
#include "interpreter.h"
2022-09-23 05:43:44 -07:00
namespace fallout {
2022-07-05 01:00:55 -07:00
int externalVariableSetValue(Program* program, const char* identifier, ProgramValue& value);
int externalVariableGetValue(Program* program, const char* name, ProgramValue& value);
2022-05-19 01:51:26 -07:00
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();
2022-09-23 05:43:44 -07:00
} // namespace fallout
2022-05-19 01:51:26 -07:00
#endif /* EXPORT_H */