Subversion Repositories Games.Chess Giants

Rev

Rev 145 | Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 145 Rev 150
Line 282... Line 282...
282
      options.engine.programs = (engineprogram_t *) SAFE_realloc (options.engine.programs, options.engine.program_count, options.engine.program_count + 1, sizeof (engineprogram_t), true);
282
      options.engine.programs = (engineprogram_t *) SAFE_realloc (options.engine.programs, options.engine.program_count, options.engine.program_count + 1, sizeof (engineprogram_t), true);
283
      engineprogram = &options.engine.programs[options.engine.program_count]; // quick access to engine
283
      engineprogram = &options.engine.programs[options.engine.program_count]; // quick access to engine
284
 
284
 
285
      // basic program information
285
      // basic program information
286
      wcscpy_s (engineprogram->folder, sizeof (engineprogram->folder), wfd.cFileName); // save engine program's folder name
286
      wcscpy_s (engineprogram->folder, sizeof (engineprogram->folder), wfd.cFileName); // save engine program's folder name
287
      READ_WIDESTRING (engineprogram->name, engine_inifile, L"program", L"name", L"Crafty v24.0");
287
      READ_WIDESTRING (engineprogram->friendly_name, engine_inifile, L"program", L"name", L"Crafty v24.0");
288
      READ_WIDESTRING (engineprogram->cmdline, engine_inifile, L"program", L"executable", L"crafty.exe");
288
      READ_WIDESTRING (engineprogram->executable_name, engine_inifile, L"program", L"executable", L"crafty.exe");
-
 
289
      READ_WIDESTRING (engineprogram->executable_arguments, engine_inifile, L"program", L"arguments", L"");
289
 
290
 
290
      // reply string patterns
291
      // reply string patterns
291
      READ_WIDESTRING (engineprogram->replystring_move, engine_inifile, L"reply strings", L"move", L"): ");
292
      READ_WIDESTRING (engineprogram->replystring_move, engine_inifile, L"reply strings", L"move", L"): ");
292
 
293
 
293
      // engine commands
294
      // engine commands