|
|
@ -39,6 +39,7 @@
|
|
|
|
#include "game/game.hpp"
|
|
|
|
#include "game/game.hpp"
|
|
|
|
#include "table/strings.h"
|
|
|
|
#include "table/strings.h"
|
|
|
|
#include <time.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
#include "string_func.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "safeguards.h"
|
|
|
|
#include "safeguards.h"
|
|
|
|
|
|
|
|
|
|
|
@ -1080,15 +1081,9 @@ DEF_CONSOLE_CMD(ConRestart)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void PrintLineByLine(char *buf)
|
|
|
|
static void PrintLineByLine(char *buf)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char *p = buf;
|
|
|
|
ProcessLineByLine(buf, [&](const char *line) {
|
|
|
|
/* Print output line by line */
|
|
|
|
IConsolePrintF(CC_DEFAULT, "%s", line);
|
|
|
|
for (char *p2 = buf; *p2 != '\0'; p2++) {
|
|
|
|
});
|
|
|
|
if (*p2 == '\n') {
|
|
|
|
|
|
|
|
*p2 = '\0';
|
|
|
|
|
|
|
|
IConsolePrintF(CC_DEFAULT, "%s", p);
|
|
|
|
|
|
|
|
p = p2 + 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DEF_CONSOLE_CMD(ConListAILibs)
|
|
|
|
DEF_CONSOLE_CMD(ConListAILibs)
|
|
|
|