MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ScheduleErrorMessage

Function ScheduleErrorMessage

src/error_gui.cpp:374–377  ·  view source on GitHub ↗

* Schedule a list of errors. * Note: This does not try to display the error now. This is useful if the window system is not yet running. * @param datas Error message datas; cleared afterwards */

Source from the content-addressed store, hash-verified

372 * @param datas Error message datas; cleared afterwards
373 */
374void ScheduleErrorMessage(ErrorList &datas)
375{
376 _error_list.splice(_error_list.end(), datas);
377}
378
379/**
380 * Schedule an error.

Callers 3

LoadFromConfigFunction · 0.85
openttd_mainFunction · 0.85
SelectDriverImplMethod · 0.85

Calls 2

push_backMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected