mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:一時保存ファイルを新仕様に対応させる。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@75 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
6d3a024e6e
commit
6671e08dc2
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -88,6 +88,7 @@ System::Void Form1::saveTmp( System::String ^filename )
|
|||||||
MasterEditorTWL::appendXmlTag( doc, form, "NTSC2", this->tboxNTSC2->Text );
|
MasterEditorTWL::appendXmlTag( doc, form, "NTSC2", this->tboxNTSC2->Text );
|
||||||
|
|
||||||
MasterEditorTWL::appendXmlTag( doc, form, "Region", this->combRegion->SelectedIndex.ToString() );
|
MasterEditorTWL::appendXmlTag( doc, form, "Region", this->combRegion->SelectedIndex.ToString() );
|
||||||
|
MasterEditorTWL::appendXmlTag( doc, form, "IsUnnecessaryRating", (this->cboxIsUnnecessaryRating->Checked)?"Y":"N" );
|
||||||
MasterEditorTWL::appendXmlTag( doc, form, "RatingCERO", this->combCERO->SelectedIndex.ToString() );
|
MasterEditorTWL::appendXmlTag( doc, form, "RatingCERO", this->combCERO->SelectedIndex.ToString() );
|
||||||
MasterEditorTWL::appendXmlTag( doc, form, "RatingESRB", this->combESRB->SelectedIndex.ToString() );
|
MasterEditorTWL::appendXmlTag( doc, form, "RatingESRB", this->combESRB->SelectedIndex.ToString() );
|
||||||
MasterEditorTWL::appendXmlTag( doc, form, "RatingUSK", this->combUSK->SelectedIndex.ToString() );
|
MasterEditorTWL::appendXmlTag( doc, form, "RatingUSK", this->combUSK->SelectedIndex.ToString() );
|
||||||
@ -132,8 +133,8 @@ void Form1::loadTmp( System::String ^filename )
|
|||||||
text = MasterEditorTWL::getXPathText( root, "/MasterEditorTWL/Srl" );
|
text = MasterEditorTWL::getXPathText( root, "/MasterEditorTWL/Srl" );
|
||||||
if( !System::String::IsNullOrEmpty(text) ) // SRLファイル名がないときはスルー
|
if( !System::String::IsNullOrEmpty(text) ) // SRLファイル名がないときはスルー
|
||||||
{
|
{
|
||||||
this->loadSrl(text);
|
this->loadRom(text); // tad/srl両対応
|
||||||
this->tboxFile->Text = filename;
|
this->tboxFile->Text = text;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 言語
|
// 言語
|
||||||
@ -233,6 +234,7 @@ void Form1::loadTmp( System::String ^filename )
|
|||||||
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC2", this->tboxNTSC2 );
|
this->parseTmp( root, "/MasterEditorTWL/Form/NTSC2", this->tboxNTSC2 );
|
||||||
|
|
||||||
this->parseTmp( root, "/MasterEditorTWL/Form/Region", this->combRegion );
|
this->parseTmp( root, "/MasterEditorTWL/Form/Region", this->combRegion );
|
||||||
|
this->parseTmp( root, "/MasterEditorTWL/Form/IsUnnecessaryRating", this->cboxIsUnnecessaryRating );
|
||||||
this->parseTmp( root, "/MasterEditorTWL/Form/RatingCERO", this->combCERO );
|
this->parseTmp( root, "/MasterEditorTWL/Form/RatingCERO", this->combCERO );
|
||||||
this->parseTmp( root, "/MasterEditorTWL/Form/RatingESRB", this->combESRB );
|
this->parseTmp( root, "/MasterEditorTWL/Form/RatingESRB", this->combESRB );
|
||||||
this->parseTmp( root, "/MasterEditorTWL/Form/RatingUSK", this->combUSK );
|
this->parseTmp( root, "/MasterEditorTWL/Form/RatingUSK", this->combUSK );
|
||||||
@ -245,6 +247,7 @@ void Form1::loadTmp( System::String ^filename )
|
|||||||
this->parseTmp( root, "/MasterEditorTWL/Form/IsPhotoEx", this->cboxIsPhotoEx );
|
this->parseTmp( root, "/MasterEditorTWL/Form/IsPhotoEx", this->cboxIsPhotoEx );
|
||||||
|
|
||||||
this->maskRatingForms(); // ペアレンタルコントロール情報をリージョンに合わせる
|
this->maskRatingForms(); // ペアレンタルコントロール情報をリージョンに合わせる
|
||||||
|
this->changeUnnecessaryRatingForms(false); // 一度コンボボックスがenableになるので再設定
|
||||||
|
|
||||||
} //loadTmp()
|
} //loadTmp()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user