From 1235172cc7392325a0f14c2e5d9ab08fadf9fb8c Mon Sep 17 00:00:00 2001 From: KUDr Date: Thu, 30 Nov 2006 16:03:12 +0000 Subject: (svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit: - using one engine list instead of 3 - removed engine filters (loco, wagons, helicopters, etc.) - EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList) - removed unnecessary "optimization" (rebuild and sort engine list on each WE_PAINT) --- openttd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openttd.h') diff --git a/openttd.h b/openttd.h index 204392741..277b3690b 100644 --- a/openttd.h +++ b/openttd.h @@ -55,6 +55,7 @@ typedef uint32 CursorID; typedef uint16 EngineID; typedef uint16 UnitID; typedef uint16 StringID; +typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp) /* IDs used in Pools */ typedef uint16 VehicleID; -- cgit v1.2.3-54-g00ecf