|
|
@ -35,7 +35,6 @@ distribution.
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct lua_State lua_State;
|
|
|
|
typedef struct lua_State lua_State;
|
|
|
|
|
|
|
|
|
|
|
|
struct DFLibrary;
|
|
|
|
|
|
|
|
namespace tthread
|
|
|
|
namespace tthread
|
|
|
|
{
|
|
|
|
{
|
|
|
|
class mutex;
|
|
|
|
class mutex;
|
|
|
@ -53,6 +52,16 @@ namespace DFHack
|
|
|
|
class RPCService;
|
|
|
|
class RPCService;
|
|
|
|
class function_identity_base;
|
|
|
|
class function_identity_base;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// anon type, pretty much
|
|
|
|
|
|
|
|
struct DFLibrary;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Open a plugin library
|
|
|
|
|
|
|
|
DFLibrary * OpenPlugin (const char * filename);
|
|
|
|
|
|
|
|
// find a symbol inside plugin
|
|
|
|
|
|
|
|
void * LookupPlugin (DFLibrary * plugin ,const char * function);
|
|
|
|
|
|
|
|
// Close a plugin library
|
|
|
|
|
|
|
|
void ClosePlugin (DFLibrary * plugin);
|
|
|
|
|
|
|
|
|
|
|
|
enum state_change_event
|
|
|
|
enum state_change_event
|
|
|
|
{
|
|
|
|
{
|
|
|
|
SC_WORLD_LOADED,
|
|
|
|
SC_WORLD_LOADED,
|
|
|
|