remove text command stream export
NOTE: this is not removal of text export.
This commit is contained in:
parent
5dd62d45fa
commit
db9a11a674
9 changed files with 203 additions and 280 deletions
|
|
@ -72,7 +72,6 @@ bool consoleMode=true;
|
|||
#endif
|
||||
|
||||
bool displayEngineFailError=false;
|
||||
bool cmdOutBinary=false;
|
||||
bool vgmOutDirect=false;
|
||||
|
||||
bool safeMode=false;
|
||||
|
|
@ -153,11 +152,6 @@ TAParamResult pSafeModeAudio(String val) {
|
|||
#endif
|
||||
}
|
||||
|
||||
TAParamResult pBinary(String val) {
|
||||
cmdOutBinary=true;
|
||||
return TA_PARAM_SUCCESS;
|
||||
}
|
||||
|
||||
TAParamResult pDirect(String val) {
|
||||
vgmOutDirect=true;
|
||||
return TA_PARAM_SUCCESS;
|
||||
|
|
@ -373,7 +367,6 @@ void initParams() {
|
|||
params.push_back(TAParam("D","direct",false,pDirect,"","set VGM export direct stream mode"));
|
||||
params.push_back(TAParam("Z","zsmout",true,pZSMOut,"<filename>","output .zsm data for Commander X16 Zsound"));
|
||||
params.push_back(TAParam("C","cmdout",true,pCmdOut,"<filename>","output command stream"));
|
||||
params.push_back(TAParam("b","binary",false,pBinary,"","set command stream output format to binary"));
|
||||
params.push_back(TAParam("L","loglevel",true,pLogLevel,"debug|info|warning|error","set the log level (info by default)"));
|
||||
params.push_back(TAParam("v","view",true,pView,"pattern|commands|nothing","set visualization (nothing by default)"));
|
||||
params.push_back(TAParam("i","info",false,pInfo,"","get info about a song"));
|
||||
|
|
@ -660,7 +653,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
if (outName!="" || vgmOutName!="" || cmdOutName!="") {
|
||||
if (cmdOutName!="") {
|
||||
SafeWriter* w=e.saveCommand(cmdOutBinary);
|
||||
SafeWriter* w=e.saveCommand();
|
||||
if (w!=NULL) {
|
||||
FILE* f=fopen(cmdOutName.c_str(),"wb");
|
||||
if (f!=NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue