(svn r6377) -Codechange: Set up the widgets in the WE_CREATE instead of on every WE_PAINT

-Codechange: Initialize sorting-type on WE_CREATE instead of checking every time.
-Codechange: Update custom vehiclelist_d with standard list_d struct, more static
This commit is contained in:
Darkvater
2006-09-04 15:13:49 +00:00
parent 21195804c3
commit acdfefaad1
2 changed files with 123 additions and 137 deletions

View File

@@ -15,12 +15,6 @@ void ResortVehicleLists(void);
#define PERIODIC_RESORT_DAYS 10
enum {
PLY_WND_PRC__OFFSET_TOP_WIDGET = 26,
PLY_WND_PRC__SIZE_OF_ROW_SMALL = 26,
PLY_WND_PRC__SIZE_OF_ROW_BIG = 36,
};
/* Vehicle List Window type flags */
enum {
VLW_FLAGS = (1 << 8)|(1 << 9)|(1 << 10),