Tue, 23 Jan 2007 10:21:51 +0000(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
maedhros [Tue, 23 Jan 2007 10:21:51 +0000] rev 6055
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.

Tue, 23 Jan 2007 02:31:49 +0000(svn r8365) -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6.
belugas [Tue, 23 Jan 2007 02:31:49 +0000] rev 6054
(svn r8365) -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6.
More to come on that matter...

Tue, 23 Jan 2007 01:00:56 +0000(svn r8364) -Codechange (r8362): added an assert to catch conditions where a request wants to draw more vehicles than the list contains
bjarni [Tue, 23 Jan 2007 01:00:56 +0000] rev 6053
(svn r8364) -Codechange (r8362): added an assert to catch conditions where a request wants to draw more vehicles than the list contains

Tue, 23 Jan 2007 00:04:17 +0000(svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
bjarni [Tue, 23 Jan 2007 00:04:17 +0000] rev 6052
(svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own

Mon, 22 Jan 2007 23:23:30 +0000(svn r8362) -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own
bjarni [Mon, 22 Jan 2007 23:23:30 +0000] rev 6051
(svn r8362) -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own
-Fix (r8335): [vehicle build window] ship sprites were moved two pixels to the left

Mon, 22 Jan 2007 21:38:16 +0000(svn r8361) -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD
rubidium [Mon, 22 Jan 2007 21:38:16 +0000] rev 6050
(svn r8361) -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD
-Codechange: use_password is a boolean variable
-Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo

Mon, 22 Jan 2007 21:00:38 +0000(svn r8360) [Translations] -Fix: removed 4 empty strings from simplified chinese translation
miham [Mon, 22 Jan 2007 21:00:38 +0000] rev 6049
(svn r8360) [Translations] -Fix: removed 4 empty strings from simplified chinese translation
-Fix: added dummy ownname to Korean, translator will have to supply it through WT2

Mon, 22 Jan 2007 20:52:20 +0000(svn r8359) [Translations] -Change: Removed the .UTF-8 suffix from isocodes
miham [Mon, 22 Jan 2007 20:52:20 +0000] rev 6048
(svn r8359) [Translations] -Change: Removed the .UTF-8 suffix from isocodes

Mon, 22 Jan 2007 20:38:19 +0000(svn r8356) -Codechange: [Graphs] Rename mx to highest_value, and fix the scaling for negative values.
maedhros [Mon, 22 Jan 2007 20:38:19 +0000] rev 6047
(svn r8356) -Codechange: [Graphs] Rename mx to highest_value, and fix the scaling for negative values.

Mon, 22 Jan 2007 18:28:30 +0000(svn r8354) -Update: WebTranslator2 update to 2007-01-22 19:27:50
miham [Mon, 22 Jan 2007 18:28:30 +0000] rev 6046
(svn r8354) -Update: WebTranslator2 update to 2007-01-22 19:27:50
american - 1 fixed by WhiteRabbit (1)
brazilian_portuguese - 5 changed by fukumori (5)
esperanto - 4 changed by LaPingvino (4)
japanese - 28 changed by ickoonite (28)
korean - 6 fixed, 151 changed by leejaeuk5 (157)
simplified_chinese - 7 fixed, 2 changed by Fishingsnow (9)

Mon, 22 Jan 2007 16:48:36 +0000(svn r8353) -Cleanup: added IsPlayerBuildableVehicleType() to autoreplace code (duplicated code removal)
bjarni [Mon, 22 Jan 2007 16:48:36 +0000] rev 6045
(svn r8353) -Cleanup: added IsPlayerBuildableVehicleType() to autoreplace code (duplicated code removal)

Mon, 22 Jan 2007 16:26:45 +0000(svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a hardcoded offset to make the string appear centred.
maedhros [Mon, 22 Jan 2007 16:26:45 +0000] rev 6044
(svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a hardcoded offset to make the string appear centred.

Mon, 22 Jan 2007 16:16:52 +0000(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions
bjarni [Mon, 22 Jan 2007 16:16:52 +0000] rev 6043
(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions

Mon, 22 Jan 2007 15:46:57 +0000(svn r8347) -Codechange: [Graphs] Make some more variables local to the loops they're used in, and remove some assumptions about the size of an array.
maedhros [Mon, 22 Jan 2007 15:46:57 +0000] rev 6042
(svn r8347) -Codechange: [Graphs] Make some more variables local to the loops they're used in, and remove some assumptions about the size of an array.

Mon, 22 Jan 2007 14:08:14 +0000(svn r8343) -Cleanup: [build vehicle windows] added a few comments and removed two switch-cases, that we can do without
bjarni [Mon, 22 Jan 2007 14:08:14 +0000] rev 6041
(svn r8343) -Cleanup: [build vehicle windows] added a few comments and removed two switch-cases, that we can do without

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

Sun, 21 Jan 2007 22:50:43 +0000(svn r8331) -Feature: the train and aircraft build windows are now resizable in horizontal direction as well
bjarni [Sun, 21 Jan 2007 22:50:43 +0000] rev 6030
(svn r8331) -Feature: the train and aircraft build windows are now resizable in horizontal direction as well
-Codechange: merged train and aircraft build window code

Sun, 21 Jan 2007 20:54:29 +0000(svn r8330) -Codechange: Remove num_x and num_dataset from DrawGraph.
maedhros [Sun, 21 Jan 2007 20:54:29 +0000] rev 6029
(svn r8330) -Codechange: Remove num_x and num_dataset from DrawGraph.

Sun, 21 Jan 2007 20:34:28 +0000(svn r8329) -Codechange: Remove the the horribly abused j and k variables completely, and make i local to each loop it's used in.
maedhros [Sun, 21 Jan 2007 20:34:28 +0000] rev 6028
(svn r8329) -Codechange: Remove the the horribly abused j and k variables completely, and make i local to each loop it's used in.

Sun, 21 Jan 2007 20:14:35 +0000(svn r8328) -Codechange: Remove some magic numbers in the graph drawing code.
maedhros [Sun, 21 Jan 2007 20:14:35 +0000] rev 6027
(svn r8328) -Codechange: Remove some magic numbers in the graph drawing code.

Sun, 21 Jan 2007 20:08:00 +0000(svn r8327) -Codechange: though overloading, IsPlayerBuildableVehicleType() now works with the type given as a byte as well as a vehicle pointer
bjarni [Sun, 21 Jan 2007 20:08:00 +0000] rev 6026
(svn r8327) -Codechange: though overloading, IsPlayerBuildableVehicleType() now works with the type given as a byte as well as a vehicle pointer