tron [Sun, 28 Jan 2007 21:54:40 +0000] rev 5867
(svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
Darkvater [Sun, 28 Jan 2007 21:53:13 +0000] rev 5866
(svn r8448) -Codechange/Fix (r2993): Also update the helicopter's rotor when loading the game. This can solve crashes when a game is loaded with missing GRF's
rubidium [Sun, 28 Jan 2007 20:54:30 +0000] rev 5865
(svn r8446) -Fix (8445): accidentally made a function that should not be abstract abstract.
rubidium [Sun, 28 Jan 2007 20:47:25 +0000] rev 5864
(svn r8445) -Cleanup: remove some @params from comments as the parameters did not exist anymore and add comments to several variables/functions.
miham [Sun, 28 Jan 2007 18:44:09 +0000] rev 5863
(svn r8444) -Fix: [Translations] Fixes from russian translator Quark
miham [Sun, 28 Jan 2007 18:37:22 +0000] rev 5862
(svn r8443) -Update: WebTranslator2 update to 2007-01-28 19:36:45
czech - 4 fixed by Hadez (4)
danish - 1 changed by MiR (1)
korean - 3 changed by darkttd (3)
turkish - 4 fixed by jnmbk (4)
rubidium [Sun, 28 Jan 2007 13:07:24 +0000] rev 5861
(svn r8437) -Codechange: move often duplicated (in MSU) define to the udp header.
tron [Sun, 28 Jan 2007 10:09:40 +0000] rev 5860
(svn r8436) -Fix
-Feature: When linking the terraform toolbar to the build toolbars place them side by side instead of on top of each other
Darkvater [Sun, 28 Jan 2007 00:28:12 +0000] rev 5859
(svn r8435) -Regression (r7759?): Readd aircraft.h to the project files which were added in r6644 but miracuously disappeared sometime afterwards
peter1138 [Sat, 27 Jan 2007 22:28:28 +0000] rev 5858
(svn r8434) -Fix (r8430): Missing braces caused compilation failure for some (most?) compilers...
miham [Sat, 27 Jan 2007 18:35:30 +0000] rev 5857
(svn r8431) -Update: WebTranslator2 update to 2007-01-27 19:34:37
catalan - 4 fixed by arnaullv (4)
danish - 4 fixed, 2 changed by MiR (6)
dutch - 4 fixed by habell (4)
french - 4 fixed by glx (4)
german - 4 fixed by Neonox (4)
hungarian - 4 fixed by miham (4)
korean - 4 fixed, 4 changed by Nios (4), leejaeuk5 (4)
lithuanian - 2 changed by Domas (2)
polish - 4 fixed by meush (4)
portuguese - 4 fixed by izhirahider (4)
simplified_chinese - 4 fixed by Fishingsnow (4)
slovenian - 4 fixed, 410 changed by Necrolyte (414)
ukrainian - 34 fixed, 49 changed by mad (79), znikoz (4)
tron [Sat, 27 Jan 2007 16:45:16 +0000] rev 5856
(svn r8430) -Fix
Replace the rather obscure control flow for handling aircraft/ship/train orders by something remotly comprehensible (see r3584)
Darkvater [Sat, 27 Jan 2007 12:45:55 +0000] rev 5855
(svn r8429) -Codechange: Add a name for AircraftVehicleInfo subtype helicopter and remove some magic numbers related to the subtype.
Darkvater [Sat, 27 Jan 2007 12:29:55 +0000] rev 5854
(svn r8428) -Codechange: Add proper names to aircraft subtypes instead of magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
tron [Sat, 27 Jan 2007 10:58:44 +0000] rev 5853
(svn r8427) -Fix
s/m?/m??/
tron [Sat, 27 Jan 2007 10:08:08 +0000] rev 5852
(svn r8426) -Fix
Slightly simplify the code which determines whether to build a rail or a road bridge
tron [Fri, 26 Jan 2007 20:51:35 +0000] rev 5851
(svn r8425) -Fix
Do not try to invalidate a window which just got deleted. It is pointless
tron [Fri, 26 Jan 2007 20:49:40 +0000] rev 5850
(svn r8424) -Fix
Do not call ClearSlot() just before calling DeleteVehicle(), which does it too
tron [Fri, 26 Jan 2007 20:39:36 +0000] rev 5849
(svn r8423) -Fix
Do not explicitly pass the station specification and the station to ResolveStation(). They are already contained in the ResolverObject
tron [Fri, 26 Jan 2007 20:22:34 +0000] rev 5848
(svn r8422) -Fix
-Regression (r8314): Reevaluate the disabled elrail setting after loading because the railtype doesn't get saved anymore
Darkvater [Fri, 26 Jan 2007 19:30:11 +0000] rev 5847
(svn r8421) -Codechange (r8420): rename STR_AVAILABLE_VEHICLES to STR_AVAILABLE_ROAD_VEHICLES for clarificaton (Tron)
Darkvater [Fri, 26 Jan 2007 19:24:02 +0000] rev 5846
(svn r8420) -Codechange (r7418): Rename the 'New <vehtype>' button of the global vehicle lists to 'Available <vehtype>' as it is a view-only list, not one from which you can purchase (rolling) stock.
miham [Fri, 26 Jan 2007 18:41:15 +0000] rev 5845
(svn r8419) -Update: WebTranslator2 update to 2007-01-26 19:40:39
brazilian_portuguese - 1 changed by fukumori (1)
korean - 1 changed by Nios (1)
ukrainian - 1 fixed, 23 changed by mad (24)
KUDr [Fri, 26 Jan 2007 11:38:07 +0000] rev 5844
(svn r8414) -Codechange: Use own AutoPtrT instead of std::auto_ptr.
-Simplifies assignment from raw pointers
-Should be harder to crash the program by incorrect assignment into it.
-Should help with MorphOS compilation errors
KUDr [Fri, 26 Jan 2007 08:37:48 +0000] rev 5843
(svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos (seems that g++ 2.95 defines it anyway)
truelight [Fri, 26 Jan 2007 08:36:02 +0000] rev 5842
(svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why!
truelight [Fri, 26 Jan 2007 08:27:59 +0000] rev 5841
(svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
tron [Fri, 26 Jan 2007 07:50:34 +0000] rev 5840
(svn r8410) -Fix
-Fix: Fix an out of bounds array access when assigning the engine type in the _engine array
This usually hits the _engine_name_strings array and causes an invalid StringID, though it depends on the compiler which data structure gets placed after the _engines array.
Most probably this was exposed by removing railtype from Engine, which changed the size of this struct.
Darkvater [Fri, 26 Jan 2007 00:25:39 +0000] rev 5839
(svn r8409) -Regression (r8049): When the latest news was deleted, the news queue wrapped back to the oldest item, showing all news again.
-Regression [FS#573] (r8049): ShowLastNewsMessage could show an out-of-bounds news item because it did not checked if a previous item actually existed the first time it is called (forced news is INVALID_NEWS).
miham [Thu, 25 Jan 2007 18:37:21 +0000] rev 5838
(svn r8404) -Update: WebTranslator2 update to 2007-01-25 19:36:44
korean - 2 changed by leejaeuk5 (2)
slovak - 1 changed by lengyel (1)
slovenian - 290 changed by Necrolyte (290)
ukrainian - 1 fixed, 55 changed by mad (7), znikoz (49)
celestar [Thu, 25 Jan 2007 11:11:43 +0000] rev 5837
(svn r8403) -Fix (r8402): Forgot to remove an enum
celestar [Thu, 25 Jan 2007 10:06:58 +0000] rev 5836
(svn r8402) -Codechange: Move RoadStop-specific enums to the RoadStop class, and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
celestar [Thu, 25 Jan 2007 08:58:09 +0000] rev 5835
(svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and rename it to 'IsValid'
-Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
tron [Thu, 25 Jan 2007 07:11:06 +0000] rev 5834
(svn r8400) -Fix
Simplify r8399
glx [Thu, 25 Jan 2007 01:29:24 +0000] rev 5833
(svn r8399) -Fix (r8185): a new road stop was always created in CmdBuildRoadStop(), but it was not deleted if DC_EXEC flag was not set or if the station creation failed
Darkvater [Wed, 24 Jan 2007 21:23:35 +0000] rev 5832
(svn r8398) -Cleanup: Remove WATCOM crud from strgen and map.h include from macros.h as it is no longer needed.
bjarni [Wed, 24 Jan 2007 19:19:12 +0000] rev 5831
(svn r8397) -Codechange: [orders window] don't move the refit button to the same location as the unload button
instead assert if the widget array place them at different locations
miham [Wed, 24 Jan 2007 18:42:14 +0000] rev 5830
(svn r8396) -Update: WebTranslator2 update to 2007-01-24 19:41:28
estonian - 1 fixed by vermon (1)
finnish - 1 fixed by kerba (1)
greek - 13 fixed by Kesnar (13)
norwegian_bokmal - 1 fixed by oletk (1)
romanian - 1 fixed by kneekoo (1)
spanish - 1 fixed by eusebio (1)
ukrainian - 31 fixed, 24 changed by znikoz (4), mad (51)
bjarni [Wed, 24 Jan 2007 18:41:27 +0000] rev 5829
(svn r8395) -Cleanup: [orders window] moved the refit button two places up, so the order of the widget array fits the placement on the screen
bjarni [Wed, 24 Jan 2007 18:22:31 +0000] rev 5828
(svn r8394) -Cleanup: added an enum with widget names to the orders window
tron [Wed, 24 Jan 2007 18:03:36 +0000] rev 5827
(svn r8393) -Fix
-Codechange: CheckCompatibleRail() is only called for tiles which are known to contain a piece of rail. Simplify the function accordingly by eliminating unnecessary checks.
-Fix (?): Also fix an inconsistency in deciding what a compatible rail type is between level crossings and other rail tiles. It is unknown if this caused any problems.
tron [Wed, 24 Jan 2007 17:58:07 +0000] rev 5826
(svn r8392) -Fix
Use HASBIT() instead of implementing it manually
peter1138 [Wed, 24 Jan 2007 15:01:20 +0000] rev 5825
(svn r8391) -Codechange: Make normal/desert/rainforest detection for newgrf stations work
bjarni [Wed, 24 Jan 2007 14:32:20 +0000] rev 5824
(svn r8390) -Codechange (r8384): Rewrote ResizeButtons()
Now it only works on first and last widget to resize
It now works with offsets correctly (no longer assumes the left is 0)
It's no longer needed to have a widget right of the ones you resize
Can handle any number of widgets
tron [Wed, 24 Jan 2007 07:14:09 +0000] rev 5823
(svn r8385) -Fix
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
bjarni [Wed, 24 Jan 2007 02:36:55 +0000] rev 5822
(svn r8384) -Codechange: [GUI] instead of writing a resize button function for each window, a global ResizeButtons() is added
bjarni [Wed, 24 Jan 2007 01:37:04 +0000] rev 5821
(svn r8383) -Feature: train detail window is now resizable horizontally (requested by Wolf01)
bjarni [Wed, 24 Jan 2007 00:55:35 +0000] rev 5820
(svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.h
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
bjarni [Tue, 23 Jan 2007 21:24:26 +0000] rev 5819
(svn r8381) -Fix (r8377): [build vehicle window] cleaned up the train refitable detection. It had two variables doing the same thing, but not always set to the same (oops)
miham [Tue, 23 Jan 2007 20:55:08 +0000] rev 5818
(svn r8380) [Translations] -Fix: After held a developer mini-conference upon this wrong argidx issue, we decided to remove the {P ..} from STR_TONS
bjarni [Tue, 23 Jan 2007 20:55:04 +0000] rev 5817
(svn r8379) -Cleanup: [build vehicle window] removed overloading with DrawVehiclePurchaseInfo() and renamed them into type specific names
bjarni [Tue, 23 Jan 2007 20:23:13 +0000] rev 5816
(svn r8378) -Fix (r8331): [build vehicle window] extended the widget with the details with one line since some newgrf trains needs it
bjarni [Tue, 23 Jan 2007 20:01:04 +0000] rev 5815
(svn r8377) -Fix (r8331): [build vehicle window] train cargo capacity now only add "(refitable)" if the engine in question is refitable
rubidium [Tue, 23 Jan 2007 19:36:59 +0000] rev 5814
(svn r8376) -Codechange: remove unused table
miham [Tue, 23 Jan 2007 18:37:00 +0000] rev 5813
(svn r8375) -Update: WebTranslator2 update to 2007-01-23 19:34:40
brazilian_portuguese - 2 changed by fukumori (2)
esperanto - 14 changed by LaPingvino (14)
simplified_chinese - 6 fixed, 10 changed by Fishingsnow (16)
slovenian - 394 changed by Necrolyte (394)
ukrainian - 68 changed by mad (61), znikoz (7)
maedhros [Tue, 23 Jan 2007 15:47:28 +0000] rev 5812
(svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX describes the
required value better anyway. However, INT64_MAX comes from stdint.h which
doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
rubidium [Tue, 23 Jan 2007 14:58:10 +0000] rev 5811
(svn r8373) -Codechange: remove some obsolete MSVC6 compatability defines
rubidium [Tue, 23 Jan 2007 14:47:38 +0000] rev 5810
(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from openttd.h, which does not exist in the masterserver/updater.
bjarni [Tue, 23 Jan 2007 13:26:12 +0000] rev 5809
(svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
bjarni [Tue, 23 Jan 2007 13:10:43 +0000] rev 5808
(svn r8370) -Revert (r8363): the autoreplace GUI move cleared the file history