@@ -300,7 +300,7 @@ static void set_allowed_options(OptionList *allowed_options)
300
300
301
301
static void print_help (const OptionList &allowed_options)
302
302
{
303
- dstream << _ (" Allowed options:" ) << std::endl;
303
+ std::cout << _ (" Allowed options:" ) << std::endl;
304
304
print_allowed_options (allowed_options);
305
305
}
306
306
@@ -313,37 +313,37 @@ static void print_allowed_options(const OptionList &allowed_options)
313
313
if (i->second .type != VALUETYPE_FLAG)
314
314
os1 << _ (" <value>" );
315
315
316
- dstream << padStringRight (os1.str (), 24 );
316
+ std::cout << padStringRight (os1.str (), 24 );
317
317
318
318
if (i->second .help != NULL )
319
- dstream << i->second .help ;
319
+ std::cout << i->second .help ;
320
320
321
- dstream << std::endl;
321
+ std::cout << std::endl;
322
322
}
323
323
}
324
324
325
325
static void print_version ()
326
326
{
327
- dstream << PROJECT_NAME_C " " << g_version_hash << std::endl;
327
+ std::cout << PROJECT_NAME_C " " << g_version_hash << std::endl;
328
328
#ifndef SERVER
329
- dstream << " Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
329
+ std::cout << " Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
330
330
#endif
331
- dstream << " Build info: " << g_build_info << std::endl;
331
+ std::cout << " Build info: " << g_build_info << std::endl;
332
332
}
333
333
334
334
static void list_game_ids ()
335
335
{
336
336
std::set<std::string> gameids = getAvailableGameIds ();
337
337
for (std::set<std::string>::const_iterator i = gameids.begin ();
338
338
i != gameids.end (); ++i)
339
- dstream << (*i) <<std::endl;
339
+ std::cout << (*i) <<std::endl;
340
340
}
341
341
342
342
static void list_worlds ()
343
343
{
344
- dstream << _ (" Available worlds:" ) << std::endl;
344
+ std::cout << _ (" Available worlds:" ) << std::endl;
345
345
std::vector<WorldSpec> worldspecs = getAvailableWorlds ();
346
- print_worldspecs (worldspecs, dstream );
346
+ print_worldspecs (worldspecs, std::cout );
347
347
}
348
348
349
349
static void print_worldspecs (const std::vector<WorldSpec> &worldspecs,
0 commit comments