------------------------------------------------------------------------ r11947 | frosch | 2008-01-22 17:48:08 +0000 (Tue, 22 Jan 2008) | 3 lines -Feature: Make use of new sprites added by Action5 type 0D. Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water. ------------------------------------------------------------------------ r11946 | frosch | 2008-01-22 16:08:17 +0000 (Tue, 22 Jan 2008) | 3 lines -Fix: slope detection of bridge ramps. YAPF failed for steep slopes. Trolly failed for a lot. ------------------------------------------------------------------------ r11945 | glx | 2008-01-22 15:47:40 +0000 (Tue, 22 Jan 2008) | 1 line -Fix: FileExists() failed for non latin paths (win32) ------------------------------------------------------------------------ r11944 | smatz | 2008-01-22 15:40:29 +0000 (Tue, 22 Jan 2008) | 1 line -Fix: allow building drive-through road/tram stops at road/tram track that has no owner ------------------------------------------------------------------------ r11943 | rubidium | 2008-01-22 12:09:12 +0000 (Tue, 22 Jan 2008) | 2 lines -Codechange: add and use a simple structure to support small stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack. ------------------------------------------------------------------------ r11942 | peter1138 | 2008-01-22 08:47:30 +0000 (Tue, 22 Jan 2008) | 2 lines -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping. ------------------------------------------------------------------------ r11940 | peter1138 | 2008-01-22 07:27:06 +0000 (Tue, 22 Jan 2008) | 2 lines -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either. ------------------------------------------------------------------------ r11939 | rubidium | 2008-01-21 23:55:57 +0000 (Mon, 21 Jan 2008) | 2 lines -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik. ------------------------------------------------------------------------ r11938 | peter1138 | 2008-01-21 20:41:04 +0000 (Mon, 21 Jan 2008) | 2 lines -Codechange: support loading of canal/river properties (though still ignored) ------------------------------------------------------------------------ r11937 | frosch | 2008-01-21 15:48:00 +0000 (Mon, 21 Jan 2008) | 2 lines -Feature: Allow building bridge heads on more slopes. These are SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE (with bridge perpendicular to the slope) and SLOPE_NS, SLOPE_EW. ------------------------------------------------------------------------ r11936 | frosch | 2008-01-21 15:20:58 +0000 (Mon, 21 Jan 2008) | 1 line -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep slopes. ------------------------------------------------------------------------ r11935 | bjarni | 2008-01-21 10:31:27 +0000 (Mon, 21 Jan 2008) | 4 lines -Fix (r11875)[FS#1672]: autosend aircraft to hangar for replacement check inverted the check for autorenew Now it triggers when renew setting is on and only if it's on Note: aircraft already enroute to hangars due to this bug will still go there. They will only head there once though ------------------------------------------------------------------------ r11934 | peter1138 | 2008-01-20 18:30:53 +0000 (Sun, 20 Jan 2008) | 2 lines -Codechange: add persistent random data for river and canal tiles. ------------------------------------------------------------------------ r11933 | miham | 2008-01-20 17:43:38 +0000 (Sun, 20 Jan 2008) | 13 lines -Update: WebTranslator2 update to 2008-01-20 18:42:56 brazilian_portuguese - 2 fixed by fukumori (2) catalan - 6 fixed by arnaullv (6) croatian - 4 changed by blozo (4) czech - 6 fixed by Hadez (6) dutch - 2 fixed by habell (2) french - 6 fixed by glx (6) hungarian - 15 fixed by miham (15) italian - 6 fixed by lorenzodv (6) portuguese - 5 fixed, 2 changed by nars (7) russian - 1 changed by HMage (1) spanish - 3 fixed by eusebio (3) ------------------------------------------------------------------------ r11932 | belugas | 2008-01-20 04:01:28 +0000 (Sun, 20 Jan 2008) | 2 lines -Codechange: Forgot two occurences of widget enumification ------------------------------------------------------------------------ r11931 | belugas | 2008-01-20 03:56:15 +0000 (Sun, 20 Jan 2008) | 2 lines -Codechange: enumify the widgets numbers. Give breathing room on the case switches too... ------------------------------------------------------------------------ r11930 | belugas | 2008-01-20 03:11:14 +0000 (Sun, 20 Jan 2008) | 2 lines -Codechange: a bit of code style application ------------------------------------------------------------------------ r11929 | bjarni | 2008-01-19 23:34:52 +0000 (Sat, 19 Jan 2008) | 3 lines -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a single headed locomotive caused an assert when being replaced to a dualheaded one This triggered if the player had enough money to replace and refit one of them but not enough to refit the last one as well ------------------------------------------------------------------------ r11928 | bjarni | 2008-01-19 22:47:07 +0000 (Sat, 19 Jan 2008) | 3 lines -Fix (r6393): [autoreplace] autoreplace could refit train engines to the wrong cargo type if the old engine had no cargo capacity and the new one had Now autoreplace will always look at the wagons to figure out what to replace to (as originally intended) ------------------------------------------------------------------------ r11927 | peter1138 | 2008-01-19 18:24:20 +0000 (Sat, 19 Jan 2008) | 2 lines -Fix (r11926): unable to place canals in game ------------------------------------------------------------------------ r11926 | peter1138 | 2008-01-19 17:00:54 +0000 (Sat, 19 Jan 2008) | 2 lines -Feature: Rivers. Graphics must be provided by NewGRF else rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor. ------------------------------------------------------------------------ r11925 | rubidium | 2008-01-19 14:00:04 +0000 (Sat, 19 Jan 2008) | 2 lines -Fix (r122, r9867): loading old, pre savegame version 2, savegames. ------------------------------------------------------------------------ r11924 | peter1138 | 2008-01-19 11:08:06 +0000 (Sat, 19 Jan 2008) | 2 lines -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed ------------------------------------------------------------------------ r11923 | glx | 2008-01-18 22:55:02 +0000 (Fri, 18 Jan 2008) | 1 line -Cleanup: Remove strings removed from english.txt in r11919 ------------------------------------------------------------------------ r11922 | smatz | 2008-01-18 21:44:20 +0000 (Fri, 18 Jan 2008) | 1 line -Codechange: use MaybeBarCrossingWithSound() to bar crossing with sound ------------------------------------------------------------------------ r11921 | peter1138 | 2008-01-18 21:33:19 +0000 (Fri, 18 Jan 2008) | 2 lines -Cleanup: correct indenting and switch case line spacing. ------------------------------------------------------------------------ r11920 | glx | 2008-01-18 21:25:18 +0000 (Fri, 18 Jan 2008) | 1 line -Fix (r11844): train count was incorrect in network lobby window (and 'players' command) ------------------------------------------------------------------------ r11919 | peter1138 | 2008-01-18 21:08:40 +0000 (Fri, 18 Jan 2008) | 2 lines -Codechange: Assign numbered parameters to world generator widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window. ------------------------------------------------------------------------ r11918 | peter1138 | 2008-01-18 18:18:39 +0000 (Fri, 18 Jan 2008) | 2 lines -Codechange: Draw engine lists at widget positions instead of fixed pixel positions ------------------------------------------------------------------------ r11917 | smatz | 2008-01-18 14:48:57 +0000 (Fri, 18 Jan 2008) | 1 line -Fix (r3677): AI was reading wrong tile slope while building road bridge ------------------------------------------------------------------------ r11916 | smatz | 2008-01-18 13:02:47 +0000 (Fri, 18 Jan 2008) | 2 lines -Codechange: use enums from VehicleViewWindowWidgets instead of constants -Fix: refit button widget was not correctly updated ------------------------------------------------------------------------ r11915 | peter1138 | 2008-01-18 10:36:55 +0000 (Fri, 18 Jan 2008) | 2 lines -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel. ------------------------------------------------------------------------ r11914 | glx | 2008-01-18 03:48:29 +0000 (Fri, 18 Jan 2008) | 1 line -Documentation: fix some @file statement ------------------------------------------------------------------------ r11913 | smatz | 2008-01-18 02:16:39 +0000 (Fri, 18 Jan 2008) | 1 line -Fix (r11871): update signals after company bankrupt and disaster too ------------------------------------------------------------------------ r11912 | peter1138 | 2008-01-17 21:57:20 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: use dropdown widget for autoreplace, station builder and (second?) vehicle list windows ------------------------------------------------------------------------ r11911 | peter1138 | 2008-01-17 21:44:52 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: use enum for autoreplace window widgets ------------------------------------------------------------------------ r11910 | smatz | 2008-01-17 20:41:33 +0000 (Thu, 17 Jan 2008) | 2 lines -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction) -Fix: crossing sound is bound to tile, not to vehicle ------------------------------------------------------------------------ r11909 | peter1138 | 2008-01-17 20:00:13 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: use dropdown widget for player livery, network lobby/setup and news settings windows ------------------------------------------------------------------------ r11908 | smatz | 2008-01-17 19:49:06 +0000 (Thu, 17 Jan 2008) | 1 line -Fix: update crossing when merging a company, when building a crossing and after loading older savegame ------------------------------------------------------------------------ r11907 | peter1138 | 2008-01-17 19:41:05 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: clean up of worldgen/heightmap ui: replace many separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing. ------------------------------------------------------------------------ r11906 | miham | 2008-01-17 19:35:37 +0000 (Thu, 17 Jan 2008) | 1 line -Fix: fixed a typo in german language (reported by Botcher0) ------------------------------------------------------------------------ r11905 | peter1138 | 2008-01-17 19:12:53 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: add widget enums for player finances and player livery windows ------------------------------------------------------------------------ r11904 | peter1138 | 2008-01-17 18:49:39 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list. ------------------------------------------------------------------------ r11903 | smatz | 2008-01-17 18:21:31 +0000 (Thu, 17 Jan 2008) | 1 line -Fix: try to fix MorphOS compilation ------------------------------------------------------------------------ r11902 | peter1138 | 2008-01-17 18:10:27 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: use new dropdown widget for game options window ------------------------------------------------------------------------ r11901 | peter1138 | 2008-01-17 18:09:15 +0000 (Thu, 17 Jan 2008) | 2 lines -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control. ------------------------------------------------------------------------ r11900 | smatz | 2008-01-17 17:57:39 +0000 (Thu, 17 Jan 2008) | 2 lines -Fix: set correctly crossing state after train reversal, train leaving crossing, train crash Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing ------------------------------------------------------------------------ r11899 | frosch | 2008-01-17 17:35:59 +0000 (Thu, 17 Jan 2008) | 1 line -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow(). ------------------------------------------------------------------------ r11898 | frosch | 2008-01-17 17:13:47 +0000 (Thu, 17 Jan 2008) | 1 line -Fix: Update neighboured canals + signals when flooding non-flat tiles, too. ------------------------------------------------------------------------ r11897 | frosch | 2008-01-17 16:55:13 +0000 (Thu, 17 Jan 2008) | 1 line -Fix: Replace an uint with TileIndex and a small coding style fix. ------------------------------------------------------------------------ r11896 | glx | 2008-01-17 16:46:41 +0000 (Thu, 17 Jan 2008) | 1 line -Fix (r11886): a missing const broke compilation with MSVC ------------------------------------------------------------------------ r11895 | glx | 2008-01-17 16:41:02 +0000 (Thu, 17 Jan 2008) | 1 line -Fix (r11875): for once MSVC warns for a good reason ------------------------------------------------------------------------ r11894 | peter1138 | 2008-01-17 14:06:49 +0000 (Thu, 17 Jan 2008) | 2 lines -Cleanup: Remove strings removed from english.txt in r11893 ------------------------------------------------------------------------ r11893 | peter1138 | 2008-01-17 14:00:17 +0000 (Thu, 17 Jan 2008) | 2 lines -Codechange: build map size drop downs dynamically and remove unneeded strings ------------------------------------------------------------------------ r11892 | peter1138 | 2008-01-17 13:37:28 +0000 (Thu, 17 Jan 2008) | 3 lines -Fix (r11879): View switched from ungrouped to all vehicles as ungrouped is not technically a valid group, and ensure dropdown is removed on any click in the window. ------------------------------------------------------------------------ r11890 | rubidium | 2008-01-17 02:13:01 +0000 (Thu, 17 Jan 2008) | 2 lines -Change: ignore some files for git too. Patch by bruce89. ------------------------------------------------------------------------ r11889 | rubidium | 2008-01-17 02:10:55 +0000 (Thu, 17 Jan 2008) | 2 lines -Change: small inconsistency between documentation and code. Patch by Yexo. ------------------------------------------------------------------------ r11888 | glx | 2008-01-17 02:10:26 +0000 (Thu, 17 Jan 2008) | 1 line -Codechange: simplify sorting of the strings in town names dropdown ------------------------------------------------------------------------ r11887 | rubidium | 2008-01-17 02:09:34 +0000 (Thu, 17 Jan 2008) | 2 lines -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI. ------------------------------------------------------------------------ r11886 | glx | 2008-01-17 00:21:43 +0000 (Thu, 17 Jan 2008) | 1 line -Add: sort the strings in languages dropdown ------------------------------------------------------------------------ r11885 | peter1138 | 2008-01-17 00:06:36 +0000 (Thu, 17 Jan 2008) | 2 lines -Cleanup: Remove gotos from widget drawing code. A side affect is that it is now possible for any widget type to be shown disabled. ------------------------------------------------------------------------ r11884 | peter1138 | 2008-01-16 23:46:46 +0000 (Wed, 16 Jan 2008) | 2 lines -Cleanup: leftover use of widget numbers instead of enum ------------------------------------------------------------------------ r11883 | smatz | 2008-01-16 22:26:45 +0000 (Wed, 16 Jan 2008) | 1 line -Fix (r11864): assert when trying to remove rail from a house or industry tile ------------------------------------------------------------------------ r11882 | smatz | 2008-01-16 21:17:31 +0000 (Wed, 16 Jan 2008) | 1 line -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places ------------------------------------------------------------------------ r11881 | peter1138 | 2008-01-16 18:34:53 +0000 (Wed, 16 Jan 2008) | 2 lines -Cleanup: Code style for global variables. ------------------------------------------------------------------------ r11880 | peter1138 | 2008-01-16 18:25:23 +0000 (Wed, 16 Jan 2008) | 2 lines -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes. ------------------------------------------------------------------------ r11879 | peter1138 | 2008-01-16 17:43:46 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free. ------------------------------------------------------------------------ r11878 | peter1138 | 2008-01-16 16:52:50 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player. ------------------------------------------------------------------------ r11877 | smatz | 2008-01-16 15:48:36 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix: another way to crash competitors' train in a station -Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit ------------------------------------------------------------------------ r11876 | frosch | 2008-01-16 15:06:48 +0000 (Wed, 16 Jan 2008) | 1 line -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.) ------------------------------------------------------------------------ r11875 | bjarni | 2008-01-16 13:59:08 +0000 (Wed, 16 Jan 2008) | 10 lines -Fix: automatically sending aircraft to depot for autoreplace/renew is now triggered by the correct conditions Now it triggers by the following conditions: - aircraft is old enough for renew or needs to be autoreplaced - player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one) - aircraft has no hangars in it's order list - new aircraft is buildable (imagine autorenewing a retired design) This triggers right after a helicopter takes off or when a plane touches the ground while landing Another effect of this change is that this functionality no longer generates network traffic ------------------------------------------------------------------------ r11874 | rubidium | 2008-01-16 11:25:15 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix [FS#1655]: all wagons of maglev/monorail trains would get the livery colour of the engine instead of their wagon type. ------------------------------------------------------------------------ r11873 | belugas | 2008-01-16 02:53:55 +0000 (Wed, 16 Jan 2008) | 2 lines -Codechange: less a few magical numbers and a tiny bit more comments on town zones ------------------------------------------------------------------------ r11872 | bjarni | 2008-01-16 01:27:24 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP ------------------------------------------------------------------------ r11871 | smatz | 2008-01-16 01:18:15 +0000 (Wed, 16 Jan 2008) | 1 line -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station ------------------------------------------------------------------------ r11870 | smatz | 2008-01-16 00:33:28 +0000 (Wed, 16 Jan 2008) | 3 lines -Fix: slow down train when approaching tile we can't enter in more cases (tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype) -Fix: do not make crossing red when we can't enter it in any case ------------------------------------------------------------------------ r11868 | rubidium | 2008-01-15 20:44:31 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix: some files were still mentioning that beta1 is the latest release when that's not the case. ------------------------------------------------------------------------