summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2006-11-30 16:03:12 +0000
committerKUDr <kudr@openttd.org>2006-11-30 16:03:12 +0000
commit1235172cc7392325a0f14c2e5d9ab08fadf9fb8c (patch)
treed0b937c0d86acf0c61f997be2286c510c5fbf5d4 /openttd.h
parent3e6f89ca7e76c078af713b41cfdece5470b9983c (diff)
downloadopenttd-1235172cc7392325a0f14c2e5d9ab08fadf9fb8c.tar.xz
(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)
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h1
1 files changed, 1 insertions, 0 deletions
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;