Commit Graph

3115 Commits

Author SHA1 Message Date
belugas 3343586c84 (svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level 2008-03-27 17:06:35 +00:00
rubidium 692ac96625 (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 2008-03-27 15:59:56 +00:00
peter1138 9676d90a95 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. 2008-03-27 15:51:11 +00:00
peter1138 ffe07b9292 (svn r12445) -Fix: Add missing compile asserts for window data structs 2008-03-27 15:48:54 +00:00
belugas 3256b24dd6 (svn r12444) -Fix: A little typo 2008-03-27 15:46:58 +00:00
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. 2008-03-27 15:29:42 +00:00
skidd13 2405ffd855 (svn r12442) -Feature: Allow build leveled roads on slopes for the old ai 2008-03-27 14:46:27 +00:00
rubidium e9dad7637e (svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus. 2008-03-27 14:34:29 +00:00
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
2008-03-27 14:26:31 +00:00
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. 2008-03-27 14:10:09 +00:00
rubidium 67c1e00aea (svn r12438) -Fix-ish: typo spotted by Biblo. 2008-03-27 13:59:35 +00:00
peter1138 f9e7b70f91 (svn r12436) -Cleanup: minor coding style 2008-03-26 19:18:30 +00:00
rubidium 989f967509 (svn r12435) -Fix: do not remove the case from the Brazilian Portuguese translation while it is still in use. 2008-03-26 16:46:33 +00:00
rubidium 3d8bd6245e (svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik. 2008-03-26 11:50:53 +00:00
rubidium f241b0acd4 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 2008-03-26 10:38:31 +00:00
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. 2008-03-26 10:08:17 +00:00
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)
2008-03-25 21:58:13 +00:00
maedhros 97fb7fb8d9 (svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm. 2008-03-25 19:56:16 +00:00
skidd13 82eebc20c0 (svn r12419) -Cleanup: of the internal road-piece building and removing. 2008-03-25 18:59:25 +00:00
maedhros 2023f59541 (svn r12417) -Fix: Add a new plural rule for Icelandic. 2008-03-25 17:39:02 +00:00
peter1138 6184676ec7 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 2008-03-25 12:10:13 +00:00
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)
2008-03-25 08:45:21 +00:00
glx fed6a25799 (svn r12407) -Add [FS#1866]: more language flags for servers 2008-03-24 20:30:08 +00:00
rubidium 4a16a8b948 (svn r12405) -Codechange: some coding style and 'untodoifying' some comments that were certainly not todos. 2008-03-24 06:52:52 +00:00
rubidium 67190b2906 (svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now. 2008-03-24 06:38:20 +00:00
rubidium 516282fe3c (svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner. 2008-03-24 06:32:53 +00:00
rubidium 37d961c8e7 (svn r12402) -Fix: some toolbars didn't seem to show anymore. 2008-03-24 05:59:42 +00:00
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. 2008-03-24 00:52:28 +00:00
rubidium 83fec1b297 (svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places. 2008-03-23 21:31:43 +00:00
rubidium 65c7ef9629 (svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik. 2008-03-23 07:35:29 +00:00
rubidium fb755e6e87 (svn r12397) -Codechange [FS#1856]: enumify widget number for time tables. Patch by Phil Sophus. 2008-03-23 06:56:33 +00:00
rubidium c7d4c0e269 (svn r12396) -Codechange: change a few things to reflect that we aren't aiming for 0.6 anymore in trunk. 2008-03-22 19:54:50 +00:00
rubidium 4094e9b495 (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. 2008-03-22 16:23:47 +00:00
maedhros 389d89ea49 (svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again. 2008-03-22 11:29:03 +00:00
maedhros 292cfc56f6 (svn r12391) -Feature: Show whether a town is a "city" in the town description title bar. 2008-03-22 11:27:46 +00:00
rubidium f0538b4b62 (svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel entrances. 2008-03-22 10:56:08 +00:00
rubidium 5d747802f2 (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. 2008-03-22 10:50:50 +00:00
maedhros 9dffdaca0d (svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback. 2008-03-21 11:10:36 +00:00
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)
2008-03-20 23:20:46 +00:00
smatz ac4ec8c2d2 (svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot 2008-03-19 20:50:19 +00:00
peter1138 ab7542e912 (svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken. 2008-03-19 20:46:56 +00:00
smatz 031c9da01c (svn r12384) -Fix (r2428): do not disconnect train when reversing, it may 'think' it is whole in a depot 2008-03-19 20:42:05 +00:00
peter1138 d27ab363a7 (svn r12383) -Fix [FS#1860]: Check return of AfterLoadGame for success or failure when loading TTD games. 2008-03-18 23:01:33 +00:00
glx faa1483ee6 (svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab 2008-03-18 16:57:05 +00:00
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) 2008-03-18 12:28:21 +00:00
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 2008-03-17 22:13:00 +00:00
glx fbf70d53ec (svn r12379) -Codechange: removed now redondant InvalidateWindow() calls 2008-03-17 22:04:15 +00:00
glx 2b86efea74 (svn r12378) -Fix: refresh vehicle details window when cached values are updated 2008-03-17 21:50:53 +00:00
glx e2ec1e7032 (svn r12377) -Fix [FS#1854]: set cached value for vehicle property 25 before other cached values 2008-03-17 21:49:14 +00:00
peter1138 e27de79990 (svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget 2008-03-15 21:35:48 +00:00
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 2008-03-15 21:20:40 +00:00
glx 1abd2bd700 (svn r12372) -Fix: win32 music driver fails if path contains non-latin chars 2008-03-15 21:12:08 +00:00
smatz 756e0d9b6e (svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen 2008-03-15 20:32:42 +00:00
peter1138 058724b768 (svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed. 2008-03-15 19:50:06 +00:00
smatz 89e9bbfa98 (svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes 2008-03-15 19:24:13 +00:00
smatz bfae49aeb2 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 2008-03-15 13:21:31 +00:00
smatz 5db7288ea9 (svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error 2008-03-15 00:31:10 +00:00
glx f8bae50bf5 (svn r12366) -Codechange: use MAX_PATH instead hardcoded value 2008-03-14 18:31:37 +00:00
skidd13 9a96f89646 (svn r12365) -Fix: missing redraw call in the road gui 2008-03-13 18:53:49 +00:00
peter1138 d205e53392 (svn r12364) -Fix (r12361): Case attribute for brazilian_portuguese got lost. 2008-03-12 20:03:21 +00:00
smatz 902320d7cb (svn r12363) -Fix: do not allow building 'zero' road bits 2008-03-12 18:10:45 +00:00
frosch 84385f187b (svn r12362) -Fix (r11985, r12006): Randomize variable 8F only once per callback 28. 2008-03-12 15:56:56 +00:00
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)
2008-03-12 08:47:44 +00:00
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) 2008-03-12 01:49:21 +00:00
frosch ec59843136 (svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf version 7. 2008-03-11 12:55:41 +00:00
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.
2008-03-10 15:31:07 +00:00
glx 220b2a1ae1 (svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase) 2008-03-08 18:32:01 +00:00
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.
2008-03-07 02:40:10 +00:00
smatz 2c74f39273 (svn r12348) -Fix (r7573): NTP skipped junction just after bridge end 2008-03-07 00:47:42 +00:00
frosch 08f0179916 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 2008-03-06 14:21:10 +00:00
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. 2008-03-06 10:39:26 +00:00
glx 1976d2d37c (svn r12345) -Fix [FS#1828](r12296): don't try to restore backupped timetable when timetabling is disabled 2008-03-05 22:05:22 +00:00
skidd13 442efcffb0 (svn r12344) -Codechange: Check uint64 bitsize on compiletime too. 2008-03-05 18:51:26 +00:00
peter1138 b4a51cd28d (svn r12343) -Fix (r12293): Slow helicopters never got the 'chance' to finish the landing routine. 2008-03-05 18:33:31 +00:00
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 ;)
2008-03-05 11:41:26 +00:00
peter1138 f08cf32216 (svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size. 2008-03-05 09:37:43 +00:00
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.
2008-03-05 02:49:06 +00:00
peter1138 bc8ad5c743 (svn r12339) -Fix (r12331): Recalculate cached train data after clearing reversing flag when entering depot. 2008-03-04 21:49:40 +00:00
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. 2008-03-04 12:15:33 +00:00
peter1138 3907ac518b (svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned... 2008-03-04 12:14:34 +00:00
peter1138 e1cc80b01c (svn r12334) -Codechange: Don't change road owner without DC_EXEC. Didn't affect anything in this case but is bad form. 2008-03-04 12:13:15 +00:00
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.
2008-03-04 10:41:16 +00:00
peter1138 6bb37edfb6 (svn r12332) -Fix (r12331): Invalidate cached data and update image after setting flag. 2008-03-03 21:42:37 +00:00
glx b64f637c72 (svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8 2008-03-03 20:56:30 +00:00
glx cf0e6d4cb4 (svn r12330) -Feature: [NewGRF] vehicle variable FE bit 5 and 6 2008-03-03 20:41:47 +00:00
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. 2008-03-03 19:15:53 +00:00
belugas 56ed79e448 (svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;) 2008-03-03 18:20:42 +00:00
smatz 620695587d (svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated 2008-03-02 00:25:54 +00:00
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) 2008-03-01 23:53:58 +00:00
glx c4e023bd6e (svn r12322) -Fix (r9874): endian issue when saving/loading group owner 2008-02-29 22:55:57 +00:00
peter1138 f87b1df566 (svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all. 2008-02-29 15:20:02 +00:00
peter1138 3bba6e4abd (svn r12319) -Cleanup: Comment fixes (Roujin) 2008-02-29 13:57:50 +00:00
peter1138 9ccce57438 (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 2008-02-29 08:48:01 +00:00
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).
2008-02-29 08:40:49 +00:00
peter1138 034649e7f5 (svn r12314) -Fix (r4896): Include prop 25 data for all train parts, not just those that carry cargo. 2008-02-28 21:44:13 +00:00
frosch 35fd0dfd4e (svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes. 2008-02-28 17:34:34 +00:00
glx 86a4d377b1 (svn r12304) -Codechange: use IsValidTile() where it should be used 2008-02-28 00:17:49 +00:00
glx 35195bb2bc (svn r12303) -Codechange: move IsValidTile() in a more suitable place and make it static inline 2008-02-28 00:10:08 +00:00
glx 459fd42e1d (svn r12296) -Fix [FS#1549]: restore timetable from backupped orders and add group ID to the backup 2008-02-27 21:46:57 +00:00
peter1138 6aea2454c8 (svn r12295) -Codechange: Make plane speed option available to NewGRFs 2008-02-27 21:33:52 +00:00