|
|
@ -126,6 +126,11 @@ namespace DFHack
|
|
|
|
/// removes the hotkey command and gives it to the caller thread
|
|
|
|
/// removes the hotkey command and gives it to the caller thread
|
|
|
|
std::string getHotkeyCmd( void );
|
|
|
|
std::string getHotkeyCmd( void );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// adds a named pointer (for later or between plugins)
|
|
|
|
|
|
|
|
void RegisterData(void *p,std::string key);
|
|
|
|
|
|
|
|
/// returns a named pointer.
|
|
|
|
|
|
|
|
void *GetData(std::string key);
|
|
|
|
|
|
|
|
|
|
|
|
DFHack::Process * p;
|
|
|
|
DFHack::Process * p;
|
|
|
|
DFHack::VersionInfo * vinfo;
|
|
|
|
DFHack::VersionInfo * vinfo;
|
|
|
|
DFHack::Console con;
|
|
|
|
DFHack::Console con;
|
|
|
@ -174,5 +179,7 @@ namespace DFHack
|
|
|
|
tthread::condition_variable * HotkeyCond;
|
|
|
|
tthread::condition_variable * HotkeyCond;
|
|
|
|
// Very important!
|
|
|
|
// Very important!
|
|
|
|
bool started;
|
|
|
|
bool started;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::map<std::string,void*> misc_data_map;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|