equal
deleted
inserted
replaced
479 {$ENDIF} |
479 {$ENDIF} |
480 InitIPC; |
480 InitIPC; |
481 IPCWaitPongEvent; |
481 IPCWaitPongEvent; |
482 TryDo(InitStepsFlags = cifRandomize, 'Some parameters not set (flags = ' + inttostr(InitStepsFlags) + ')', true); |
482 TryDo(InitStepsFlags = cifRandomize, 'Some parameters not set (flags = ' + inttostr(InitStepsFlags) + ')', true); |
483 |
483 |
484 Preview:= GenPreview(); |
484 GenPreview(Preview); |
485 WriteLnToConsole('Sending preview...'); |
485 WriteLnToConsole('Sending preview...'); |
486 SendIPCRaw(@Preview, sizeof(Preview)); |
486 SendIPCRaw(@Preview, sizeof(Preview)); |
487 SendIPCRaw(@MaxHedgehogs, sizeof(byte)); |
487 SendIPCRaw(@MaxHedgehogs, sizeof(byte)); |
488 WriteLnToConsole('Preview sent, disconnect'); |
488 WriteLnToConsole('Preview sent, disconnect'); |
489 freeEverything(false); |
489 freeEverything(false); |