マスタエディタ:提出確認書の"○"を"Yes"に変更し、空欄を"No"に変更。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@227 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-03-09 09:50:36 +00:00
parent 8eaa3c7552
commit c2bb9bacb6
4 changed files with 29 additions and 26 deletions

View File

@ -9,6 +9,9 @@
#include <cstring> #include <cstring>
#include <cstdio> #include <cstdio>
#define METWL_SHEET_YES ("Yes")
#define METWL_SHEET_NO ("No")
using namespace MasterEditorTWL; using namespace MasterEditorTWL;
// //
@ -160,9 +163,9 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
if( node->FirstChild->Value->Equals( "TagReleaseForeign" ) ) if( node->FirstChild->Value->Equals( "TagReleaseForeign" ) )
{ {
if( this->IsReleaseForeign ) if( this->IsReleaseForeign )
node->FirstChild->Value = gcnew System::String( "<EFBFBD>" ); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagProductNameForeign" ) ) if( node->FirstChild->Value->Equals( "TagProductNameForeign" ) )
{ {
@ -280,16 +283,16 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
if( node->FirstChild->Value->Equals( "TagIsNormalJump" ) ) if( node->FirstChild->Value->Equals( "TagIsNormalJump" ) )
{ {
if( hSrl->IsNormalJump ) if( hSrl->IsNormalJump )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsTmpJump" ) ) if( node->FirstChild->Value->Equals( "TagIsTmpJump" ) )
{ {
if( hSrl->IsTmpJump ) if( hSrl->IsTmpJump )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagNormalRomOffset" ) ) if( node->FirstChild->Value->Equals( "TagNormalRomOffset" ) )
{ {
@ -317,51 +320,51 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
if( node->FirstChild->Value->Equals( "TagIsEULA" ) ) if( node->FirstChild->Value->Equals( "TagIsEULA" ) )
{ {
if( hSrl->IsEULA ) if( hSrl->IsEULA )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsSubBanner" ) ) if( node->FirstChild->Value->Equals( "TagIsSubBanner" ) )
{ {
if( hSrl->IsSubBanner ) if( hSrl->IsSubBanner )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsWiFiIcon" ) ) if( node->FirstChild->Value->Equals( "TagIsWiFiIcon" ) )
{ {
if( hSrl->IsWiFiIcon ) if( hSrl->IsWiFiIcon )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsWirelessIcon" ) ) if( node->FirstChild->Value->Equals( "TagIsWirelessIcon" ) )
{ {
if( hSrl->IsWirelessIcon ) if( hSrl->IsWirelessIcon )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsSD" ) ) if( node->FirstChild->Value->Equals( "TagIsSD" ) )
{ {
if( hSrl->IsSD ) if( hSrl->IsSD )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsNAND" ) ) if( node->FirstChild->Value->Equals( "TagIsNAND" ) )
{ {
if( hSrl->IsNAND ) if( hSrl->IsNAND )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsShared2" ) ) if( node->FirstChild->Value->Equals( "TagIsShared2" ) )
{ {
if( hSrl->IsShared2 ) if( hSrl->IsShared2 )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsGameCardOn" ) ) if( node->FirstChild->Value->Equals( "TagIsGameCardOn" ) )
{ {
@ -515,11 +518,11 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
{ {
if( hSrl->IsUnnecessaryRating ) if( hSrl->IsUnnecessaryRating )
{ {
node->FirstChild->Value = "<EFBFBD>"; node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
} }
else else
{ {
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
} }
@ -542,16 +545,16 @@ ECDeliverableResult RCDeliverable::writeSpreadsheet(
if( node->FirstChild->Value->Equals( "TagIsUGC" ) ) if( node->FirstChild->Value->Equals( "TagIsUGC" ) )
{ {
if( this->IsUGC ) if( this->IsUGC )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
if( node->FirstChild->Value->Equals( "TagIsPhotoEx" ) ) if( node->FirstChild->Value->Equals( "TagIsPhotoEx" ) )
{ {
if( this->IsPhotoEx ) if( this->IsPhotoEx )
node->FirstChild->Value = gcnew System::String("<EFBFBD>"); node->FirstChild->Value = gcnew System::String(METWL_SHEET_YES);
else else
node->FirstChild->Value = nullptr; node->FirstChild->Value = gcnew System::String(METWL_SHEET_NO);
} }
// ROM内登録データを1バイトずつ表に書き込む // ROM内登録データを1バイトずつ表に書き込む