diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2ToolDef.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/T2DLL/T2ToolDef.h b/src/T2DLL/T2ToolDef.h index 830dc92..b954d82 100644 --- a/src/T2DLL/T2ToolDef.h +++ b/src/T2DLL/T2ToolDef.h @@ -3,6 +3,10 @@ #include "T2TemplatePlugin.h" enum { + kMaxValiation = 4, +}; + +enum { kToolAttrIsMover = 2, kEquipAttrIsAbleDragMaking = 0x80, kToolAttrNormalMenteCost = 0x100, @@ -122,16 +126,16 @@ protected: CString mCategoryCommentString; int mToolNo; int mValiationCount; - CString *mPriceString[4]; - CString *mOutMoneyString[4]; - CString *mCommentString[4]; - int mOutMoney[4]; - CString *mToolName[4]; - CString *mName[4]; - int mPrice[4]; + CString *mPriceString[kMaxValiation]; + CString *mOutMoneyString[kMaxValiation]; + CString *mCommentString[kMaxValiation]; + int mOutMoney[kMaxValiation]; + CString *mToolName[kMaxValiation]; + CString *mName[kMaxValiation]; + int mPrice[kMaxValiation]; T2BitImage *mToolIcon; T2BitImage *mEC; - int mConsumptionPower[4]; + int mConsumptionPower[kMaxValiation]; int mCurBuildCount; int mMaxBuildCount; DWORD mSubPluginType; |