mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 22:06:10 -04:00
--User changes
-Add 4 new possible arguments to EmberGenome: --allvars: Print the names of all supported variations. --regvars: Print the names of all supported regular variations. --prevars: Print the names of all supported pre variations. --postvars: Print the names of all supported post variations.
This commit is contained in:
@ -64,6 +64,39 @@ bool EmberGenome(EmberOptions& opt)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (opt.AllVars() || opt.RegVars() || opt.PreVars() || opt.PostVars())
|
||||
{
|
||||
VariationList<T> vl;
|
||||
|
||||
if (opt.AllVars())
|
||||
{
|
||||
auto& vars = vl.AllVars();
|
||||
|
||||
for (auto& v : vars)
|
||||
cout << v->Name() << "\n";
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
vector<Variation<T>*> vars;
|
||||
|
||||
if (opt.RegVars())
|
||||
vars.insert(vars.end(), vl.RegVars().begin(), vl.RegVars().end());
|
||||
|
||||
if (opt.PreVars())
|
||||
vars.insert(vars.end(), vl.PreVars().begin(), vl.PreVars().end());
|
||||
|
||||
if (opt.PostVars())
|
||||
vars.insert(vars.end(), vl.PostVars().begin(), vl.PostVars().end());
|
||||
|
||||
for (auto& v : vars)
|
||||
cout << v->Name() << "\n";
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//Regular variables.
|
||||
Timing t;
|
||||
bool exactTimeMatch, randomMode, didColor, seqFlag;
|
||||
|
@ -49,8 +49,8 @@ END
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,9,9,3
|
||||
PRODUCTVERSION 0,9,9,3
|
||||
FILEVERSION 0,9,9,4
|
||||
PRODUCTVERSION 0,9,9,4
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@ -67,12 +67,12 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Open Source"
|
||||
VALUE "FileDescription", "Manipulates fractal flames parameter files"
|
||||
VALUE "FileVersion", "0.9.9.3"
|
||||
VALUE "FileVersion", "0.9.9.4"
|
||||
VALUE "InternalName", "EmberGenome.exe"
|
||||
VALUE "LegalCopyright", "Copyright (C) Matt Feemster 2015, GPL v3"
|
||||
VALUE "OriginalFilename", "EmberGenome.exe"
|
||||
VALUE "ProductName", "Ember Genome"
|
||||
VALUE "ProductVersion", "0.9.9.3"
|
||||
VALUE "ProductVersion", "0.9.9.4"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
Reference in New Issue
Block a user