------------------------------------------------------------------------ r8462 | miham | 2007-01-30 18:53:10 +0000 (Tue, 30 Jan 2007) | 5 lines -Update: WebTranslator2 update to 2007-01-30 19:52:32 french - 2 fixed by glx (2) polish - 2 fixed by meush (2) ukrainian - 36 fixed, 10 changed by mad (46) ------------------------------------------------------------------------ r8461 | rubidium | 2007-01-30 17:22:56 +0000 (Tue, 30 Jan 2007) | 2 lines -Feature: check for NewGRF compatability before actually downloading the map from a game server when connecting from the command prompt and internal console. ------------------------------------------------------------------------ r8460 | bjarni | 2007-01-30 17:19:58 +0000 (Tue, 30 Jan 2007) | 2 lines -Fix (r8455): the build train window put locomotives and wagons in appeantly random order ------------------------------------------------------------------------ r8459 | rubidium | 2007-01-30 17:12:46 +0000 (Tue, 30 Jan 2007) | 2 lines -Codechange: move (Send|Recv)GRFIdentifier to NetworkSocketHandler, so it can also be used the TCP socket handler. ------------------------------------------------------------------------ r8456 | miham | 2007-01-30 15:09:33 +0000 (Tue, 30 Jan 2007) | 18 lines -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) ------------------------------------------------------------------------ r8455 | belugas | 2007-01-30 11:53:35 +0000 (Tue, 30 Jan 2007) | 3 lines -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. ------------------------------------------------------------------------ r8449 | tron | 2007-01-28 21:54:40 +0000 (Sun, 28 Jan 2007) | 4 lines -Fix -Codechange: Remove the superfluous attribute RoadStop::prev ------------------------------------------------------------------------ r8448 | Darkvater | 2007-01-28 21:53:13 +0000 (Sun, 28 Jan 2007) | 1 line -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 ------------------------------------------------------------------------ r8446 | rubidium | 2007-01-28 20:54:30 +0000 (Sun, 28 Jan 2007) | 2 lines -Fix (8445): accidentally made a function that should not be abstract abstract. ------------------------------------------------------------------------ r8445 | rubidium | 2007-01-28 20:47:25 +0000 (Sun, 28 Jan 2007) | 2 lines -Cleanup: remove some @params from comments as the parameters did not exist anymore and add comments to several variables/functions. ------------------------------------------------------------------------ r8444 | miham | 2007-01-28 18:44:09 +0000 (Sun, 28 Jan 2007) | 2 lines -Fix: [Translations] Fixes from russian translator Quark ------------------------------------------------------------------------ r8443 | miham | 2007-01-28 18:37:22 +0000 (Sun, 28 Jan 2007) | 6 lines -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) ------------------------------------------------------------------------ r8437 | rubidium | 2007-01-28 13:07:24 +0000 (Sun, 28 Jan 2007) | 2 lines -Codechange: move often duplicated (in MSU) define to the udp header. ------------------------------------------------------------------------ r8436 | tron | 2007-01-28 10:09:40 +0000 (Sun, 28 Jan 2007) | 4 lines -Fix -Feature: When linking the terraform toolbar to the build toolbars place them side by side instead of on top of each other ------------------------------------------------------------------------ r8435 | Darkvater | 2007-01-28 00:28:12 +0000 (Sun, 28 Jan 2007) | 1 line -Regression (r7759?): Readd aircraft.h to the project files which were added in r6644 but miracuously disappeared sometime afterwards ------------------------------------------------------------------------ r8434 | peter1138 | 2007-01-27 22:28:28 +0000 (Sat, 27 Jan 2007) | 2 lines -Fix (r8430): Missing braces caused compilation failure for some (most?) compilers... ------------------------------------------------------------------------ r8431 | miham | 2007-01-27 18:35:30 +0000 (Sat, 27 Jan 2007) | 15 lines -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) ------------------------------------------------------------------------ r8430 | tron | 2007-01-27 16:45:16 +0000 (Sat, 27 Jan 2007) | 4 lines -Fix Replace the rather obscure control flow for handling aircraft/ship/train orders by something remotly comprehensible (see r3584) ------------------------------------------------------------------------ r8429 | Darkvater | 2007-01-27 12:45:55 +0000 (Sat, 27 Jan 2007) | 1 line -Codechange: Add a name for AircraftVehicleInfo subtype helicopter and remove some magic numbers related to the subtype. ------------------------------------------------------------------------ r8428 | Darkvater | 2007-01-27 12:29:55 +0000 (Sat, 27 Jan 2007) | 1 line -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. ------------------------------------------------------------------------ r8427 | tron | 2007-01-27 10:58:44 +0000 (Sat, 27 Jan 2007) | 4 lines -Fix s/m?/m³/ ------------------------------------------------------------------------ r8426 | tron | 2007-01-27 10:08:08 +0000 (Sat, 27 Jan 2007) | 4 lines -Fix Slightly simplify the code which determines whether to build a rail or a road bridge ------------------------------------------------------------------------ r8425 | tron | 2007-01-26 20:51:35 +0000 (Fri, 26 Jan 2007) | 4 lines -Fix Do not try to invalidate a window which just got deleted. It is pointless ------------------------------------------------------------------------ r8424 | tron | 2007-01-26 20:49:40 +0000 (Fri, 26 Jan 2007) | 4 lines -Fix Do not call ClearSlot() just before calling DeleteVehicle(), which does it too ------------------------------------------------------------------------ r8423 | tron | 2007-01-26 20:39:36 +0000 (Fri, 26 Jan 2007) | 4 lines -Fix Do not explicitly pass the station specification and the station to ResolveStation(). They are already contained in the ResolverObject ------------------------------------------------------------------------ r8422 | tron | 2007-01-26 20:22:34 +0000 (Fri, 26 Jan 2007) | 4 lines -Fix -Regression (r8314): Reevaluate the disabled elrail setting after loading because the railtype doesn't get saved anymore ------------------------------------------------------------------------ r8421 | Darkvater | 2007-01-26 19:30:11 +0000 (Fri, 26 Jan 2007) | 1 line -Codechange (r8420): rename STR_AVAILABLE_VEHICLES to STR_AVAILABLE_ROAD_VEHICLES for clarificaton (Tron) ------------------------------------------------------------------------ r8420 | Darkvater | 2007-01-26 19:24:02 +0000 (Fri, 26 Jan 2007) | 1 line -Codechange (r7418): Rename the 'New ' button of the global vehicle lists to 'Available ' as it is a view-only list, not one from which you can purchase (rolling) stock. ------------------------------------------------------------------------ r8419 | miham | 2007-01-26 18:41:15 +0000 (Fri, 26 Jan 2007) | 5 lines -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) ------------------------------------------------------------------------ r8414 | KUDr | 2007-01-26 11:38:07 +0000 (Fri, 26 Jan 2007) | 5 lines -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 ------------------------------------------------------------------------ r8413 | KUDr | 2007-01-26 08:37:48 +0000 (Fri, 26 Jan 2007) | 1 line -Fix [MORPHOS]: disable #define offsetof conflict on Morphos (seems that g++ 2.95 defines it anyway) ------------------------------------------------------------------------ r8412 | truelight | 2007-01-26 08:36:02 +0000 (Fri, 26 Jan 2007) | 2 lines [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why! ------------------------------------------------------------------------ r8411 | truelight | 2007-01-26 08:27:59 +0000 (Fri, 26 Jan 2007) | 2 lines [MorphOS] -Fix: tons of unneeded warnings in networking code, because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish. ------------------------------------------------------------------------ r8410 | tron | 2007-01-26 07:50:34 +0000 (Fri, 26 Jan 2007) | 6 lines -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. ------------------------------------------------------------------------ r8409 | Darkvater | 2007-01-26 00:25:39 +0000 (Fri, 26 Jan 2007) | 2 lines -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). ------------------------------------------------------------------------ r8404 | miham | 2007-01-25 18:37:21 +0000 (Thu, 25 Jan 2007) | 6 lines -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) ------------------------------------------------------------------------ r8403 | celestar | 2007-01-25 11:11:43 +0000 (Thu, 25 Jan 2007) | 2 lines -Fix (r8402): Forgot to remove an enum ------------------------------------------------------------------------ r8402 | celestar | 2007-01-25 10:06:58 +0000 (Thu, 25 Jan 2007) | 2 lines -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 ------------------------------------------------------------------------ r8401 | celestar | 2007-01-25 08:58:09 +0000 (Thu, 25 Jan 2007) | 3 lines -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 ------------------------------------------------------------------------ r8400 | tron | 2007-01-25 07:11:06 +0000 (Thu, 25 Jan 2007) | 4 lines -Fix Simplify r8399 ------------------------------------------------------------------------ r8399 | glx | 2007-01-25 01:29:24 +0000 (Thu, 25 Jan 2007) | 1 line -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 ------------------------------------------------------------------------ r8398 | Darkvater | 2007-01-24 21:23:35 +0000 (Wed, 24 Jan 2007) | 1 line -Cleanup: Remove WATCOM crud from strgen and map.h include from macros.h as it is no longer needed. ------------------------------------------------------------------------ r8397 | bjarni | 2007-01-24 19:19:12 +0000 (Wed, 24 Jan 2007) | 3 lines -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 ------------------------------------------------------------------------ r8396 | miham | 2007-01-24 18:42:14 +0000 (Wed, 24 Jan 2007) | 9 lines -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) ------------------------------------------------------------------------ r8395 | bjarni | 2007-01-24 18:41:27 +0000 (Wed, 24 Jan 2007) | 2 lines -Cleanup: [orders window] moved the refit button two places up, so the order of the widget array fits the placement on the screen ------------------------------------------------------------------------ r8394 | bjarni | 2007-01-24 18:22:31 +0000 (Wed, 24 Jan 2007) | 2 lines -Cleanup: added an enum with widget names to the orders window ------------------------------------------------------------------------ r8393 | tron | 2007-01-24 18:03:36 +0000 (Wed, 24 Jan 2007) | 5 lines -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. ------------------------------------------------------------------------ r8392 | tron | 2007-01-24 17:58:07 +0000 (Wed, 24 Jan 2007) | 4 lines -Fix Use HASBIT() instead of implementing it manually ------------------------------------------------------------------------ r8391 | peter1138 | 2007-01-24 15:01:20 +0000 (Wed, 24 Jan 2007) | 2 lines -Codechange: Make normal/desert/rainforest detection for newgrf stations work ------------------------------------------------------------------------ r8390 | bjarni | 2007-01-24 14:32:20 +0000 (Wed, 24 Jan 2007) | 6 lines -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 ------------------------------------------------------------------------ r8385 | tron | 2007-01-24 07:14:09 +0000 (Wed, 24 Jan 2007) | 4 lines -Fix -Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest. ------------------------------------------------------------------------ r8384 | bjarni | 2007-01-24 02:36:55 +0000 (Wed, 24 Jan 2007) | 2 lines -Codechange: [GUI] instead of writing a resize button function for each window, a global ResizeButtons() is added ------------------------------------------------------------------------ r8383 | bjarni | 2007-01-24 01:37:04 +0000 (Wed, 24 Jan 2007) | 2 lines -Feature: train detail window is now resizable horizontally (requested by Wolf01) ------------------------------------------------------------------------ r8382 | bjarni | 2007-01-24 00:55:35 +0000 (Wed, 24 Jan 2007) | 3 lines -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) ------------------------------------------------------------------------ r8381 | bjarni | 2007-01-23 21:24:26 +0000 (Tue, 23 Jan 2007) | 2 lines -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) ------------------------------------------------------------------------ r8380 | miham | 2007-01-23 20:55:08 +0000 (Tue, 23 Jan 2007) | 1 line [Translations] -Fix: After held a developer mini-conference upon this wrong argidx issue, we decided to remove the {P ..} from STR_TONS ------------------------------------------------------------------------ r8379 | bjarni | 2007-01-23 20:55:04 +0000 (Tue, 23 Jan 2007) | 2 lines -Cleanup: [build vehicle window] removed overloading with DrawVehiclePurchaseInfo() and renamed them into type specific names ------------------------------------------------------------------------ r8378 | bjarni | 2007-01-23 20:23:13 +0000 (Tue, 23 Jan 2007) | 2 lines -Fix (r8331): [build vehicle window] extended the widget with the details with one line since some newgrf trains needs it ------------------------------------------------------------------------ r8377 | bjarni | 2007-01-23 20:01:04 +0000 (Tue, 23 Jan 2007) | 2 lines -Fix (r8331): [build vehicle window] train cargo capacity now only add "(refitable)" if the engine in question is refitable ------------------------------------------------------------------------ r8376 | rubidium | 2007-01-23 19:36:59 +0000 (Tue, 23 Jan 2007) | 2 lines -Codechange: remove unused table ------------------------------------------------------------------------