Commit Graph

5872 Commits (a97d87be9a0b32e1d9d0d03f2e3f5d4978f366ae)
 

Author SHA1 Message Date
bjarni a97d87be9a (svn r8460) -Fix (r8455): the build train window put locomotives and wagons in appeantly random order 18 years ago
rubidium cd6a826ecf (svn r8459) -Codechange: move (Send|Recv)GRFIdentifier to NetworkSocketHandler, so it can also be used the TCP socket handler. 18 years ago
miham 3090873224 (svn r8456) -Update: WebTranslator2 update to 2007-01-30 16:08:37
american   - 4 fixed by WhiteRabbit (4)
brazilian_portuguese - 4 fixed by fukumori (4)
danish     - 16 changed by MiR (16)
esperanto  - 4 fixed by LaPingvino (4)
french     - 32 changed by glx (32)
italian    - 4 fixed by sidew (4)
japanese   - 4 fixed, 2 changed by ickoonite (4), PouncingAnt (2)
korean     - 1 changed by darkttd (1)
norwegian_nynorsk - 4 fixed by pollux (4)
portuguese - 6 changed by izhirahider (6)
romanian   - 4 fixed by kneekoo (4)
slovak     - 4 fixed by lengyel (4)
slovenian  - 43 fixed, 38 changed by Necrolyte (81)
spanish    - 4 fixed by jfrank (4)
swedish    - 4 fixed by daishan (4)
ukrainian  - 45 fixed, 7 deleted, 18 changed by mad (14), znikoz (56)
18 years ago
belugas e8af755d7f (svn r8455) -Codechange: Give a more meaningful name (railveh_type)to member flags of RailVehInfo, as well as changing the code to reflect the fact that it was not a flag but rather a one value only variable. Doing so, some evaluations have been simplified.
-Codechange: Add and use RAILVEH_SINGLEHEAD when railveh_type is set to 0, which was implicit before.
-Cleanup: Remove some extraneous parenthesis.
18 years ago
tron 5a9873c3bd (svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
18 years ago
Darkvater 83ba97c755 (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 18 years ago
rubidium f78d463f07 (svn r8446) -Fix (8445): accidentally made a function that should not be abstract abstract. 18 years ago
rubidium 66f46b71a1 (svn r8445) -Cleanup: remove some @params from comments as the parameters did not exist anymore and add comments to several variables/functions. 18 years ago
miham 95f33ea087 (svn r8444) -Fix: [Translations] Fixes from russian translator Quark 18 years ago
miham 794f77d34e (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)
18 years ago
rubidium 3e6bd9c2e9 (svn r8437) -Codechange: move often duplicated (in MSU) define to the udp header. 18 years ago
tron 5052c6609d (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
18 years ago
Darkvater 737ca7b7f5 (svn r8435) -Regression (r7759?): Readd aircraft.h to the project files which were added in r6644 but miracuously disappeared sometime afterwards 18 years ago
peter1138 45654f8be0 (svn r8434) -Fix (r8430): Missing braces caused compilation failure for some (most?) compilers... 18 years ago
miham f3b90e589c (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)
18 years ago
tron 9ccb6ddd71 (svn r8430) -Fix
Replace the rather obscure control flow for handling aircraft/ship/train orders by something remotly comprehensible (see r3584)
18 years ago
Darkvater fa0b625552 (svn r8429) -Codechange: Add a name for AircraftVehicleInfo subtype helicopter and remove some magic numbers related to the subtype. 18 years ago
Darkvater 2ff4492abc (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. 18 years ago
tron 36039f318d (svn r8427) -Fix
s/m?/m³/
18 years ago
tron e446379102 (svn r8426) -Fix
Slightly simplify the code which determines whether to build a rail or a road bridge
18 years ago
tron fa8f46c88e (svn r8425) -Fix
Do not try to invalidate a window which just got deleted. It is pointless
18 years ago
tron d858077fd2 (svn r8424) -Fix
Do not call ClearSlot() just before calling DeleteVehicle(), which does it too
18 years ago
tron 08b110952a (svn r8423) -Fix
Do not explicitly pass the station specification and the station to ResolveStation(). They are already contained in the ResolverObject
18 years ago
tron f11163bbb9 (svn r8422) -Fix
-Regression (r8314): Reevaluate the disabled elrail setting after loading because the railtype doesn't get saved anymore
18 years ago
Darkvater 19b81c4faa (svn r8421) -Codechange (r8420): rename STR_AVAILABLE_VEHICLES to STR_AVAILABLE_ROAD_VEHICLES for clarificaton (Tron) 18 years ago
Darkvater 15edd465ac (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. 18 years ago
miham 90fc4671b4 (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)
18 years ago
KUDr 55ac8f843a (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
18 years ago
KUDr 1943e8cb8c (svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos (seems that g++ 2.95 defines it anyway) 18 years ago
truelight 561daaba2c (svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why! 18 years ago
truelight ef37b30674 (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. 18 years ago
tron 044f395b7b (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.
18 years ago
Darkvater 783902838e (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).
18 years ago
miham 4dd7a61a50 (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)
18 years ago
celestar 2745180a50 (svn r8403) -Fix (r8402): Forgot to remove an enum 18 years ago
celestar dfb5556376 (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 18 years ago
celestar e3fbc6c06b (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
18 years ago
tron 1da6c719fd (svn r8400) -Fix
Simplify r8399
18 years ago
glx 1b48fd232f (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 18 years ago
Darkvater b0f7707df8 (svn r8398) -Cleanup: Remove WATCOM crud from strgen and map.h include from macros.h as it is no longer needed. 18 years ago
bjarni 4bd4583df1 (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
18 years ago
miham 0543c355e9 (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)
18 years ago
bjarni 731b14d569 (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 18 years ago
bjarni e4b7a14f96 (svn r8394) -Cleanup: added an enum with widget names to the orders window 18 years ago
tron fdee057baf (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.
18 years ago
tron 2e6c663b94 (svn r8392) -Fix
Use HASBIT() instead of implementing it manually
18 years ago
peter1138 ba6b7c1403 (svn r8391) -Codechange: Make normal/desert/rainforest detection for newgrf stations work 18 years ago
bjarni 058df1b99f (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
18 years ago
tron 7fffe8b3d4 (svn r8385) -Fix
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
18 years ago
bjarni 4dd0d007b1 (svn r8384) -Codechange: [GUI] instead of writing a resize button function for each window, a global ResizeButtons() is added 18 years ago