(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)
This commit is contained in:
KUDr
2006-11-30 16:03:12 +00:00
parent 3e6f89ca7e
commit 1235172cc7
10 changed files with 305 additions and 391 deletions

View File

@@ -707,6 +707,7 @@ SRCS += gfx.c
SRCS += gfxinit.c
SRCS += graph_gui.c
SRCS += heightmap.c
SRCS += helpers.cpp
SRCS += industry_cmd.c
SRCS += industry_gui.c
SRCS += intro_gui.c