
#ifndef PUBLIC_H
#define PUBLIC_H


// OP2Ext.dll preliminary interface. May be subject to change!


#define IMPORT extern "C" __declspec(dllimport)

// Pass a buffer of [MAX_PATH+1] length to retrieve the game directory
// without trailing slash.
IMPORT void GetGameDir(char *buffer);
IMPORT char *GetCurrentModDir();			// doesn't seem to work, hacker !!

// Pass null terminated string to add a VOL file to the search list.
IMPORT void AddVolToList(char *volName);

// Pass 3 digits, 0-9 each, to set a unique ID for this specific version of the mod.
// The OP2 version string will be rewritten to prevent other versions or other mods
// from joining the game.
IMPORT void SetSerialNumber(char major, char minor, char revision);



#endif	// PUBLIC_H
