mirror of https://github.com/stella-emu/stella.git
Fixed creation and merging of stella.pro to DefProps.hxx.
This commit is contained in:
parent
264e573cf8
commit
5b788cac1e
|
@ -12,7 +12,7 @@
|
|||
Release History
|
||||
===========================================================================
|
||||
|
||||
6.6 to 6.7 (May 31, 2002)
|
||||
6.6 to 6.7 (May 31, 2022)
|
||||
|
||||
* Completely reworked the file launcher:
|
||||
- Redesigned user interface
|
||||
|
|
|
@ -70,7 +70,8 @@ namespace {
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
KeyValueRepositoryPropertyFile::KeyValueRepositoryPropertyFile(const FilesystemNode& node)
|
||||
KeyValueRepositoryPropertyFile::KeyValueRepositoryPropertyFile(
|
||||
const FilesystemNode& node)
|
||||
: KeyValueRepositoryFile<KeyValueRepositoryPropertyFile>(node)
|
||||
{
|
||||
}
|
||||
|
@ -116,6 +117,8 @@ bool KeyValueRepositoryPropertyFile::save(ostream& out, const std::map<string, V
|
|||
writeQuotedString(out, value.toString());
|
||||
out.put('\n');
|
||||
}
|
||||
out.put('"'); out.put('"');
|
||||
out.put('\n'); out.put('\n');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -162,6 +162,8 @@ void Properties::print() const
|
|||
<< get(PropType::Cart_Sound) << "|"
|
||||
<< get(PropType::Cart_StartBank) << "|"
|
||||
<< get(PropType::Cart_Type) << "|"
|
||||
<< get(PropType::Cart_Highscore) << "|"
|
||||
<< get(PropType::Cart_Url) << "|"
|
||||
<< get(PropType::Console_LeftDiff) << "|"
|
||||
<< get(PropType::Console_RightDiff) << "|"
|
||||
<< get(PropType::Console_TVType) << "|"
|
||||
|
@ -179,9 +181,7 @@ void Properties::print() const
|
|||
<< get(PropType::Display_Format) << "|"
|
||||
<< get(PropType::Display_VCenter) << "|"
|
||||
<< get(PropType::Display_Phosphor) << "|"
|
||||
<< get(PropType::Display_PPBlend) << "|"
|
||||
<< get(PropType::Cart_Highscore) << "|"
|
||||
<< get(PropType::Cart_Url)
|
||||
<< get(PropType::Display_PPBlend)
|
||||
<< endl;
|
||||
}
|
||||
|
||||
|
@ -223,6 +223,8 @@ void Properties::printHeader()
|
|||
<< "Cart_Sound|"
|
||||
<< "Cart_StartBank|"
|
||||
<< "Cart_Type|"
|
||||
<< "Cart_Highscore|"
|
||||
<< "Cart_Url|"
|
||||
<< "Console_LeftDiff|"
|
||||
<< "Console_RightDiff|"
|
||||
<< "Console_TVType|"
|
||||
|
@ -240,9 +242,7 @@ void Properties::printHeader()
|
|||
<< "Display_Format|"
|
||||
<< "Display_VCenter|"
|
||||
<< "Display_Phosphor|"
|
||||
<< "Display_PPBlend|"
|
||||
<< "Cart_Highscore|"
|
||||
<< "Cart_Url"
|
||||
<< "Display_PPBlend"
|
||||
<< endl;
|
||||
}
|
||||
|
||||
|
@ -258,6 +258,8 @@ std::array<string, Properties::NUM_PROPS> Properties::ourDefaultProperties =
|
|||
"MONO", // Cart.Sound
|
||||
"AUTO", // Cart.StartBank
|
||||
"AUTO", // Cart.Type
|
||||
"", // Cart.Highscore
|
||||
"", // Cart.Url
|
||||
"B", // Console.LeftDiff
|
||||
"B", // Console.RightDiff
|
||||
"COLOR", // Console.TVType
|
||||
|
@ -275,9 +277,7 @@ std::array<string, Properties::NUM_PROPS> Properties::ourDefaultProperties =
|
|||
"AUTO", // Display.Format
|
||||
"0", // Display.VCenter
|
||||
"NO", // Display.Phosphor
|
||||
"0", // Display.PPBlend
|
||||
"", // Cart.Highscore
|
||||
"" // Cart.Url
|
||||
"0" // Display.PPBlend
|
||||
};
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
@ -292,6 +292,8 @@ std::array<string, Properties::NUM_PROPS> Properties::ourPropertyNames =
|
|||
"Cart.Sound",
|
||||
"Cart.StartBank",
|
||||
"Cart.Type",
|
||||
"Cart.Highscore",
|
||||
"Cart.Url",
|
||||
"Console.LeftDiff",
|
||||
"Console.RightDiff",
|
||||
"Console.TVType",
|
||||
|
@ -309,7 +311,5 @@ std::array<string, Properties::NUM_PROPS> Properties::ourPropertyNames =
|
|||
"Display.Format",
|
||||
"Display.VCenter",
|
||||
"Display.Phosphor",
|
||||
"Display.PPBlend",
|
||||
"Cart.Highscore",
|
||||
"Cart.Url"
|
||||
"Display.PPBlend"
|
||||
};
|
||||
|
|
|
@ -31,6 +31,8 @@ enum class PropType : uInt8 {
|
|||
Cart_Sound,
|
||||
Cart_StartBank,
|
||||
Cart_Type,
|
||||
Cart_Highscore,
|
||||
Cart_Url,
|
||||
Console_LeftDiff,
|
||||
Console_RightDiff,
|
||||
Console_TVType,
|
||||
|
@ -49,8 +51,6 @@ enum class PropType : uInt8 {
|
|||
Display_VCenter,
|
||||
Display_Phosphor,
|
||||
Display_PPBlend,
|
||||
Cart_Highscore,
|
||||
Cart_Url,
|
||||
NumTypes
|
||||
};
|
||||
|
||||
|
|
|
@ -12,26 +12,26 @@ my %prop_type = (
|
|||
"Cart.Sound" => 6,
|
||||
"Cart.StartBank" => 7,
|
||||
"Cart.Type" => 8,
|
||||
"Console.LeftDiff" => 9,
|
||||
"Console.RightDiff" => 10,
|
||||
"Console.TVType" => 11,
|
||||
"Console.SwapPorts" => 12,
|
||||
"Controller.Left" => 13,
|
||||
"Controller.Left1" => 14,
|
||||
"Controller.Left2" => 15,
|
||||
"Controller.Right" => 16,
|
||||
"Controller.Right1" => 17,
|
||||
"Controller.Right2" => 18,
|
||||
"Controller.SwapPaddles" => 19,
|
||||
"Controller.PaddlesXCenter" => 20,
|
||||
"Controller.PaddlesYCenter" => 21,
|
||||
"Controller.MouseAxis" => 22,
|
||||
"Display.Format" => 23,
|
||||
"Display.VCenter" => 24,
|
||||
"Display.Phosphor" => 25,
|
||||
"Display.PPBlend" => 26,
|
||||
"Cart.Highscore" => 27,
|
||||
"Cart.Url" => 28
|
||||
"Cart.Highscore" => 9,
|
||||
"Cart.Url" => 10,
|
||||
"Console.LeftDiff" => 11,
|
||||
"Console.RightDiff" => 12,
|
||||
"Console.TVType" => 13,
|
||||
"Console.SwapPorts" => 14,
|
||||
"Controller.Left" => 15,
|
||||
"Controller.Left1" => 16,
|
||||
"Controller.Left2" => 17,
|
||||
"Controller.Right" => 18,
|
||||
"Controller.Right1" => 19,
|
||||
"Controller.Right2" => 20,
|
||||
"Controller.SwapPaddles" => 21,
|
||||
"Controller.PaddlesXCenter" => 22,
|
||||
"Controller.PaddlesYCenter" => 23,
|
||||
"Controller.MouseAxis" => 24,
|
||||
"Display.Format" => 25,
|
||||
"Display.VCenter" => 26,
|
||||
"Display.Phosphor" => 27,
|
||||
"Display.PPBlend" => 28
|
||||
);
|
||||
my @prop_type_as_string = (
|
||||
"Cart.MD5",
|
||||
|
@ -43,9 +43,12 @@ my @prop_type_as_string = (
|
|||
"Cart.Sound",
|
||||
"Cart.StartBank",
|
||||
"Cart.Type",
|
||||
"Cart.Highscore",
|
||||
"Cart.Url",
|
||||
"Console.LeftDiff",
|
||||
"Console.RightDiff",
|
||||
"Console.TVType",
|
||||
"Console.SwapPorts",
|
||||
"Controller.Left",
|
||||
"Controller.Left1",
|
||||
"Controller.Left2",
|
||||
|
@ -59,9 +62,7 @@ my @prop_type_as_string = (
|
|||
"Display.Format",
|
||||
"Display.VCenter",
|
||||
"Display.Phosphor",
|
||||
"Display.PPBlend",
|
||||
"Cart_Highscore",
|
||||
"Cart_Url"
|
||||
"Display.PPBlend"
|
||||
);
|
||||
|
||||
my @prop_defaults = (
|
||||
|
@ -74,6 +75,8 @@ my @prop_defaults = (
|
|||
"MONO", # Cart.Sound
|
||||
"AUTO", # Cart.StartBank
|
||||
"AUTO", # Cart.Type
|
||||
"", # Cart.Highscore
|
||||
"", # Cart.Url
|
||||
"B", # Console.LeftDiff
|
||||
"B", # Console.RightDiff
|
||||
"COLOR", # Console.TVType
|
||||
|
@ -91,12 +94,7 @@ my @prop_defaults = (
|
|||
"AUTO", # Display.Format
|
||||
"0", # Display.VCenter
|
||||
"NO", # Display.Phosphor
|
||||
"0", # Display.PPBlend
|
||||
"1", # Cart.Variations
|
||||
"", # Cart.Formats
|
||||
"", # Cart.Addresses
|
||||
"", # Cart.Highscore
|
||||
"" # Cart.Url
|
||||
"0" # Display.PPBlend
|
||||
);
|
||||
|
||||
# Load and parse a properties file into an hash table of property
|
||||
|
|
Loading…
Reference in New Issue