mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
ad9b19b77a
-Codechange: convert smallvector from struct to class
16 lines
482 B
C
16 lines
482 B
C
/* $Id$ */
|
|
|
|
/** @file vehiclelist.h Functions and type for generating vehicle lists. */
|
|
|
|
#ifndef VEHICLELIST_H
|
|
#define VEHICLELIST_H
|
|
|
|
#include "core/smallvec_type.hpp"
|
|
|
|
typedef SmallVector<const Vehicle *, 32> VehicleList;
|
|
|
|
void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
|
|
void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list);
|
|
|
|
#endif /* VEHICLELIST_H */
|