37 lines
526 B
C++
37 lines
526 B
C++
|
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
|
|
|
#include "Plugin.h"
|
|
#include "Player.h"
|
|
#include "World.h"
|
|
#include "CommandOutput.h"
|
|
#include "Mobs/Monster.h"
|
|
|
|
|
|
|
|
|
|
|
|
cPlugin::cPlugin( const AString & a_PluginDirectory )
|
|
: m_Version(0)
|
|
, m_Language(E_CPP)
|
|
, m_Directory(a_PluginDirectory)
|
|
{
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
cPlugin::~cPlugin()
|
|
{
|
|
LOGD("Destroying plugin \"%s\".", m_Name.c_str());
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
AString cPlugin::GetLocalDirectory(void) const
|
|
{
|
|
return std::string("Plugins/") + m_Directory;
|
|
} |