Voilà un screen montrant le design (tout est un peu l'un sur l'autre, mais il ne me fallait pas un trop grand programme pour ceux qui ont des petites résolutions...) :

Pour vous montrer de quoi ca a l'air dans le code... Voilà ce qui me sert à recopier dans la map.xdb le type de quête (là je suis en train de faire le code pour les paramètres, c'est un vrai casse-tête -_-")
- Code: Tout sélectionner
private: System::Void _Button_AddQuest_Click(System::Object^ sender, System::EventArgs^ e) {
System::String ^ObjectiveKind;
if (this->_Box_QuesType->SelectedIndex == 0)
ObjectiveKind = "OBJECTIVE_KIND_ASSEMBLE_ARMY";
else if (this->_Box_QuesType->SelectedIndex == 1)
ObjectiveKind = "OBJECTIVE_KIND_BUILD_BUILDING_IN_TOWN";
else if (this->_Box_QuesType->SelectedIndex == 2)
ObjectiveKind = "OBJECTIVE_KIND_BUILD_GRAAL";
else if (this->_Box_QuesType->SelectedIndex == 3)
ObjectiveKind = "OBJECTIVE_KIND_CAPTURE_9_TOWNS";
else if (this->_Box_QuesType->SelectedIndex == 4)
ObjectiveKind = "OBJECTIVE_KIND_CAPTURE_ALL_TOWNS";
else if (this->_Box_QuesType->SelectedIndex == 5)
ObjectiveKind = "OBJECTIVE_KIND_CAPTURE_ANY_TOWN";
else if (this->_Box_QuesType->SelectedIndex == 6)
ObjectiveKind = "OBJECTIVE_KIND_CAPTURE_ANY_TOWN_IN_WEEK";
else if (this->_Box_QuesType->SelectedIndex == 7)
ObjectiveKind = "OBJECTIVE_KIND_CAPTURE_OBJECT";
else if (this->_Box_QuesType->SelectedIndex == 8)
ObjectiveKind = "OBJECTIVE_KIND_COLLECT_RESOURCES";
else if (this->_Box_QuesType->SelectedIndex == 9)
ObjectiveKind = "OBJECTIVE_KIND_DEFEAT_ALL";
else if (this->_Box_QuesType->SelectedIndex == 10)
ObjectiveKind = "OBJECTIVE_KIND_DEFEAT_NEUTRALS";
else if (this->_Box_QuesType->SelectedIndex == 11)
ObjectiveKind = "OBJECTIVE_KIND_DEFEAT_HERO";
else if (this->_Box_QuesType->SelectedIndex == 12)
ObjectiveKind = "OBJECTIVE_KIND_DEFEND_OBJECT";
else if (this->_Box_QuesType->SelectedIndex == 13)
ObjectiveKind = "OBJECTIVE_KIND_HERO_MUST_SURVIVE";
else if (this->_Box_QuesType->SelectedIndex == 14)
ObjectiveKind = "OBJECTIVE_KIND_OBTAIN_ARTIFACT";
else if (this->_Box_QuesType->SelectedIndex == 15)
ObjectiveKind = "OBJECTIVE_KIND_OPEN_BORDER_GUARD";
else if (this->_Box_QuesType->SelectedIndex == 16)
ObjectiveKind = "OBJECTIVE_KIND_ADVANCE_HEROES";
else if (this->_Box_QuesType->SelectedIndex == 17)
ObjectiveKind = "OBJECTIVE_KIND_STAY_UNDEFEATED";





