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

Method Load

src/saveload/order_sl.cpp:265–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 void Load() const override
266 {
267 const std::vector<SaveLoad> slt = SlCompatTableHeader(GetOrderListDescription(), _orderlist_sl_compat);
268
269 int index;
270
271 while ((index = SlIterateArray()) != -1) {
272 OrderList *list = new (OrderListID(index)) OrderList();
273 SlObject(list, slt);
274 }
275
276 }
277
278 void FixPointers() const override
279 {

Callers

nothing calls this directly

Calls 4

SlCompatTableHeaderFunction · 0.85
GetOrderListDescriptionFunction · 0.85
SlIterateArrayFunction · 0.85
SlObjectFunction · 0.85

Tested by

no test coverage detected