Commit Graph

2968 Commits (e9bddd2b4737b91d28ba41a67188bc278363156f)

Author SHA1 Message Date
smatz 4f2f7f52a6 (svn r12062) -Fix: possible deadlock when there are no houses available to build at given tile
-Fix: houses with zero probability could be built
17 years ago
smatz 5dacd82903 (svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymore 17 years ago
smatz e9b22d7c70 (svn r12060) -Fix: do not clear tiles when the town won't be able to build any buildings anyway
-Fix: allow building 2x2 building on slopes if not explicitly forbidden
-Fix: it was possible to build 2x1 and 1x2 buildings on slopes even if it was not allowed
17 years ago
glx b5055f73fe (svn r12059) -Fix (r12041): industries prop 24 is a word 17 years ago
frosch a62beb101b (svn r12058) -Fix: Teach NPF where road vehicles and trams can reverse.
-Fix: Ships can drive through opponents' ship depots. (Thanks SmatZ)
-Codechange: Split NPFFollowTrack() in smaller parts.
17 years ago
smatz ebba0d7c71 (svn r12057) -Fix: slowdown train when approaching 90deg turn when 90deg turns are forbidden 17 years ago
frosch 99817bd5f0 (svn r12056) -Fix [FS#1704]: Enable YAPF to start searching inside a wormhole. 17 years ago
smatz a783cb333b (svn r12055) -Fix: another way to fix AI trying to build road through depots 17 years ago
peter1138 71b0d5f091 (svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types... 17 years ago
maedhros 0cb2a7fa17 (svn r12052) -Fix [FS#1737] (r11494): The cargo translation table was loaded at the right time, but all the other global variables were now loaded too early. ;) 17 years ago
rubidium 4a4f4b7459 (svn r12050) -Fix: random_func broke for desync debug. 17 years ago
smatz 70a6179b3b (svn r12049) -Fix (r10496)(r10619): memset on multibyte array with wrong byte count 17 years ago
belugas 260b32e736 (svn r12048) -Cleanup: Move some strings in the original bridge array, adjust documentation a bit. 17 years ago
belugas e5de785e1d (svn r12045) -Feature-ette(newGRF): Add support for var 12, Variational Action 2 17 years ago
rubidium bdadefd0d2 (svn r12044) -Fix [FS#1741]: crash when centering on a vehicle (aircraft) that is outside of the map. 17 years ago
smatz 594d6b663c (svn r12043) -Fix [FS#1736]: allow building transmitters and lighthouses on tree tiles 17 years ago
peter1138 c05d10dd35 (svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in the map, allowing the sea/river/canal status to also be
stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the 
original water type.
17 years ago
belugas 6e761a18d6 (svn r12041) -Codechange: Add the loader and the property for action 00 industries, prop 24, nearby station name.
No assignation yet, no real work either.
17 years ago
belugas 33e63a3adc (svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz). 17 years ago
peter1138 09ce7f76e9 (svn r12038) -Fix: Change ownership of or remove statues when merging/bankrupting companies. 17 years ago
glx 7ce12e50da (svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class 17 years ago
peter1138 f725b795af (svn r12036) -Fix: For station tiles, only get road types for road stops. 17 years ago
frosch 781828c1b6 (svn r12035) -Fix [FS#1702]: Teach YAPF where trams can reverse, and where not. 17 years ago
belugas df30c7113a (svn r12034) -Codechange: A bit of code style cleaning, regarding comments.
Thanks to MagicBuzz who spotted yet another non-converted file
17 years ago
smatz cc59c5bd23 (svn r12033) -Fix: do not show train speed as zero after loading paused game 17 years ago
peter1138 7457d8807a (svn r12032) -Fix: When removing a statue, remove town statue flag for the statue owner, not current player. 17 years ago
peter1138 ef66b08784 (svn r12031) -Fix [FS#1689,FS#1719]: Prevent towns from removing or claiming ownership of player owned tiles when growing. 17 years ago
miham b523464175 (svn r12030) -Update: WebTranslator2 update to 2008-01-31 19:43:58
brazilian_portuguese - 1 changed by tucalipe (1)
italian    - 2 changed by lorenzodv (2)
japanese   - 7 fixed by ickoonite (7)
17 years ago
frosch 23e6411fb7 (svn r12029) -Feature: Allow trees on shore. 17 years ago
frosch 90ee6a16ab (svn r12028) -Codechange: Split common part of station var 0x67, house var 0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'. 17 years ago
orudge d0aa5c4a3c (svn r12026) -Update: 'exit' is consistent with UK English in OpenTTD, 'quit' with US English 17 years ago
miham 6b016b95f9 (svn r12025) -Update: WebTranslator2 update to 2008-01-30 19:43:26
czech      - 1 fixed by Hadez (1)
estonian   - 11 changed by kristjans (11)
french     - 2 changed by belugas (2)
korean     - 1 changed by darkttd (1)
spanish    - 5 fixed by eusebio (5)
17 years ago
frosch f91c752d8b (svn r12024) -Codechange: Reduce code duplication inside tree_cmd.
-CodeChange: When rocks get removed while planting trees, barren the ground.
-Fix: In one case trees could spread under bridges.
17 years ago
frosch 9f482888b5 (svn r12023) -Fix [FS#1690]: Put a better suited text in the quit-dialog. 17 years ago
belugas e877189057 (svn r12022) -Revert(r12018): Invisible trees are now separate from the building concept.
So when you want invisible trees, just select the option of the same name in the Patch Options and toggle transparency of trees.
More to come on the saga of Invisibility. So stay tuned.
17 years ago
skidd13 bd1115e7ff (svn r12021) -Cleanup: Make some parts of the town growth a bit more descriptive
-Codechange: Remove some needless checks
17 years ago
frosch ccb13bdd52 (svn r12020) -Documentation: Correct description of TropicZone. 17 years ago
peter1138 1268a70466 (svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains. 17 years ago
belugas 6ee4ed8bf9 (svn r12018) -Fix(FS#1721,r9563): Restore initial intent on the invisible tree while transparent building patch setting 17 years ago
rubidium 3e90a16cfc (svn r12017) -Fix: when you have more than 9 network interfaces you'll enter the wonderfull world of overflows. 17 years ago
egladil dbe2c7582d (svn r12016) -Fix (r12003): os x compilation was broken again ;) 17 years ago
peter1138 3e017833b2 (svn r12015) -Fix [FS#1716] (Revert r11422): Patch in FS#1430 avoided instead of fixed the problem. GetStringWithArgs() discards information that SCC_GENDER_LIST needs to work. Now use pointers to retrieve GRF strings, so that GetStringPtr() will work correctly. This is advantageous as now no buffer copy is made when using all GRF strings. 17 years ago
rubidium 9e7ad199b5 (svn r12014) -Fix: lighthouses and transmitters were never supposed to be build on a slope. 17 years ago
frosch ab70871734 (svn r12013) -Fix: When modifying watered tiles, mark neighboured canals and rivers dirty in more cases. 17 years ago
frosch addab235de (svn r12012) -Fix (r11795): Enable TownRatingTestMode during cost estimation with 'shift'-key. 17 years ago
frosch 31842d7b3e (svn r12011) -Fix [FS#1701]: Do not consider one-corner-raised-shores to be watered tiles from all sides. 17 years ago
smatz df629c7cf0 (svn r12010) -Fix (r11994): build tramway window should use STR_WHITE_TRAMWAY_CONSTRUCTION 17 years ago
peter1138 c4707760cf (svn r12009) -Fix [FS#1707]: Avoid loading sample.cat if it 'looks' incorrect, and avoid later null pointer dereferences by moving volume lookup deeper. 17 years ago
miham bfc1e5d88a (svn r12008) -Update: WebTranslator2 update to 2008-01-29 14:07:31
brazilian_portuguese - 5 fixed, 5 changed by fukumori (4), tucalipe (6)
bulgarian  - 7 fixed by thetitan (7)
catalan    - 1 fixed by arnaullv (1)
danish     - 9 fixed by ThomasA (9)
dutch      - 5 fixed by habell (5)
estonian   - 7 fixed, 12 changed by kristjans (19)
french     - 1 fixed by glx (1)
german     - 6 fixed by moewe2 (6)
italian    - 1 fixed by lorenzodv (1)
korean     - 6 fixed, 11 changed by leejaeuk5 (17)
russian    - 9 fixed by Smoky555 (9)
slovak     - 7 fixed by lengyel (7)
slovenian  - 7 fixed by Necrolyte (7)
swedish    - 6 fixed by ChrillDeVille (6)
ukrainian  - 7 fixed by mad (7)
17 years ago
glx fadeb9ca2e (svn r12007) -Fix (r12003): win32 compilation was broken again ;) 17 years ago
rubidium 3b20e4d09a (svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712. 17 years ago
rubidium 7c310600ba (svn r12005) -Fix [FS#1717]: possible reading from an invalid pointer. Patch by PhilSophus. 17 years ago
rubidium 1b7051768c (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
rubidium 3f104194d6 (svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places. 17 years ago
peter1138 af2429f8e0 (svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs. 17 years ago
frosch 5d9326ff03 (svn r12001) -Fix: When skipping Action 11 or 12, also skip belonging sprites. 17 years ago
frosch b7946e07a6 (svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water from locks. 17 years ago
frosch 02366bce29 (svn r11999) -Fix: Do entrance-slope-check for every tile of railstations. 17 years ago
smatz db50a6d231 (svn r11998) -Fix [FS#1692](r10053): possible remote assert by setting bit 6 of p1 for CMD_REMOVE_ROAD 17 years ago
belugas a1eb524b81 (svn r11997) -Fix(FS#1712, r11985): Remove the code temporary, until a better scheme is implemented. 17 years ago
smatz f22b0127af (svn r11996) -Fix [FS#1706]: update train statusbar when stopping from zero speed 17 years ago
maedhros 9aa240dbb6 (svn r11995) -Cleanup (r11994): Change the string names in all the other languages. 17 years ago
maedhros f95fb570ad (svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs. 17 years ago
peter1138 ec1d547889 (svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long. 17 years ago
bjarni f93943ebcf (svn r11992) -Fix (r9905): When building two rail stations close to each other (with control) so they looked like one long track trains would see them as one (spotted and fixed by eddi) 17 years ago
peter1138 f9f917f205 (svn r11991) -Cleanup: Remove strings removed in r11990 17 years ago
peter1138 befe9fb43f (svn r11990) -Codechange: Show all cargo sources (en-route from) in the station view
cargo waiting list instead of just one. The station view window is now 
resizable to cope with the extra information.
17 years ago
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
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
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 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
bjarni 6786802863 (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
17 years ago
peter1138 b967c9918e (svn r11934) -Codechange: add persistent random data for river and canal tiles. 17 years ago
miham 80931cdd13 (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)
17 years ago
belugas daf1e4b4c4 (svn r11932) -Codechange: Forgot two occurences of widget enumification 17 years ago
belugas 1047888547 (svn r11931) -Codechange: enumify the widgets numbers. Give breathing room on the case switches too... 17 years ago
belugas f8fc0ca086 (svn r11930) -Codechange: a bit of code style application 17 years ago
bjarni 9fdf784b7c (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
17 years ago
bjarni 52e5f50158 (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)
17 years ago
peter1138 bb66cf27cc (svn r11927) -Fix (r11926): unable to place canals in game 17 years ago
peter1138 0c6bdb0d21 (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. 17 years ago
rubidium 8b90809718 (svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames. 17 years ago
peter1138 cc05abf382 (svn r11924) -Codechange: All dropdowns now use the dropdown widget, so compatibility code can be removed 17 years ago
glx 8e15c0fba8 (svn r11923) -Cleanup: Remove strings removed from english.txt in r11919 17 years ago
smatz f05caedf7c (svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing with sound 17 years ago
peter1138 f6684c9afd (svn r11921) -Cleanup: correct indenting and switch case line spacing. 17 years ago
glx b3e35db958 (svn r11920) -Fix (r11844): train count was incorrect in network lobby window (and 'players' command) 17 years ago
peter1138 9c482d5e54 (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. 17 years ago
peter1138 aa556f123d (svn r11918) -Codechange: Draw engine lists at widget positions instead of fixed pixel positions 17 years ago
smatz 66a0fafc93 (svn r11917) -Fix (r3677): AI was reading wrong tile slope while building road bridge 17 years ago
smatz dfb91c26ec (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
17 years ago
peter1138 04da1e1d45 (svn r11915) -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. 17 years ago
glx bba1a62db1 (svn r11914) -Documentation: fix some @file statement 17 years ago
smatz 91cb42fa73 (svn r11913) -Fix (r11871): update signals after company bankrupt and disaster too 17 years ago
peter1138 1182a940cf (svn r11912) -Codechange: use dropdown widget for autoreplace, station builder and (second?) vehicle list windows 17 years ago
peter1138 898298847f (svn r11911) -Codechange: use enum for autoreplace window widgets 17 years ago
smatz 8dbf03e322 (svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
-Fix: crossing sound is bound to tile, not to vehicle
17 years ago
peter1138 8794c5bc3c (svn r11909) -Codechange: use dropdown widget for player livery, network lobby/setup and news settings windows 17 years ago
smatz b20d1eee6c (svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame 17 years ago
peter1138 e0f759f71e (svn r11907) -Codechange: clean up of worldgen/heightmap ui: replace many separate DrawString() calls with widgets, use dropdown widgets, and use consistent positioning/sizing. 17 years ago
miham 2f9413a799 (svn r11906) -Fix: fixed a typo in german language (reported by Botcher0) 17 years ago
peter1138 a50192361f (svn r11905) -Codechange: add widget enums for player finances and player livery windows 17 years ago
peter1138 727d07c67e (svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list. 17 years ago
smatz e01a7e2e91 (svn r11903) -Fix: try to fix MorphOS compilation 17 years ago
peter1138 3f11c27958 (svn r11902) -Codechange: use new dropdown widget for game options window 17 years ago
peter1138 9fdb9a82a2 (svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control. 17 years ago
smatz 2c38d3066f (svn r11900) -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
17 years ago
frosch 3ae0c5316c (svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow(). 17 years ago
frosch c7fe664119 (svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too. 17 years ago
frosch 03e7f6f2d2 (svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix. 17 years ago
glx 82727a8713 (svn r11896) -Fix (r11886): a missing const broke compilation with MSVC 17 years ago
glx 80d62cb358 (svn r11895) -Fix (r11875): for once MSVC warns for a good reason 17 years ago
peter1138 8bc5115a1a (svn r11894) -Cleanup: Remove strings removed from english.txt in r11893 17 years ago
peter1138 5d8f7dbe60 (svn r11893) -Codechange: build map size drop downs dynamically and remove unneeded strings 17 years ago
peter1138 41df004043 (svn r11892) -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.
17 years ago
rubidium a325bef3f5 (svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo. 17 years ago
glx 4e847a9c52 (svn r11888) -Codechange: simplify sorting of the strings in town names dropdown 17 years ago
rubidium c141639bcc (svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI. 17 years ago
glx 2ad9edda91 (svn r11886) -Add: sort the strings in languages dropdown 17 years ago
peter1138 20c2de3ace (svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect is that it is now possible for any widget type to be shown disabled. 17 years ago
peter1138 b4ed1609bf (svn r11884) -Cleanup: leftover use of widget numbers instead of enum 17 years ago
smatz 7eff702c0a (svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile 17 years ago
smatz fc2895e8c2 (svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places 17 years ago
peter1138 df7286e7c1 (svn r11881) -Cleanup: Code style for global variables. 17 years ago
peter1138 e2724bed6c (svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes. 17 years ago
peter1138 389f8e0d8f (svn r11879) -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. 17 years ago
peter1138 c2ae2334ec (svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player. 17 years ago
smatz 3ad8b79550 (svn r11877) -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
17 years ago
frosch 9a9a1dcb6c (svn r11876) -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.) 17 years ago
bjarni a09b0e21e4 (svn r11875) -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
17 years ago
rubidium 049e615cfb (svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get the livery colour of the engine instead of their wagon type. 17 years ago
belugas 88206b8808 (svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones 17 years ago
bjarni 48c2669185 (svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP 17 years ago
smatz 61e40b1aa5 (svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station 17 years ago
smatz 70a9c544b8 (svn r11870) -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
17 years ago
rubidium a3a5ff6057 (svn r11867) -Fix: do not reset changes to persistent storages during world generation.
-Fix: store changes to persistent storages after performing all the game logic instead of resetting them.
17 years ago
rubidium 736640fd87 (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. 17 years ago
peter1138 e938855375 (svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list. 17 years ago
smatz 81cad58c68 (svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later 17 years ago
peter1138 c954ce1b33 (svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list. 17 years ago
rubidium fcee6dad93 (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. 17 years ago
smatz e0c61a8921 (svn r11861) -Fix: do not call rail specific functions when removing road tunnel/bridge 17 years ago
peter1138 ef704510cd (svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit. 17 years ago
peter1138 b4d476b7d1 (svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list. 17 years ago
peter1138 327ea90331 (svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368) 17 years ago
rubidium c7f9705e4a (svn r11857) -Fix: some compile time warnings. 17 years ago
glx d4e8ffd7b3 (svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore. 17 years ago
glx 8344327a91 (svn r11855) -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs 17 years ago
peter1138 6fa0463d79 (svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun 17 years ago
miham ccd557fa54 (svn r11852) -Update: WebTranslator2 update to 2008-01-14 21:05:38
brazilian_portuguese - 36 changed by fukumori (36)
korean     - 1 fixed by leejaeuk5 (1)
piglatin   - 20 fixed by adammw (20)
portuguese - 1 fixed by nars (1)
17 years ago
belugas e91e9d9b4e (svn r11851) -Codechange: A few magic numbers removal, plus a little code style 17 years ago
peter1138 85e49e6290 (svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation 17 years ago
peter1138 1fa2285327 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. 17 years ago
smatz c6de18c3db (svn r11847) -Fix: do not affect the speed a train is entering a depot by trackbits behind it 17 years ago
peter1138 7475bf20ec (svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC. 17 years ago
smatz a9f69f387d (svn r11845) -Codechange: simplify train collision detection a bit 17 years ago
glx 88e16866bc (svn r11844) -Fix: road vehicle count was incorrect in network lobby window 17 years ago