/[projet1]/public/pc/tools/osdk/main/makedisk/FloppyBuilder.cpp
Defence Force logotype

Diff of /public/pc/tools/osdk/main/makedisk/FloppyBuilder.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1034 by dbug, Sun Dec 15 11:47:51 2013 UTC revision 1035 by dbug, Sun Dec 15 15:35:39 2013 UTC
# Line 265  void main(int argc, char *argv[]) Line 265  void main(int argc, char *argv[])
265          }          }
266        }        }
267        else        else
268          if (tokens[0]=="SetCompressionMode")
269          {
270            if (tokens.size()==2)
271            {
272              if (tokens[1]=="None")
273              {
274                floppy.SetCompressionMode(e_CompressionNone);
275              }
276              else
277              if (tokens[1]=="FilePack")
278              {
279                floppy.SetCompressionMode(e_CompressionFilepack);
280              }
281              else
282              {
283                ShowError("Syntax error line (%d), '%s' is not a valid compression mode, it should be either 'None' or 'FilePack' \n",lineNumber,tokens[1].c_str());
284              }
285            }
286            else
287            {
288              ShowError("Syntax error line (%d), syntax is 'SetCompressionMode [None|FilePack]' \n",lineNumber);
289            }
290          }
291          else
292        {        {
293          ShowError("Syntax error line (%d), unknown keyword '%s' \n",lineNumber,tokens[0].c_str());          ShowError("Syntax error line (%d), unknown keyword '%s' \n",lineNumber,tokens[0].c_str());
294        }        }

Legend:
Removed from v.1034  
changed lines
  Added in v.1035

  ViewVC Help
Powered by ViewVC 1.1.26