#pragma once

#include "EditorRTTI.h"
#include "GameTypes.h"


struct ScriptLineBuffer;
class TESForm;

typedef NiTPointerMap<TESForm> FormMap;
// extern FormMap* g_FormMap;	//	currently unused

typedef TESForm * (__stdcall * _GetFormByID)(const char* editorID);
extern const _GetFormByID GetFormByID;

typedef void * (* _FormHeap_Allocate)(UInt32 size);
extern const _FormHeap_Allocate FormHeap_Allocate;

typedef void (* _FormHeap_Free)(void * ptr);
extern const _FormHeap_Free FormHeap_Free;

void ShowCompilerError(ScriptLineBuffer* lineBuf, const char* fmt, ...);




