|
|
@ -533,8 +533,10 @@ public:
|
|
|
|
CInterfaceManager *pIM= CInterfaceManager::getInstance();
|
|
|
|
CInterfaceManager *pIM= CInterfaceManager::getInstance();
|
|
|
|
|
|
|
|
|
|
|
|
// Launch the modal to select the faber plan
|
|
|
|
// Launch the modal to select the faber plan
|
|
|
|
extern void fillFaberPlanSelection(const std::string &brickDB, uint maxSelection);
|
|
|
|
extern voidfillFaberPlanSelection(const std::string &brickDB, uint maxSelection, TOOL_TYPE::TCraftingToolType toolType);
|
|
|
|
fillFaberPlanSelection(CDBGroupBuildPhrase::BrickSelectionDB, CDBGroupBuildPhrase::MaxSelection);
|
|
|
|
// from sphrase_manager.cpp
|
|
|
|
|
|
|
|
extern TOOL_TYPE::TCraftingToolType getRightHandCraftToolType();
|
|
|
|
|
|
|
|
fillFaberPlanSelection(CDBGroupBuildPhrase::BrickSelectionDB, CDBGroupBuildPhrase::MaxSelection, getRightHandCraftToolType());
|
|
|
|
|
|
|
|
|
|
|
|
// setup the validation
|
|
|
|
// setup the validation
|
|
|
|
CHandlerPhraseValidateBrick::BuildPhraseGroup= NULL;
|
|
|
|
CHandlerPhraseValidateBrick::BuildPhraseGroup= NULL;
|
|
|
|