mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-21 11:02:58 -04:00
remove more of the testdata stuff - it never does anything other than occupy memory, in debug builds
This commit is contained in:
+18
-28
@@ -73,23 +73,18 @@ protected:
|
||||
virtual Tag getId(void) const;
|
||||
|
||||
public:
|
||||
bool getOptional(bool versionOk, bool testData = false) const;
|
||||
const StringId getName(bool versionOk, bool testData = false) const;
|
||||
bool getOptional(bool versionOk) const;
|
||||
const StringId getName(bool versionOk) const;
|
||||
void getOptions(Ingredient &data, int index, bool versionOk) const;
|
||||
void getOptionsMin(Ingredient &data, int index, bool versionOk) const;
|
||||
void getOptionsMax(Ingredient &data, int index, bool versionOk) const;
|
||||
size_t getOptionsCount(void) const;
|
||||
const std::string & getOptionalSkillCommand(bool versionOk, bool testData = false) const;
|
||||
float getComplexity(bool versionOk, bool testData = false) const;
|
||||
float getComplexityMin(bool versionOk, bool testData = false) const;
|
||||
float getComplexityMax(bool versionOk, bool testData = false) const;
|
||||
const std::string & getAppearance(bool versionOk, bool testData = false) const;
|
||||
const std::string & getOptionalSkillCommand(bool versionOk) const;
|
||||
float getComplexity(bool versionOk) const;
|
||||
float getComplexityMin(bool versionOk) const;
|
||||
float getComplexityMax(bool versionOk) const;
|
||||
const std::string & getAppearance(bool versionOk) const;
|
||||
|
||||
#ifdef _DEBUG
|
||||
public:
|
||||
// special code used by datalint
|
||||
virtual void testValues(void) const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual void load(Iff &file);
|
||||
@@ -113,7 +108,7 @@ private:
|
||||
friend class ServerDraftSchematicObjectTemplate::_IngredientSlot;
|
||||
|
||||
public:
|
||||
CraftingType getCategory(bool testData = false) const;
|
||||
CraftingType getCategory() const;
|
||||
const ServerObjectTemplate * getCraftedObjectTemplate() const;
|
||||
const ServerFactoryObjectTemplate * getCrateObjectTemplate() const;
|
||||
void getSlots(IngredientSlot &data, int index) const;
|
||||
@@ -122,24 +117,19 @@ public:
|
||||
size_t getSlotsCount(void) const;
|
||||
const std::string & getSkillCommands(int index) const;
|
||||
size_t getSkillCommandsCount(void) const;
|
||||
bool getDestroyIngredients(bool testData = false) const;
|
||||
bool getDestroyIngredients() const;
|
||||
const std::string & getManufactureScripts(int index) const;
|
||||
size_t getManufactureScriptsCount(void) const;
|
||||
int getItemsPerContainer(bool testData = false) const;
|
||||
int getItemsPerContainerMin(bool testData = false) const;
|
||||
int getItemsPerContainerMax(bool testData = false) const;
|
||||
float getManufactureTime(bool testData = false) const;
|
||||
float getManufactureTimeMin(bool testData = false) const;
|
||||
float getManufactureTimeMax(bool testData = false) const;
|
||||
float getPrototypeTime(bool testData = false) const;
|
||||
float getPrototypeTimeMin(bool testData = false) const;
|
||||
float getPrototypeTimeMax(bool testData = false) const;
|
||||
int getItemsPerContainer() const;
|
||||
int getItemsPerContainerMin() const;
|
||||
int getItemsPerContainerMax() const;
|
||||
float getManufactureTime() const;
|
||||
float getManufactureTimeMin() const;
|
||||
float getManufactureTimeMax() const;
|
||||
float getPrototypeTime() const;
|
||||
float getPrototypeTimeMin() const;
|
||||
float getPrototypeTimeMax() const;
|
||||
|
||||
#ifdef _DEBUG
|
||||
public:
|
||||
// special code used by datalint
|
||||
virtual void testValues(void) const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual void load(Iff &file);
|
||||
|
||||
Reference in New Issue
Block a user