smatz
5f9a877376
(svn r11972) -Fix: old AI shouldn't build fast planes with a small airport in orders
2008-01-24 14:22:10 +00:00
peter1138
697b07c99c
(svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops
2008-01-24 10:47:44 +00:00
peter1138
9c65bcea7d
(svn r11970) -Cleanup: Remove old comment
2008-01-24 10:41:12 +00:00
smatz
541247c830
(svn r11969) -Codechange: documentation update, there are no 'track bits under bridge' anymore
2008-01-23 23:22:47 +00:00
smatz
5a7c903770
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23 22:34:04 +00:00
smatz
b5641ae0f2
(svn r11967) -Fix (r1400): MP_ROAD can have railbits too - OPF searching over rail of diffent owner behind crossing
2008-01-23 20:02:30 +00:00
smatz
e40944f8e0
(svn r11966) -Fix: OPF was searching through depots and normal road stops
...
In effect, it also fixes old AI bugs like FS#1403 and FS#1506
2008-01-23 19:31:11 +00:00
smatz
4cb91fa591
(svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1
2008-01-23 18:24:04 +00:00
peter1138
b718cae67d
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
2008-01-23 17:45:48 +00:00
belugas
9c16461c29
(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction
2008-01-23 17:40:37 +00:00
smatz
d6eaf1a11a
(svn r11962) -Cleanup: OPF is no longer used to update signals
2008-01-23 17:30:28 +00:00
belugas
4a3e135086
(svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: informations about current map size.
2008-01-23 17:08:35 +00:00
smatz
0b888ccc00
(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
2008-01-23 14:51:36 +00:00
peter1138
9515328962
(svn r11959) -Codechange: Use macro to loop for specific engine types instead of using specific indexes each time.
...
-Codechange: Minor scope changes in said loops.
2008-01-23 13:20:51 +00:00
smatz
a31ebdb2be
(svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when there were any tram grfs loaded
2008-01-23 13:06:00 +00:00
peter1138
e35cf20a23
(svn r11957) -Codechange [FS#1678]: Minor simplification and optimisation when checking for available road/rail types (bilbo)
2008-01-23 09:43:53 +00:00
peter1138
0f966a316a
(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.
2008-01-23 08:47:49 +00:00
peter1138
ff0891426f
(svn r11955) -Fix (r11926): Prevent bridge and tunnel ends being placed on rivers.
2008-01-23 08:28:19 +00:00
smatz
983fdb8a4f
(svn r11953) -Fix (r11172): do not allow modifying roadbits when other roadtypes would need different foundation
2008-01-23 00:36:48 +00:00
peter1138
da53070a38
(svn r11952) -Fix (r11926): Prevent industries from being built on rivers, unless they require water.
2008-01-22 22:17:28 +00:00
smatz
3a423a8747
(svn r11951) -Fix (r11279): loading of very old savegames was broken
2008-01-22 21:01:35 +00:00
peter1138
39f6173401
(svn r11949) -Codechange: add river icon and cursor, drawn by skidd13.
2008-01-22 20:04:30 +00:00
frosch
49d2087d7f
(svn r11947) -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.
2008-01-22 17:48:08 +00:00
frosch
b99c83246b
(svn r11946) -Fix: slope detection of bridge ramps.
...
YAPF failed for steep slopes.
Trolly failed for a lot.
2008-01-22 16:08:17 +00:00
glx
7d1e3086b8
(svn r11945) -Fix: FileExists() failed for non latin paths (win32)
2008-01-22 15:47:40 +00:00
smatz
96a18d859f
(svn r11944) -Fix: allow building drive-through road/tram stops at road/tram track that has no owner
2008-01-22 15:40:29 +00:00
rubidium
59ec5e62ce
(svn r11943) -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.
2008-01-22 12:09:12 +00:00
peter1138
30bac58bde
(svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping.
2008-01-22 08:47:30 +00:00
peter1138
ffec79bbcf
(svn r11940) -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.
2008-01-22 07:27:06 +00:00
rubidium
9444eb4484
(svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik.
2008-01-21 23:55:57 +00:00
peter1138
ca1b3e7b4e
(svn r11938) -Codechange: support loading of canal/river properties (though still ignored)
2008-01-21 20:41:04 +00:00
frosch
0a6425926b
(svn r11937) -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.
2008-01-21 15:48:00 +00:00
frosch
f23e71f22f
(svn r11936) -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep slopes.
2008-01-21 15:20:58 +00:00
bjarni
000117aa19
(svn r11935) -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
2008-01-21 10:31:27 +00:00
peter1138
9ca929c812
(svn r11934) -Codechange: add persistent random data for river and canal tiles.
2008-01-20 18:30:53 +00:00
miham
ffb9ca164e
(svn r11933) -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)
2008-01-20 17:43:38 +00:00
belugas
2c5c97346b
(svn r11932) -Codechange: Forgot two occurences of widget enumification
2008-01-20 04:01:28 +00:00
belugas
3423032dbb
(svn r11931) -Codechange: enumify the widgets numbers. Give breathing room on the case switches too...
2008-01-20 03:56:15 +00:00
belugas
90a770250f
(svn r11930) -Codechange: a bit of code style application
2008-01-20 03:11:14 +00:00
bjarni
e91230415d
(svn r11929) -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
2008-01-19 23:34:52 +00:00
bjarni
2f6ee3a4a1
(svn r11928) -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)
2008-01-19 22:47:07 +00:00
peter1138
a580c8d059
(svn r11927) -Fix (r11926): unable to place canals in game
2008-01-19 18:24:20 +00:00
peter1138
4a2f7db99b
(svn r11926) -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.
2008-01-19 17:00:54 +00:00
rubidium
aa0412e0bc
(svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames.
2008-01-19 14:00:04 +00:00
peter1138
02c9484ebb
(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed
2008-01-19 11:08:06 +00:00
glx
1712a8a0e1
(svn r11923) -Cleanup: Remove strings removed from english.txt in r11919
2008-01-18 22:55:02 +00:00
smatz
730dda867b
(svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing with sound
2008-01-18 21:44:20 +00:00
peter1138
14416791af
(svn r11921) -Cleanup: correct indenting and switch case line spacing.
2008-01-18 21:33:19 +00:00
glx
600046f3d7
(svn r11920) -Fix (r11844): train count was incorrect in network lobby window (and 'players' command)
2008-01-18 21:25:18 +00:00
peter1138
b6d0684826
(svn r11919) -Codechange: Assign numbered parameters to world generator widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
2008-01-18 21:08:40 +00:00