hedgewars/PascalExports.pas
changeset 7027 f264ad9d8965
parent 6998 f2524a80eea2
equal deleted inserted replaced
7026:8d1724e1337e 7027:f264ad9d8965
    87 end;
    87 end;
    88 
    88 
    89 // equivalent to esc+y; when closeFrontend = true the game exits after memory cleanup
    89 // equivalent to esc+y; when closeFrontend = true the game exits after memory cleanup
    90 procedure HW_terminate(closeFrontend: boolean); cdecl; export;
    90 procedure HW_terminate(closeFrontend: boolean); cdecl; export;
    91 begin
    91 begin
    92     alsoShutdownFrontend:= closeFrontend;
    92     closeFrontend:= closeFrontend; // avoid hint
    93     ParseCommand('forcequit', true);
    93     ParseCommand('forcequit', true);
    94 end;
    94 end;
    95 
    95 
    96 function HW_getSDLWindow: pointer; cdecl; export;
    96 function HW_getSDLWindow: pointer; cdecl; export;
    97 begin
    97 begin