Thu, 24 Jul 2008 16:18:29 +0300fix check_available_write_cb buffer-growing logic default tip
terom@terom-desktop [Thu, 24 Jul 2008 16:18:29 +0300] rev 11185
fix check_available_write_cb buffer-growing logic

Tue, 22 Jul 2008 23:20:33 +0300add an empty bin/cache dir
Tero Marttila <terom@fixme.fi> [Tue, 22 Jul 2008 23:20:33 +0300] rev 11184
add an empty bin/cache dir

Tue, 22 Jul 2008 23:11:26 +0300added support for libcurl to configure
Tero Marttila <terom@fixme.fi> [Tue, 22 Jul 2008 23:11:26 +0300] rev 11183
added support for libcurl to configure

Tue, 22 Jul 2008 22:55:50 +0300change the value of NETWORK_NEWGRF_MASTER_API
Tero Marttila <terom@fixme.fi> [Tue, 22 Jul 2008 22:55:50 +0300] rev 11182
change the value of NETWORK_NEWGRF_MASTER_API

Tue, 22 Jul 2008 22:33:49 +0300fix the error reporting for DOWNLOAD_AVAILABLE, and change NewGRFDownload to take a NetworkGameInfo instead of the GRFConfig** - it updates the compatible/not compatible state.
Tero Marttila <terom@fixme.fi> [Tue, 22 Jul 2008 22:33:49 +0300] rev 11181
fix the error reporting for DOWNLOAD_AVAILABLE, and change NewGRFDownload to take a NetworkGameInfo instead of the GRFConfig** - it updates the compatible/not compatible state.

Tue, 22 Jul 2008 21:51:14 +0300scan for tarfiles in CACHE_DIR, remember what Subdirectory a tar was found in, set the GCF_FLAG on GRFs loaded from there, and hide those in the NewGRF GUI
Tero Marttila <terom@fixme.fi> [Tue, 22 Jul 2008 21:51:14 +0300] rev 11180
scan for tarfiles in CACHE_DIR, remember what Subdirectory a tar was found in, set the GCF_FLAG on GRFs loaded from there, and hide those in the NewGRF GUI

Tue, 22 Jul 2008 18:29:06 +0300error messages, typos/omissions, and it can now actually download the .tar into cache/<GRFID>-<MD5SUM>.tar
Tero Marttila <terom@fixme.fi> [Tue, 22 Jul 2008 18:29:06 +0300] rev 11179
error messages, typos/omissions, and it can now actually download the .tar into cache/<GRFID>-<MD5SUM>.tar

Sat, 19 Jul 2008 01:38:52 +0300a working CheckAvailableNewGRFs that does a metadata search/retreival via HTTP for a given list of GRFs
Tero Marttila <terom@fixme.fi> [Sat, 19 Jul 2008 01:38:52 +0300] rev 11178
a working CheckAvailableNewGRFs that does a metadata search/retreival via HTTP for a given list of GRFs

Fri, 18 Jul 2008 22:41:08 +0300set the GRFConfig's next ptr to NULL
Tero Marttila <terom@fixme.fi> [Fri, 18 Jul 2008 22:41:08 +0300] rev 11177
set the GRFConfig's next ptr to NULL

Fri, 18 Jul 2008 21:59:53 +0300have ShowNewGRFDownload make a copy of the GRFConfig list containg only the relevant GRFConfigs
Tero Marttila <terom@fixme.fi> [Fri, 18 Jul 2008 21:59:53 +0300] rev 11176
have ShowNewGRFDownload make a copy of the GRFConfig list containg only the relevant GRFConfigs

Fri, 18 Jul 2008 21:28:42 +0300added a GCS_AVAILABLE status, and changed the colours used in the download GUI
Tero Marttila <terom@fixme.fi> [Fri, 18 Jul 2008 21:28:42 +0300] rev 11175
added a GCS_AVAILABLE status, and changed the colours used in the download GUI

Fri, 18 Jul 2008 21:16:18 +0300create the newgrf download GUI (mostly by copy-pasting from newgrf_gui.cpp) - compiles, needs testing
Tero Marttila <terom@fixme.fi> [Fri, 18 Jul 2008 21:16:18 +0300] rev 11174
create the newgrf download GUI (mostly by copy-pasting from newgrf_gui.cpp) - compiles, needs testing

Fri, 18 Jul 2008 20:03:27 +0300Add a "NewGRF Download" button to the server browser that's shown when there are incompatible NewGRFs
Tero Marttila <terom@fixme.fi> [Fri, 18 Jul 2008 20:03:27 +0300] rev 11173
Add a "NewGRF Download" button to the server browser that's shown when there are incompatible NewGRFs

Fri, 18 Jul 2008 20:02:37 +0300add a .hgignore
Tero Marttila <terom@fixme.fi> [Fri, 18 Jul 2008 20:02:37 +0300] rev 11172
add a .hgignore

Fri, 18 Jul 2008 12:20:31 +0000(svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
rubidium [Fri, 18 Jul 2008 12:20:31 +0000] rev 11171
(svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.

Fri, 18 Jul 2008 12:20:30 +0000(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
smatz [Fri, 18 Jul 2008 12:20:30 +0000] rev 11170
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less

Fri, 18 Jul 2008 12:11:46 +0000(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken
smatz [Fri, 18 Jul 2008 12:11:46 +0000] rev 11169
(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken

Fri, 18 Jul 2008 10:15:16 +0000(svn r13726) [NoAI] -Add: AIVehicle::ReverseVehicle (Yexo) noai
truebrain [Fri, 18 Jul 2008 10:15:16 +0000] rev 11168
(svn r13726) [NoAI] -Add: AIVehicle::ReverseVehicle (Yexo)

Fri, 18 Jul 2008 01:05:06 +0000(svn r13725) [NoAI] -Fix r13723: yexo ducks noai
truebrain [Fri, 18 Jul 2008 01:05:06 +0000] rev 11167
(svn r13725) [NoAI] -Fix r13723: yexo ducks

Fri, 18 Jul 2008 01:00:03 +0000(svn r13724) [NoAI] -Fix r13723: in this modern world with all those checks and warnings GCC can give when ever I not ask him to, it fails to see the simplest of all, 'if (cargo_id == cargo_id)'.. makes you wonder, doesn't it? Well, such is life, wondering wondering wandering .. Status Quo, Yeah! Oh yeah, what was I doing ... ah, yes: don't compare one variable with itself, it is always true.. Obiwan by Yexo. (Yexo) noai
truebrain [Fri, 18 Jul 2008 01:00:03 +0000] rev 11166
(svn r13724) [NoAI] -Fix r13723: in this modern world with all those checks and warnings GCC can give when ever I not ask him to, it fails to see the simplest of all, 'if (cargo_id == cargo_id)'.. makes you wonder, doesn't it? Well, such is life, wondering wondering wandering .. Status Quo, Yeah! Oh yeah, what was I doing ... ah, yes: don't compare one variable with itself, it is always true.. Obiwan by Yexo. (Yexo)

Fri, 18 Jul 2008 00:15:14 +0000(svn r13723) [NoAI] -Add: added AIIndustry::GetStockpiledCargo() (Yexo) noai
truebrain [Fri, 18 Jul 2008 00:15:14 +0000] rev 11165
(svn r13723) [NoAI] -Add: added AIIndustry::GetStockpiledCargo() (Yexo)

Thu, 17 Jul 2008 23:45:52 +0000(svn r13722) [NoAI] -Add: AICargoList_IndustryNNN (Yexo) noai
truebrain [Thu, 17 Jul 2008 23:45:52 +0000] rev 11164
(svn r13722) [NoAI] -Add: AICargoList_IndustryNNN (Yexo)

Thu, 17 Jul 2008 23:43:47 +0000(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)
smatz [Thu, 17 Jul 2008 23:43:47 +0000] rev 11163
(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)

Thu, 17 Jul 2008 21:15:57 +0000(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
rubidium [Thu, 17 Jul 2008 21:15:57 +0000] rev 11162
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.

Thu, 17 Jul 2008 20:13:01 +0000(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
rubidium [Thu, 17 Jul 2008 20:13:01 +0000] rev 11161
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.

Thu, 17 Jul 2008 16:38:26 +0000(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started.
rubidium [Thu, 17 Jul 2008 16:38:26 +0000] rev 11160
(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started.

Thu, 17 Jul 2008 15:16:11 +0000(svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.
rubidium [Thu, 17 Jul 2008 15:16:11 +0000] rev 11159
(svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.

Thu, 17 Jul 2008 15:14:42 +0000(svn r13716) -Fix [FS#2144]: any player could construct new companies.
rubidium [Thu, 17 Jul 2008 15:14:42 +0000] rev 11158
(svn r13716) -Fix [FS#2144]: any player could construct new companies.

Thu, 17 Jul 2008 13:47:04 +0000(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
rubidium [Thu, 17 Jul 2008 13:47:04 +0000] rev 11157
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.

Thu, 17 Jul 2008 12:02:09 +0000(svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih.
rubidium [Thu, 17 Jul 2008 12:02:09 +0000] rev 11156
(svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih.

Thu, 17 Jul 2008 11:47:57 +0000(svn r13713) -Fix: possible crash on creating a network packet.
rubidium [Thu, 17 Jul 2008 11:47:57 +0000] rev 11155
(svn r13713) -Fix: possible crash on creating a network packet.

Thu, 17 Jul 2008 11:20:45 +0000update tags
convert-repo [Thu, 17 Jul 2008 11:20:45 +0000] rev 11154
update tags

Thu, 17 Jul 2008 11:19:20 +0000(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.
rubidium [Thu, 17 Jul 2008 11:19:20 +0000] rev 11153
(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.

Wed, 16 Jul 2008 16:05:52 +0000(svn r13710) [0.6] -Prepare: for 0.6.2-RC1. 0.6 0.6.2-RC1
rubidium [Wed, 16 Jul 2008 16:05:52 +0000] rev 11152
(svn r13710) [0.6] -Prepare: for 0.6.2-RC1.

Wed, 16 Jul 2008 10:35:01 +0000(svn r13709) [0.6] -Backport from trunk: language updates. 0.6
rubidium [Wed, 16 Jul 2008 10:35:01 +0000] rev 11151
(svn r13709) [0.6] -Backport from trunk: language updates.

Wed, 16 Jul 2008 10:07:38 +0000(svn r13708) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 16 Jul 2008 10:07:38 +0000] rev 11150
(svn r13708) [0.6] -Backport from trunk:
- Fix: Possible buffer overflow in string truncation code (r13700)
- Fix: Handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string (r13699)
- Fix: In some cases the (sound) mixer could overflow causing artefacts in the sound [FS#2120] (r13695)
- Fix: Do not rely on .tar files always ending with a block of zeros (r13693)
- Fix: Make sure a command is ran in the context of autoreplace or not (r13691)

Tue, 15 Jul 2008 23:27:28 +0000(svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
miham [Tue, 15 Jul 2008 23:27:28 +0000] rev 11149
(svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 78 fixed, 230 changed by thetitan (3), groupsky (305)
catalan - 3 fixed by arnaullv (3)
dutch - 3 fixed by webfreakz (3)
italian - 3 changed by lorenzodv (3)
korean - 4 fixed, 5 changed by leejaeuk5 (9)
russian - 3 fixed by Smoky555 (3)
slovenian - 4 fixed by Necrolyte (4)
spanish - 3 fixed by eusebio (3)
swedish - 4 fixed by daishan (4)
ukrainian - 2 fixed by mad (2)

Tue, 15 Jul 2008 17:13:50 +0000(svn r13706) -Fix (r13695): Small typo.
frosch [Tue, 15 Jul 2008 17:13:50 +0000] rev 11148
(svn r13706) -Fix (r13695): Small typo.

Tue, 15 Jul 2008 00:34:34 +0000(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
belugas [Tue, 15 Jul 2008 00:34:34 +0000] rev 11147
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers

Mon, 14 Jul 2008 21:01:49 +0000(svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.
rubidium [Mon, 14 Jul 2008 21:01:49 +0000] rev 11146
(svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.

Mon, 14 Jul 2008 20:36:21 +0000(svn r13703) -Update: the other language files due to a few changed strings in r13702.
rubidium [Mon, 14 Jul 2008 20:36:21 +0000] rev 11145
(svn r13703) -Update: the other language files due to a few changed strings in r13702.

Mon, 14 Jul 2008 20:18:06 +0000(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.
rubidium [Mon, 14 Jul 2008 20:18:06 +0000] rev 11144
(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.

Mon, 14 Jul 2008 20:04:54 +0000(svn r13701) -Codechange: add some more info in crash.log
glx [Mon, 14 Jul 2008 20:04:54 +0000] rev 11143
(svn r13701) -Codechange: add some more info in crash.log

Mon, 14 Jul 2008 18:22:15 +0000(svn r13700) -Fix: possible buffer overflow in string truncation code.
rubidium [Mon, 14 Jul 2008 18:22:15 +0000] rev 11142
(svn r13700) -Fix: possible buffer overflow in string truncation code.

Mon, 14 Jul 2008 17:31:41 +0000(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
rubidium [Mon, 14 Jul 2008 17:31:41 +0000] rev 11141
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.

Sun, 13 Jul 2008 19:44:05 +0000(svn r13698) -Fix (r13697): MorphOS compilation.
frosch [Sun, 13 Jul 2008 19:44:05 +0000] rev 11140
(svn r13698) -Fix (r13697): MorphOS compilation.

Sun, 13 Jul 2008 16:09:00 +0000(svn r13697) -Feature: Add some support for symbolic links in .tar files.
frosch [Sun, 13 Jul 2008 16:09:00 +0000] rev 11139
(svn r13697) -Feature: Add some support for symbolic links in .tar files.

Sun, 13 Jul 2008 02:43:46 +0000(svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
belugas [Sun, 13 Jul 2008 02:43:46 +0000] rev 11138
(svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
Less confusion, hopefully. Suggested by Eddi.

Sat, 12 Jul 2008 22:30:10 +0000(svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound.
rubidium [Sat, 12 Jul 2008 22:30:10 +0000] rev 11137
(svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound.

Sat, 12 Jul 2008 22:28:34 +0000(svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.
rubidium [Sat, 12 Jul 2008 22:28:34 +0000] rev 11136
(svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.

Sat, 12 Jul 2008 14:49:43 +0000(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
frosch [Sat, 12 Jul 2008 14:49:43 +0000] rev 11135
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.

Sat, 12 Jul 2008 14:03:36 +0000(svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache.
rubidium [Sat, 12 Jul 2008 14:03:36 +0000] rev 11134
(svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache.

Wed, 09 Jul 2008 20:55:47 +0000(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not
smatz [Wed, 09 Jul 2008 20:55:47 +0000] rev 11133
(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not

Wed, 09 Jul 2008 19:39:57 +0000(svn r13690) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:39:57 +0000] rev 11132
(svn r13690) [0.6] -Backport from trunk:
- Fix: Bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop [FS#2117] (r13664)
- Fix: Only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos [FS#2109] (r13622)
- Fix: RVs continueing onto next DT station when they are build adjacent to them [FS#2040] (r13581)

Wed, 09 Jul 2008 19:30:44 +0000(svn r13689) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:30:44 +0000] rev 11131
(svn r13689) [0.6] -Backport from trunk:
- Fix: Server crashing when banning the rconning client (r13661)
- Fix: Incorrect usage of strtoul (r13508)
- Fix: Crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor [FS#2106] (r13624)
- Fix: Division by zero when one would press 'd' (skip order) when there's no order (r13409)

Wed, 09 Jul 2008 19:20:50 +0000(svn r13688) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:20:50 +0000] rev 11130
(svn r13688) [0.6] -Backport from trunk:
- Fix: If the first bridge can not be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long [FS#2100] (r13611)
- Fix: [OSX] 10.5 failed to switch to fullscreen (r13584)
- Fix: Properly count number of non-north housetiles [FS#2083] (r13518)
- Fix: Drawing of zoomed out partial sprites could cause deadlocks or crashes (r13502)

Wed, 09 Jul 2008 19:15:43 +0000(svn r13687) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:15:43 +0000] rev 11129
(svn r13687) [0.6] -Backport from trunk:
- Fix: Signals were not updated correctly when a player removed a non-existing track piece (r13626)
- Fix: Signal states could be propagated through waypoints built in orthogonal axis (r13589)
- Fix: Track was not removed on company bankrupcy when there was a ship on lower halftile (r13488)
- Fix: Let ships also navigate on half-tile sloped watery rail tiles (r13485)

Wed, 09 Jul 2008 19:13:21 +0000(svn r13686) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 19:13:21 +0000] rev 11128
(svn r13686) [0.6] -Backport from trunk:
- Fix: Memory leak when NewGRFs got forcefully disabled and they defined GOTO labels (r13675)
- Fix: Crash when drawing a non-real sprite caused by NewGRF interference [FS#2127] (r13674)
- Fix: Disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF (r13576)
- Fix: First determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good (r13489)
- Fix: Do not crash when resolving vehicle sprite groups with zero sprites (r13397)
- Fix: In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles (r13385)

Wed, 09 Jul 2008 18:59:39 +0000(svn r13685) [0.6] -Backport from trunk: 0.6
rubidium [Wed, 09 Jul 2008 18:59:39 +0000] rev 11127
(svn r13685) [0.6] -Backport from trunk:
- Fix: In the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot [FS#2102] (r13681)
- Fix: Saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code [FS#2131] (r13679)
- Fix: Inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such [FS#2126] (r13676)
- Fix: Desync when building electrified trains on a dedicated server that was started with electrification disabled [FS#2122] (r13673)
- Fix: Clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist (r13505)
- Fix: Loading of very old OpenTTD savegames was broken (r13373)

Wed, 09 Jul 2008 13:32:13 +0000(svn r13684) [NoAI] -Sync: with trunk r13599:13683. noai
rubidium [Wed, 09 Jul 2008 13:32:13 +0000] rev 11126
(svn r13684) [NoAI] -Sync: with trunk r13599:13683.

Wed, 09 Jul 2008 02:18:51 +0000(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
belugas [Wed, 09 Jul 2008 02:18:51 +0000] rev 11125
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it

Tue, 08 Jul 2008 23:07:58 +0000(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).
belugas [Tue, 08 Jul 2008 23:07:58 +0000] rev 11124
(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).

Tue, 08 Jul 2008 15:10:23 +0000(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
rubidium [Tue, 08 Jul 2008 15:10:23 +0000] rev 11123
(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
-Fix [FS#2102]: but now in a hopefully beter way.

Mon, 07 Jul 2008 16:04:38 +0000(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
rubidium [Mon, 07 Jul 2008 16:04:38 +0000] rev 11122
(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.

Mon, 07 Jul 2008 09:23:54 +0000(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.
rubidium [Mon, 07 Jul 2008 09:23:54 +0000] rev 11121
(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.

Sun, 06 Jul 2008 11:08:40 +0000(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load.
rubidium [Sun, 06 Jul 2008 11:08:40 +0000] rev 11120
(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load.

Fri, 04 Jul 2008 21:43:17 +0000(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
rubidium [Fri, 04 Jul 2008 21:43:17 +0000] rev 11119
(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.

Fri, 04 Jul 2008 19:00:11 +0000(svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such.
rubidium [Fri, 04 Jul 2008 19:00:11 +0000] rev 11118
(svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such.

Fri, 04 Jul 2008 18:42:04 +0000(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
rubidium [Fri, 04 Jul 2008 18:42:04 +0000] rev 11117
(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.

Fri, 04 Jul 2008 14:45:51 +0000(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.
rubidium [Fri, 04 Jul 2008 14:45:51 +0000] rev 11116
(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.

Thu, 03 Jul 2008 18:00:36 +0000(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.
rubidium [Thu, 03 Jul 2008 18:00:36 +0000] rev 11115
(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.

Thu, 03 Jul 2008 01:08:35 +0000(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
belugas [Thu, 03 Jul 2008 01:08:35 +0000] rev 11114
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(

Tue, 01 Jul 2008 18:56:40 +0000(svn r13671) -Cleanup: Zeros for sell.
frosch [Tue, 01 Jul 2008 18:56:40 +0000] rev 11113
(svn r13671) -Cleanup: Zeros for sell.

Tue, 01 Jul 2008 00:04:09 +0000(svn r13670) -Codechange : Merge some very alike events handlers.
belugas [Tue, 01 Jul 2008 00:04:09 +0000] rev 11112
(svn r13670) -Codechange : Merge some very alike events handlers.

Mon, 30 Jun 2008 21:31:23 +0000(svn r13669) [NoAI] -Fix: allow clients only to join non-AI controlled companies in multiplayer noai
truebrain [Mon, 30 Jun 2008 21:31:23 +0000] rev 11111
(svn r13669) [NoAI] -Fix: allow clients only to join non-AI controlled companies in multiplayer

Mon, 30 Jun 2008 21:27:53 +0000(svn r13668) [NoAI] -Add: execute 'game_start.scr' on game-start or scenario load, to allow you to load AIs on game-start noai
truebrain [Mon, 30 Jun 2008 21:27:53 +0000] rev 11110
(svn r13668) [NoAI] -Add: execute 'game_start.scr' on game-start or scenario load, to allow you to load AIs on game-start
[NoAI] -Fix: -vnull acts a bit more like a dedicated server, to avoid weird complexity on several places

Mon, 30 Jun 2008 19:54:03 +0000(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.
frosch [Mon, 30 Jun 2008 19:54:03 +0000] rev 11109
(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.

Mon, 30 Jun 2008 19:35:57 +0000(svn r13666) [NoAI] -Fix: benchmarked and set the default opcodes-till-suspend to a much higher value. Benchmarks show that this value should be relative unnoticable on any 'recent' hardware (read: 5 years or newer), under normal conditions. noai
truebrain [Mon, 30 Jun 2008 19:35:57 +0000] rev 11108
(svn r13666) [NoAI] -Fix: benchmarked and set the default opcodes-till-suspend to a much higher value. Benchmarks show that this value should be relative unnoticable on any 'recent' hardware (read: 5 years or newer), under normal conditions.

Mon, 30 Jun 2008 16:59:35 +0000(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
belugas [Mon, 30 Jun 2008 16:59:35 +0000] rev 11107
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo

Mon, 30 Jun 2008 15:13:40 +0000(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.
rubidium [Mon, 30 Jun 2008 15:13:40 +0000] rev 11106
(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.

Mon, 30 Jun 2008 14:58:58 +0000(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
belugas [Mon, 30 Jun 2008 14:58:58 +0000] rev 11105
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus

Mon, 30 Jun 2008 14:49:50 +0000(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.
rubidium [Mon, 30 Jun 2008 14:49:50 +0000] rev 11104
(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.

Mon, 30 Jun 2008 14:48:44 +0000(svn r13661) -Fix: server crashing when banning the rconning client.
rubidium [Mon, 30 Jun 2008 14:48:44 +0000] rev 11103
(svn r13661) -Fix: server crashing when banning the rconning client.

Mon, 30 Jun 2008 13:51:28 +0000(svn r13660) [NoAI] -Fix: Is(Tunnel|Bridge)Tile could cause asserts (spotted by Yexo and ST_) noai
truebrain [Mon, 30 Jun 2008 13:51:28 +0000] rev 11102
(svn r13660) [NoAI] -Fix: Is(Tunnel|Bridge)Tile could cause asserts (spotted by Yexo and ST_)

Mon, 30 Jun 2008 13:49:41 +0000(svn r13659) [NoAI] -Fix: give regression a bit more time to do his job, as the new scheduler makes it take too long ;) noai
truebrain [Mon, 30 Jun 2008 13:49:41 +0000] rev 11101
(svn r13659) [NoAI] -Fix: give regression a bit more time to do his job, as the new scheduler makes it take too long ;)

Mon, 30 Jun 2008 13:36:06 +0000(svn r13658) [NoAI] -Fix r13656: to maintain savegame compatibility with trunk, don't allow setting max_opcodes, but force it to value 4000. noai
truebrain [Mon, 30 Jun 2008 13:36:06 +0000] rev 11100
(svn r13658) [NoAI] -Fix r13656: to maintain savegame compatibility with trunk, don't allow setting max_opcodes, but force it to value 4000.

Mon, 30 Jun 2008 13:35:29 +0000(svn r13657) [NoAI] -Fix r13654: forgot to update regression noai
truebrain [Mon, 30 Jun 2008 13:35:29 +0000] rev 11099
(svn r13657) [NoAI] -Fix r13654: forgot to update regression

Mon, 30 Jun 2008 12:27:24 +0000(svn r13656) [NoAI] -Add: added suspend control. If an AI consumes N (default = 4000) opcodes, a sleep is forced (for 1 tick). This to give fair play for all AIs. Also, an infinite loop won't hang the GUI of the player. (Morloth) noai
truebrain [Mon, 30 Jun 2008 12:27:24 +0000] rev 11098
(svn r13656) [NoAI] -Add: added suspend control. If an AI consumes N (default = 4000) opcodes, a sleep is forced (for 1 tick). This to give fair play for all AIs. Also, an infinite loop won't hang the GUI of the player. (Morloth)

Mon, 30 Jun 2008 12:15:10 +0000(svn r13654) [NoAI] -Change [API CHANGE]: moved AISetting::SetCommandDelay to AIController::SetCommandDelay, as it was silly to have it in a seperate class, while it was part of the controller. noai
truebrain [Mon, 30 Jun 2008 12:15:10 +0000] rev 11097
(svn r13654) [NoAI] -Change [API CHANGE]: moved AISetting::SetCommandDelay to AIController::SetCommandDelay, as it was silly to have it in a seperate class, while it was part of the controller.

Mon, 30 Jun 2008 10:46:20 +0000(svn r13653) [NoAI] -Fix r13652: nice typo noai
truebrain [Mon, 30 Jun 2008 10:46:20 +0000] rev 11096
(svn r13653) [NoAI] -Fix r13652: nice typo

Mon, 30 Jun 2008 10:40:50 +0000(svn r13652) [NoAI] -Fix: throw thread-exit-signal with a custom class, not with the value '0', which might be captured by a lot of other layers noai
truebrain [Mon, 30 Jun 2008 10:40:50 +0000] rev 11095
(svn r13652) [NoAI] -Fix: throw thread-exit-signal with a custom class, not with the value '0', which might be captured by a lot of other layers

Mon, 30 Jun 2008 10:26:40 +0000(svn r13651) [NoAI] -Fix: SUSPENDED state can be STOPPING state too in some cases, which made debugging slightly harder .. don't 'cheat' like that, and split the ambiguous SUSPENDED into unambiguous SUSPENDED and STOPPING noai
truebrain [Mon, 30 Jun 2008 10:26:40 +0000] rev 11094
(svn r13651) [NoAI] -Fix: SUSPENDED state can be STOPPING state too in some cases, which made debugging slightly harder .. don't 'cheat' like that, and split the ambiguous SUSPENDED into unambiguous SUSPENDED and STOPPING

Mon, 30 Jun 2008 09:57:17 +0000(svn r13650) [NoAI] -Fix: don't segfault if you type just 'stop_ai' noai
truebrain [Mon, 30 Jun 2008 09:57:17 +0000] rev 11093
(svn r13650) [NoAI] -Fix: don't segfault if you type just 'stop_ai'

Sat, 28 Jun 2008 15:44:24 +0000(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
frosch [Sat, 28 Jun 2008 15:44:24 +0000] rev 11092
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.

Fri, 27 Jun 2008 20:59:30 +0000(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.
frosch [Fri, 27 Jun 2008 20:59:30 +0000] rev 11091
(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.

Fri, 27 Jun 2008 17:46:43 +0000(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
skidd13 [Fri, 27 Jun 2008 17:46:43 +0000] rev 11090
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant

Fri, 27 Jun 2008 16:16:35 +0000(svn r13646) -Change: typos and miss-aligned enum values
belugas [Fri, 27 Jun 2008 16:16:35 +0000] rev 11089
(svn r13646) -Change: typos and miss-aligned enum values

Fri, 27 Jun 2008 15:01:18 +0000(svn r13645) -Codechange: Convert a macro into an inlined member function.
frosch [Fri, 27 Jun 2008 15:01:18 +0000] rev 11088
(svn r13645) -Codechange: Convert a macro into an inlined member function.

Fri, 27 Jun 2008 02:26:51 +0000(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
belugas [Fri, 27 Jun 2008 02:26:51 +0000] rev 11087
(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
Thanks to glx :)

Fri, 27 Jun 2008 01:26:13 +0000(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
belugas [Fri, 27 Jun 2008 01:26:13 +0000] rev 11086
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes

Thu, 26 Jun 2008 17:43:56 +0000(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
belugas [Thu, 26 Jun 2008 17:43:56 +0000] rev 11085
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style

Thu, 26 Jun 2008 17:13:39 +0000(svn r13641) -Fix: Misleading enum name.
belugas [Thu, 26 Jun 2008 17:13:39 +0000] rev 11084
(svn r13641) -Fix: Misleading enum name.

Thu, 26 Jun 2008 16:47:29 +0000(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
smatz [Thu, 26 Jun 2008 16:47:29 +0000] rev 11083
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)

Thu, 26 Jun 2008 15:46:19 +0000(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
smatz [Thu, 26 Jun 2008 15:46:19 +0000] rev 11082
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.

Thu, 26 Jun 2008 00:40:42 +0000(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
smatz [Thu, 26 Jun 2008 00:40:42 +0000] rev 11081
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2

Wed, 25 Jun 2008 21:37:59 +0000(svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
miham [Wed, 25 Jun 2008 21:37:59 +0000] rev 11080
(svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian - 25 fixed by thetitan (11), kokobongo (14)
catalan - 9 fixed, 4 changed by arnaullv (13)
croatian - 5 fixed by knovak (5)
czech - 8 fixed, 9 changed by Hadez (17)
dutch - 9 fixed by habell (9)
french - 12 fixed by glx (10), belugas (2)
italian - 12 fixed by lorenzodv (12)
korean - 8 fixed, 7 changed by leejaeuk5 (15)
russian - 9 fixed by Smoky555 (9)
slovenian - 18 fixed by Necrolyte (18)
spanish - 9 fixed by eusebio (9)
swedish - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian - 12 fixed, 2 deleted, 55 changed by mad (69)

Wed, 25 Jun 2008 20:09:47 +0000(svn r13636) [NoAI] -Add: added AIGroupList, to list your groups (Yexo) noai
truebrain [Wed, 25 Jun 2008 20:09:47 +0000] rev 11079
(svn r13636) [NoAI] -Add: added AIGroupList, to list your groups (Yexo)

Wed, 25 Jun 2008 20:08:40 +0000(svn r13635) [NoAI] -Fix: minor typo (Yexo) noai
truebrain [Wed, 25 Jun 2008 20:08:40 +0000] rev 11078
(svn r13635) [NoAI] -Fix: minor typo (Yexo)

Wed, 25 Jun 2008 20:04:27 +0000(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
frosch [Wed, 25 Jun 2008 20:04:27 +0000] rev 11077
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.

Wed, 25 Jun 2008 19:33:11 +0000(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.
rubidium [Wed, 25 Jun 2008 19:33:11 +0000] rev 11076
(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.

Wed, 25 Jun 2008 18:46:05 +0000(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().
frosch [Wed, 25 Jun 2008 18:46:05 +0000] rev 11075
(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().

Wed, 25 Jun 2008 17:45:05 +0000(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions
smatz [Wed, 25 Jun 2008 17:45:05 +0000] rev 11074
(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions

Wed, 25 Jun 2008 17:37:12 +0000(svn r13630) -Update: apply english.txt changes from r13628 to other languages
skidd13 [Wed, 25 Jun 2008 17:37:12 +0000] rev 11073
(svn r13630) -Update: apply english.txt changes from r13628 to other languages

Wed, 25 Jun 2008 17:30:53 +0000(svn r13629) -Fix [FS#2108](r13603): diameter != radius
frosch [Wed, 25 Jun 2008 17:30:53 +0000] rev 11072
(svn r13629) -Fix [FS#2108](r13603): diameter != radius

Wed, 25 Jun 2008 17:30:16 +0000(svn r13628) -Feature: enable building of aqueducts in the scenario editor
skidd13 [Wed, 25 Jun 2008 17:30:16 +0000] rev 11071
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
-Codechange: related to this split the waterway based buttons from the landscape generation window

Wed, 25 Jun 2008 17:01:19 +0000(svn r13627) [NoAI] -Fix: typo in word 'nuclear' (Finaldeath) noai
truebrain [Wed, 25 Jun 2008 17:01:19 +0000] rev 11070
(svn r13627) [NoAI] -Fix: typo in word 'nuclear' (Finaldeath)

Tue, 24 Jun 2008 23:38:10 +0000(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
smatz [Tue, 24 Jun 2008 23:38:10 +0000] rev 11069
(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
So disallow removing signals from nonexistent track

Tue, 24 Jun 2008 21:46:18 +0000(svn r13625) [NoAI] -Fix: re-introduce the About button in the last menu, to make Yexo really really happy again :) noai
truebrain [Tue, 24 Jun 2008 21:46:18 +0000] rev 11068
(svn r13625) [NoAI] -Fix: re-introduce the About button in the last menu, to make Yexo really really happy again :)

Tue, 24 Jun 2008 15:58:01 +0000(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.
rubidium [Tue, 24 Jun 2008 15:58:01 +0000] rev 11067
(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.

Tue, 24 Jun 2008 13:49:13 +0000(svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full.
rubidium [Tue, 24 Jun 2008 13:49:13 +0000] rev 11066
(svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full.