list.append(QString::fromStdString(TKContainer::CELLTYPE_BASICSTORAGE));
list.append(QString::fromStdString(TKContainer::CELLTYPE_IN));
list.append(QString::fromStdString(TKContainer::CELLTYPE_OUT));
+ list.append(QString::fromStdString(TKContainer::CELLTYPE_PLUGIN_IN));
+ list.append(QString::fromStdString(TKContainer::CELLTYPE_PLUGIN_OUT));
return list;
}
{
return false;
}
+ else if (t == TKContainer::CELLTYPE_PLUGIN_IN)
+ {
+ return false;
+ }
+ else if (t == TKContainer::CELLTYPE_PLUGIN_OUT)
+ {
+ return false;
+ }
return false;
}
{
return true;
}
+ else if (t == TKContainer::CELLTYPE_PLUGIN_IN)
+ {
+ return false;
+ }
+ else if (t == TKContainer::CELLTYPE_PLUGIN_OUT)
+ {
+ return true;
+ }
return false;
}
const std::string TKContainer::CELLTYPE_OUT = "O";
const std::string TKContainer::CELLTYPE_IN = "I";
const std::string TKContainer::CELLTYPE_BASICSTORAGE = "BS";
+const std::string TKContainer::CELLTYPE_PLUGIN_IN = "PI";
+const std::string TKContainer::CELLTYPE_PLUGIN_OUT = "PO";
const std::string TKContainer::CELLCODENAME_EMPTY = "_DNEMPTY";
TKContainer::TKContainer() : mStorage(NULL), mEmptyCellClass(NULL)
{
cell = cellFactory(theLocation, theName, type, false, false);
}
+ else if (type == CELLTYPE_PLUGIN_IN)
+ {
+ cell = cellFactory(theLocation, theName, type, true, false);
+ noScript = true;
+ }
+ else if (type == CELLTYPE_PLUGIN_OUT)
+ {
+ cell = cellFactory(theLocation, theName, type, false, true);
+ noScript = true;
+ }
else
{
std::string message = std::string("Failed to construct cell '").append(theLocation).append("#").append(theName);
static const std::string CELLTYPE_OUT;
static const std::string CELLTYPE_IN;
static const std::string CELLTYPE_BASICSTORAGE;
+ static const std::string CELLTYPE_PLUGIN_IN;
+ static const std::string CELLTYPE_PLUGIN_OUT;
static const std::string CELLCODENAME_EMPTY;
#ifndef VERSIONINFO_H
#define VERSIONINFO_H
-#define CONTAINER_VERSION "alpha 2.0"
-#define ENGINE_VERSION "alpha 2.0"
+#define CONTAINER_VERSION "alpha 2.1d"
+#define ENGINE_VERSION "alpha 2.1d"
#endif // VERSIONINFO_H