summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-23(svn r11966) -Fix: OPF was searching through depots and normal road stopssmatz
In effect, it also fixes old AI bugs like FS#1403 and FS#1506
2008-01-23(svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1smatz
2008-01-23(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.peter1138
2008-01-23(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 ↵belugas
substraction
2008-01-23(svn r11962) -Cleanup: OPF is no longer used to update signalssmatz
2008-01-23(svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: ↵belugas
informations about current map size.
2008-01-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2008-01-23(svn r11959) -Codechange: Use macro to loop for specific engine types ↵peter1138
instead of using specific indexes each time. -Codechange: Minor scope changes in said loops.
2008-01-23(svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when ↵smatz
there were any tram grfs loaded
2008-01-23(svn r11957) -Codechange [FS#1678]: Minor simplification and optimisation ↵peter1138
when checking for available road/rail types (bilbo)
2008-01-23(svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids.peter1138
2008-01-23(svn r11955) -Fix (r11926): Prevent bridge and tunnel ends being placed on ↵peter1138
rivers.
2008-01-23(svn r11953) -Fix (r11172): do not allow modifying roadbits when other ↵smatz
roadtypes would need different foundation
2008-01-22(svn r11952) -Fix (r11926): Prevent industries from being built on rivers, ↵peter1138
unless they require water.
2008-01-22(svn r11951) -Fix (r11279): loading of very old savegames was brokensmatz
2008-01-22(svn r11949) -Codechange: add river icon and cursor, drawn by skidd13.peter1138
2008-01-22(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.frosch
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(svn r11946) -Fix: slope detection of bridge ramps.frosch
YAPF failed for steep slopes. Trolly failed for a lot.
2008-01-22(svn r11945) -Fix: FileExists() failed for non latin paths (win32)glx
2008-01-22(svn r11944) -Fix: allow building drive-through road/tram stops at road/tram ↵smatz
track that has no owner
2008-01-22(svn r11943) -Codechange: add and use a simple structure to support small ↵rubidium
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(svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action ↵peter1138
12. Remove obsolete tables used for index mapping.
2008-01-22(svn r11940) -Codechange: Store short filename once per open file instead of ↵peter1138
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-21(svn r11939) -Codechange: some type fixes and very initial steps into ↵rubidium
supporting NDS by default. Based on work by Dominik.
2008-01-21(svn r11938) -Codechange: support loading of canal/river properties (though ↵peter1138
still ignored)
2008-01-21(svn r11937) -Feature: Allow building bridge heads on more slopes.frosch
These are SLOPE_NW, SLOPE_SW, SLOPE_SE, SLOPE_NE (with bridge perpendicular to the slope) and SLOPE_NS, SLOPE_EW.
2008-01-21(svn r11936) -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep ↵frosch
slopes.
2008-01-21(svn r11935) -Fix (r11875)[FS#1672]: autosend aircraft to hangar for ↵bjarni
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-20(svn r11934) -Codechange: add persistent random data for river and canal tiles.peter1138
2008-01-20(svn r11933) -Update: WebTranslator2 update to 2008-01-20 18:42:56miham
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(svn r11932) -Codechange: Forgot two occurences of widget enumificationbelugas
2008-01-20(svn r11931) -Codechange: enumify the widgets numbers. Give breathing room ↵belugas
on the case switches too...
2008-01-20(svn r11930) -Codechange: a bit of code style applicationbelugas
2008-01-19(svn r11929) -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a ↵bjarni
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(svn r11928) -Fix (r6393): [autoreplace] autoreplace could refit train ↵bjarni
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(svn r11927) -Fix (r11926): unable to place canals in gamepeter1138
2008-01-19(svn r11926) -Feature: Rivers. Graphics must be provided by NewGRF else ↵peter1138
rivers are drawn as canals. Rivers can currently only be placed with-in the scenario editor.
2008-01-19(svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames.rubidium
2008-01-19(svn r11924) -Codechange: All dropdowns now use the dropdown widget, so ↵peter1138
compatibility code can be removed
2008-01-18(svn r11923) -Cleanup: Remove strings removed from english.txt in r11919glx
2008-01-18(svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing ↵smatz
with sound
2008-01-18(svn r11921) -Cleanup: correct indenting and switch case line spacing.peter1138
2008-01-18(svn r11920) -Fix (r11844): train count was incorrect in network lobby ↵glx
window (and 'players' command)
2008-01-18(svn r11919) -Codechange: Assign numbered parameters to world generator ↵peter1138
widgets to avoid separate DrawString()s, and do the same for the scenario flat-land window.
2008-01-18(svn r11918) -Codechange: Draw engine lists at widget positions instead of ↵peter1138
fixed pixel positions
2008-01-18(svn r11917) -Fix (r3677): AI was reading wrong tile slope while building ↵smatz
road bridge
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-18(svn r11914) -Documentation: fix some @file statementglx
2008-01-18(svn r11913) -Fix (r11871): update signals after company bankrupt and ↵smatz
disaster too