Commit Graph

8570 Commits (03315e88e3f67714541123fa23384b31c61b2ead)
 

Author SHA1 Message Date
peter1138 191954d8a7 (svn r11989) -Fix: Resize autoreplace window to fit purchase information text if it is too large. 17 years ago
peter1138 c5b749f983 (svn r11988) -Codechange: Add a generic way of changing a widget's size and adjust the widgets around it to suit. 17 years ago
belugas 2ff76007b0 (svn r11987) -Feature[newGRF]: Allow the industry view window to be resized only when callback 3A (Show additional text in industry window) is available for the current industry.
This now allows grf authors to specify longer than 3 lines of text.
17 years ago
peter1138 fc5afec221 (svn r11986) -Fix: build system ignored changes to table/control_codes.h which require strgen to be rebuilt 17 years ago
belugas ad3c4a39f6 (svn r11985) -Feature[FS#1697, newGRF]: Implement var 8F(random bits) during callback 28 (Industry location permissibility) 17 years ago
frosch 9d63fd232e (svn r11984) -Fix: Also draw corner shores under rail tracks. 17 years ago
frosch d4dc5e0775 (svn r11983) -Codechange: Add some helper functions for slopes and use them. 17 years ago
frosch d13311e710 (svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games. 17 years ago
peter1138 e37b88ebfc (svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up missing/shuffled sprites in original data files instead of shuffling or skipping
sprites directly. Some required glyphs were not loaded.
-Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
17 years ago
smatz c9d751a181 (svn r11980) -Fix: newer versions of cut do not accept field index 0 17 years ago
rubidium f037d98ef4 (svn r11979) -Codechange: drop MSVC 2003 support because MSVC 2003 is broken in such a manner that it triggers an internal compiler error without any clue what of the code is wrong. Even trying to bisect the problem does not give a single line of code that causes the trouble. 17 years ago
skidd13 99325b0553 (svn r11978) -Codechange: Replace some global variables with window owned ones 17 years ago
belugas 7c50416d64 (svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that should have been done.
Would help to compile first...
17 years ago
belugas e918b8d31b (svn r11976) -Fix: It seems that industries using results 0D/0E on callback cb29/35 were a bit too eager to close down. 17 years ago
frosch e62dadf74c (svn r11975) -Documentation: Distinguish between station types in 'landscape_grid.html'. 17 years ago
frosch 51f03faf83 (svn r11974) -Fix [FS#1684]: Shore and sea tiles under bridges were converted to canals in old savegames. 17 years ago
frosch 4a1ad2c85f (svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner shores, if shores got replaced by ActionA. 17 years ago
smatz 773446df5e (svn r11972) -Fix: old AI shouldn't build fast planes with a small airport in orders 17 years ago
peter1138 f8255e10d5 (svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
peter1138 7ef297187e (svn r11970) -Cleanup: Remove old comment 17 years ago
smatz c22723c643 (svn r11969) -Codechange: documentation update, there are no 'track bits under bridge' anymore 17 years ago
smatz 74af65e556 (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead 17 years ago
smatz dbd4d7d6a8 (svn r11967) -Fix (r1400): MP_ROAD can have railbits too - OPF searching over rail of diffent owner behind crossing 17 years ago
smatz c19fd4fcde (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
17 years ago
smatz 75784655b7 (svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1 17 years ago
peter1138 18df5480ba (svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly. 17 years ago
belugas ba1f3b4834 (svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction 17 years ago
smatz 881b74e882 (svn r11962) -Cleanup: OPF is no longer used to update signals 17 years ago
belugas fa39916fe9 (svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: informations about current map size. 17 years ago
smatz 8be486c27e (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions 17 years ago
peter1138 622f251197 (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.
17 years ago
smatz 51d7692aca (svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when there were any tram grfs loaded 17 years ago
peter1138 f8b5b6667f (svn r11957) -Codechange [FS#1678]: Minor simplification and optimisation when checking for available road/rail types (bilbo) 17 years ago
peter1138 a2d416b253 (svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids. 17 years ago
peter1138 ae7689620c (svn r11955) -Fix (r11926): Prevent bridge and tunnel ends being placed on rivers. 17 years ago
smatz d89c5e945f (svn r11953) -Fix (r11172): do not allow modifying roadbits when other roadtypes would need different foundation 17 years ago
peter1138 b5534e42a0 (svn r11952) -Fix (r11926): Prevent industries from being built on rivers, unless they require water. 17 years ago
smatz 171e84cbad (svn r11951) -Fix (r11279): loading of very old savegames was broken 17 years ago
peter1138 d213987a13 (svn r11949) -Codechange: add river icon and cursor, drawn by skidd13. 17 years ago
frosch a242dadad2 (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.
17 years ago
frosch 8a72af3a13 (svn r11946) -Fix: slope detection of bridge ramps.
YAPF failed for steep slopes.
  Trolly failed for a lot.
17 years ago
glx 1d219ad7b6 (svn r11945) -Fix: FileExists() failed for non latin paths (win32) 17 years ago
smatz 22973fc2ce (svn r11944) -Fix: allow building drive-through road/tram stops at road/tram track that has no owner 17 years ago
rubidium 38d690acc8 (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. 17 years ago
peter1138 5e4f4bcdc5 (svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping. 17 years ago
peter1138 78156065cf (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. 17 years ago
rubidium a83b91dbc5 (svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik. 17 years ago
peter1138 9d754a7f76 (svn r11938) -Codechange: support loading of canal/river properties (though still ignored) 17 years ago
frosch 2e63435124 (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.
17 years ago
frosch 05ab49eb23 (svn r11936) -Fix: 'BRIDGE_TOO_LOW_FOR_TERRAIN'-check was wrong for steep slopes. 17 years ago