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

Function GenerateWorldSetCallback

src/genworld.cpp:243–246  ·  view source on GitHub ↗

* Set here the function, if any, that you want to be called when landscape * generation is done. * @param proc callback procedure */

Source from the content-addressed store, hash-verified

241 * @param proc callback procedure
242 */
243void GenerateWorldSetCallback(GWDoneProc *proc)
244{
245 GenWorldInfo::proc = proc;
246}
247
248/**
249 * Set here the function, if any, that you want to be called when landscape

Callers 2

MakeNewGameFunction · 0.85
MakeNewEditorWorldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected