Commit Graph

3470 Commits (b47a151bcec9fe3f41ca8fad313aa2e155476cfe)

Author SHA1 Message Date
smatz 110584808d (svn r12557) -Cleanup: use MAX_PATH at two more places 17 years ago
smatz c745ca21a3 (svn r12556) -Fix (r6001): remove fences with fields when loading old savegames, looks better 17 years ago
smatz b9b99d3150 (svn r12553) -Fix (r11547): redraw the signal GUI when the signal drag density changes in the patch settings and vice versa 17 years ago
smatz ff7e8fb2dd (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened 17 years ago
smatz 277df6d622 (svn r12549) -Fix [FS#1900](r11547): respect type of selected signal when building more signals using the GUI
-Fix: do not check patch settings but check if the Signal GUI window is open instead
17 years ago
smatz 86c72ab927 (svn r12548) -Cleanup: remove strings removed in r12547 from all language files 17 years ago
smatz febc5150c9 (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 17 years ago
glx 83f9e141e0 (svn r12546) -Fix: completely remove cases from Brazilian Portuguese translation 17 years ago
frosch 87e5d85d6e (svn r12545) -Cleanup: Replace some tables of magic values with already existing functions. 17 years ago
miham f219eb5653 (svn r12543) -Update: WebTranslator2 update to 2008-04-03 08:42:55
brazilian_portuguese - 18 fixed by fukumori (18)
bulgarian  - 17 fixed by thetitan (17)
catalan    - 11 fixed by arnaullv (11)
dutch      - 19 fixed by habell (19)
french     - 11 fixed by glx (11)
hungarian  - 5 fixed by miham (5)
icelandic  - 24 fixed, 2 changed by scrooge (26)
italian    - 11 fixed, 1 changed by lorenzodv (12)
korean     - 17 fixed, 3 changed by leejaeuk5 (20)
slovak     - 18 fixed by lengyel (18)
slovenian  - 19 fixed by Necrolyte (19)
swedish    - 33 fixed by daishan (33)
turkish    - 18 fixed by jnmbk (18)
ukrainian  - 17 fixed by mad (17)
17 years ago
frosch fa68e5f770 (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 17 years ago
frosch 5e5e074a5d (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. 17 years ago
smatz b0ee311780 (svn r12537) -Cleanup: comment newgrf_config.h a bit 17 years ago
rubidium 8e83627991 (svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack). 17 years ago
belugas 81b6125ac2 (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 17 years ago
skidd13 584bbfd7e7 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 17 years ago
frosch 4329223476 (svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions. 17 years ago
frosch 549d05dc4d (svn r12532) -Cleanup: Replace two tables of magic values with already existing functions. 17 years ago
frosch 15a9fba867 (svn r12531) -Codechange: Rename some variables for consistency. 17 years ago
skidd13 9d914a803c (svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future 17 years ago
skidd13 4cc6140619 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive 17 years ago
rubidium a0895d57fa (svn r12501) -Codechange: split signs.h. 17 years ago
rubidium b1e1c13420 (svn r12499) -Codechange: some coding style tweaks for network_internal.h. 17 years ago
rubidium 7c759731dc (svn r12498) -Codechange: bring a little 'order' to openttd.cpp's includes and do not 'define' VARDEF for files that do not have them anymore. 17 years ago
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 17 years ago
rubidium ef2be7d0fc (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 17 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 17 years ago
rubidium 4a1035ab95 (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 17 years ago
rubidium 9598b1ecaf (svn r12486) -Fix: the copyright date wasn't set correctly in ottdres.rc. 17 years ago
bjarni a81a572434 (svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
17 years ago
peter1138 f8294b1386 (svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the industry view window. The window is now shown the correct size so the resize button is also removed. 17 years ago
rubidium d51347a04d (svn r12477) -Fix [FS#1883]: timetable times for aircraft were always doubled. 17 years ago
rubidium 93d59fe448 (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 17 years ago
rubidium d97c16ee8b (svn r12475) -Codechange: cleanup coding style in news_gui.cpp. 17 years ago
rubidium f4d48f0e5b (svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h. 17 years ago
rubidium cdd5f90e64 (svn r12473) -Codechange: move EngineList to a more logical location. 17 years ago
rubidium ff3a401404 (svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo. 17 years ago
rubidium 0f552a88a7 (svn r12471) -Codechange: move SignID to a more logical location. 17 years ago
rubidium 4c63dd074e (svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h. 17 years ago
rubidium 878489e38d (svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h. 17 years ago
rubidium 58e6e75320 (svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h. 17 years ago
rubidium 7f139373aa (svn r12467) -Codechange: move DepotID to a more logical location. 17 years ago
rubidium 450d234745 (svn r12466) -Codechange: move DestinationID to a more logical location. 17 years ago
rubidium cb96caa3d2 (svn r12464) -Change: remove an include that doesn't define anything anyway. 17 years ago
rubidium b4dafb3036 (svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist. 17 years ago
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 17 years ago
rubidium d8cfb4f064 (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. 17 years ago
belugas 79f033c78f (svn r12457) -Codechange: Move signal enums on their own header. 17 years ago
glx 64797f06eb (svn r12456) -Update: apply english.txt changes from r12455 to other languages 17 years ago
glx 226e48cf83 (svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type display for industries) 17 years ago
glx d4f7f5e5fe (svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this chain of vehicles with the same ID' (thx DaleStan)
-Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
17 years ago
peter1138 b8ac06b462 (svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and unnecessary rgb to bgr swapping. 17 years ago
glx bbdb831301 (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. 17 years ago
peter1138 5ddb78af9f (svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
peter1138 7df7a3069c (svn r12450) -Codechange: Use a pointer instead of several array dereferences. 17 years ago
belugas 3343586c84 (svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level 17 years ago
rubidium 692ac96625 (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 17 years ago
peter1138 9676d90a95 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. 17 years ago
peter1138 ffe07b9292 (svn r12445) -Fix: Add missing compile asserts for window data structs 17 years ago
belugas 3256b24dd6 (svn r12444) -Fix: A little typo 17 years ago
rubidium 63ab877c27 (svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need to keep to ask people for their version number because it's likely they give you the wrong answer anyway. 17 years ago
skidd13 2405ffd855 (svn r12442) -Feature: Allow build leveled roads on slopes for the old ai 17 years ago
rubidium e9dad7637e (svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus. 17 years ago
skidd13 b490a21e50 (svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
-Feature: Allow to build/remove more road-piece combinations directly
17 years ago
rubidium 3d03eab9bc (svn r12439) -Fix [FS#1871]: do not 'disable' the drawing of autorail overlays when the tile is 'error'-marked (red pulsating selection). Patch by Icosikai. 17 years ago
rubidium 67c1e00aea (svn r12438) -Fix-ish: typo spotted by Biblo. 17 years ago
peter1138 f9e7b70f91 (svn r12436) -Cleanup: minor coding style 17 years ago
rubidium 989f967509 (svn r12435) -Fix: do not remove the case from the Brazilian Portuguese translation while it is still in use. 17 years ago
rubidium 3d8bd6245e (svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik. 17 years ago
rubidium f241b0acd4 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 17 years ago
rubidium 327e870962 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 17 years ago
bjarni 06c0e5df5a (svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
17 years ago
maedhros 97fb7fb8d9 (svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm. 17 years ago
skidd13 82eebc20c0 (svn r12419) -Cleanup: of the internal road-piece building and removing. 17 years ago
maedhros 2023f59541 (svn r12417) -Fix: Add a new plural rule for Icelandic. 17 years ago
peter1138 6184676ec7 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 17 years ago
miham 237524f960 (svn r12408) -Update: WebTranslator2 update to 2008-03-25 09:44:24
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 8 fixed by arnaullv (8)
czech      - 1 fixed by Hadez (1)
french     - 8 fixed by glx (8)
hungarian  - 10 fixed by miham (10)
icelandic  - 9 fixed, 1 changed by scrooge (10)
italian    - 8 fixed by lorenzodv (8)
korean     - 1 fixed by darkttd (1)
russian    - 8 fixed by Smoky555 (8)
ukrainian  - 1 fixed by mad (1)
17 years ago
glx fed6a25799 (svn r12407) -Add [FS#1866]: more language flags for servers 17 years ago
rubidium 4a16a8b948 (svn r12405) -Codechange: some coding style and 'untodoifying' some comments that were certainly not todos. 17 years ago
rubidium 67190b2906 (svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now. 17 years ago
rubidium 516282fe3c (svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner. 17 years ago
rubidium 37d961c8e7 (svn r12402) -Fix: some toolbars didn't seem to show anymore. 17 years ago
glx 3f3598bd76 (svn r12401) -Fix (r9754): when loading TTD savegame some data were lost (profits, ...) due to a 'reallocation' for vehicle type conversion. The conversion is now done before loading the vehicle chunk. 17 years ago
rubidium 83fec1b297 (svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places. 17 years ago
rubidium 65c7ef9629 (svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik. 17 years ago
rubidium fb755e6e87 (svn r12397) -Codechange [FS#1856]: enumify widget number for time tables. Patch by Phil Sophus. 17 years ago
rubidium c7d4c0e269 (svn r12396) -Codechange: change a few things to reflect that we aren't aiming for 0.6 anymore in trunk. 17 years ago
rubidium 4094e9b495 (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. 17 years ago
maedhros 389d89ea49 (svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again. 17 years ago
maedhros 292cfc56f6 (svn r12391) -Feature: Show whether a town is a "city" in the town description title bar. 17 years ago
rubidium f0538b4b62 (svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel entrances. 17 years ago
rubidium 5d747802f2 (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. 17 years ago
maedhros 9dffdaca0d (svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback. 17 years ago
miham 55dcd4f94d (svn r12387) -Update: WebTranslator2 update to 2008-03-21 00:20:05
german     - 1 fixed by moewe2 (1)
icelandic  - 346 fixed by scrooge (346)
korean     - 2 fixed by darkttd (2)
portuguese - 6 fixed by nars (6)
russian    - 15 fixed by Smoky555 (15)
slovenian  - 6 fixed by Necrolyte (6)
17 years ago
smatz ac4ec8c2d2 (svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot 17 years ago
peter1138 ab7542e912 (svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken. 17 years ago
smatz 031c9da01c (svn r12384) -Fix (r2428): do not disconnect train when reversing, it may 'think' it is whole in a depot 17 years ago
peter1138 d27ab363a7 (svn r12383) -Fix [FS#1860]: Check return of AfterLoadGame for success or failure when loading TTD games. 17 years ago
glx faa1483ee6 (svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab 17 years ago
skidd13 a887b79f90 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo) 17 years ago
glx 985dbaa093 (svn r12380) -Fix: update train acceleration and max speed after setting cached value to ensure the correct max speed is used with disabled real acceleration 17 years ago
glx fbf70d53ec (svn r12379) -Codechange: removed now redondant InvalidateWindow() calls 17 years ago
glx 2b86efea74 (svn r12378) -Fix: refresh vehicle details window when cached values are updated 17 years ago
glx e2ec1e7032 (svn r12377) -Fix [FS#1854]: set cached value for vehicle property 25 before other cached values 17 years ago
peter1138 e27de79990 (svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget 17 years ago
glx 013d7db19f (svn r12373) -Fix [FS#1849]: win32 music driver fails if path is too long (128 chars is too much for mci it seems), so retry using the short path name (8.3 style) if available 17 years ago
glx 1abd2bd700 (svn r12372) -Fix: win32 music driver fails if path contains non-latin chars 17 years ago
smatz 756e0d9b6e (svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen 17 years ago
peter1138 058724b768 (svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed. 17 years ago
smatz 89e9bbfa98 (svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes 17 years ago
smatz bfae49aeb2 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 17 years ago
smatz 5db7288ea9 (svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error 17 years ago
glx f8bae50bf5 (svn r12366) -Codechange: use MAX_PATH instead hardcoded value 17 years ago
skidd13 9a96f89646 (svn r12365) -Fix: missing redraw call in the road gui 17 years ago
peter1138 d205e53392 (svn r12364) -Fix (r12361): Case attribute for brazilian_portuguese got lost. 17 years ago
smatz 902320d7cb (svn r12363) -Fix: do not allow building 'zero' road bits 17 years ago
frosch 84385f187b (svn r12362) -Fix (r11985, r12006): Randomize variable 8F only once per callback 28. 17 years ago
miham 761224a4f6 (svn r12361) -Update: WebTranslator2 update to 2008-03-12 09:46:45
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian  - 3 fixed, 1 changed by kokobongo (3), thetitan (1)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
danish     - 15 fixed by ThomasA (15)
dutch      - 2 fixed, 1 changed by habell (3)
estonian   - 2 fixed by kristjans (2)
french     - 2 fixed by glx (2)
german     - 15 fixed, 1 changed by moewe2 (16)
italian    - 2 fixed by lorenzodv (2)
portuguese - 9 fixed, 6 changed by nars (15)
slovak     - 2 fixed by lengyel (2)
slovenian  - 9 fixed by Necrolyte (9)
spanish    - 2 fixed, 2 changed by eusebio (4)
turkish    - 22 fixed by jnmbk (22)
ukrainian  - 2 fixed, 18 changed by mad (20)
17 years ago
glx 7056428d15 (svn r12360) -Fix: openttdd.grf was using the wrong colours for glyphs due to a grfcodec bug (fixed in grfcodec 0.9.10 r1837) 17 years ago
frosch ec59843136 (svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf version 7. 17 years ago
frosch 51bbf0c84f (svn r12352) -Fix: Some callback-results were treated as 8 bit, when they were 15 bit, and vice versa.
Var 0x7E procedure-results are always 15 bit.
  Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit.
  Non-varaction2-calculated callback-results are also affected by the 8bit masking.
17 years ago
glx 220b2a1ae1 (svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase) 17 years ago
belugas 82e340c325 (svn r12349) -Change[FS#1826]: Remove the need to include the afxres.h header when all that was needed was just the definition if IDC_STATIC.
Only valid for MSVC compilers.
17 years ago
smatz 2c74f39273 (svn r12348) -Fix (r7573): NTP skipped junction just after bridge end 17 years ago
frosch 08f0179916 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 17 years ago
frosch 8f556828f0 (svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP. 17 years ago
glx 1976d2d37c (svn r12345) -Fix [FS#1828](r12296): don't try to restore backupped timetable when timetabling is disabled 17 years ago
skidd13 442efcffb0 (svn r12344) -Codechange: Check uint64 bitsize on compiletime too. 17 years ago
peter1138 b4a51cd28d (svn r12343) -Fix (r12293): Slow helicopters never got the 'chance' to finish the landing routine. 17 years ago
belugas cd411ab75a (svn r12342) -Fix(r12340): In order to avoid confusion, SIGN should be used for signs and SIGNAL for signals :)
Always check your terms with your nearest british ;)
17 years ago
peter1138 f08cf32216 (svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size. 17 years ago
belugas a6ee46a5a0 (svn r12340) -Codechange: Remove some magic numbers (sprite IDs here) with some more meaningful values.
This allows to remove an unnecessary subtraction in the MAYBE_DAW_SIGNAL macro, who was waiting for an offset, at the first place.
17 years ago
peter1138 bc8ad5c743 (svn r12339) -Fix (r12331): Recalculate cached train data after clearing reversing flag when entering depot. 17 years ago
peter1138 9674ff71de (svn r12336) -Fix [FS#1733]: Don't pause/unpause the game when showing load/save windows when the game is paused due to missing GRFs. 17 years ago
peter1138 3907ac518b (svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned... 17 years ago
peter1138 e1cc80b01c (svn r12334) -Codechange: Don't change road owner without DC_EXEC. Didn't affect anything in this case but is bad form. 17 years ago
frosch 6e3ae628fc (svn r12333) -Fix: Switch grfstatus from 'activated' back to 'will-be-active' between reservation- and activation-stage.
This fixes action7/9 conditions 0x06 to 0x0A to return the same in those two stages.
17 years ago
peter1138 6bb37edfb6 (svn r12332) -Fix (r12331): Invalidate cached data and update image after setting flag. 17 years ago
glx b64f637c72 (svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8 17 years ago
glx cf0e6d4cb4 (svn r12330) -Feature: [NewGRF] vehicle variable FE bit 5 and 6 17 years ago
peter1138 5049fbb081 (svn r12329) -Fix [FS#1819]: Disallow building level crossings over one-way roads as this allowed competitors to remove the one-way state. 17 years ago
belugas 56ed79e448 (svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;) 17 years ago
smatz 620695587d (svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated 17 years ago
smatz 8dacca9a71 (svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it was comparing two the same strings (when caching was not used) 17 years ago
glx c4e023bd6e (svn r12322) -Fix (r9874): endian issue when saving/loading group owner 17 years ago
peter1138 f87b1df566 (svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all. 17 years ago
peter1138 3bba6e4abd (svn r12319) -Cleanup: Comment fixes (Roujin) 17 years ago
peter1138 9ccce57438 (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 17 years ago
peter1138 6bdc8e5fae (svn r12316) -Codechange: Support loading full range of 0xD0xx NewGRF strings which
includes 0xD000 to 0xD3FF (yes, 0xD0xx makes a lot of sense, really...) 
and handle 0xD400 to 0xD7FF strings which map to 0xD000 to 0xD3FF 
(obviously).
17 years ago
peter1138 034649e7f5 (svn r12314) -Fix (r4896): Include prop 25 data for all train parts, not just those that carry cargo. 17 years ago
frosch 35fd0dfd4e (svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes. 17 years ago
glx 86a4d377b1 (svn r12304) -Codechange: use IsValidTile() where it should be used 17 years ago
glx 35195bb2bc (svn r12303) -Codechange: move IsValidTile() in a more suitable place and make it static inline 17 years ago
glx 459fd42e1d (svn r12296) -Fix [FS#1549]: restore timetable from backupped orders and add group ID to the backup 17 years ago
peter1138 6aea2454c8 (svn r12295) -Codechange: Make plane speed option available to NewGRFs 17 years ago
peter1138 926f5d548d (svn r12293) -Feature: Ability to change aircraft speed factor, from so
called 'realistic' (matching other vehicles) (1/1) to original TTD 
speed (1/4). Note this option defaults to original TTD speed.
17 years ago
belugas 8f47b642b6 (svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram tracks.(Roujin) 17 years ago
belugas 46a3508f50 (svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated 17 years ago
belugas 202f1046f6 (svn r12288) -Fix(r12287): forgot to include two sprite renames out of consistency.
And obviously forgot to compile before committing, as the array rename would have been evident.
17 years ago
belugas 7c14dedeb6 (svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
A bit of re-indenting too
17 years ago
belugas 7e74fca7d8 (svn r12272) -Codechange: A bit of code style fixes (tabs instead of spaces), one space too many before macro definition and rename marco MB (MakeBridge) for MBR(MakeBRidge) 17 years ago
belugas 0a92b3366c (svn r12263) -Codechange: Give meaning to the concrete bridge sprites arrays.
Add macro MR (PALETTE_TO_STRUCT_RED) for easier viewing.
Still more to come.
17 years ago
belugas 3764aa5134 (svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
Add macro MN for easier viewing.
More to come.
17 years ago
glx 62d9bf8d0f (svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window 17 years ago
glx 4a4be744b6 (svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists 17 years ago
KUDr e41df385d7 (svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks michi_cc).
-Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were:
  1. never used
  2. obsoleted by switching to C++
17 years ago
frosch 93b3a66678 (svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) returned wrong values. 17 years ago
frosch c2f3e0e326 (svn r12246) -Fix (r10460): Proper usage of Clamp(). 17 years ago
smatz 27284db36f (svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer 17 years ago
glx f352512c8d (svn r12239) -Fix [FS#1800] (r9729): inverted comments for SetRailType() and GetTrackBits() (michi_cc) 17 years ago
bjarni 8290a798fc (svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments 17 years ago
bjarni 089969e1ca (svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing
This will remove duplicated code and ensure that the check is consistent
17 years ago
miham e821b3a9b8 (svn r12218) -Update: WebTranslator2 update to 2008-02-23 12:39:10
brazilian_portuguese - 13 fixed, 51 changed by fukumori (64)
bulgarian  - 12 fixed by thetitan (12)
catalan    - 13 fixed by arnaullv (13)
czech      - 13 fixed, 8 changed by Hadez (21)
dutch      - 13 fixed by habell (13)
estonian   - 13 fixed, 3 changed by kristjans (16)
french     - 13 fixed, 20 changed by glx (33)
hungarian  - 13 fixed by miham (13)
italian    - 13 fixed, 8 changed by lorenzodv (21)
japanese   - 13 fixed by ickoonite (13)
korean     - 14 fixed by leejaeuk5 (14)
portuguese - 2 fixed by nars (2)
slovak     - 13 fixed by lengyel (13)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 13 fixed by eusebio (13)
swedish    - 1 fixed by ChrillDeVille (1)
ukrainian  - 13 fixed, 1 deleted, 124 changed by mad (138)
17 years ago
peter1138 dda6cab17a (svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it. 17 years ago
belugas c0544563a6 (svn r12208) -Codechange: Alignment of params makes the code easier to read. 17 years ago
peter1138 577b0cc260 (svn r12207) -Change: rail running costs are engine class, not rail type 17 years ago
belugas 1b73417e5f (svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use it when needed. 17 years ago
peter1138 79b6b9cb66 (svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base) 17 years ago
smatz db9d5a909f (svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets 17 years ago
frosch 1e74834441 (svn r12203) -Fix (r12199): Make trains pay attention to signals again. 17 years ago
peter1138 e90cf8509a (svn r12202) -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen. 17 years ago
smatz a47b4631ea (svn r12201) -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled 17 years ago
smatz 767e1cc37e (svn r12200) -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere 17 years ago
frosch b7993793c8 (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
peter1138 9e65157548 (svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent. 17 years ago
smatz a190606f2e (svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
17 years ago
smatz e95a85315c (svn r12195) -Fix [FS#1787](r12100): there can be oil rigs at map borders, do not set water class for them 17 years ago
smatz 73a6525129 (svn r12194) -Codechange: apply coding style on enum TrainSubtype 17 years ago
frosch f5929d413b (svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'. 17 years ago
smatz ca46154068 (svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value 17 years ago
frosch 0e9e94a94b (svn r12191) -Fix: Do not start overtaking if the RV reaches wrong-way one-way-road in the next tiles. 17 years ago
smatz 2b8d1bcb51 (svn r12190) -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug for debug level 2 (patch by IguannaB) 17 years ago
smatz 169ac7c91d (svn r12189) -Codechange: mark some functions in train_cmd.cpp inline (called once or very short) 17 years ago
smatz 595d9357c3 (svn r12188) -Codechange [FS#1782]: do not check twice for correct rail owner (patch by Vikthor) 17 years ago
belugas b4b5c09ff9 (svn r12187) -Add: frosch as dev. Last, but not least 17 years ago
smatz 6e9b952623 (svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land) 17 years ago
smatz adf1227290 (svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc) 17 years ago
smatz 578e833284 (svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime 17 years ago
smatz 0821df8537 (svn r12183) -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all 17 years ago
peter1138 a4c14fb442 (svn r12180) -Fix: Test purchase list loading/loaded sprites instead of unconditionally returning a possibly non-existant sprite. 17 years ago
smatz 509b3a3247 (svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability 17 years ago
smatz c7a8080c3a (svn r12178) -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code 17 years ago
smatz 29125c0e68 (svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges 17 years ago
smatz a0a225ab02 (svn r12176) -Codechange: one division less when playing sounds (patch by Dominik) 17 years ago
peter1138 a0fda5b969 (svn r12175) -Fix (r12174): Ensure the patches window is centred properly. 17 years ago
peter1138 b3f304cde3 (svn r12174) -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists. 17 years ago
peter1138 06de1215c1 (svn r12173) -Cleanup: Minor codestyle fixes. 17 years ago
peter1138 db0eb9570c (svn r12172) -Codechange: Allow buttons to resize in NewGRF settings window 17 years ago
smatz 38969fe46d (svn r12171) -Fix [FS#609]: return correct bridge price for AI when DC_QUERY_COST is set (patch by Raimar Falke)
It never happens in current code, but it is better to be ready for it
17 years ago
smatz d75cccf5d5 (svn r12170) -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_) 17 years ago
smatz 6bf44158c5 (svn r12169) -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik)
It improves the game appearance when playing with very small screen resolution
17 years ago
smatz 505951e9fa (svn r12168) -Fix: behave a bit better when 'R' is pressed during rail station dragging 17 years ago
smatz 8b56e7544e (svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed 17 years ago
smatz 291931bf50 (svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC) 17 years ago
glx 16e23a75fe (svn r12165) -Fix [FS#1652, FS#1773]: buffer overflow when drawing scrolling news 17 years ago
peter1138 7394b9d030 (svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept in 17 years ago
smatz 13781ec11b (svn r12163) -Fix [FS#1705]: if a train is 'stopping' when entering a depot, do not let it leave again 17 years ago
smatz ebe03109ad (svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by another town 17 years ago
smatz 4b7a812e55 (svn r12161) -Fix: towns will no longer build houses > 1x1 there where should be road (with 2x2, 3x3 grid town layouts) 17 years ago
smatz 058f39fe18 (svn r12160) -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per town, so weird things won't happen anymore 17 years ago
belugas e7173d3ba4 (svn r12159) -Codechange: Enumify some widget magical numbers
-Cleanup: apply a bit of code style.  Mostly re-indenting switch cases
17 years ago
belugas 245fccf22d (svn r12158) -Codechange: merge all the sprite recolouring mapping under a single function
-Fix: Handle the bridge recolouring mapping as the other features.  Although not specified by the specs, it seems to be implicit.
17 years ago
belugas b8f8d0ca51 (svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
-Codechange: Replace two magic numbers with according sprite names
17 years ago
smatz b4f58ebae4 (svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now 17 years ago
glx 044ca2bbf6 (svn r12155) -Fix (r12154): some warnings (always compile before commit) 17 years ago
glx 3e70ee6ed7 (svn r12154) -Codechange: removed a magic number 17 years ago
smatz a5f99154b7 (svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable 17 years ago
frosch a40d761d7f (svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID 17 years ago
frosch fd0f57a794 (svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID 17 years ago
frosch cedca22c60 (svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land. 17 years ago
frosch ef354e074f (svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land. 17 years ago
belugas 65a13a3022 (svn r12145) -Codechange: includes should be at the top of the source file
-Codechange: undefine a defined macro once work is finished, just in case
17 years ago
peter1138 ac5433a924 (svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast
aircraft slow down more rapidly than slower aircraft. This prevents them 
from reaching the end of the runway at high speed, and also stops slow 
aircraft from slowing down too much at the start of the runway.
17 years ago
peter1138 d1c741db4c (svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion. 17 years ago
frosch 4164d2488f (svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var 0x18, independent of grf version. 17 years ago
frosch 43c0f7ea8e (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. 17 years ago
belugas 739b118c6b (svn r12140) -Codechange: A bit of code style fixes(Geektoo). 17 years ago
peter1138 859d768bb7 (svn r12139) -Fix (r12124): The global variable value should be returned, not the variable. 17 years ago
smatz bb81de3c4c (svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it 17 years ago
peter1138 3371d02449 (svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown. 17 years ago
belugas 539c635efd (svn r12136) -Fix(r12135): Code style compliance and... code style as such 17 years ago
belugas 81b3652f37 (svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption. So remove one window definition and set manually the caption accordingly.
-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process.  Makes less magic around.
17 years ago
smatz a0ddc43e92 (svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
17 years ago
peter1138 b7cd791988 (svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values... 17 years ago
smatz fd51465c8b (svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places 17 years ago
smatz 480036254b (svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9 17 years ago
smatz 0d1e4237cf (svn r12130) -Cleanup (r12129): remove now unused strings from all language files 17 years ago
smatz 507728f46b (svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick) 17 years ago
peter1138 df7327b453 (svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) with v->PlayLeaveStationSound(), and remove wrapper function. 17 years ago
belugas 6bb9c474dd (svn r12127) -Codechange: Use a variable instead of calling the same function a few times. Again. Just a different value. 17 years ago
belugas c95ff294fb (svn r12126) -Codechange: Use a variable instead of calling the same function a few times 17 years ago
peter1138 63e306006b (svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially. 17 years ago
frosch c2bad6d22c (svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
-Fix: Add some variables that were missing in one or both cases.
17 years ago
peter1138 4d0c443953 (svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use. 17 years ago
peter1138 9f6fd72c09 (svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo) 17 years ago
peter1138 592e22cc3a (svn r12120) -Cleanup: const-ify parameters when checking for same cargopacket source. 17 years ago
peter1138 e76f7c9359 (svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere. 17 years ago
belugas f4334301e8 (svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents 17 years ago
smatz f19eca0905 (svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size 17 years ago
peter1138 f175e46208 (svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec 17 years ago
belugas cc2b8b574a (svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used. 17 years ago
smatz 1011ac353b (svn r12109) -Fix [FS#1745](r8973): use tile index 0 for planes in the air, so it cannot have an invalid tile index 17 years ago
peter1138 fb6accfcb7 (svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around. 17 years ago
belugas 4f0e6ab0ea (svn r12107) -Codechange: Add and use the typedef BridgeType 17 years ago
belugas d8b3526840 (svn r12106) -Fix(r12105): Kill warnings and raise an error when the transport type is not supported 17 years ago
belugas 9a50fcd281 (svn r12105) -Codechange: Use TransportType instead of guessing what kind of bridge we are preparing to build 17 years ago
smatz 9e0a93d286 (svn r12104) -Fix (r12103): remember loading indicators transparency settings and make in switchable by Ctrl+9 17 years ago
smatz 8a768652c8 (svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings 17 years ago
maedhros 4e839aacf6 (svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin) 17 years ago
smatz e075cf5500 (svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles 17 years ago
smatz ad933e1ddb (svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders 17 years ago
smatz 9deab65bae (svn r12098) -Fix: make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile 17 years ago
glx efe831934a (svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames. 17 years ago
smatz d9af979d6a (svn r12096) -Fix: remove leftover property when loading older savegames 17 years ago
smatz e3301db213 (svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road. 17 years ago
smatz 802c949755 (svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes 17 years ago
smatz 221494bd3f (svn r12093) -Fix: do not set station owner for buoys when merging company 17 years ago
belugas cebb86777a (svn r12092) -Fix(r11532)[FS#1755]: Make sure the production level will not get out of delimited boundaries, while using var result 0D/0E and than multiplying/dividing it.
And use multiply/divide operations instead of shifting.  It does the same, just adds a bit more readability
17 years ago
belugas a782ab3903 (svn r12091) -Codechange : remove all production level magic numbers and replace them by enums 17 years ago
belugas cf9447c15b (svn r12090) -Codechange : removed a magic number and code style application on enum ExpensesType 17 years ago
smatz 8195e57fd4 (svn r12088) -Fix: assert when loading savegame with wrong tiletype at south map borders 17 years ago
glx e2de86f951 (svn r12087) -Fix: MSVC warnings 17 years ago
glx 731137678c (svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries when mapping newgrf entities to 'real' entities 17 years ago
frosch 7b9efcea21 (svn r12085) -Fix(r12058): Road vehicles could get stuck, when NPF told them to reverse on junction tiles. (spotted by SmatZ) 17 years ago
frosch 2173b03144 (svn r12084) -Fix: 'Early retirement'-properties are signed. 17 years ago
belugas 034150c199 (svn r12081) -Codechange: Rename table/roadveh.h to table/roadveh_movment.h
It is more descriptive name and it will not upset the generate script anymore
17 years ago
glx b68f398cac (svn r12080) -Fix: update waypoint signs when changing language 17 years ago
peter1138 1bcc1927b1 (svn r12079) -Fix: Use search paths when opening console scripts. 17 years ago
glx eb0d50aaff (svn r12076) -Fix: when reusing a renamed deleted waypoint, keep the new name 17 years ago
peter1138 a187d92d87 (svn r12075) -Codechange: Remove explicit numbering on command enum, and remove blanks from command list where old commands have been removed. 17 years ago
smatz 8606e70819 (svn r12074) -Cleanup: use C++ variable scope and declaration in DrawTile_Trees() 17 years ago
smatz c0c9b80db3 (svn r12073) -Codechange: stop drawing trees a bit earlier when they are invisible 17 years ago
frosch 918591c05b (svn r12072) -Fix: Make docks at sea flood neighboured tiles. 17 years ago
frosch 7860d8d18a (svn r12071) -Feature(ette): Draw river- and canal-edges under docks and shipdepots. 17 years ago
frosch e95e887772 (svn r12070) -Cleanup(r12042): Water-owner of shipdepots is no longer needed. Removed. 17 years ago
belugas 94f4217984 (svn r12069) -Feature[newGRF]: Specify the purchase, rail and road description of a bridge. 17 years ago
belugas 5049ff8e8e (svn r12068) -Fix(r12067): forgot a return 17 years ago
peter1138 f29c748d4c (svn r12067) -Cleanup: Codestyle on loading object references 17 years ago
belugas 62b3520e51 (svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpec
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec
-Codechange: Rationalize the use of Bridge type pointer
17 years ago
belugas 80daad8d4d (svn r12065) -Codechange : removed a now useless declaration ( orig_bridge ) 17 years ago
belugas 3003986e67 (svn r12064) -Codechange : Give grf bridges their own ResetBridges function, and put bridge spec in table/bridge_land.h, where it should be. 17 years ago
smatz c261218cf5 (svn r12063) -Cleanup: use C++ indenting and variable scope/declaration in BuildTownHouse() 17 years ago
smatz 146779b158 (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 23c669fe50 (svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymore 17 years ago
smatz dbfdc5df94 (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 b35611dae3 (svn r12059) -Fix (r12041): industries prop 24 is a word 17 years ago
frosch 5e7c8012ec (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 04ef38ec60 (svn r12057) -Fix: slowdown train when approaching 90deg turn when 90deg turns are forbidden 17 years ago
frosch 2a2aa1d22a (svn r12056) -Fix [FS#1704]: Enable YAPF to start searching inside a wormhole. 17 years ago
smatz b206e50f80 (svn r12055) -Fix: another way to fix AI trying to build road through depots 17 years ago
peter1138 a528dc89c7 (svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types... 17 years ago
maedhros 2588879c6d (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 20e9abed47 (svn r12050) -Fix: random_func broke for desync debug. 17 years ago
smatz 0ca3977af8 (svn r12049) -Fix (r10496)(r10619): memset on multibyte array with wrong byte count 17 years ago
belugas 1e51090e74 (svn r12048) -Cleanup: Move some strings in the original bridge array, adjust documentation a bit. 17 years ago
belugas 90973cdcef (svn r12045) -Feature-ette(newGRF): Add support for var 12, Variational Action 2 17 years ago
rubidium 612ba5c787 (svn r12044) -Fix [FS#1741]: crash when centering on a vehicle (aircraft) that is outside of the map. 17 years ago
smatz f3663fd25c (svn r12043) -Fix [FS#1736]: allow building transmitters and lighthouses on tree tiles 17 years ago
peter1138 1d891a8b15 (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 7cf2c83462 (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 fc4f6dcfb1 (svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz). 17 years ago
peter1138 7a78a1b51a (svn r12038) -Fix: Change ownership of or remove statues when merging/bankrupting companies. 17 years ago
glx 525409b0fc (svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class 17 years ago
peter1138 67782add11 (svn r12036) -Fix: For station tiles, only get road types for road stops. 17 years ago
frosch 45b79bc9f1 (svn r12035) -Fix [FS#1702]: Teach YAPF where trams can reverse, and where not. 17 years ago
belugas 803a1e2353 (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 6537d13c8a (svn r12033) -Fix: do not show train speed as zero after loading paused game 17 years ago
peter1138 e0849acc5a (svn r12032) -Fix: When removing a statue, remove town statue flag for the statue owner, not current player. 17 years ago
peter1138 be548ee224 (svn r12031) -Fix [FS#1689,FS#1719]: Prevent towns from removing or claiming ownership of player owned tiles when growing. 17 years ago
miham f3ecaf796e (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 a1c543e064 (svn r12029) -Feature: Allow trees on shore. 17 years ago
frosch fe9891c8ec (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 2ef11e0b8b (svn r12026) -Update: 'exit' is consistent with UK English in OpenTTD, 'quit' with US English 17 years ago
miham bc1542d483 (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 1608d67030 (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 a2b35067dd (svn r12023) -Fix [FS#1690]: Put a better suited text in the quit-dialog. 17 years ago
belugas caf7e8655c (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 953c3cb6df (svn r12021) -Cleanup: Make some parts of the town growth a bit more descriptive
-Codechange: Remove some needless checks
17 years ago
frosch 46589fa827 (svn r12020) -Documentation: Correct description of TropicZone. 17 years ago
peter1138 1cdee354b4 (svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains. 17 years ago
belugas 94aa04948c (svn r12018) -Fix(FS#1721,r9563): Restore initial intent on the invisible tree while transparent building patch setting 17 years ago
rubidium 44f4ebffed (svn r12017) -Fix: when you have more than 9 network interfaces you'll enter the wonderfull world of overflows. 17 years ago
egladil be6737a2db (svn r12016) -Fix (r12003): os x compilation was broken again ;) 17 years ago
peter1138 fb8973c64a (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 a736e8500a (svn r12014) -Fix: lighthouses and transmitters were never supposed to be build on a slope. 17 years ago
frosch 9c4cb84c03 (svn r12013) -Fix: When modifying watered tiles, mark neighboured canals and rivers dirty in more cases. 17 years ago
frosch 7cf4f09c26 (svn r12012) -Fix (r11795): Enable TownRatingTestMode during cost estimation with 'shift'-key. 17 years ago
frosch cda0e9f91c (svn r12011) -Fix [FS#1701]: Do not consider one-corner-raised-shores to be watered tiles from all sides. 17 years ago
smatz 379f89fc7e (svn r12010) -Fix (r11994): build tramway window should use STR_WHITE_TRAMWAY_CONSTRUCTION 17 years ago
peter1138 b20d220333 (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 02f774793b (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 fdd71514b2 (svn r12007) -Fix (r12003): win32 compilation was broken again ;) 17 years ago
rubidium 1629699094 (svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712. 17 years ago
rubidium c9a9103566 (svn r12005) -Fix [FS#1717]: possible reading from an invalid pointer. Patch by PhilSophus. 17 years ago
rubidium 3b2145aafe (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
rubidium fde33b5547 (svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places. 17 years ago
peter1138 1a9b741e43 (svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs. 17 years ago
frosch d3c7a35d22 (svn r12001) -Fix: When skipping Action 11 or 12, also skip belonging sprites. 17 years ago
frosch abc6e70447 (svn r12000) -Fix (r11926): If no river NewGRF is loaded, use sloped water from locks. 17 years ago
frosch a1b98cda59 (svn r11999) -Fix: Do entrance-slope-check for every tile of railstations. 17 years ago
smatz a9031cc5f5 (svn r11998) -Fix [FS#1692](r10053): possible remote assert by setting bit 6 of p1 for CMD_REMOVE_ROAD 17 years ago
belugas 0253b1d02a (svn r11997) -Fix(FS#1712, r11985): Remove the code temporary, until a better scheme is implemented. 17 years ago
smatz c8ba8d930b (svn r11996) -Fix [FS#1706]: update train statusbar when stopping from zero speed 17 years ago
maedhros c5b81c9382 (svn r11995) -Cleanup (r11994): Change the string names in all the other languages. 17 years ago
maedhros 21eef65e77 (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 0847def759 (svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long. 17 years ago
bjarni 7b29dcde3c (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 97a1cbdfa1 (svn r11991) -Cleanup: Remove strings removed in r11990 17 years ago
peter1138 c6656d6b2f (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 2fc2188127 (svn r11989) -Fix: Resize autoreplace window to fit purchase information text if it is too large. 17 years ago
peter1138 c99eb9e456 (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 d3990083d3 (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 e214e03c28 (svn r11985) -Feature[FS#1697, newGRF]: Implement var 8F(random bits) during callback 28 (Industry location permissibility) 17 years ago
frosch b329781ab2 (svn r11984) -Fix: Also draw corner shores under rail tracks. 17 years ago
frosch 6f6708e844 (svn r11983) -Codechange: Add some helper functions for slopes and use them. 17 years ago
frosch d11aeb118c (svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games. 17 years ago
peter1138 eeeeeb9336 (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 bbdc5a9314 (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 4991dcecc7 (svn r11978) -Codechange: Replace some global variables with window owned ones 17 years ago
belugas 44d085af6c (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 1fc0c0d2dc (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 da754951f1 (svn r11974) -Fix [FS#1684]: Shore and sea tiles under bridges were converted to canals in old savegames. 17 years ago
frosch 79aa7247c0 (svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner shores, if shores got replaced by ActionA. 17 years ago
smatz 5f9a877376 (svn r11972) -Fix: old AI shouldn't build fast planes with a small airport in orders 17 years ago
peter1138 697b07c99c (svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
peter1138 9c65bcea7d (svn r11970) -Cleanup: Remove old comment 17 years ago
smatz 541247c830 (svn r11969) -Codechange: documentation update, there are no 'track bits under bridge' anymore 17 years ago
smatz 5a7c903770 (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead 17 years ago
smatz b5641ae0f2 (svn r11967) -Fix (r1400): MP_ROAD can have railbits too - OPF searching over rail of diffent owner behind crossing 17 years ago
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
17 years ago
smatz 4cb91fa591 (svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1 17 years ago
peter1138 b718cae67d (svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly. 17 years ago
belugas 9c16461c29 (svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction 17 years ago
smatz d6eaf1a11a (svn r11962) -Cleanup: OPF is no longer used to update signals 17 years ago
belugas 4a3e135086 (svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: informations about current map size. 17 years ago
smatz 0b888ccc00 (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions 17 years ago
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.
17 years ago
smatz a31ebdb2be (svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when there were any tram grfs loaded 17 years ago
peter1138 e35cf20a23 (svn r11957) -Codechange [FS#1678]: Minor simplification and optimisation when checking for available road/rail types (bilbo) 17 years ago
peter1138 0f966a316a (svn r11956) -Fix [FS#1675]: Disallow building locks and docks on rapids. 17 years ago