Mon, 22 Jan 2007 10:27:14 +0000(svn r8341) -Codechange (r8336): added assert to VehTypeToIndex() to ensure valid vehicle types in the argument
bjarni [Mon, 22 Jan 2007 10:27:14 +0000] rev 6040
(svn r8341) -Codechange (r8336): added assert to VehTypeToIndex() to ensure valid vehicle types in the argument

Mon, 22 Jan 2007 08:38:18 +0000(svn r8340) -Cleanup (r8338): removed now unused header includes from roadveh_gui.cpp
bjarni [Mon, 22 Jan 2007 08:38:18 +0000] rev 6039
(svn r8340) -Cleanup (r8338): removed now unused header includes from roadveh_gui.cpp

Mon, 22 Jan 2007 02:59:50 +0000(svn r8339) -Fix(r8331): MSVC seems to be a little more strict (or less intelligent) then other compilers when it comes to operator precedence.
belugas [Mon, 22 Jan 2007 02:59:50 +0000] rev 6038
(svn r8339) -Fix(r8331): MSVC seems to be a little more strict (or less intelligent) then other compilers when it comes to operator precedence.
A copy of code from train_gui.cpp to build_vehicle_gui.cpp was not exactly the same.
The earlier version did not require parenthesis to specify correct operator precedence.

Mon, 22 Jan 2007 02:09:51 +0000(svn r8338) -Codechange: merged road vehicle build window into the other ones
bjarni [Mon, 22 Jan 2007 02:09:51 +0000] rev 6037
(svn r8338) -Codechange: merged road vehicle build window into the other ones
Note: now all build vehicle windows are merged into build_vehicle_gui.cpp

Mon, 22 Jan 2007 01:35:53 +0000(svn r8337) -Cleanup: removed some more switch-cases in build_vehicle_gui.cpp and added arrays + VehTypeToIndex() instead
bjarni [Mon, 22 Jan 2007 01:35:53 +0000] rev 6036
(svn r8337) -Cleanup: removed some more switch-cases in build_vehicle_gui.cpp and added arrays + VehTypeToIndex() instead

Mon, 22 Jan 2007 01:13:10 +0000(svn r8336) -Codechange: added function to translate vehicle types to 0,1,2... for use for index to arrays
bjarni [Mon, 22 Jan 2007 01:13:10 +0000] rev 6035
(svn r8336) -Codechange: added function to translate vehicle types to 0,1,2... for use for index to arrays
Used this function to get rid of some switch-cases in build_vehicle_gui.cpp
-Fix (r8335): ship build window didn't remember assending/decending sort setting

Mon, 22 Jan 2007 00:26:46 +0000(svn r8335) -Feature: the build ship window is now also resizable horizontally and contains sorting options
bjarni [Mon, 22 Jan 2007 00:26:46 +0000] rev 6034
(svn r8335) -Feature: the build ship window is now also resizable horizontally and contains sorting options
-Codechange: the build ship window is merged into build_vehicle_gui.cpp

Sun, 21 Jan 2007 23:24:25 +0000(svn r8334) -Fix (r8331): build window buttons now both resize as intended
bjarni [Sun, 21 Jan 2007 23:24:25 +0000] rev 6033
(svn r8334) -Fix (r8331): build window buttons now both resize as intended

Sun, 21 Jan 2007 23:13:46 +0000(svn r8333) -Codechange: when invalidating a build window list, set a flag instead of rebuilding the list and then rebuild it the next time it's redrawn
bjarni [Sun, 21 Jan 2007 23:13:46 +0000] rev 6032
(svn r8333) -Codechange: when invalidating a build window list, set a flag instead of rebuilding the list and then rebuild it the next time it's redrawn
This should save CPU time in the (maybe unlikely) event that the list is invalidated more than once between two redraws

Sun, 21 Jan 2007 22:57:52 +0000(svn r8332) -Codechange: moved DrawAircraftImage() and CcBuildAircraft() from build_vehicle_gui.cpp to aircraft_gui.cpp
bjarni [Sun, 21 Jan 2007 22:57:52 +0000] rev 6031
(svn r8332) -Codechange: moved DrawAircraftImage() and CcBuildAircraft() from build_vehicle_gui.cpp to aircraft_gui.cpp