frosch
26e9c4c489
(svn r14921) -Fix [FS#2507]: Do not try to calculate a center of a train-station, when there is none.
2009-01-08 18:08:14 +00:00
rubidium
c8c61e36bd
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
2009-01-08 16:35:45 +00:00
rubidium
b34b386588
(svn r14918) -Cleanup: remove unused constant.
2009-01-08 16:33:41 +00:00
rubidium
e39484e9a8
(svn r14916) -Codechange: make it possible to send CommandContainers directly to DoCommand(P).
2009-01-08 14:55:28 +00:00
rubidium
427e2d30c5
(svn r14915) -Codechange: unify the receiving and sending of commands, and thus unifying most of the validity checking too.
2009-01-08 14:40:18 +00:00
belugas
38bd396f90
(svn r14914) -Documentation: Correct doxygen comment for file name. <nitpicked> by Swallow
2009-01-08 14:38:21 +00:00
peter1138
85c0d42616
(svn r14912) -Codechange: Autoprobe 'null' blitter when built as dedicated-only.
2009-01-08 14:30:29 +00:00
peter1138
57cff4bca8
(svn r14911) -Fix (r14909): -D did not work
2009-01-08 14:10:39 +00:00
rubidium
d4b6cc997d
(svn r14910) -Codechange: merge the command queue handling into a single location
2009-01-08 13:57:50 +00:00
peter1138
020dbb180a
(svn r14909) -Codechange: Remove global option for the extmidi driver and make it a driver parameter with the name cmd instead. This means if you have an "extmidi = ..." line in your config you must change it to "musicdriver = extmidi:cmd=...", in the [misc] section.
2009-01-08 12:05:14 +00:00
peter1138
45f1d83bc7
(svn r14908) -Codechange: Add support for text parameters.
2009-01-08 11:40:42 +00:00
peter1138
6b6fd36050
(svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters.
2009-01-08 11:06:07 +00:00
rubidium
c71862174a
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
2009-01-07 18:59:46 +00:00
translators
6bd14cf1a1
(svn r14904) -Update: WebTranslator2 update to 2009-01-07 18:44:43
...
catalan - 19 fixed, 6 changed by arnaullv (25)
danish - 3 fixed by beruic (3)
finnish - 15 fixed by UltimateSephiroth (15)
french - 4 fixed by glx (4)
indonesian - 15 fixed by fanioz (12), rindu (3)
norwegian_bokmal - 37 fixed, 12 changed by khh (49)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish - 14 fixed by xaxa (14)
romanian - 29 fixed by kkmic (29)
thai - 10 fixed by angelix (10)
turkish - 29 fixed by Emin (29)
2009-01-07 18:44:56 +00:00
frosch
aedc0c1302
(svn r14903) -Fix: First create all articulated parts of roadvehicles, then call callback 36 capacity, also call it for all articulated parts.
2009-01-07 17:50:20 +00:00
frosch
cf1e926e37
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
2009-01-07 17:40:17 +00:00
rubidium
84dee1e738
(svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
...
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-07 16:11:27 +00:00
rubidium
fa22bcd456
(svn r14898) -Fix (r14897): ccache's caching seems to be a bit too agressive or so.
2009-01-07 15:36:37 +00:00
rubidium
8d017f0ea1
(svn r14897) -Codechange: don't allow a few command flags to be sent over the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client.
...
-Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-07 15:27:19 +00:00
rubidium
f5b23103d7
(svn r14896) -Codechange: remove an unused constant and the related dead code.
2009-01-07 14:58:43 +00:00
rubidium
5fcf07f388
(svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table
2009-01-07 14:45:07 +00:00
rubidium
d66d36126c
(svn r14890) -Codechange: move the notest information into the command table.
2009-01-07 13:31:09 +00:00
rubidium
cb81e637b0
(svn r14889) -Codechange: replace some magic numbers with constants.
2009-01-07 13:26:48 +00:00
rubidium
ebf0fbc969
(svn r14886) -Fix: remove (3) strings with non-UTF8 characters in Afrikaans.
...
-Fix: using non-ASCII characters in Afrikaans and Icelandic when there's an equivalent ASCII character, thus not needing a font to display all characters.
2009-01-07 12:54:26 +00:00
rubidium
9888afd6d0
(svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value.
2009-01-07 08:26:09 +00:00
smatz
1ada1a4ff2
(svn r14884) -Codechange: simplify code responsible for opening vehicle view windows
2009-01-07 02:03:07 +00:00
rubidium
2490f8f471
(svn r14881) -Fix (r14880): somehow make didn't think that widgets/dropdown.cpp did depend on window_gui.h...
2009-01-06 23:19:59 +00:00
rubidium
19edb3ccc3
(svn r14880) -Codechange: make it clear which way the FOR_ALL_WINDOWS goes (from back to front or vice versa) and make it iterate over the Window* instead of Window**.
2009-01-06 22:37:42 +00:00
michi_cc
6138f6a2bb
(svn r14876) -Fix [FS#2509] (r14849): Reserved path loop detection was broken for stations.
...
Don't set the test tile to the tile the very first iteration handles. Update the test tile instead in the loop.
2009-01-06 17:11:37 +00:00
peter1138
c0efc759ef
(svn r14869) -Feature: Allow road vehicles to move multiple steps in a tick (code based on train movement code) and add support for RV prop 15. This gives RVs a maximum speed of 318mph instead 79mph. This only implements higher speeds, not 'realistic acceleration'.
2009-01-06 14:45:38 +00:00
peter1138
680175fea0
(svn r14862) -Fix (r14421): min_players became min_active_clients, not min_clients
2009-01-06 10:22:48 +00:00
belugas
63e47ed480
(svn r14855) -Documentation: Apply some widget naming to the widget arrays. Based on Yorick's work
2009-01-06 00:27:53 +00:00
rubidium
9877b71ee0
(svn r14853) -Codechange: rename GetClosestStationFromTile to GetClosestDeletedStation as that's what it does instead of finding non-deleted stations.
2009-01-05 21:06:38 +00:00
michi_cc
13f06c812d
(svn r14852) -Feature: Automatic reversing in front of block signals can now be disabled by setting pf.wait_oneway_signal respectively pf.wait_twoway_signal to 255.
2009-01-05 20:29:05 +00:00
michi_cc
c9d25e20f0
(svn r14851) -Fix: A train reversing in a non-PBS block can't be stuck.
2009-01-05 20:29:00 +00:00
michi_cc
f9f9bb9c3c
(svn r14850) -Fix [FS#2503]: Reversing a stuck train that is then not stuck anymore did not always reset the waiting timer.
2009-01-05 20:28:56 +00:00
michi_cc
809d9bc498
(svn r14849) -Fix [FS#2478]: A train meeting its end could lead to an endless loop.
2009-01-05 20:28:51 +00:00
translators
9ad0c80e67
(svn r14848) -Update: WebTranslator2 update to 2009-01-05 18:44:14
...
afrikaans - 11 fixed by Alrich (11)
arabic_egypt - 19 fixed, 21 changed by khaloofah (40)
danish - 40 fixed, 1 changed by ThomasA (41)
dutch - 2 fixed, 25 changed by Excel20 (27)
hebrew - 8 fixed by EScake (8)
hungarian - 18 fixed by alyr (18)
italian - 18 fixed by lorenzodv (18)
norwegian_bokmal - 3 fixed, 11 changed by khh (14)
norwegian_nynorsk - 8 fixed by Grilldyret (8)
polish - 3 fixed by xaxa (3)
portuguese - 7 fixed by SnowFlake (7)
urdu - 9 fixed by yasirniazkhan (9)
2009-01-05 18:44:40 +00:00
rubidium
d642a55b91
(svn r14847) -Codechange: generalise the circular search to search around a rectangle (PhilSophus)
2009-01-05 17:48:54 +00:00
glx
c7959ce2a9
(svn r14840) -Cleanup: remove duplicate includes
2009-01-04 21:02:59 +00:00
smatz
ec7244d971
(svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated
2009-01-04 20:41:32 +00:00
smatz
e997463c88
(svn r14838) -Fix: race condition between me and WT2's translators
2009-01-04 19:17:41 +00:00
translators
1103353b57
(svn r14837) -Update: WebTranslator2 update to 2009-01-04 18:46:20
...
afrikaans - 39 changed by TrueTenacity (39)
arabic_egypt - 1 fixed, 13 changed by khaloofah (14)
catalan - 10 fixed by arnaullv (10)
dutch - 19 fixed, 2 changed by Excel20 (21)
finnish - 10 fixed by jpx_ (10)
french - 19 fixed by glx (19)
hebrew - 31 fixed, 7 changed by EScake (38)
hungarian - 2 fixed, 2 changed by IPG (3), alyr (1)
indonesian - 14 fixed by fanioz (14)
italian - 2 fixed by lorenzodv (2)
polish - 5 fixed by xaxa (5)
serbian - 31 fixed, 1 changed by nummer (32)
thai - 22 fixed by vetbook (22)
2009-01-04 18:46:35 +00:00
smatz
d7d95e0f43
(svn r14836) -Update (r14835): remove changed string from other languages
2009-01-04 18:37:28 +00:00
smatz
67bf6a0998
(svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too
2009-01-04 18:34:23 +00:00
rubidium
f1cc20edc0
(svn r14834) -Fix: some strings (in unfinished/) were forgotten when removed/updated
2009-01-04 18:05:06 +00:00
smatz
c1585376f0
(svn r14833) -Update (r14831): remove changed strings from other languages
2009-01-04 17:44:46 +00:00
smatz
9a09e5c4a0
(svn r14831) -Codechange: use {VEHICLE} instead of Train/Ship/Road veh/Aircraft/{STRING} {COMMA} in lang files (part by Swallow)
2009-01-04 17:42:46 +00:00
rubidium
e557c88667
(svn r14830) -Fix [FS#2495]: overflow of number of orders per vehicle (based on patch by Swallow)
2009-01-04 15:53:43 +00:00
smatz
9658c83a33
(svn r14829) -Fix (r14828): forgot CH_LAST
2009-01-04 15:46:50 +00:00
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
2009-01-04 15:32:25 +00:00
rubidium
c9e8fd307e
(svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai)
2009-01-04 14:51:49 +00:00
rubidium
ce5304f9a2
(svn r14826) -Fix [FS#2494]: infinite loop in order lookahead when reserving a path (Swallow)
2009-01-04 14:36:19 +00:00
rubidium
2283b8038f
(svn r14825) -Fix: pay the correct amount of interest instead of a few percent too little a year
2009-01-04 14:32:30 +00:00
rubidium
8c33893ffd
(svn r14824) -Fix [FS#1725]: mouse events could be treated twice (illogict)
2009-01-04 12:09:48 +00:00
rubidium
702c372744
(svn r14823) -Document: some variables/structs (Alberth)
2009-01-04 11:32:26 +00:00
rubidium
2a47aaf4a8
(svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars)
2009-01-04 11:11:11 +00:00
rubidium
e15231c4a4
(svn r14821) -Change [FS#2390]: make the road grids of town match, when all are using the same road layout ofcourse (cirdan)
2009-01-04 10:50:24 +00:00
rubidium
fad3519d4f
(svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu)
2009-01-03 23:40:29 +00:00
rubidium
3024850bb1
(svn r14819) -Change: make details and order menu stickyable, like the timetable window. Also let the detail/order/timetable window close eachther, like the detail and order windows already did, when not stickied.
2009-01-03 23:32:59 +00:00
smatz
799f30c663
(svn r14817) -Cleanup: unify the place where the @file header is placed
2009-01-03 22:20:18 +00:00
glx
502607410e
(svn r14816) -Fix: signed/unsigned warnings (MSVC)
2009-01-03 19:39:22 +00:00
smatz
09cd9a8017
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
2009-01-03 18:44:20 +00:00
translators
db56caff3d
(svn r14814) -Update: WebTranslator2 update to 2009-01-03 18:29:54
...
arabic_egypt - 9 fixed by khaloofah (9)
brazilian_portuguese - 9 fixed by tucalipe (9)
dutch - 9 fixed by Excel20 (9)
french - 10 fixed, 1 changed by glx (11)
hebrew - 31 fixed by EScake (31)
hungarian - 9 fixed by alyr (9)
indonesian - 32 changed by fanioz (32)
italian - 9 fixed by lorenzodv (9)
korean - 9 fixed by dlunch (9)
polish - 10 fixed by xaxa (10)
slovenian - 24 fixed by Necrolyte (24)
spanish - 14 fixed by eusebio (14)
thai - 95 fixed, 1 changed by vetbook (96)
ukrainian - 1 fixed, 6 changed by mad (7)
2009-01-03 18:30:10 +00:00
rubidium
11c25a72fa
(svn r14813) -Codechange: use uint instead of 'just' unsigned.
2009-01-03 17:28:22 +00:00
smatz
afef22e3e7
(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ
2009-01-03 17:11:52 +00:00
rubidium
6512d717e1
(svn r14811) -Fix: off-by-one causing possible out-of-bounds reads.
2009-01-03 17:10:20 +00:00
rubidium
099022224f
(svn r14810) -Codechange: use the proper style for global variables.
2009-01-03 17:09:31 +00:00
rubidium
455a6e4554
(svn r14809) -Fix (r14802): forgotten !
2009-01-03 16:35:25 +00:00
smatz
16fb54da5e
(svn r14808) -Fix (r1): coal mine subsidence could wrap around map edges
2009-01-03 16:27:52 +00:00
smatz
254e19da91
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
2009-01-03 16:06:58 +00:00
smatz
21308de6cb
(svn r14806) -Fix: MarkAllViewportsDirty() didn't mark dirty whole area when zoomed out, visible by aircraft leaving trails sometimes
2009-01-03 15:03:28 +00:00
rubidium
51b9091689
(svn r14805) -Feature [FS#2238]: pressing CTRL while dragging to build a bridge build the last built bridge type if possible (planetmaker)
2009-01-03 14:16:18 +00:00
rubidium
e5c1a7b5c3
(svn r14804) -Codechange: unify opening the OSK (Zuu)
2009-01-03 13:59:05 +00:00
rubidium
0d54db5f9f
(svn r14803) -Codechange: move order list management into it's own class and remove the order count from the savegame as we can easily count that (PhilSophus)
2009-01-03 13:52:06 +00:00
rubidium
fa2bf69a53
(svn r14802) -Fix [FS#2490]: "(undefined string)" in default savegame/screenshot names when there's no company in the game.
2009-01-03 13:27:08 +00:00
rubidium
d428da5a35
(svn r14801) -Codechange: don't reference Vehicle::num_orders directly but through a method GetNumOrders() (PhilSophus)
2009-01-03 13:20:32 +00:00
rubidium
18b27692aa
(svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth)
2009-01-03 11:24:27 +00:00
rubidium
fcee426b80
(svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth)
2009-01-03 11:07:43 +00:00
rubidium
d9bc99658b
(svn r14798) -Codechange: move variable declaration to first use of variable (Alberth)
2009-01-03 11:03:53 +00:00
rubidium
489584b85e
(svn r14797) -Codechange: replace even more magic numbers with constants (Alberth)
2009-01-03 11:00:40 +00:00
rubidium
c3954f2e38
(svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth)
2009-01-03 10:56:38 +00:00
rubidium
6913ae5a5f
(svn r14795) -Codechange: replace a magic number with a constant (Alberth)
2009-01-03 10:53:49 +00:00
rubidium
8ff93c2c14
(svn r14794) -Document: a few functions/variables (Alberth)
2009-01-03 10:52:22 +00:00
rubidium
f77503e5a3
(svn r14793) -Update (r14792): replace a string parameter in the other languages too
2009-01-03 01:01:12 +00:00
rubidium
35f5783c62
(svn r14792) -Feature: make the date format for default savegame/screenshot names configurable
2009-01-03 00:58:59 +00:00
rubidium
aff7feb767
(svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus)
2009-01-03 00:56:16 +00:00
rubidium
3a0d966ae4
(svn r14790) -Codechange: unify generation of default savegame/screenshot names (PhilSophus)
2009-01-02 22:49:43 +00:00
rubidium
1357b0a4c2
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
2009-01-02 22:42:05 +00:00
rubidium
2086fbcf17
(svn r14788) -Fix [FS#2489]: some TTDPatch flags were wrong (Swallow)
2009-01-02 22:18:05 +00:00
rubidium
35f76ce26b
(svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on.
2009-01-02 21:01:27 +00:00
rubidium
5b3a2ed2ab
(svn r14786) -Fix: road/rail/water/airport toolbar opened over terraform toolbar when toolbar linking is turned on.
2009-01-02 21:01:13 +00:00
rubidium
b3f2f40db7
(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
2009-01-02 20:59:04 +00:00
rubidium
bde4b6020a
(svn r14784) -Change: don't close and reopen the vehicle order/detail windows, just refocus them instead.
2009-01-02 20:01:28 +00:00
rubidium
0c352ede7a
(svn r14783) -Fix (r12661): don't add vehicles with "go to nearest depot" to the vehicle list of the depot with index 0.
2009-01-02 19:45:46 +00:00
translators
3000a62f53
(svn r14782) -Update: WebTranslator2 update to 2009-01-02 18:38:20
...
arabic_egypt - 7 fixed by khaloofah (7)
brazilian_portuguese - 14 fixed, 5 changed by tucalipe (19)
catalan - 14 fixed by arnaullv (14)
finnish - 14 fixed by jpx_ (14)
hungarian - 14 fixed by alyr (14)
indonesian - 6 changed by fanioz (6)
korean - 13 fixed by dlunch (13)
malay - 8 fixed by tombakemas (8)
serbian - 29 fixed, 2 changed by nummer (31)
thai - 2 fixed by chat9780 (2)
ukrainian - 13 fixed by mad (1), znikoz (12)
urdu - 20 fixed by yasirniazkhan (20)
2009-01-02 18:38:33 +00:00
rubidium
6513bf3a3a
(svn r14781) -Change: someone changed _cur_year; so update it in a few hardcoded places... happy new year!
...
-Fix (r11790): a few instances were forgotten.
2009-01-01 22:21:25 +00:00
rubidium
5a6d3a601d
(svn r14779) -Fix (r14747) [FS#2485]: selling an articulated vehicle removed only the first part and not the rest.
2008-12-31 17:52:42 +00:00
glx
9a5f4f28f4
(svn r14778) -Change: completely hide 'Submit report' button on crash dialog (MSVC)
2008-12-31 17:01:33 +00:00
peter1138
5f4aef3c11
(svn r14776) -Fix (r14742): ListPositionMap relied on std::map having sorted the map, which is now done by a manual key sorter on SmallMap. This fixes engine ID list sorting.
2008-12-30 21:04:09 +00:00
translators
3bf9e9e9c2
(svn r14775) -Update: WebTranslator2 update to 2008-12-30 18:44:32
...
arabic_egypt - 10 fixed, 2 changed by khaloofah (12)
croatian - 14 fixed, 63 changed by tperic (77)
indonesian - 13 fixed by rindu (13)
norwegian_nynorsk - 2 fixed by zibiam (2)
romanian - 13 fixed by kkmic (13)
serbian - 20 fixed by nummer (20)
turkish - 14 fixed by Emin (14)
2008-12-30 18:44:40 +00:00
rubidium
5c83e8a853
(svn r14774) -Change: show which tile caused the "error" when leveling land like raising and lowering does and use the same sound.
2008-12-30 15:32:46 +00:00
rubidium
32583bd405
(svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation.
2008-12-30 15:14:23 +00:00
rubidium
3c6add5293
(svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option.
2008-12-29 21:50:25 +00:00
rubidium
ad1c52abf8
(svn r14771) -Fix (r14764): resolving of error types to error messages kinda failed :(
2008-12-29 21:41:20 +00:00
rubidium
1ce965ed5f
(svn r14770) -Fix: gracefully handle an invalid packet instead of asserting.
2008-12-29 21:33:27 +00:00
rubidium
9f4132c739
(svn r14769) -Change: when loading games in "network" mode use the start date of the save game for the server and all clients when loading the NewGRFs instead of the current date. Prevents desyncs caused by action 7/9s skipping parts of the GRF based on the date or some other variables that can differ at NewGRF load time.
2008-12-29 20:36:12 +00:00
translators
d38d7f1297
(svn r14768) -Update: WebTranslator2 update to 2008-12-29 18:40:47
...
dutch - 13 fixed, 5 changed by Excel20 (18)
french - 13 fixed by glx (13)
hebrew - 22 fixed, 1 changed by yitzc (16), davidx123 (7)
italian - 13 fixed by lorenzodv (13)
norwegian_nynorsk - 94 fixed, 20 changed by Grilldyret (114)
portuguese - 14 fixed by rmrebelo (8), SnowFlake (6)
serbian - 32 fixed by nummer (32)
ukrainian - 1 fixed by mad (1)
2008-12-29 18:40:59 +00:00
rubidium
31d496342f
(svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type.
2008-12-29 15:46:14 +00:00
rubidium
e198bf02ab
(svn r14766) -Fix (r14730ish): remove unused typedef.
2008-12-29 11:17:12 +00:00
rubidium
deffb584b0
(svn r14765) -Update (r14764): remove changed strings from translations.
2008-12-29 10:40:43 +00:00
rubidium
a25e3f8d70
(svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable.
2008-12-29 10:37:53 +00:00
rubidium
703831ec6d
(svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :(
2008-12-28 22:23:43 +00:00
rubidium
105b84e343
(svn r14760) -Fix (rlongago): network connection of clients being closed twice (found due to added assertion in r14730)
2008-12-28 21:45:41 +00:00
rubidium
e626e07bd3
(svn r14759) -Fix (r14730): tab completion causing out-of-bounds read.
2008-12-28 21:07:45 +00:00
rubidium
ee952b10d9
(svn r14758) -Fix: determine the real size of a depot before trying to place it.
2008-12-28 20:53:19 +00:00
translators
c7d3ab3382
(svn r14757) -Update: WebTranslator2 update to 2008-12-28 18:41:48
...
arabic_egypt - 140 fixed, 26 changed by khaloofah (166)
czech - 1 fixed, 2 changed by Hadez (3)
dutch - 1 fixed by Excel20 (1)
french - 1 fixed by glx (1)
indonesian - 1 fixed, 69 changed by fanioz (70)
italian - 1 fixed by lorenzodv (1)
korean - 1 fixed, 3 changed by leejaeuk5 (4)
latvian - 58 changed by peerer (58)
lithuanian - 12 fixed by Enternald (12)
romanian - 1 fixed by kneekoo (1)
thai - 30 fixed by chat9780 (30)
2008-12-28 18:42:00 +00:00
rubidium
aa73cc9202
(svn r14756) -Update (r14755): remove removed string from other languages too.
2008-12-28 16:13:10 +00:00
rubidium
683b65ee18
(svn r14755) -Codechange: remove ending year as it can't be changed anyways.
2008-12-28 16:09:58 +00:00
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
2008-12-28 14:37:19 +00:00
smatz
53679122af
(svn r14753) -Fix (r1): after buying a company, one could have more vehicles with the same UnitID
2008-12-26 23:53:07 +00:00
rubidium
b8d82cc28c
(svn r14752) -Fix [FS#2438]: revenue when clearing land would show up in red in the land info window as negative cost.
2008-12-26 23:37:53 +00:00
smatz
f4d10ec033
(svn r14751) -Codechange: put VehicleEnterTile declaration where it should be and use correct return type
2008-12-26 22:44:13 +00:00
rubidium
21fa036c21
(svn r14750) -Fix [FS#1993]: in an MP game in SP mode no company would go bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt.
2008-12-26 21:49:00 +00:00
rubidium
c2466d9571
(svn r14749) -Codechange: replace a few wrapper functions that only called delete by a direct delete instead.
2008-12-26 21:16:15 +00:00
rubidium
3ebe66a5e4
(svn r14748) -Codechange: unduplicate window updating when deleting vehicles.
2008-12-26 21:08:51 +00:00
rubidium
f18043ee21
(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types.
2008-12-26 20:45:02 +00:00
smatz
73ca72922c
(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry
2008-12-26 19:37:50 +00:00
rubidium
1721222080
(svn r14745) -Codechange: move "depot_list" and "leave_depot_immediately" out of the vehicle struct (saving up to 16 bytes per vehicle) as it is only used to tell a calling function entered a depot (for autoreplace).
2008-12-26 18:26:11 +00:00
rubidium
a8cb9fa2f5
(svn r14744) -Fix [FS#2474]: don't tell loading a savegame failed in two distinct ways.
2008-12-26 18:24:05 +00:00
smatz
419f6e099f
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-26 18:01:15 +00:00
smatz
2e2086f3f8
(svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size
2008-12-26 13:50:46 +00:00
translators
435d920448
(svn r14741) -Update: WebTranslator2 update to 2008-12-25 18:48:16
...
arabic_egypt - 144 fixed, 3 changed by khaloofah (147)
indonesian - 74 changed by fanioz (74)
thai - 104 fixed, 38 changed by chat9780 (142)
2008-12-25 18:48:21 +00:00
smatz
5e79462685
(svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites neither
2008-12-24 23:20:30 +00:00
smatz
aeeb60868c
(svn r14739) -Fix (r13675): when a static GRF was forcibly disabled, wrong data was released, causing memory leaks and wrong behaviour or crashes
2008-12-24 23:01:16 +00:00
smatz
48af805ada
(svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status
2008-12-24 22:33:06 +00:00
smatz
921863da15
(svn r14737) -Fix (r10211): memory leak in Action 0x0F (new town names)
2008-12-24 21:25:09 +00:00
translators
4ec06cc478
(svn r14736) -Update: WebTranslator2 update to 2008-12-24 15:29:53
...
arabic_egypt - 8 fixed, 37 changed by khaloofah (45)
hebrew - 36 fixed by dodibitran (36)
indonesian - 39 changed by fanioz (39)
latvian - 7 fixed, 27 changed by peerer (34)
serbian - 31 fixed by Jenraux (31)
urdu - 79 fixed by yasirniazkhan (79)
2008-12-24 15:30:01 +00:00
rubidium
d1bb5e5f36
(svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
...
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-24 09:53:15 +00:00
smatz
5b26afbd6b
(svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte
2008-12-24 00:25:17 +00:00
rubidium
4a1f4144eb
(svn r14733) -Fix (r14730): creating new companies didn't always work as expected.
2008-12-24 00:03:47 +00:00
rubidium
c3746a55bb
(svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables.
2008-12-23 21:03:43 +00:00
rubidium
ece37ca2c0
(svn r14731) -Fix: don't initialise UDP multiple times without closing it.
2008-12-23 20:58:03 +00:00
rubidium
afddfcb2b1
(svn r14730) -Codechange: remove the need for networkclientsockets and networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
...
-Note: 255 should really be enough for now... making it any more means network protocol bumps.
2008-12-23 20:52:27 +00:00
rubidium
94dd23aaf8
(svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer.
2008-12-23 20:50:09 +00:00
rubidium
f7a52c4444
(svn r14728) -Fix [FS#2470]: don't select anything when opening the client list.
...
-Fix: don't show clients that are "only" in the lobby.
2008-12-23 17:12:20 +00:00
rubidium
bc8984a9bb
(svn r14727) -Codechange: replace some magic numbers with a constant.
2008-12-23 15:23:31 +00:00
rubidium
fb7ccc6820
(svn r14726) -Fix (r14720): making new companies in network kinda failed...
2008-12-23 12:26:19 +00:00
rubidium
f8f7febe41
(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the amount of slots in the array, but one less as a dedicated server takes a slot too.
2008-12-23 11:55:46 +00:00
rubidium
52fb6b7d7c
(svn r14724) -Codechange: move some NetworkClientSocket related function/definitions closer together.
2008-12-23 11:43:32 +00:00
rubidium
9476a49763
(svn r14723) -Codechange: shuffling some stuff around to reduce indirect #include dependencies.
2008-12-23 11:06:52 +00:00
rubidium
d501a20065
(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/
2008-12-23 10:42:06 +00:00
rubidium
ae96ca635c
(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as it's (way) more descriptive what it's used for.
2008-12-23 09:47:42 +00:00
rubidium
d95a485108
(svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the latter describes the name more precisely.
2008-12-23 09:02:41 +00:00
rubidium
b4734ee9a4
(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
2008-12-23 08:39:30 +00:00
rubidium
94e7f41a9d
(svn r14718) -Change: remove some direct network core variable accesses from non-network locations.
2008-12-22 21:38:03 +00:00
rubidium
f49cc67f83
(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ClientIndex
2008-12-22 21:30:21 +00:00
rubidium
573d1b324a
(svn r14716) -Codechange: move more network core querying to the network files.
2008-12-22 21:26:26 +00:00
rubidium
5b7cd460e9
(svn r14715) -Codechange: move some network code from the main gui file into one of the the network files.
2008-12-22 21:15:02 +00:00
rubidium
a687667448
(svn r14714) -Codechange: only allocate the company network "state" variables (password/months not used) when needed, i.e. only for servers.
2008-12-22 20:42:02 +00:00
translators
4511739377
(svn r14713) -Update: WebTranslator2 update to 2008-12-22 18:43:52
...
arabic_egypt - 14 fixed, 144 changed by khaloofah (158)
hebrew - 9 fixed, 1 changed by davidx123 (10)
hungarian - 17 changed by IPG (17)
indonesian - 136 changed by fanioz (119), sireno (17)
latvian - 116 fixed, 235 changed by peerer (351)
norwegian_nynorsk - 8 fixed by Thor (3), runarlu (2), DavidS (3)
urdu - 79 fixed by yasirniazkhan (79)
2008-12-22 18:44:01 +00:00
rubidium
abc903d625
(svn r14712) -Codechange: split server and client side w.r.t. the storage of network related company information.
2008-12-22 18:40:57 +00:00
rubidium
e6e32bad4d
(svn r14711) -Codechange: don't misuse the _network_company_info password field for changing the password on clients.
2008-12-22 18:20:28 +00:00
rubidium
887869c771
(svn r14710) -Change: simplify sending company information from the server to the client.
2008-12-22 15:17:14 +00:00
rubidium
782b80eff7
(svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays.
2008-12-22 12:59:31 +00:00
frosch
ebf51ffb6b
(svn r14707) -Cleanup: Replace an 'int' by 'Trackdir'.
2008-12-20 20:26:40 +00:00
translators
400626d882
(svn r14706) -Update: WebTranslator2 update to 2008-12-20 18:37:49
...
finnish - 17 changed by UltimateSephiroth (17)
indonesian - 81 changed by fanioz (81)
latvian - 137 fixed, 123 changed by peerer (260)
2008-12-20 18:38:00 +00:00
frosch
f1900768c0
(svn r14705) -Fix [FS#2460]: First transfer the whole load of a vehicle chain to industries before triggering any processing.
...
This reduces callback usage and resolves critical rounding errors when using input-cargo-multipliers instead of production callbacks.
2008-12-20 17:21:22 +00:00
frosch
5ea2dc97fd
(svn r14704) -Codechange: Add set capabilities to SmallVector.
2008-12-20 17:09:44 +00:00
frosch
8db5bda4f7
(svn r14703) -Fix (r8735): [YAPF] YapfRoadVehDistanceToTile() shall not abort searching at v->dest_tile, when it in fact tries to reach another tile.
2008-12-20 15:30:18 +00:00
frosch
74ed0b5efc
(svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile.
2008-12-20 11:51:52 +00:00
smatz
d1ea050232
(svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame)
2008-12-20 01:35:12 +00:00
frosch
383d8713cb
(svn r14699) -Fix (r14483): Do not use v->dest_tile for trains heading to a station. Reaching that tile does not mean reaching the station.
2008-12-20 00:16:23 +00:00
rubidium
395cb45039
(svn r14697) -Fix: some int vs unsigned int comparisons in strgen.
2008-12-19 23:24:42 +00:00
frosch
59fca8523f
(svn r14696) -Fix (r10495): Words now consist of 16 bits.
2008-12-19 23:13:51 +00:00
frosch
c20e6d3a13
(svn r14695) -Cleanup: When NTP is not active there is no need to set up TrainTrackFollowerData.
2008-12-19 22:26:43 +00:00
smatz
f52d1bd0ba
(svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy
2008-12-19 21:12:16 +00:00
smatz
a7f82bd11a
(svn r14693) -Codechange: replace one check in old AI (probably typo, but the effect was the same) (Yexo)
2008-12-19 20:53:38 +00:00
translators
e1565c5707
(svn r14692) -Update: WebTranslator2 update to 2008-12-19 18:43:35
...
arabic_egypt - 85 fixed by khaloofah (85)
estonian - 3 fixed by Kender (3)
galician - 2 fixed by Condex (2)
latvian - 170 fixed, 114 changed by peerer (284)
portuguese - 10 fixed by SnowFlake (10)
2008-12-19 18:43:42 +00:00
translators
6af6f576eb
(svn r14691) -Update: WebTranslator2 update to 2008-12-18 18:47:25
...
arabic_egypt - 132 fixed, 1 changed by khaloofah (133)
czech - 10 fixed, 25 changed by Hadez (35)
esperanto - 15 fixed by Athaba (15)
greek - 7 fixed by ouranogrammi (7)
indonesian - 88 changed by fanioz (88)
latvian - 117 fixed, 16 changed by peerer (83), marismols (50)
lithuanian - 15 fixed by Zogg (15)
malay - 38 fixed by tombakemas (5), Syed (33)
serbian - 39 fixed, 1 changed by Jenraux (40)
thai - 105 fixed by vetbook (105)
2008-12-18 18:47:39 +00:00
translators
b2c7e521d0
(svn r14686) -Update: WebTranslator2 update to 2008-12-17 18:01:03
...
arabic_egypt - 200 fixed, 28 changed by Azoo4oozi (228)
czech - 3 changed by Hadez (3)
indonesian - 1 fixed, 4 changed by fanioz (5)
korean - 1 changed by leejaeuk5 (1)
latvian - 299 fixed, 3 changed by marismols (302)
lithuanian - 79 fixed by Zogg (79)
serbian - 25 fixed by Jenraux (25)
2008-12-17 18:01:19 +00:00
rubidium
c7c65cf5bc
(svn r14683) -Change: only say a engine/vehicle is refittable when it can be refitted to at least two cargo type or when it has subcargos.
...
NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
2008-12-16 22:02:12 +00:00
frosch
b177c5fd9e
(svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ)
2008-12-16 20:15:36 +00:00
translators
014eb8fcf9
(svn r14681) -Update: WebTranslator2 update to 2008-12-16 18:42:42
...
arabic_egypt - 208 fixed, 18 changed by khaloofah (188), Azoo4oozi (38)
indonesian - 9 fixed by Gonrong (9)
norwegian_bokmal - 2 fixed by Thor (2)
portuguese - 2 fixed by rmrebelo (2)
serbian - 19 fixed by Jenraux (19)
thai - 20 fixed by vetbook (20)
2008-12-16 18:43:02 +00:00
frosch
a87af0d7e5
(svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for wagons.
...
Setting property 4 to 0xFF will protect the vehicle (engine or wagon) from expireing. (Necessary since early introduction dates)
Savegames will only be affected after 'resetengines'.
2008-12-16 18:09:40 +00:00
rubidium
1599ade7ca
(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
2008-12-16 17:58:27 +00:00
rubidium
bfe9743f20
(svn r14678) -Fix [FS#2435]: gradual filling graphics were not chosen according to the NewGRF spec (Maedhros)
2008-12-15 22:22:23 +00:00
translators
9edc4e8030
(svn r14677) -Update: WebTranslator2 update to 2008-12-15 11:38:07
...
arabic_egypt - 343 fixed, 3 changed by Azoo4oozi (153), khaloofah (193)
indonesian - 123 changed by adjayanto (95), fanioz (28)
macedonian - 74 fixed, 4 changed by sashozs (78)
simplified_chinese - 8 fixed by ww9980 (8)
traditional_chinese - 6 fixed by ww9980 (6)
2008-12-15 11:39:23 +00:00
frosch
e259fa8ede
(svn r14676) -Fix: Do not copy the signal type of parallel vertical/horizontal track, when dragging signals.
2008-12-14 19:52:55 +00:00
rubidium
79e20448f8
(svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle.
2008-12-14 16:56:28 +00:00
frosch
a5c02ba0a5
(svn r14674) -Fix (r4965): Check sprite size when executing action 6.
2008-12-13 19:43:57 +00:00
translators
4b12d83fdd
(svn r14673) -Update: WebTranslator2 update to 2008-12-13 18:45:31
...
arabic_egypt - 230 fixed by khaloofah (230)
indonesian - 2 fixed by Gonrong (2)
italian - 1 changed by lorenzodv (1)
portuguese - 12 fixed by SnowFlake (7), rmrebelo (5)
thai - 32 fixed by vetbook (32)
2008-12-13 18:45:37 +00:00
frosch
fab1a52963
(svn r14672) -Fix [FS#2444]: Property 7 and callback 12 were broken for aircraft.
...
Now callback 12 is properly called also for 'mail'.
If the callback is not used, 'mail' uses 1/4 of property 7 (rounded up).
2008-12-13 18:25:42 +00:00
smatz
d2a050bb29
(svn r14671) -Fix: compilation was broken for some systems
2008-12-13 18:19:44 +00:00
smatz
28028cf755
(svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation
2008-12-13 16:16:44 +00:00
smatz
3cd2957544
(svn r14669) -Codechange: use SmallVector instead of std::list at one place
2008-12-13 15:59:25 +00:00
rubidium
0bf775a20a
(svn r14668) -Change: use include <> instead of include "" when including ICU's headers.
2008-12-12 19:54:54 +00:00
translators
065e10fd1b
(svn r14667) -Update: WebTranslator2 update to 2008-12-11 18:45:04
...
arabic_egypt - 1207 fixed by khaloofah (1207)
indonesian - 30 fixed by fanioz (30)
malay - 21 fixed by Syed (21)
portuguese - 52 fixed, 3 changed by rmrebelo (55)
2008-12-11 18:45:10 +00:00
translators
f71429dc0f
(svn r14666) -Update: WebTranslator2 update to 2008-12-10 18:44:59
...
arabic_egypt - 306 fixed by khaloofah (306)
hebrew - 419 fixed, 45 changed by moshe (458), ybungalobill (6)
hungarian - 1 changed by alyr (1)
ido - 12 fixed by Cecile (12)
indonesian - 10 fixed by fanioz (10)
latvian - 1 fixed by pakalns (1)
portuguese - 17 fixed by rmrebelo (12), SnowFlake (5)
turkish - 161 changed by doesntmatter (161)
2008-12-10 18:45:17 +00:00
translators
be874f0cd0
(svn r14665) -Update: WebTranslator2 update to 2008-12-09 18:44:40
...
arabic_egypt - 301 fixed by khaloofah (301)
esperanto - 64 fixed, 2 changed by alekcxjo (66)
hebrew - 430 fixed by moshe (430)
hungarian - 10 changed by alyr (9), oklmernok (1)
indonesian - 49 fixed, 4 changed by fanioz (40), anansboga (13)
lithuanian - 5 fixed by Enternald (5)
portuguese - 6 fixed by SnowFlake (6)
thai - 333 fixed by vetbook (333)
2008-12-09 18:44:51 +00:00
translators
175228d036
(svn r14662) -Update: WebTranslator2 update to 2008-12-08 16:28:15
...
frisian - 216 fixed, 14 changed by Fryslân Boppe (230)
hebrew - 109 fixed, 2 changed by ybungalobill (111)
hungarian - 1 changed by oklmernok (1)
indonesian - 115 fixed by adjayanto (59), fanioz (56)
lithuanian - 24 fixed by Enternald (24)
malay - 41 fixed by Syed (41)
norwegian_nynorsk - 72 fixed by Thor (72)
turkish - 3 changed by Emin (3)
2008-12-08 16:29:36 +00:00
translators
d952324cfa
(svn r14660) -Update: WebTranslator2 update to 2008-12-06 18:44:39
...
croatian - 55 changed by knovak (55)
hebrew - 237 fixed, 2 changed by ybungalobill (239)
indonesian - 124 fixed, 11 changed by sireno (19), adjayanto (50), fanioz (66)
persian - 19 fixed by ali sattari (19)
russian - 1 fixed by ybungalobill (1)
traditional_chinese - 1 fixed by josesun (1)
turkish - 28 fixed by Emin (28)
2008-12-06 18:44:49 +00:00
rubidium
64c973ccc5
(svn r14658) -Change: allow changing town names when there are no towns in the scenario yet.
2008-12-05 22:46:39 +00:00
translators
c8cade5519
(svn r14657) -Update: WebTranslator2 update to 2008-12-05 18:44:56
...
afrikaans - 5 fixed by burgerd (5)
icelandic - 13 fixed by scrooge (13)
latvian - 101 fixed by Wersoo (101)
lithuanian - 4 fixed, 293 changed by linasmi (297)
malay - 40 fixed by Syed (40)
slovenian - 11 fixed by Necrolyte (11)
turkish - 78 fixed by Emin (78)
2008-12-05 18:45:05 +00:00
rubidium
bcb9a11754
(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
2008-12-05 18:02:04 +00:00
translators
1b91ec49c8
(svn r14655) -Update: WebTranslator2 update to 2008-12-04 18:47:16
...
croatian - 61 fixed by knovak (61)
hebrew - 192 fixed by davidx123 (192)
hungarian - 1 changed by IPG (1)
indonesian - 165 fixed, 6 changed by fanioz (121), dnaftali (50)
malay - 182 fixed, 1 changed by tombakemas (104), Syed (79)
2008-12-04 18:47:20 +00:00
translators
1b0bf2d264
(svn r14654) -Add: stub for Hebrew.
2008-12-04 00:34:52 +00:00
translators
7ce3c1e798
(svn r14653) -Update: WebTranslator2 update to 2008-12-03 19:27:43
...
danish - 10 fixed by ThomasA (10)
indonesian - 48 fixed by fanioz (48)
-Fix: WebTranslator2 went haywire on Croatian/Danish.
2008-12-03 19:31:15 +00:00
translators
cf6a167a1c
(svn r14652) -Update: WebTranslator2 update to 2008-12-03 18:43:05
...
croatian - 28 changed by knovak (28)
indonesian - 64 fixed, 1 changed by fanioz (50), dnaftali (15)
macedonian - 10 fixed by zharko (10)
malay - 267 fixed, 3 changed by tombakemas (270)
serbian - 29 fixed by dejac (29)
2008-12-03 18:43:10 +00:00
rubidium
217a72122a
(svn r14649) -Change: consistently use can't instead of primarily can't and a bit of cannot in english.txt.
2008-12-03 00:09:26 +00:00
translators
0b248ef69a
(svn r14648) -Update: WebTranslator2 update to 2008-12-02 18:46:52
...
croatian - 3 fixed, 5 changed by knovak (8)
hungarian - 37 changed by IPG (37)
indonesian - 62 fixed by fanioz (62)
lithuanian - 17 fixed by Enternald (17)
malay - 66 fixed, 2 changed by tombakemas (68)
swedish - 6 fixed by daishan (6)
turkish - 42 fixed by Emin (42)
2008-12-02 18:47:03 +00:00
translators
9905fa3116
(svn r14647) -Update: WebTranslator2 update to 2008-12-01 18:28:38
...
croatian - 160 changed by knovak (160)
hungarian - 2 changed by oklmernok (2)
malay - 20 fixed by SeaGates (20)
spanish - 1 fixed by eusebio (1)
2008-12-01 18:28:44 +00:00
translators
58b2cdbcff
(svn r14646) -Update: WebTranslator2 update to 2008-11-30 18:46:24
...
esperanto - 4 fixed by Athaba (4)
finnish - 1 changed by SuomiPoika (1)
indonesian - 16 fixed, 4 changed by fanioz (20)
korean - 1 fixed by dlunch (1)
lithuanian - 57 fixed, 20 changed by Enternald (77)
macedonian - 140 fixed, 1 changed by simonkoco (34), zharko (107)
persian - 21 fixed by ali sattari (21)
serbian - 5 fixed by dejac (5)
2008-11-30 18:46:32 +00:00
frosch
a0327b375f
(svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'.
2008-11-29 21:27:15 +00:00
translators
0191220b64
(svn r14642) -Update: WebTranslator2 update to 2008-11-29 18:44:42
...
croatian - 163 fixed, 30 changed by knovak (193)
czech - 1 fixed, 1 changed by miris2009 (2)
esperanto - 41 fixed by Athaba (41)
german - 4 fixed, 2 changed by Athaba (6)
greek - 20 fixed by vesnikos (20)
hungarian - 6 changed by IPG (6)
indonesian - 46 fixed by fanioz (46)
malay - 259 fixed by SeaGates (259)
polish - 1 fixed, 10 changed by meush (11)
2008-11-29 18:44:52 +00:00
rubidium
cdec8f6b27
(svn r14641) -Change [Allegro]: when making a debug build revert Allegro's hooks on SIGSEGV/SIGABRT so one can actually use gdb.
...
-Change: make it more clear that Allegro's failing to find a driver.
2008-11-29 01:28:13 +00:00
translators
9140315c7b
(svn r14640) -Update: WebTranslator2 update to 2008-11-28 18:47:35
...
bulgarian - 1 fixed by Ar4i (1)
catalan - 1 fixed by arnaullv (1)
croatian - 43 fixed by knovak (43)
esperanto - 3 fixed by Athaba (3)
estonian - 8 fixed by t2t2 (8)
german - 1 fixed by Athaba (1)
latvian - 315 fixed, 112 changed by Reinis (414), yopzer (7), niko (6)
polish - 1 fixed by xaxa (1)
romanian - 6 fixed, 1 changed by kkmic (7)
ukrainian - 2 fixed by mad (2)
2008-11-28 18:47:49 +00:00
translators
7f24ffea6a
(svn r14639) -Update: WebTranslator2 update to 2008-11-27 18:48:40
...
brazilian_portuguese - 4 fixed by tucalipe (4)
catalan - 1 fixed by arnaullv (1)
dutch - 1 fixed, 7 changed by Excel20 (8)
finnish - 4 fixed by UltimateSephiroth (1), jpx_ (3)
french - 1 fixed by glx (1)
greek - 10 fixed by Dimi (10)
hungarian - 8 fixed, 49 changed by IPG (57)
italian - 1 fixed by lorenzodv (1)
japanese - 1 fixed, 41 changed by bve255 (42)
korean - 3 fixed by dlunch (3)
lithuanian - 99 fixed, 16 changed by Domas (115)
norwegian_nynorsk - 35 fixed, 1 changed by mkrwii (36)
persian - 38 fixed by ali sattari (38)
polish - 20 fixed by coolik (14), xaxa (6)
romanian - 8 fixed by stykat (8)
slovak - 1 fixed by James (1)
welsh - 2 fixed by welshdragon (2)
2008-11-27 18:49:00 +00:00
glx
93ee81fa45
(svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu
2008-11-27 18:39:55 +00:00
translators
7b7e3e0fce
(svn r14637) -Add: stub for Arabic (Egypt).
2008-11-26 20:14:46 +00:00
rubidium
a614dd7174
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
2008-11-26 13:12:45 +00:00
rubidium
bb25748a9d
(svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000.
2008-11-26 01:07:49 +00:00
rubidium
69eb6978e7
(svn r14634) -Change: _rdtsc is defined by some platforms so we can't use that name.
2008-11-26 01:03:34 +00:00
rubidium
131f9e39d3
(svn r14633) -Fix: compile failure when building a debug build without network support.
2008-11-25 23:24:38 +00:00
rubidium
34ddda1009
(svn r14632) -Add: support Allegro as midi backend.
2008-11-25 23:21:58 +00:00
rubidium
72124862f0
(svn r14631) -Add: support for Allegro as sound backend.
2008-11-25 21:09:00 +00:00
rubidium
3aacd0a3d5
(svn r14630) -Add: support Allegro as video backend.
2008-11-25 19:32:12 +00:00
translators
f31999c030
(svn r14626) -Update: WebTranslator2 update to 2008-11-25 18:44:46
...
bulgarian - 1 fixed by Ar4i (1)
croatian - 21 fixed, 11 changed by knovak (32)
finnish - 12 fixed by UltimateSephiroth (12)
french - 1 fixed by glx (1)
greek - 31 fixed by vesnikos (31)
hungarian - 13 fixed, 98 changed by IPG (111)
icelandic - 71 fixed, 2 changed by pall (73)
italian - 1 fixed by lorenzodv (1)
japanese - 114 fixed, 243 changed by bve255 (313), ickoonite (44)
polish - 36 fixed by coolik (3), xaxa (33)
2008-11-25 18:44:59 +00:00
rubidium
1983754132
(svn r14625) -Codechange: a bit of coding style.
2008-11-25 18:42:06 +00:00
translators
8e48319c44
(svn r14624) -Add: stub for Malay.
2008-11-25 09:05:56 +00:00
rubidium
5466d8e959
(svn r14623) -Codechange: a sprinkle of coding style.
2008-11-24 20:51:55 +00:00
glx
b7c6872903
(svn r14622) -Fix (r14618): win9x compilation
2008-11-24 20:10:39 +00:00
rubidium
f7f89d63b2
(svn r14621) -Fix (r14618): link error when you aren't compiling for Windows or you don't have fontconfig.
2008-11-24 19:31:01 +00:00
glx
68d399d0ae
(svn r14620) -Fix (r14618): missing lines broke compilation on windows
2008-11-24 18:59:53 +00:00
translators
730a3d4772
(svn r14619) -Update: WebTranslator2 update to 2008-11-24 18:56:10
...
czech - 1 fixed by Hadez (1)
dutch - 1 fixed by habell (1)
latvian - 19 fixed, 1 changed by v3rb0 (20)
persian - 22 fixed by ali sattari (22)
piglatin - 21 fixed by adammw (21)
polish - 2 fixed, 3 changed by Simek (5)
russian - 13 fixed by Smoky555 (13)
slovak - 1 fixed by James (1)
spanish - 1 fixed by eusebio (1)
2008-11-24 18:56:24 +00:00
rubidium
fea78fbfbb
(svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation.
2008-11-24 18:53:17 +00:00
rubidium
6878b181c7
(svn r14617) -Change: unduplicate the languagepack(header).
2008-11-24 11:20:07 +00:00
rubidium
f28992719d
(svn r14616) -Fix [FS#2424]: a nearest depot order should be "equal" to the resolved nearest depot order; otherwise we keep resolving the nearest depot order every tick.
2008-11-23 21:46:27 +00:00
translators
54128db1cf
(svn r14615) -Update: WebTranslator2 update to 2008-11-23 18:07:42
...
dutch - 29 changed by MsG (29)
finnish - 60 fixed, 2 changed by jpx_ (3), UltimateSephiroth (59)
hungarian - 37 changed by oklmernok (37)
romanian - 13 fixed, 39 changed by stykat (52)
ukrainian - 4 fixed by mad (4)
2008-11-23 18:07:49 +00:00
smatz
d0e4cc5ee0
(svn r14614) -Codechange [FS#2423]: GetTreeCount() should behave as its name and documentation imply. Remove unused SetTreeCount() (PhilSophus)
2008-11-23 16:45:53 +00:00
frosch
e35be92a3a
(svn r14613) -Fix [FS#2420]: When building industries, clear the tiles as OWNER_TOWN instead of the founder to take care of protected buildings and to not get stressed by town ratings.
2008-11-23 16:34:27 +00:00
smatz
c4179d4ea9
(svn r14612) -Change: force the argument given to '-i' parameter to be valid. Accept '2', too
2008-11-23 16:01:24 +00:00
frosch
3d467cabe5
(svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map array instead of the construction year.
...
Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-23 14:17:41 +00:00
rubidium
2277a1ff9c
(svn r14610) -Fix [FS#2415]: possible stack corruption when reading corrupted sprites.
...
-Change: harden the sprite reading routine against corrupt sprites.
2008-11-23 13:42:05 +00:00
peter1138
ca5ed4b2cc
(svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick)
2008-11-23 12:35:02 +00:00
frosch
5aad874639
(svn r14608) -Fix (r9315): Return the current year as construction year for unfinished houses.
2008-11-22 19:49:17 +00:00
translators
6df10074d4
(svn r14607) -Update: WebTranslator2 update to 2008-11-22 18:44:20
...
afrikaans - 28 changed by burgerd (28)
finnish - 65 fixed, 17 changed by UltimateSephiroth (82)
hungarian - 86 changed by oklmernok (86)
norwegian_bokmal - 4 fixed by brygge_2 (4)
2008-11-22 18:44:26 +00:00
frosch
259a073f0c
(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and PALETTE_MODIFIER_COLOR in spritelayout drawing.
...
-Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22 16:04:11 +00:00
frosch
f0286cb1e5
(svn r14605) -Fix (r9315): When callback 1E fails, use the standard random colour.
2008-11-22 15:57:31 +00:00
frosch
b759ccd032
(svn r14604) -Codechange: Simplify a function and rename it, and fix some comments.
2008-11-22 15:48:43 +00:00
rubidium
6e93e611c8
(svn r14603) -Fix [FS#2422]: the company ID is off-by-one w.r.t. to the rest of the GUI in the cheat window.
2008-11-22 13:09:31 +00:00
translators
176e7469b6
(svn r14602) -Update: WebTranslator2 update to 2008-11-21 18:45:14
...
bulgarian - 2 fixed by Ar4i (2)
catalan - 2 fixed by arnaullv (2)
czech - 2 fixed by Hadez (2)
finnish - 90 fixed by UltimateSephiroth (90)
hungarian - 6 fixed, 42 changed by oklmernok (48)
indonesian - 88 fixed by adjayanto (88)
polish - 61 fixed by coolik (61)
romanian - 20 fixed by kkmic (20)
russian - 2 fixed by MajestiC (2)
spanish - 1 fixed by eusebio (1)
2008-11-21 18:45:27 +00:00
rubidium
2209c6a344
(svn r14601) -Fix: the nearest depot and stop in depot orders didn't work together (the vehicle didn't stop).
2008-11-21 18:16:19 +00:00
translators
bc88d7d9b0
(svn r14600) -Update: WebTranslator2 update to 2008-11-20 18:44:05
...
afrikaans - 34 fixed by nubllett (34)
galician - 4 fixed by Condex (4)
hungarian - 7 fixed, 49 changed by oklmernok (17), IPG (39)
italian - 2 fixed by lorenzodv (2)
polish - 45 fixed by kruczek1 (45)
slovak - 1 fixed by James (1)
2008-11-20 18:44:13 +00:00
frosch
ee8fb221d3
(svn r14599) -Fix (r14598)[FS#2417]: Show again group-membership in the vehicle-lists. (Based on patch by PhilSophus)
2008-11-20 16:48:22 +00:00
rubidium
a1853ea27c
(svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station).
2008-11-19 23:55:34 +00:00
translators
e80a222d31
(svn r14597) -Update: WebTranslator2 update to 2008-11-19 18:43:03
...
afrikaans - 165 fixed, 227 changed by nubllett (156), burgerd (236)
dutch - 2 fixed, 5 changed by Excel20 (7)
french - 2 fixed by glx (2)
german - 6 fixed, 2 changed by jonathan159 (2), MaSch (6)
hungarian - 1 fixed, 20 changed by oklmernok (21)
macedonian - 90 fixed by sashozs (90)
serbian - 560 fixed by AtzaMan (560)
slovak - 1 fixed by James (1)
spanish - 1 fixed by eusebio (1)
2008-11-19 18:43:16 +00:00
frosch
1e991548ac
(svn r14596) -Fix (r14591): Missing 'return'.
2008-11-19 16:53:24 +00:00
rubidium
aa126066b7
(svn r14595) -Add: Estonian currency.
...
-Change: Slovenia switched to the Euro in 2007.
2008-11-19 16:17:42 +00:00
rubidium
b00bfa0adf
(svn r14594) -Fix [FS#2412]: trains could get their their last visited station reset when still (un)loading causing an invalid state.
2008-11-19 14:48:12 +00:00
rubidium
aaeb01b428
(svn r14593) -Update: remove outdated (in r14592) string.
2008-11-18 23:58:24 +00:00
rubidium
2ed3c27822
(svn r14592) -Feature [FS#1124]: non-destructive autofill with option to keep waiting times (PhilSophus)
2008-11-18 23:53:37 +00:00
smatz
07e3c096b3
(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
...
-Codechange: rewrite parts of code responsible for caching index of nearest town
2008-11-18 22:43:59 +00:00
translators
e1a36e90a4
(svn r14590) -Update: WebTranslator2 update to 2008-11-18 18:44:24
...
catalan - 2 fixed by arnaullv (2)
czech - 3 fixed by miris2009 (3)
danish - 7 fixed by Hatsen (7)
finnish - 6 fixed by SuomiPoika (6)
hungarian - 41 fixed, 121 changed by oklmernok (162)
korean - 2 fixed, 9 changed by dlunch (11)
lithuanian - 30 fixed by BlinK_ (30)
polish - 30 fixed by coolik (30)
slovak - 2 fixed by James (2)
2008-11-18 18:45:42 +00:00
translators
ebad6b6730
(svn r14589) -Update: WebTranslator2 update to 2008-11-17 18:47:02
...
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian - 67 fixed by Ar4i (67)
czech - 4 fixed, 4 changed by Hadez (8)
dutch - 2 fixed by habell (2)
finnish - 4 fixed by SuomiPoika (4)
hungarian - 5 fixed by oklmernok (5)
indonesian - 20 fixed by dnaftali (20)
italian - 2 fixed, 2 changed by lorenzodv (4)
russian - 9 fixed by veZuk (1), MajestiC (8)
slovak - 45 fixed by James (45)
2008-11-17 18:47:18 +00:00
rubidium
798fa3ec81
(svn r14588) -Fix [FS#2414]: the range for kicking/banning clients is based on the maximum number of clients, not the maximum number of companies.
2008-11-17 16:15:55 +00:00
michi_cc
2ed0c72ec5
(svn r14587) -Cleanup: Fix some old comments. Bits are not bytes.
2008-11-17 00:41:58 +00:00
translators
64ee487ed5
(svn r14583) -Update: WebTranslator2 update to 2008-11-16 18:59:11
...
dutch - 4 changed by Excel20 (4)
english_US - 7 fixed by WhiteRabbit (7)
french - 2 fixed, 2 changed by glx (4)
persian - 21 fixed by ali sattari (21)
portuguese - 49 fixed by joznaz (49)
spanish - 2 fixed by eusebio (2)
2008-11-16 18:59:22 +00:00
rubidium
cdfa2d68b1
(svn r14582) -Fix [FS#2392]: blank box on cost estimation of levelling a flat area.
...
-Fix: make levelling, raising and lowering of an area behave the same.
2008-11-16 14:17:49 +00:00
rubidium
ffa3ec54f9
(svn r14581) -Fix: make rail, road and canal building behave the same when overbuilding already built stretches.
2008-11-16 13:49:57 +00:00
frosch
1a866c7552
(svn r14578) -Fix (r2389, r10811)[FS#Vikthor]: Allow capacity callbacks (15, 36) to return zero capacity.
2008-11-13 20:26:06 +00:00
smatz
f28172c5f4
(svn r14577) -Fix [FS#2403]: vehicle didn't respect its 'refit in nearest depot' order (Swallow)
2008-11-11 22:51:27 +00:00
translators
a13108d5b6
(svn r14575) -Update: WebTranslator2 update to 2008-11-11 18:47:38
...
dutch - 2 changed by Excel20 (2)
latvian - 14 fixed by v3rb0 (14)
macedonian - 161 fixed, 15 changed by sashozs (176)
portuguese - 1 fixed by joznaz (1)
2008-11-11 18:47:46 +00:00
rubidium
a9f82cddea
(svn r14572) -Add: stub for Macedonian.
2008-11-10 10:06:24 +00:00
translators
cb89c5fe6d
(svn r14569) -Update: move Welsh from unfinished to finished.
2008-11-07 18:15:46 +00:00
translators
16d03f660b
(svn r14568) -Update: WebTranslator2 update to 2008-11-07 18:07:33
...
latvian - 69 fixed, 1 changed by v3rb0 (70)
norwegian_bokmal - 5 fixed by christian (5)
persian - 42 fixed by ali sattari (42)
welsh - 227 fixed, 2 changed by PlayDead (229)
2008-11-07 18:08:53 +00:00
rubidium
13ee151a69
(svn r14567) -Revert (part of 14566): don't commit testing stuff...
2008-11-07 18:02:46 +00:00
rubidium
c7f3935506
(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
2008-11-07 17:59:51 +00:00
translators
e91ae97e19
(svn r14565) -Update: WebTranslator2 update to 2008-11-04 18:44:06
...
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan - 5 fixed, 2 changed by arnaullv (7)
italian - 2 changed by lorenzodv (2)
latvian - 65 fixed, 1 changed by v3rb0 (66)
persian - 111 fixed by ali sattari (111)
polish - 6 fixed by meush (6)
welsh - 200 fixed, 12 changed by PlayDead (203), welshdragon (9)
2008-11-04 18:44:15 +00:00
smatz
f23dabb149
(svn r14564) -Fix (r14555): one more incorrect use of lastof()
2008-11-04 18:20:41 +00:00
rubidium
39450b6e4e
(svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared TTDPatch and
...
OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles
(including e.g. maximum speed, graphics and introduction year), stations,
bridges, industries, town houses or any other graphics used by either
TTDPatch or OpenTTD, would tell that building an industry is okay, which
is queried using a so-called callback that allows the NewGRF author to
test all kinds of information about the neighbourhood where the industry
might get build, it would corrupt, i.e. overwrite with invalid data, the
structure that is used to build up an error message. This then might result
in trying to resolve an invalid StringID, an internal numeric representation
of all translateable strings, which would in it's turn trigger a safety
check that is added to ensure invalid StringIDs are never resolved.
2008-11-03 23:42:07 +00:00
frosch
e1bf231727
(svn r14562) -Fix (r14561): 8 bits are enough. The rest stays reserved.
2008-11-03 20:23:51 +00:00
frosch
ec4b30f9d9
(svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo)
2008-11-03 19:25:52 +00:00
smatz
7dd0b0dc07
(svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by lastof() in some cases (part by Aali)
2008-11-03 12:03:00 +00:00
michi_cc
808d9255a8
(svn r14559) -Fix [FS#2387]: A train could be blocked inside a depot if it was reversed just after leaving the depot.
2008-11-02 19:32:24 +00:00
michi_cc
f649496caa
(svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge could cause trains to get stuck.
2008-11-02 17:42:28 +00:00
skidd13
6d94be75e9
(svn r14557) -Codechange: Remove a redundant line of code
2008-11-02 11:41:13 +00:00
frosch
f8ed412b40
(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
2008-11-02 11:23:44 +00:00
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
2008-11-02 11:20:15 +00:00
rubidium
c03e55b32a
(svn r14554) -Fix: languages using longer gender names than strgen supports.
2008-11-02 11:15:26 +00:00
skidd13
6043b4574e
(svn r14553) -Doc: Add some doxygen comments
2008-11-02 11:05:26 +00:00
michi_cc
a4548a4b9b
(svn r14550) -Fix [FS#2391]: Don't assert on path look-ahead when processing a not-part-of-orders depot-order.
2008-10-31 16:46:34 +00:00
translators
4661917f64
(svn r14549) -Update: WebTranslator2 update to 2008-10-30 18:25:24
...
croatian - 9 fixed by tperic (9)
ido - 13 fixed by Cecile (13)
indonesian - 219 fixed by dnaftali (219)
italian - 1 changed by lorenzodv (1)
korean - 2 changed by dlunch (2)
latvian - 168 fixed, 22 changed by Wersoo (119), v3rb0 (71)
persian - 99 fixed by ali sattari (99)
swedish - 3 changed by Andreas (3)
2008-10-30 18:27:17 +00:00
rubidium
6629698dfe
(svn r14548) -Add: partial welsh translation, to be finished later.
2008-10-30 18:12:51 +00:00
rubidium
ffe155bb2a
(svn r14547) -Fix: order pool seemed to look full when it was not as it only checked whether it was possible to allocate a new block of pool items instead of checking for free pool items.
2008-10-30 12:32:32 +00:00
skidd13
38efdc8222
(svn r14546) -Codechange: Unify string(cpy|cat) functions
...
-Doc: string(cpy|cat) functions
2008-10-29 16:30:41 +00:00
rubidium
a6df995fbb
(svn r14545) -Fix [FS#2386]: road vehicles sometimes never got their "slots" deallocated causing RVs not going to depot for service.
2008-10-28 23:34:42 +00:00
rubidium
633b15caf3
(svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers.
2008-10-28 16:04:41 +00:00
rubidium
da0a0ef8ca
(svn r14541) -Fix (r14540): mingw didn't like it :(
2008-10-28 15:47:42 +00:00
rubidium
0d254e8914
(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-10-28 14:42:31 +00:00
translators
cf4cffd91a
(svn r14539) -Update: WebTranslator2 update to 2008-10-27 18:43:26
...
dutch - 5 fixed by habell (5)
french - 5 fixed by glx (5)
galician - 5 fixed by Condex (5)
ido - 31 fixed by Cecile (31)
indonesian - 50 fixed by dnaftali (50)
italian - 5 fixed by lorenzodv (5)
korean - 5 fixed, 4 changed by leejaeuk5 (9)
spanish - 5 fixed by eusebio (5)
swedish - 5 fixed by ChrillDeVille (5)
ukrainian - 5 fixed by mad (5)
2008-10-27 18:43:40 +00:00
frosch
896841403f
(svn r14536) -Fix (r14530): Do not expect uints to become negative.
2008-10-25 22:00:51 +00:00
frosch
77a5a4953b
(svn r14535) -Fix: Description of '-i' commandline option.
2008-10-25 20:16:07 +00:00
glx
a6bfd7f15b
(svn r14534) -Codechange [FS#2382]: Enumify magic return values of HandleEditBox function (Zuu)
2008-10-25 19:59:11 +00:00
frosch
7df85e8a45
(svn r14533) -Fix: ...hopefully most glitches wrt. inclined foundations.
2008-10-25 18:58:24 +00:00
frosch
fd049f0a64
(svn r14531) -Fix (r12425): OSK accessed wrong widgets of password query window.
2008-10-25 15:25:52 +00:00
frosch
ac281ed35c
(svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area.
2008-10-25 14:24:50 +00:00
frosch
11ef57d81e
(svn r14529) -Codechange: Turn FindCatchmentRadius() into Station::GetCatchmentRadius().
2008-10-25 14:19:09 +00:00
rubidium
a14ad77a36
(svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-10-25 13:51:47 +00:00
rubidium
9075a2bbfc
(svn r14527) -Fix: allocate stub (empty) sound entries when loading an empty/corrupt/incorrectly sized sample.cat instead of making valid NewGRFs fail to load.
2008-10-25 10:26:23 +00:00
rubidium
7588513003
(svn r14526) -Fix [FS#2379]: make sure trains stop at the end of a station; a 3/8th length train did stop 2/8th of it's length too early causing a 63/8th long train not to fit in a 4 tile station.
2008-10-24 20:53:57 +00:00
translators
e3e65e8f2b
(svn r14525) -Update: WebTranslator2 update to 2008-10-24 17:44:48
...
indonesian - 412 fixed by dnaftali (412)
2008-10-24 17:44:49 +00:00
rubidium
42df5cbc03
(svn r14524) -Add: stop-in-depot as part of orders (PhilSophus)
2008-10-24 14:49:45 +00:00
translators
e094088852
(svn r14523) -Update: WebTranslator2 update to 2008-10-23 17:42:35
...
indonesian - 668 fixed by dnaftali (668)
italian - 6 changed by lorenzodv (6)
persian - 88 fixed by ali sattari (88)
2008-10-23 17:42:40 +00:00
glx
eb0464071d
(svn r14521) -Fix [FS#2378]: fast trains could continue to move after a crash
2008-10-22 23:06:36 +00:00
smatz
1e7e5fb175
(svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx)
2008-10-22 20:23:50 +00:00
rubidium
f43dc3e758
(svn r14517) -Feature: arrow key scrolling in the server list (Roujin)
2008-10-22 20:22:18 +00:00
rubidium
219abb5235
(svn r14516) -Fix: determine the default text direction based on the language file instead of hardcoding one.
2008-10-22 20:21:11 +00:00
smatz
c10f7db576
(svn r14514) -Codechange: use 'size' instead of 'length' for querystring and textbuf, explicitly say it includes the terminating zero
...
-Fix: one couldn't rename things with too long default/automatic name
-Fix: buffer overflow in console when too long (1024 bytes) command was entered
2008-10-22 19:12:10 +00:00
translators
6bc0f0ef92
(svn r14513) -Update: WebTranslator2 update to 2008-10-22 17:26:32
...
czech - 6 fixed by Hadez (6)
indonesian - 121 fixed by dnaftali (120), Admin (1)
italian - 1 changed by lorenzodv (1)
korean - 15 changed by dlunch (15)
latvian - 20 fixed by v3rb0 (20)
persian - 127 fixed by ali sattari (127)
2008-10-22 17:26:40 +00:00
smatz
bb4a4a255d
(svn r14508) -Fix (r14501): arrays were not properly zeroed
2008-10-21 14:56:23 +00:00
rubidium
639f9d8305
(svn r14506) -Add: stub for indonesian language.
2008-10-21 11:19:17 +00:00
michi_cc
ac722661a5
(svn r14505) -Fix (r14504): Missing include.
2008-10-20 19:46:49 +00:00
michi_cc
02c99bdf66
(svn r14504) -Cleanup: Use the right variable type for tile offsets.
2008-10-20 19:35:48 +00:00
rubidium
6c35825453
(svn r14502) -Codechange: add some inline comments and declare variable on use (Alberth)
2008-10-20 15:44:14 +00:00
rubidium
9df75b3f9e
(svn r14501) -Codechange: use sizeof(variable) instead of sizeof(type) or hardcoded amounts (magic constant) for memset (Alberth)
2008-10-20 15:42:56 +00:00
rubidium
8cce756f8f
(svn r14494) -Fix: few MSVC x64 warnings.
2008-10-19 18:47:15 +00:00
frosch
4dcf12a3ad
(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys on loading games.
2008-10-19 17:30:41 +00:00
michi_cc
6815cc52fe
(svn r14492) -Fix [FS#2366] (r14482): Conditional orders could lead to an infinite loop on path look-ahead.
...
Don't refactor things that don't want to be refactored, folks. And some comments can't hurt either.
2008-10-19 17:16:26 +00:00
rubidium
d832626bb9
(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)
2008-10-19 15:39:12 +00:00
rubidium
15eb140d28
(svn r14490) -Codechange: fix comment style on a few locations (Alberth)
2008-10-19 09:51:19 +00:00
frosch
5a1df325e2
(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout (Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint).
...
Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-18 17:21:56 +00:00
frosch
2e6894b7bb
(svn r14487) -Fix: The station picker preview did not draw child sprites.
2008-10-18 17:20:31 +00:00
smatz
7a031b60cd
(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken
2008-10-18 14:16:29 +00:00
frosch
f2eba8b0bf
(svn r14485) -Fix (r5464): Do not check the end of destination buffer using the source pointer.
...
Did not cause trouble though as destination buffer has always been bigger than source buffer.
2008-10-18 14:11:09 +00:00
frosch
63a9ddeb77
(svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo)
2008-10-18 13:43:52 +00:00
michi_cc
2001d127b8
(svn r14483) -Fix [FS#2340]: On reaching a waypoint a train could falsely be reported as lost when doing the look ahead for a path.
2008-10-18 13:13:31 +00:00
michi_cc
73dc280847
(svn r14482) -Codechange: Use a class for saving the current train order when extending the reserved path beyond the current destination during pathfinding.
...
The class' destructor will make sure that the order is restored on function exit in all cases.
2008-10-18 13:13:27 +00:00
translators
e9d6016fe6
(svn r14481) -Update: WebTranslator2 update to 2008-10-17 17:47:40
...
korean - 4 changed by leejaeuk5 (4)
latvian - 10 fixed by v3rb0 (10)
persian - 55 fixed by ali sattari (55)
2008-10-17 17:47:42 +00:00
rubidium
65404674a4
(svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD.
2008-10-17 17:42:51 +00:00
rubidium
ae0715e8c3
(svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters.
2008-10-17 17:14:09 +00:00
frosch
7f5f0fea42
(svn r14469) -Fix [FS#2355]: Empty station spreads (e.g. from greyed station signs) were modified in test mode.
2008-10-15 21:10:43 +00:00
translators
b3742c0165
(svn r14468) -Update: WebTranslator2 update to 2008-10-15 17:40:33
...
hungarian - 8 fixed, 1 changed by alyr (9)
ido - 98 fixed by Cecile (98)
italian - 1 changed by lorenzodv (1)
korean - 88 changed by dlunch (88)
latvian - 15 fixed, 174 changed by v3rb0 (189)
persian - 43 fixed by ali sattari (43)
2008-10-15 17:40:39 +00:00
rubidium
a999bb3227
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
2008-10-14 19:27:08 +00:00
rubidium
0c5c199f2f
(svn r14465) -Codechange: minor code style of command.cpp.
2008-10-14 18:49:21 +00:00
rubidium
272b2ef0e9
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
2008-10-14 18:38:51 +00:00
rubidium
03bef3fb5b
(svn r14463) -Fix [FS#2348]: small possible chance of desync due to sorting on pointer instead of by (station) index (PhilSophus)
2008-10-14 12:07:14 +00:00
rubidium
e9f5a19544
(svn r14462) -Codechange: replace magic number with already existing constant (Albert)
2008-10-13 03:40:48 +00:00
rubidium
f1f5b248c2
(svn r14461) -Document: add some doxygen comments (Albert)
2008-10-13 03:26:48 +00:00
translators
313f193b55
(svn r14460) -Update: WebTranslator2 update to 2008-10-12 17:43:44
...
bulgarian - 6 fixed, 1 changed by kokobongo (7)
english_US - 6 fixed by WhiteRabbit (6)
ido - 43 fixed by Cecile (43)
italian - 6 changed by lorenzodv (6)
korean - 41 changed by dlunch (41)
latvian - 54 changed by v3rb0 (54)
persian - 66 fixed by ali sattari (66)
2008-10-12 17:43:52 +00:00
frosch
dea505cbb8
(svn r14459) -Fix [FS#2343]: Update station-spread when building or removing oilrigs to make them consistent with station-spread-calculation on game-load and to make oilrig-stations behave like any other station type.
2008-10-12 10:22:13 +00:00
smatz
2611fbeb18
(svn r14458) -Fix [FS#2341](r14368): crash when there was a tram dead end after a station/tunnel/bridge (frosch123 and Rubidium)
2008-10-10 22:50:31 +00:00
translators
9075eafaae
(svn r14457) -Update: WebTranslator2 update to 2008-10-10 22:29:03
...
french - 28 changed by glx (28)
italian - 6 fixed, 28 changed by lorenzodv (34)
korean - 43 changed by dlunch (43)
latvian - 75 fixed, 191 changed by v3rb0 (266)
persian - 34 fixed by ali sattari (34)
slovak - 14 fixed by lengyel (14)
swedish - 26 changed by Andreas (26)
2008-10-10 22:29:13 +00:00
frosch
70e1e83eb2
(svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks.
2008-10-10 20:09:29 +00:00
rubidium
a34bd150fe
(svn r14450) -Fix [FS#2337]: time table restoring did check too restrictively causing order backups not to be properly restored.
2008-10-08 11:29:17 +00:00
rubidium
1d2fbbc8a7
(svn r14449) -Fix [FS#2338]: service at nearest depot acted like go to nearest depot.
2008-10-08 11:03:43 +00:00
smatz
1906aa2bbb
(svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker)
2008-10-07 20:57:41 +00:00
michi_cc
b3726f4c7c
(svn r14447) -Change [FS#2333]: Rename YAPP "advanced signals" to "path signals" and "normal signals" to "block signals".
2008-10-07 20:13:22 +00:00
rubidium
719891c23e
(svn r14446) -Fix [FS#2330]: when a road stop gets moved make sure to update the destination of RVs going to that road stop.
2008-10-07 18:46:12 +00:00
translators
0e518c2d92
(svn r14445) -Update: WebTranslator2 update to 2008-10-07 17:43:40
...
latvian - 2 fixed, 15 changed by v3rb0 (17)
spanish - 6 fixed by eusebio (6)
ukrainian - 6 fixed by mad (6)
2008-10-07 17:43:47 +00:00
translators
249a9c0912
(svn r14444) -Add: stubs for two new languages: Persian (or Farsi) and Ido.
2008-10-07 14:22:04 +00:00
frosch
1358756071
(svn r14442) -Fix (r14406): Typo causing problems in rare cases.
2008-10-05 18:42:59 +00:00
translators
e17db9655c
(svn r14441) -Update: WebTranslator2 update to 2008-10-05 17:45:23
...
catalan - 6 fixed by arnaullv (6)
german - 1 changed by sulai (1)
hungarian - 1 fixed, 1 changed by alyr (2)
norwegian_bokmal - 6 fixed by christian (6)
simplified_chinese - 1 fixed by ww9980 (1)
traditional_chinese - 2 changed by josesun (2)
2008-10-05 17:45:33 +00:00
smatz
b4a307d0bb
(svn r14439) -Fix (r12044)(r14139): centering on a plane at the SE border could cause crash
2008-10-04 10:25:12 +00:00
translators
5f9e2e60fb
(svn r14438) -Update: WebTranslator2 update to 2008-10-03 17:45:52
...
brazilian_portuguese - 6 fixed by tucalipe (6)
dutch - 6 fixed by habell (6)
french - 6 fixed by glx (6)
galician - 6 fixed by Condex (6)
german - 6 fixed, 19 changed by sulai (25)
hungarian - 48 fixed by alyr (48)
korean - 6 fixed by dlunch (6)
simplified_chinese - 84 fixed by ww9980 (84)
slovenian - 6 fixed by Necrolyte (6)
swedish - 6 fixed by ChrillDeVille (6)
traditional_chinese - 9 fixed, 69 changed by josesun (78)
2008-10-03 17:46:13 +00:00
rubidium
da2b14e6b2
(svn r14436) -Fix [FS#1793]: (fast) trains would sometimes move one time too often/little when moving from diagonal<->non-diagonal tracks (iguannab)
2008-10-03 12:55:39 +00:00
rubidium
b727f93bbc
(svn r14434) -Fix (r14432): compile warning.
2008-10-02 22:48:52 +00:00
rubidium
bdd756b58c
(svn r14432) -Fix: tile description of tiles with only one signal that is not the normal signal showing "normal signal and <signal type on tile>".
2008-10-02 00:23:30 +00:00
rubidium
d19d6f21a0
(svn r14431) -Fix (r14414): alias parameter "evaluation" would remove the last byte of the parameters.
2008-10-02 00:08:45 +00:00
michi_cc
ba5575e0fc
(svn r14428) -Fix [FS#2306]: A 90-degree curve can be a safe waiting position if they are forbidden for trains.
2008-10-01 15:48:44 +00:00
rubidium
c9a82ac3e7
(svn r14423) -Codechange: also do r14221 for the strings.
2008-09-30 21:18:28 +00:00
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
2008-09-30 20:51:04 +00:00
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
2008-09-30 20:39:50 +00:00
translators
cc1e761eda
(svn r14420) -Update: WebTranslator2 update to 2008-09-30 17:50:15
...
hungarian - 3 fixed, 1 changed by alyr (4)
simplified_chinese - 122 fixed, 2 changed by ww9980 (124)
swedish - 1 fixed by ChrillDeVille (1)
2008-09-30 17:50:21 +00:00
belugas
d130ff3889
(svn r14419) -Codechange: adding two digits for no obvious reason (nor comment), plus code style Infringement.
2008-09-30 16:50:25 +00:00
smatz
a858d0993f
(svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 times faster than pre-r14416 in average case
2008-09-29 18:56:36 +00:00
smatz
e65771f25c
(svn r14416) -Fix (r10074)(r10517): substraction was done the other way in the 'nearest land/water' check (~25% performance penalty)
2008-09-29 18:34:05 +00:00
smatz
c631c26a9f
(svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water industries
2008-09-29 18:23:56 +00:00
rubidium
e7829c1a57
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
2008-09-29 16:27:02 +00:00
frosch
c20c3be91d
(svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'.
2008-09-28 15:42:15 +00:00
frosch
1032dbe142
(svn r14411) -Fix (r14406): IsFrontEngine() is only valid for trains.
2008-09-28 15:07:03 +00:00
rubidium
e635df8d53
(svn r14410) -Codechange: one can't inject a negative number of parameters, so enforce this by using a uint.
2008-09-28 13:50:11 +00:00
frosch
a370f32c15
(svn r14409) -Codechange: Simplify a loop and correct a comment.
2008-09-28 12:38:56 +00:00
glx
f2d7c48b31
(svn r14408) -Fix (r9205): generation seed set using -G was always overwritten by -g
2008-09-27 22:19:34 +00:00
frosch
76c13beef0
(svn r14407) -Cleanup (r14406): Remove a redundant test. (thanks SmatZ)
2008-09-27 17:08:03 +00:00
frosch
67db5087cd
(svn r14406) -Fix [FS#Eddi]: Autoreplace did not work for vehicles in free wagon chains.
2008-09-27 14:58:46 +00:00
frosch
05d8a0ebad
(svn r14405) -Fix [FS#2289]: Correct handling of selling free wagons while the following vehicle is an engine (i.e. a new train is created).
2008-09-26 19:25:49 +00:00
rubidium
257f7a229b
(svn r14404) -Change [FS#2176]: don't make the town flatten land unconditionally when build on slopes is turned on. Based on a patch by Eddi.
2008-09-26 19:11:15 +00:00
frosch
436011dda3
(svn r14403) -Fix (r14384): The condition was too restrictive.
2008-09-26 19:01:57 +00:00
translators
804185d392
(svn r14402) -Update: WebTranslator2 update to 2008-09-26 17:45:50
...
slovenian - 3 fixed by Necrolyte (3)
traditional_chinese - 1 fixed, 8 changed by josesun (9)
2008-09-26 17:47:39 +00:00
peter1138
37931fb2c6
(svn r14401) -Fix (r11724): Don't check articulated parts or rear multihead parts for callback 1D when moving a chain of wagons.
2008-09-26 06:52:06 +00:00
smatz
e4242c8735
(svn r14398) -Cleanup (r14395): unused function sneaked in
2008-09-25 09:50:31 +00:00
rubidium
86f1a98ac8
(svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater)
2008-09-24 23:25:24 +00:00
smatz
b907ffec97
(svn r14396) -Fix: ctrl+right click at 'Go to nearest depot' order scrolled to depot with DepotID == 0
2008-09-24 16:51:36 +00:00
smatz
6987e6015a
(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
...
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-24 16:40:06 +00:00
translators
7a527807d9
(svn r14394) -Update: WebTranslator2 update to 2008-09-24 14:01:38
...
danish - 8 changed by ThomasA (8)
german - 5 changed by sulai (5)
hungarian - 17 fixed, 4 changed by alyr (21)
korean - 45 changed by dlunch (45)
norwegian_bokmal - 9 fixed by christian (9)
spanish - 1 changed by eusebio (1)
traditional_chinese - 91 fixed, 1044 changed by josesun (1135)
2008-09-24 14:01:49 +00:00
rubidium
a143100f46
(svn r14393) -Fix [FS#2318]: deleting the same window (pointer) twice.
2008-09-23 20:12:13 +00:00
rubidium
57d592828b
(svn r14392) -Fix [FS#1404]: some widgets saw a single click as multiple clicks.
2008-09-23 19:25:00 +00:00
rubidium
6a931d67cd
(svn r14390) -Codechange: replace magic constants with symbolic constants.
2008-09-23 15:24:15 +00:00
translators
ff76ef6a0a
(svn r14386) -Update: WebTranslator2 update to 2008-09-22 19:58:30
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 3 fixed by arnaullv (3)
english_US - 2 fixed by WhiteRabbit (2)
estonian - 1 fixed by kristjans (1)
french - 1 fixed by glx (1)
galician - 1 changed by Condex (1)
hungarian - 3 changed by alyr (3)
korean - 18 changed by dlunch (18)
norwegian_bokmal - 194 fixed by christian (194)
spanish - 2 fixed by eusebio (2)
2008-09-22 19:58:46 +00:00
frosch
5abea62e3e
(svn r14384) -Fix: Moving the first vehicle of a train elsewhere might require a new unitnumber for the remaining chain.
2008-09-22 19:28:53 +00:00
smatz
abbc9cd9cb
(svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' in the NewGRF code, too
2008-09-22 14:34:38 +00:00
rubidium
7ef5406946
(svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front engine when turning a train in a station.
2008-09-21 18:28:35 +00:00
frosch
2bf182fb36
(svn r14369) -Fix: Enforce non-front engines to be stopped.
...
This could be caused by old savegames resp. their conversion, and causes
trouble for e.g. autoreplace.
2008-09-21 14:03:47 +00:00
rubidium
cccd1a8739
(svn r14368) -Fix [FS#1852]: trams jumping when reversing on a single trambit (like caused during road construction reworks) or when (manually) reversing in a corner.
2008-09-21 11:26:50 +00:00
frosch
3dceffd283
(svn r14366) -Fix (r14362): Match multiheaded parts starting from the first vehicle in a chain.
2008-09-20 18:31:31 +00:00
glx
c125cfa6cc
(svn r14365) -Backport (r14364 from NoAI): add the ability do CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so
2008-09-20 17:43:06 +00:00
glx
fe5cc9c839
(svn r14363) -Fix [FS#2206]: some keypress combinations could be handled twice
2008-09-20 16:07:56 +00:00
frosch
07418cbf7f
(svn r14362) -Fix (r3403): Also connect multiheaded parts in free wagon chains.
2008-09-20 10:53:08 +00:00
translators
c3c58c95b9
(svn r14361) -Update: WebTranslator2 update to 2008-09-19 20:23:28
...
italian - 8 fixed by lorenzodv (8)
korean - 3 fixed by leejaeuk5 (3)
simplified_chinese - 119 fixed by ww9980 (119)
spanish - 1 fixed by eusebio (1)
swedish - 13 fixed by ChrillDeVille (13)
ukrainian - 3 fixed by mad (3)
2008-09-19 20:23:41 +00:00
smatz
89edec7bfb
(svn r14360) -Cleanup (r12652): remove unused handler for the 'Tranfser' button
2008-09-19 16:34:24 +00:00
rubidium
ee2a851aab
(svn r14359) -Fix [FS#2311]: the ownership of roadtiles was not properly set for very old savegames (including TTD's) making it impossible to remove some pieces of road.
2008-09-18 15:32:20 +00:00
smatz
deaa0725e9
(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for tunnels and bridges
2008-09-17 17:23:57 +00:00
belugas
217db3cb61
(svn r14352) -Feature: Allow sorting vehicles by remaining life time.
...
Patch by yorick
2008-09-17 02:30:24 +00:00
smatz
9fed67a05a
(svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we know it is a tram, so compiler doesn't generate code for trains and ships
2008-09-17 00:32:35 +00:00
smatz
97150dcffd
(svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE depots, it is drawn through depot walls
2008-09-16 22:56:43 +00:00
smatz
7ae255a553
(svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, they have colour of invalid player
2008-09-16 20:57:49 +00:00
smatz
c998342206
(svn r14346) -Codechange [FS#2184]: reduce code duplication when jumping to next/previous sign in signs_gui.cpp (Roujin)
2008-09-16 19:18:22 +00:00
smatz
5a1203963f
(svn r14345) -Fix: delete the RenameSignWindow when 'its' sign is deleted
...
Also, it makes sure the RenameSignWindow isn't open when there are no signs (and crashes associted with that)
2008-09-16 19:05:38 +00:00
smatz
4a97033e7e
(svn r14344) -Fix: when a new airport is built in the same tick as the old station is deleted, aircraft may go crazy (and crash the game)
2008-09-16 16:07:18 +00:00
smatz
192d348f78
(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller
2008-09-16 15:15:41 +00:00
smatz
47d19f7914
(svn r14340) -Fix (r11822): signs from old savegames were lost (causing little memory leaks)
2008-09-16 11:19:07 +00:00
smatz
dce7bec2d3
(svn r14339) -Fix (r13731): crash when loading the intro game failed
2008-09-15 23:50:12 +00:00
smatz
5f4ff33ce3
(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too
2008-09-15 22:58:41 +00:00
smatz
a20dae0df1
(svn r14336) -Fix (r14334): when there was a station with custom name in an old savegame, it's default name was empty
2008-09-15 22:45:18 +00:00
frosch
bffc5717bc
(svn r14335) -Codechange: Remove some magic numbers.
2008-09-15 19:55:00 +00:00
smatz
1266b1a73f
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15 19:02:50 +00:00
belugas
0682dc3a0d
(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
...
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
2008-09-15 17:18:22 +00:00
smatz
606f4defdc
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
2008-09-15 16:29:40 +00:00
rubidium
ff89c704fa
(svn r14330) -Fix: compile warnings in some unfinished lang files.
2008-09-15 13:32:59 +00:00
rubidium
1ce4e5721b
(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.
2008-09-15 10:02:39 +00:00
smatz
6be25eabb3
(svn r14328) -Fix (r11822): when a company was renamed and then manager was renamed before building anything, company name changed
2008-09-15 08:37:40 +00:00
rubidium
c496fe4d1a
(svn r14327) -Fix [FS#2251]: if you rename a town before building something and build something near that town your company would be called "<old townname> Transport".
2008-09-14 20:11:34 +00:00
rubidium
497ded7e40
(svn r14326) -Fix: some wrong comments (Yexo)
2008-09-14 19:36:31 +00:00
translators
cc16809f71
(svn r14325) -Update: WebTranslator2 update to 2008-09-14 17:42:18
...
czech - 2 fixed, 31 changed by Hadez (33)
english_US - 211 fixed by WhiteRabbit (211)
galician - 193 fixed, 10 changed by Condex (203)
german - 2 fixed, 38 changed by sulai (40)
swedish - 60 fixed by ChrillDeVille (60)
2008-09-14 17:42:25 +00:00
rubidium
7c8a50d7d8
(svn r14324) -Fix [FS#2241]: free any blocks that a helicopter may have on an oilrig when the helicopter gets forcefully removed (bankruptcy). For other airports this isn't needed as they can't be used by multiple companies.
2008-09-14 16:49:21 +00:00
smatz
5df524ecc0
(svn r14323) -Fix (r14064): forgot a return...
2008-09-14 16:01:46 +00:00
smatz
c5960b4be1
(svn r14322) -Fix (r10368): possible assert when renaming removed waypoint
2008-09-14 15:48:49 +00:00
rubidium
6ce4fe40f7
(svn r14321) -Add: support for newgrfs printing bytes/words/dwords as hexadecimals.
2008-09-14 14:31:37 +00:00
rubidium
811193e468
(svn r14320) -Fix [FS#2299]: glitch when chatbox window is full and the window is scrolled (yorP)
2008-09-14 10:39:22 +00:00
smatz
9174c19291
(svn r14319) -Fix (r10760): use operator delete when deleting an order, so order pool fills up a bit slower
2008-09-14 10:32:32 +00:00
rubidium
cbbb2eb85c
(svn r14318) -Fix [FS#2296]: OSK of the chat box did not get updated. This as the chatbox got a higher priority than the OSK instead of the usual other way around.
2008-09-14 10:30:31 +00:00
peter1138
45ce441a55
(svn r14317) -Fix (r13662) [FS#2298]: Order distance processing for conditional orders on ships treated v->orders as an array, and didn't use the correct next order.
2008-09-14 08:47:18 +00:00
smatz
54d1b49981
(svn r14316) -Fix: do not allow building road over level crossings and drive-through road stops in the wrong direction even when the roadtype is present
2008-09-13 17:37:18 +00:00
smatz
c4d49dfc21
(svn r14315) -Fix: allow adding roadtypes only to drive-through road stops
2008-09-13 17:26:44 +00:00
smatz
d5ca29a5ab
(svn r14314) -Fix: pay for two road bits when adding/removing roadtype at drive through road stop/level crossing
2008-09-13 17:06:44 +00:00
frosch
856157b6da
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
2008-09-13 15:49:29 +00:00
rubidium
0251a9c529
(svn r14310) -Fix: don't show palette information in the newgrf lists of the network lobby.
2008-09-13 12:40:31 +00:00
rubidium
ab4d0e2dac
(svn r14309) -Fix [FS#2244]: aircraft frozen above oil rig when the next order is invalid.
2008-09-13 11:00:30 +00:00
rubidium
defecbc6ef
(svn r14308) -Fix [FS#2268]: pay extra when tram/road bits need to be build for a roadstop.
2008-09-13 10:41:00 +00:00
smatz
66be028ad4
(svn r14307) -Fix: when deleting a station, remove news items regarding it
2008-09-13 10:19:51 +00:00
rubidium
fc62d736f7
(svn r14306) -Codechange: unify the code to draw the vehicle list.
...
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-13 10:04:36 +00:00
frosch
1647597943
(svn r14305) -Fix [FS#2294] (r5033): [YAPF] Only reserve road slots for multistop when they are really reachable.
2008-09-12 23:23:41 +00:00
smatz
3236b3d10e
(svn r14304) -Fix (r14104): waypoint train list wasn't closed with the waypoint window (crashes since r14296)
2008-09-12 22:52:48 +00:00
rubidium
3b4d15d35b
(svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
2008-09-12 21:59:34 +00:00
rubidium
3384638e36
(svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
2008-09-12 21:58:36 +00:00
rubidium
560e5560f1
(svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items.
2008-09-12 21:20:12 +00:00
translators
95bdb5a6a3
(svn r14300) -Update: WebTranslator2 update to 2008-09-12 17:41:59
...
brazilian_portuguese - 13 fixed by tucalipe (13)
catalan - 12 fixed by arnaullv (12)
danish - 9 fixed, 7 changed by ThomasA (16)
dutch - 1 changed by habell (1)
estonian - 5 fixed by kristjans (5)
galician - 98 fixed, 6 changed by Condex (104)
german - 7 fixed, 83 changed by sulai (69), dih (21)
korean - 12 fixed by leejaeuk5 (12)
romanian - 20 fixed by kneekoo (20)
slovenian - 5 fixed by Necrolyte (5)
2008-09-12 17:42:11 +00:00
rubidium
6d52fce720
(svn r14299) -Fix: disable 'toggle palette' when no NewGRF has been selected.
2008-09-12 17:38:57 +00:00
rubidium
d6bc633870
(svn r14298) -Fix [FS#2214]: "{CARGO} from unknown destination".
2008-09-12 17:16:04 +00:00
rubidium
8d449825f9
(svn r14297) -Fix: one could be trying to get the station name of a station that is outside of the pool.
2008-09-12 17:14:07 +00:00
rubidium
8f42c38039
(svn r14296) -Codechange: there is no case where an invalid waypoint index should be passed to be drawn as a string.
2008-09-12 17:11:28 +00:00
belugas
a2b00e24b6
(svn r14295) -Fix(r14294): If the house is not built yet, still give me proper coordinates, pretty please!
...
Plus, two(2) rogue tabs found their way in.
2008-09-12 17:05:23 +00:00
belugas
13eab4177d
(svn r14294) -Feature[newGRF]: Add Variational Action 2 Variable 0x47 for houses, Coordinates of the house tile
2008-09-12 17:02:22 +00:00
smatz
37edc141e2
(svn r14293) -Change: do not show PBS track reservation in the intro game
2008-09-11 21:53:59 +00:00
frosch
80b0671cc9
(svn r14292) -Cleanup (r11128): Move an 'if' out of a loop as it does not need to be iterated. (spotted by smatz)
2008-09-11 19:44:30 +00:00
frosch
33c2b798fb
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
2008-09-11 19:12:31 +00:00
smatz
ef03a41631
(svn r14290) -Fix (r13932): level crossings could be barred when they shouldn't be after savegame conversion
2008-09-11 17:41:43 +00:00
smatz
9431bf1c29
(svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should be in range 0-127, default value shouldn't be higher
...
(based on a patch by kakaopor)
2008-09-11 13:58:59 +00:00
michi_cc
1b7de43e80
(svn r14286) -Fix [FS#2265]: If a change of conventional/electric rail coincided with the start of a station platform, stale reservations could be left behind.
2008-09-09 19:21:22 +00:00
michi_cc
fa3f2ae035
(svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the reservation of another train inside the wormhole.
2008-09-09 19:02:47 +00:00
michi_cc
a7a7e2d3cc
(svn r14284) -Fix (r13958): Trains would not look ahead and extend their reservation on a waypoint tile in all cases.
2008-09-09 18:47:53 +00:00
smatz
0757669c49
(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection
2008-09-09 17:42:31 +00:00
translators
e5081f587a
(svn r14282) -Update: WebTranslator2 update to 2008-09-09 17:38:39
...
czech - 1 fixed, 7 changed by Hadez (7), joeprusa (1)
danish - 61 fixed, 6 changed by ThomasA (28), MiR (39)
dutch - 6 fixed by habell (5), webfreakz (1)
estonian - 1 fixed by kristjans (1)
finnish - 66 fixed by habazi (66)
french - 2 fixed, 2 changed by glx (4)
galician - 14 fixed by Condex (14)
german - 63 fixed, 16 changed by sulai (41), dih (38)
italian - 1 fixed, 1 changed by lorenzodv (2)
piglatin - 27 fixed by adammw (27)
romanian - 57 fixed by kneekoo (57)
russian - 13 fixed by Smoky555 (13)
slovenian - 6 fixed by Necrolyte (6)
spanish - 9 fixed by eusebio (9)
ukrainian - 6 fixed by mad (6)
2008-09-09 17:40:23 +00:00
smatz
f503c7c99e
(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places
2008-09-09 12:26:25 +00:00
frosch
95ba19ee69
(svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore.
2008-09-08 19:20:39 +00:00
frosch
e3f2da01d3
(svn r14275) -Change: Rename 'Configure patches' to 'Advanced settings'.
2008-09-08 17:23:50 +00:00
smatz
db7c2b97f8
(svn r14274) -Fix (r10237): nonexistant order could be selected in the timetable window (causing SIGFPE)
2008-09-08 11:06:43 +00:00
smatz
0a4090b8a7
(svn r14270) -Fix: make small UFO aware of articulated RVs
2008-09-07 22:23:25 +00:00
smatz
2c0a95ed66
(svn r14265) -Fix (r10750): desyncs after deleting a waypoint because of explicit destructor call instead of using operator delete
2008-09-07 18:21:57 +00:00
smatz
06be820730
(svn r14263) -Codechange: give a better error message when removing a sign fails
2008-09-07 16:22:55 +00:00
rubidium
3b7ffcf759
(svn r14260) -Fix [FS#2277]: merge keycode for "normal" 0-9 keys and keypad 0-9 keys so people don't get confused that the keypad doesn't work as expected.
2008-09-07 11:55:28 +00:00
rubidium
9474db5cb6
(svn r14258) -Codechange: rework the way to query the vehicle hash to make sure it always results in the same irregardless of the order of the hash-linked-list.
...
-Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-09-07 11:23:10 +00:00
rubidium
f4ee4fd5ae
(svn r14257) -Fix (r14153): incorrect update of ini-file group tail pointer causing memory corruption.
2008-09-07 08:51:26 +00:00
belugas
db58c25af2
(svn r14254) -Codechange: Code style and breathing room
2008-09-06 02:53:18 +00:00
translators
a7a2f54716
(svn r14250) -Update: WebTranslator2 update to 2008-09-05 15:13:08
...
afrikaans - 9 fixed by TrueTenacity (9)
croatian - 19 fixed by tperic (19)
czech - 5 fixed, 50 changed by Hadez (55)
dutch - 5 fixed by habell (5)
estonian - 9 fixed by kristjans (9)
french - 5 fixed by glx (5)
german - 85 fixed by dih (45), MaSch (40)
italian - 5 fixed, 4 changed by lorenzodv (9)
polish - 25 fixed, 4 changed by heimat (29)
spanish - 7 fixed by eusebio (7)
ukrainian - 5 fixed by mad (5)
2008-09-05 15:13:30 +00:00
rubidium
72b72bb368
(svn r14245) -Fix: NewGRF configs loaded from the config file would always default to the DOS palette instead of the "default" palette.
2008-09-04 19:43:20 +00:00
rubidium
236c613365
(svn r14243) -Fix [FS#2269]: clicking on the smallmap didn't break the "follow vehicle in main viewport".
2008-09-04 19:09:31 +00:00
frosch
e6688ab190
(svn r14239) -Fix [FS#2267]: The engine-purchase-list-sorter doubled running-cost and halfed capacity of double-headed engines.
2008-09-03 18:05:02 +00:00
glx
7b78084150
(svn r14235) -Fix (r14234): compilation with MSVC was broken
2008-09-03 13:25:56 +00:00
smatz
b6962222ee
(svn r14234) -Fix: feeder share was computed wrong when splitting cargo packet
2008-09-03 10:30:07 +00:00
rubidium
a4cd12274c
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
2008-09-03 07:51:07 +00:00
smatz
c620d5e5f0
(svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3
2008-09-02 21:11:48 +00:00
rubidium
a482f0053d
(svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff.
2008-09-02 20:24:55 +00:00
frosch
3ce1a5672e
(svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
2008-09-02 20:01:18 +00:00
rubidium
fc216aeeb8
(svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
2008-09-02 18:45:15 +00:00
smatz
c0cdfea97d
(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work
2008-09-02 17:24:46 +00:00
rubidium
c8e8911ef6
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
2008-09-02 15:20:38 +00:00
smatz
cbe397388f
(svn r14221) -Fix: signs (town name, station name, ...) could be too long for 8bit width in pixels
2008-09-02 14:46:28 +00:00
rubidium
fd97a89c57
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
2008-09-02 08:25:15 +00:00
peter1138
941f8b5f16
(svn r14215) -Cleanup (r13866): Strange line wrapping...
2008-09-01 08:57:33 +00:00
rubidium
886c8ec79f
(svn r14214) -Codechange: move another TTD graphics bug into the GRF; height problem of sprite #142 .
2008-08-31 23:12:57 +00:00
smatz
b51bb8c221
(svn r14210) -Codechange: remove a useless check when creating new waypoint
2008-08-31 21:30:36 +00:00
smatz
7fa98e33ce
(svn r14209) -Feature(tte): doubleclick to join selected server/company
2008-08-31 20:54:01 +00:00
peter1138
744b3527e5
(svn r14208) -Fix (r14197): Crash if no .obg files are found.
2008-08-31 20:08:24 +00:00
rubidium
dc2ace2494
(svn r14207) -Fix [FS#2262] (r14191): warning about non-virtual destructor in class with virtual functions.
2008-08-31 19:56:52 +00:00
translators
48479cd86f
(svn r14205) -Update: WebTranslator2 update to 2008-08-31 19:47:56
...
bulgarian - 12 fixed by thetitan (12)
catalan - 49 fixed by arnaullv (49)
czech - 4 fixed, 15 changed by Hadez (19)
dutch - 2 fixed, 5 changed by habell (7)
french - 2 fixed, 1 changed by belugas (1), glx (2)
galician - 75 fixed, 54 changed by Condex (129)
german - 10 fixed, 1 changed by dih (11)
italian - 5 fixed, 5 changed by lorenzodv (10)
korean - 14 fixed by leejaeuk5 (14)
slovenian - 6 fixed by Necrolyte (6)
turkish - 18 fixed by jnmbk (18)
ukrainian - 2 fixed by mad (2)
2008-08-31 17:48:17 +00:00
smatz
f2dbe6685d
(svn r14204) -Fix (r7475): when determining length of a string with limited size, first check if we are not out of bounds already
2008-08-31 17:34:03 +00:00
peter1138
7bc5b136b1
(svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID.
2008-08-31 16:41:27 +00:00
peter1138
b4b1f26a9f
(svn r14202) -Codechange: [NewGRF] Give more meaningful output if a house/industry/industrytile is undefined in action 3, and continue processing remaining IDs.
2008-08-31 15:46:14 +00:00
peter1138
7e88b7bb3e
(svn r14201) -Codechange: [NewGRF] Don't continue processing an Action 0 if we didn't read the data for a property -- the data will be wrong for subsequent reads.
...
-Codechange: [NewGRF] *Do* continue processing if the value of a property is invalid, however.
2008-08-31 15:26:46 +00:00
rubidium
6b86de13d6
(svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments!
2008-08-31 11:51:09 +00:00
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31 10:50:05 +00:00
peter1138
46e23b8f99
(svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties.
2008-08-31 09:52:47 +00:00
rubidium
c3a9653c89
(svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
...
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-31 08:46:43 +00:00
rubidium
1afa473d0f
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
2008-08-31 08:38:30 +00:00
rubidium
0b88f0cf54
(svn r14193) -Fix (r14191): don't put an unsigned 0x80 in a signed int8 as that's not what you want.
2008-08-30 12:14:56 +00:00
rubidium
d40145008e
(svn r14192) -Fix [FS#2236]: properly update the current timetable's travel/wait times instead of only doing it for one vehicle in the shared order chain and only when some bit has not been set (PhilSophus)
2008-08-30 10:26:16 +00:00
rubidium
d3d34d2aac
(svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
...
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
2008-08-30 09:46:52 +00:00
rubidium
e06c21426e
(svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended.
2008-08-30 09:43:07 +00:00
peter1138
bfcd6e9772
(svn r14189) -Fix (r14188): Accidental line removal
2008-08-30 09:01:05 +00:00
peter1138
2b67c01a24
(svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it.
2008-08-30 08:59:55 +00:00
rubidium
468655c916
(svn r14187) -Fix (r14104): silence warning when compiling without networking enabled.
2008-08-29 21:11:28 +00:00
rubidium
ead8de78ea
(svn r14186) -Fix [FS#2255]: small typo (Jafinto)
2008-08-29 21:07:26 +00:00
rubidium
7c002c14cc
(svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible.
2008-08-29 21:06:49 +00:00
peter1138
4c56b827e5
(svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached.
2008-08-29 20:03:51 +00:00
peter1138
80c9ecedcd
(svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early.
2008-08-28 19:53:25 +00:00
peter1138
38ee1c8d49
(svn r14181) -Fix (r14175): Rail types are not road types
2008-08-28 19:22:03 +00:00
glx
e598fa4701
(svn r14180) -Fix (r8293): close all related vehicle lists when closing a station window (and not only the train list).
2008-08-27 21:30:20 +00:00
frosch
ef60a4cf35
(svn r14179) -Fix (r1): RemoveOrderFromAllVehicles() did not mark enough windows dirty.
2008-08-27 19:54:41 +00:00
frosch
7ce75961b4
(svn r14178) -Fix [FS#2256]: Do not evaluate GetDestination() for go-to-nearest-depot-orders.
2008-08-27 19:21:01 +00:00
smatz
361292bd23
(svn r14177) -Fix: define INADDR_NONE only when it hasn't been defined yet
2008-08-25 22:10:47 +00:00
smatz
e840aabf8d
(svn r14176) -Fix: better 'safe' than ... 'save'
2008-08-25 20:54:34 +00:00
peter1138
759fb5937d
(svn r14175) -Codechange: Rewrite the main toolbars to use the standard dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication.
2008-08-25 20:42:54 +00:00
smatz
c9bef19043
(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
2008-08-25 20:10:45 +00:00
peter1138
b60ff46806
(svn r14173) -Fix: Don't check for rail type and catenary on aqueducts.
2008-08-25 18:14:19 +00:00
belugas
23a9938317
(svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
...
In other words, one can now specifies a 16 bits cost multiplier.
2008-08-25 17:16:27 +00:00
belugas
bc7a87613f
(svn r14171) -Codechange: Make the test for HQ a bit lighter.
...
The presence of a HQ is only dictated by the 7th bit been set.
The rest of the data is related to the size and the type.
2008-08-25 16:41:00 +00:00
peter1138
6a742cef5f
(svn r14170) -Codechange: Missing enum for road type iteration.
2008-08-25 16:20:26 +00:00
belugas
08898f69be
(svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation
2008-08-25 16:10:34 +00:00
peter1138
cf52b683c0
(svn r14168) -Codechange: Make dropdown 'auto_width' a separate parameter, so that a minimum width can be specified.
2008-08-25 16:07:10 +00:00
rubidium
621a9b647a
(svn r14167) -Fix: items in some ini-groups got duplicated on save.
2008-08-25 15:15:41 +00:00
matthijs
262ddecfc5
(svn r14166) -Doc: Change "forbid 90 degree turn" patch option description to say "not with NTP" instead of "requires NPF" (which has been untrue since the introduction of YAPF). Thanks to FauxFaux for pointing this out.
2008-08-25 12:47:17 +00:00
peter1138
c76455be02
(svn r14165) -Codechange: When over-building rail with a different type, don't convert the rail if the engines of the new type are powered on the existing type.
2008-08-25 10:58:24 +00:00
rubidium
411c65e755
(svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
...
-Fix: wrong insertion management causing leaks.
2008-08-25 06:35:28 +00:00
peter1138
6e4d8a273e
(svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same.
2008-08-24 23:29:58 +00:00
rubidium
b2d6254b44
(svn r14161) -Codechange: allow inis to be loaded from tars.
2008-08-24 23:12:10 +00:00
peter1138
b45ced35ee
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
2008-08-24 23:10:23 +00:00
peter1138
2f80a277eb
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
2008-08-24 23:00:11 +00:00
peter1138
ff07598ce2
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
2008-08-24 21:31:24 +00:00
smatz
0d4e7f9537
(svn r14156) -Fix (r14153): missing/wrong comments
2008-08-24 17:29:57 +00:00
glx
4a4549405c
(svn r14155) -Fix (r14154): wrong comments
2008-08-24 17:18:05 +00:00
glx
2ddb86eea5
(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms
2008-08-24 17:02:21 +00:00
rubidium
ae32d158cb
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
2008-08-24 13:50:31 +00:00
rubidium
a4854aaddc
(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... thus making compilation fail on OSX (planetmaker)
2008-08-24 09:48:21 +00:00
rubidium
8c73b5c42d
(svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
2008-08-24 08:41:38 +00:00
belugas
14bc2b5d4f
(svn r14150) -Add: Add the count of trains using the current waypoint in the vehicle list window's caption
2008-08-24 01:39:56 +00:00
frosch
6aeeeb9012
(svn r14149) -Fix: When selling the front engine of a train consist with another engine at the second position, not all 'important' data was copied to the new head.
2008-08-23 23:31:27 +00:00
frosch
13d938ae3d
(svn r14148) -Fix (r14096) [FS#2239]: Orders were freed while they were still shared by other vehicles.
2008-08-23 23:15:04 +00:00
frosch
32e1fd55c5
(svn r14147) -Codechange: Allow passing 'const Vehicle *' to GetNextUnit() and GetPrevUnit().
2008-08-23 22:31:36 +00:00
rubidium
200f405706
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-23 20:16:54 +00:00
frosch
5de17da66e
(svn r14145) -Fix (r14135, r14141): When savegame conversion cannot determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild.
2008-08-23 19:14:27 +00:00
peter1138
2e28978264
(svn r14144) -Fix (r8826): Incorrect cargo weights
2008-08-23 18:05:52 +00:00
frosch
a813b6a854
(svn r14143) -Codechange: Recenter viewport of waypoint window when relocating the waypoint.
2008-08-23 16:34:05 +00:00
frosch
857df41a6d
(svn r14142) -Codechange: Disallow taking over greyed waypoints of other companies.
2008-08-23 16:26:01 +00:00
frosch
4e0faffc72
(svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner.
2008-08-23 16:16:37 +00:00
frosch
63f4726e06
(svn r14140) -Fix (r14135): Enum in saveload-table.
2008-08-23 16:13:31 +00:00
frosch
5216223f45
(svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile.
2008-08-23 16:09:06 +00:00
smatz
0816d2cf20
(svn r14138) -Fix (r12863): dark blue wasn't considered as similiar to blue
2008-08-23 12:29:41 +00:00
celestar
7e8c7dfcbf
(svn r14137) -Codechange: Remove a now unused member of CargoPacket
2008-08-23 09:31:53 +00:00
belugas
7dc212edeb
(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it.
2008-08-23 02:15:46 +00:00
frosch
f625ecbeba
(svn r14134) -Fix (r12667, r13579) [FS#2245]: Update 'current_order' when changing 'cur_order_index'.
2008-08-23 00:32:01 +00:00
rubidium
ca27155a52
(svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0.
2008-08-22 22:54:38 +00:00
frosch
12f38e56df
(svn r14132) -Fix (r14039): Only reserve a path on leaving a station if the current block really is a PBS block. (michi_cc)
2008-08-22 22:48:12 +00:00
frosch
9fe035f8e8
(svn r14131) -Fix (r13952) [FS#2250]: The reservation of adjacent stations was sometimes not freed correctly. (michi_cc)
2008-08-22 22:42:21 +00:00
frosch
f2623e7c09
(svn r14130) -Fix (r13961) [FS#2248]: Clear the stuck state of a train that is reversing with the first vehicle inside a depot. (michi_cc)
2008-08-22 22:28:26 +00:00
frosch
b03fcdf323
(svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not updated when cycling the signal side. Patch by michi_cc with a small addition from me.
2008-08-22 22:19:23 +00:00
belugas
bb3c205e05
(svn r14127) -Feature(ette): Give the the player's colour to the waypoint window been shown
2008-08-22 01:14:25 +00:00
frosch
0e2736399e
(svn r14126) -Codechange (r14125): Add some tabs.
2008-08-21 20:45:52 +00:00
frosch
447d0930f7
(svn r14125) -Fix [FS#2237]: Segfault when autoreplace failed very early.
...
Note: Proper indenting in next commit.
2008-08-21 20:42:45 +00:00
belugas
f520a702e0
(svn r14123) -Codechange: a few magical number to sprite name conversions
2008-08-21 19:12:24 +00:00
translators
90176a547a
(svn r14120) -Update: WebTranslator2 update to 2008-08-21 10:46:06
...
brazilian_portuguese - 33 fixed by tucalipe (33)
czech - 1 fixed, 11 changed by Hadez (12)
dutch - 4 fixed by habell (4)
estonian - 25 fixed, 111 changed by kristjans (135), vermon (1)
french - 3 fixed, 8 changed by glx (9), belugas (2)
galician - 78 fixed by Condex (78)
german - 13 fixed by dih (13)
korean - 20 fixed, 1 changed by leejaeuk5 (21)
simplified_chinese - 51 fixed, 1 changed by ww9980 (52)
slovenian - 54 fixed by Necrolyte (54)
ukrainian - 3 fixed by mad (3)
2008-08-21 08:46:25 +00:00
belugas
8385653118
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
2008-08-21 02:19:31 +00:00
belugas
d3dd9c6566
(svn r14118) -Fix(r14104): typos creeping like bugs
2008-08-21 01:42:21 +00:00
frosch
ff749ab09d
(svn r14114) -Fix [FS#2242]: Sign list was not properly updated on removal of signs.
2008-08-20 19:53:42 +00:00
frosch
f42fab0dec
(svn r14113) -Codechange: Language updates for r14112.
2008-08-20 19:33:06 +00:00
frosch
7c5d237447
(svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken.
2008-08-20 19:31:35 +00:00
frosch
d43a475650
(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}.
2008-08-20 19:10:42 +00:00
glx
ef0458c739
(svn r14110) -Fix: desyncs due to bubbles in toyland
2008-08-20 16:51:08 +00:00
smatz
5d5cb04297
(svn r14109) -Fix (r14107): marking reserved tile dirty is needed for waypoints and stations even when patch option is disabled
2008-08-20 16:06:27 +00:00
belugas
80ca96d469
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
2008-08-20 15:27:22 +00:00
smatz
999994bcf3
(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed
2008-08-20 15:21:03 +00:00
belugas
578833ef01
(svn r14106) -Fix(r14104): A string too much been commited
2008-08-20 13:32:57 +00:00
belugas
f2f2bcf23c
(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
...
Provided by ln
I've added a little fix on currency.cpp too, why not :)
2008-08-20 01:38:12 +00:00
belugas
77ee099212
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
...
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
2008-08-20 01:29:05 +00:00
smatz
bd6ef958e7
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
2008-08-19 10:55:33 +00:00
rubidium
aa80c3a96c
(svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages.
2008-08-19 09:08:45 +00:00
rubidium
c98c3122b5
(svn r14101) -Cleanup (r14083): leftover friend.
2008-08-18 21:44:03 +00:00
belugas
1500ed3665
(svn r14099) -Codechange: Welcome back, Celestar.
...
While at it, an alphabetic error been fixed
2008-08-18 17:07:27 +00:00
celestar
23a48b2815
(svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle
2008-08-18 16:52:40 +00:00
rubidium
99efe9aaae
(svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though.
2008-08-17 21:07:09 +00:00
rubidium
abd9f74871
(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
2008-08-17 19:56:17 +00:00
frosch
ca3f1f6406
(svn r14095) -Fix (r14076): Trains shall not stop instantly.
2008-08-17 18:48:18 +00:00
glx
fbd2db34e6
(svn r14094) -Revert (r14071): caused more problems than it solved
2008-08-17 15:03:54 +00:00
rubidium
2f5caa63f8
(svn r14093) -Fix [FS#2230]: don't flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5).
2008-08-17 13:56:11 +00:00
rubidium
2f7c20eccd
(svn r14092) -Cleanup (r14083): dead code, i.e. unused function.
2008-08-17 11:52:06 +00:00
frosch
11a20379f3
(svn r14091) -Cleanup (r14083): Remove superfluous '#include's.
2008-08-17 11:49:35 +00:00
rubidium
3663965f3e
(svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot.
2008-08-17 11:12:56 +00:00
rubidium
b6b9cd9d51
(svn r14089) -Fix [FS#2219]: trains not being able to find a route to a depot when the front is already in the depot.
2008-08-17 11:04:37 +00:00
rubidium
9648bf3019
(svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime)
2008-08-16 21:48:28 +00:00
smatz
25a1c59abb
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
2008-08-16 18:01:23 +00:00
frosch
9751fbe4dc
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
2008-08-16 14:15:32 +00:00
frosch
f3e7b77dcb
(svn r14084) -Codechange: Language updates for r14083.
2008-08-16 14:04:29 +00:00
frosch
f7826f8a37
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
2008-08-16 14:02:20 +00:00
frosch
56459cab81
(svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads.
2008-08-16 13:52:44 +00:00
glx
c10691faff
(svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small)
2008-08-15 22:06:58 +00:00
peter1138
9d0e1b635a
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
2008-08-15 17:54:43 +00:00
frosch
844a83ed58
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
2008-08-15 13:57:43 +00:00
rubidium
20ee6f1158
(svn r14071) -Fix [FS#2057]: the screen wouldn't be centered on Windows multimonitor systems if the first monitor is right of the second one.
2008-08-13 19:09:27 +00:00
rubidium
d986380169
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
2008-08-13 14:52:54 +00:00
rubidium
e5bdcfaf9e
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
2008-08-13 14:26:20 +00:00
rubidium
2d94337e1a
(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client.
2008-08-13 06:22:04 +00:00
rubidium
97c184f8f8
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
2008-08-13 06:05:01 +00:00
rubidium
08e7da71f5
(svn r14062) -Fix [FS#2226]: division by 0 in newai.
2008-08-13 05:12:36 +00:00
belugas
c773d33cc3
(svn r14061) -Codechange: constification and move a declaration more logically
2008-08-13 02:48:50 +00:00
belugas
931f16cfa8
(svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.
...
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say. THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
2008-08-13 02:43:42 +00:00
belugas
7564dbd32f
(svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste...
2008-08-13 01:48:58 +00:00
rubidium
0b9be84d46
(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime)
2008-08-12 22:14:57 +00:00
rubidium
d1073ba574
(svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime)
2008-08-12 22:12:14 +00:00
rubidium
fe87fa8205
(svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
2008-08-12 20:49:27 +00:00
rubidium
203b5eed27
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
2008-08-12 20:31:49 +00:00
rubidium
4ae352d288
(svn r14054) -Fix (rthebeginning): long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
2008-08-12 19:29:10 +00:00
rubidium
72c154fd0f
(svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages.
2008-08-12 12:23:05 +00:00
rubidium
a3910ced70
(svn r14051) -Codechange: enumify the DrawString buffer length.
2008-08-12 11:21:37 +00:00
belugas
61007078b6
(svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too.
2008-08-12 02:20:39 +00:00
rubidium
c04ab6628b
(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)
2008-08-11 22:58:30 +00:00
rubidium
d0c1a989a4
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-08-11 22:45:11 +00:00
rubidium
6995365535
(svn r14046) -Codechange: make the size of querystring "widgets" more configurable.
2008-08-11 22:08:56 +00:00
rubidium
3b4c3a3df6
(svn r14045) -Codechange: move the network's limitation to chat messages to a more logical location and give it a more consistent name.
2008-08-11 22:07:26 +00:00
belugas
5f52c44c14
(svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too.
2008-08-11 20:06:57 +00:00
belugas
7f5173bf94
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
2008-08-11 18:30:52 +00:00
glx
16aac30c66
(svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands
2008-08-11 17:15:31 +00:00
belugas
ebe9ae2b17
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
...
since captions have their own encoded colours in string.
2008-08-11 16:31:36 +00:00
rubidium
8726c2fd99
(svn r14039) -Fix [FS#2217]: reversing an overlength train at a station would try to find a route out and sometimes reset the unload counter making it wait 2.5 years before departing instead of waiting until the train would actually leave the station (michi_cc)
2008-08-10 21:56:47 +00:00
rubidium
2086f77dab
(svn r14038) -Fix [FS#2211] (r13731): company limit was not properly enforced for CMD_PLAYER_CTRL.
2008-08-10 19:00:33 +00:00
frosch
4eae917c1c
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
2008-08-10 15:02:21 +00:00
rubidium
b1ed3bad58
(svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc)
2008-08-10 13:37:09 +00:00
translators
1c04049f1c
(svn r14035) -Update: WebTranslator2 update to 2008-08-10 11:54:57
...
bulgarian - 4 fixed by thetitan (4)
croatian - 15 fixed by knovak (15)
czech - 47 fixed, 29 changed by Hadez (76)
dutch - 29 fixed by habell (29)
estonian - 8 fixed, 63 changed by kristjans (71)
french - 29 fixed, 1 changed by glx (30)
italian - 29 fixed, 6 changed by lorenzodv (35)
russian - 52 fixed by Smoky555 (52)
slovak - 2 fixed by lengyel (2)
spanish - 35 fixed by eusebio (35)
ukrainian - 30 fixed by mad (30)
2008-08-10 09:55:26 +00:00
peter1138
8531a1f430
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
2008-08-09 18:46:51 +00:00
peter1138
6ad76f4d1c
(svn r14033) -Fix (r13938) [FS#2209]: Wrong offset in signal GUI. (Eddi)
2008-08-09 18:42:37 +00:00
bjarni
fbef6535a5
(svn r14032) -Fix (r13584): [OSX] changed the condition for selecting 8 or 32 bpp blitter by default
...
Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock)
2008-08-09 17:56:31 +00:00
frosch
731685cf64
(svn r14031) -Fix (r13850): Determining the refit cargo did not work, when the old vehicle did not carry anything but the new one did.
2008-08-09 16:42:55 +00:00
frosch
92afb4d9bd
(svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable.
2008-08-09 11:04:42 +00:00
belugas
815f08982a
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
2008-08-09 03:30:15 +00:00
belugas
9e883ca48f
(svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around.
2008-08-09 02:54:06 +00:00
belugas
e3ea3c8fbe
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
2008-08-09 02:11:46 +00:00
glx
788b625553
(svn r14026) -Cleanup (r13995, r14004): trailing whitespaces
2008-08-08 15:49:16 +00:00
smatz
cc3685ffaf
(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc)
2008-08-08 15:02:21 +00:00
smatz
872cefeb27
(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc)
2008-08-08 14:58:27 +00:00
smatz
b595d59497
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
2008-08-08 13:53:06 +00:00
smatz
5229e45363
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
2008-08-08 13:29:18 +00:00
rubidium
de629dd62f
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
2008-08-08 09:31:50 +00:00
peter1138
2cb555ed11
(svn r14018) -Fix (r14017): Typos prevented compilation.
2008-08-08 06:02:06 +00:00
belugas
ef22740ccb
(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button
2008-08-08 03:37:00 +00:00
belugas
a2f590aeec
(svn r14016) -Codechange: Remove some magical numbers
2008-08-08 02:28:28 +00:00
peter1138
3c2f69bf62
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
2008-08-07 18:26:13 +00:00
peter1138
6bae045b4a
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
2008-08-07 18:11:09 +00:00
rubidium
bf65e7e8f9
(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction.
2008-08-07 13:07:51 +00:00
peter1138
a993a29b63
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
2008-08-07 07:48:57 +00:00
belugas
8c7a450e98
(svn r14011) -Codechange: not required to define an enum which was just the representation of another.
...
If you want to customize it more easily, why not a simple const of said enum value?
2008-08-07 01:28:27 +00:00
peter1138
aff313cd4b
(svn r14009) -Cleanup (r14008): Bad whitespace...
2008-08-06 20:14:21 +00:00
peter1138
1e5175451a
(svn r14008) -Fix (r14004): NewGRF preset drop down list not working
2008-08-06 20:12:42 +00:00
frosch
acf224683d
(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside.
2008-08-06 19:00:31 +00:00
frosch
cffd5d17de
(svn r14006) -Codechange: Deduplicate some code.
2008-08-06 18:57:37 +00:00
smatz
0eade71bde
(svn r14005) -Codechange: minor coding style fix
2008-08-06 15:52:04 +00:00
peter1138
98d3d86004
(svn r14004) -Codechange: Clean of drop down lists.
...
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
2008-08-06 07:10:40 +00:00
belugas
85c84c9d86
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
2008-08-06 04:01:07 +00:00
smatz
158d4acbba
(svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game
2008-08-05 13:25:49 +00:00
peter1138
ddd8b73f0a
(svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum
2008-08-05 00:17:56 +00:00
rubidium
fe6111d6f2
(svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot.
2008-08-04 22:31:49 +00:00
rubidium
0ebcac669e
(svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found.
2008-08-04 19:07:37 +00:00
frosch
96b9fba333
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
2008-08-04 18:54:19 +00:00
rubidium
b1eaf763e1
(svn r13995) -Fix (r13988): some warnings of the compile farm.
2008-08-04 18:27:54 +00:00
belugas
5c3a18fa90
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
2008-08-04 17:27:06 +00:00
belugas
d21f73658c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
2008-08-04 17:12:23 +00:00
rubidium
6c5f703cf0
(svn r13992) -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too.
2008-08-04 15:07:17 +00:00
smatz
8fba4705f0
(svn r13991) -Codechange: draw text effects after all other signs
2008-08-04 14:40:50 +00:00
glx
0f10939029
(svn r13990) -Fix (r13988): win32 compilation failed
2008-08-04 13:54:10 +00:00
rubidium
7a50ae28d5
(svn r13989) -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc).
2008-08-04 13:15:15 +00:00
rubidium
c88cb1daa0
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
2008-08-04 12:56:38 +00:00
peter1138
a822e259c5
(svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space.
2008-08-04 05:59:28 +00:00
smatz
dcc10a3b8f
(svn r13985) -Fix (r13944): gcc 2.95 compilation
2008-08-03 20:50:12 +00:00
peter1138
63cd8fc24f
(svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height.
2008-08-03 20:09:35 +00:00
frosch
628723d45c
(svn r13983) -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up.
2008-08-03 19:04:11 +00:00
peter1138
1f4b89ff4b
(svn r13982) -Fix (r13981): And then not enough was cleared...
2008-08-03 18:56:44 +00:00
peter1138
e434323d38
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
2008-08-03 18:51:13 +00:00
peter1138
e1451e1124
(svn r13980) -Codechange: Turn small map legend while loop into a for-loop.
2008-08-03 18:18:36 +00:00
peter1138
29ba35df7b
(svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area.
2008-08-03 18:00:28 +00:00
peter1138
65f26bb737
(svn r13978) -Fix: Incorrect widget size.
2008-08-03 17:36:39 +00:00
peter1138
92b63e38f0
(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets.
2008-08-03 17:35:08 +00:00
frosch
b92c4cfc92
(svn r13976) -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc)
2008-08-03 17:16:39 +00:00
peter1138
a5453e43b1
(svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window.
2008-08-03 14:58:26 +00:00
frosch
983e297ff0
(svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc)
2008-08-03 14:16:57 +00:00
smatz
9a1958be91
(svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc)
2008-08-03 11:28:35 +00:00
rubidium
6639c496c3
(svn r13972) -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect.
2008-08-03 08:25:26 +00:00
rubidium
13dee60ae1
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
2008-08-03 08:20:04 +00:00
belugas
96892e081a
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
...
Mostly forgotten ones.
2008-08-03 02:18:45 +00:00
glx
87c3599895
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
2008-08-02 23:30:50 +00:00
rubidium
cc48f3d6f9
(svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc)
2008-08-02 22:57:47 +00:00
rubidium
bba8ff290e
(svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc)
2008-08-02 22:57:18 +00:00
rubidium
88b1ee0b43
(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc)
2008-08-02 22:57:03 +00:00
rubidium
1e2c61360b
(svn r13964) -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc)
2008-08-02 22:56:50 +00:00
rubidium
47a5faf874
(svn r13963) -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc)
2008-08-02 22:56:35 +00:00
rubidium
5c9bb1bbd6
(svn r13962) -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc)
2008-08-02 22:56:21 +00:00
rubidium
db637a2b7f
(svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc)
2008-08-02 22:56:07 +00:00
rubidium
9e91bb4b33
(svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc)
2008-08-02 22:55:52 +00:00
rubidium
4339948b1f
(svn r13959) -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc)
2008-08-02 22:55:38 +00:00
rubidium
16ab0d84bb
(svn r13958) -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc)
2008-08-02 22:55:23 +00:00
rubidium
753da05bc6
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
2008-08-02 22:55:08 +00:00
rubidium
bce6f7b41c
(svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc)
2008-08-02 22:54:53 +00:00
rubidium
bd0a420744
(svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc)
2008-08-02 22:54:38 +00:00
rubidium
e9b62103e4
(svn r13954) -Codechange [YAPP]: On reserving a path that ends at the destination, the path could end at a non-safe tile. In this case, extend the reservation based on the next vehicle orders. (michi_cc)
2008-08-02 22:54:23 +00:00
rubidium
d06fb949ff
(svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc)
2008-08-02 22:54:07 +00:00
rubidium
10d8fb6456
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
2008-08-02 22:53:51 +00:00
rubidium
33898d49bb
(svn r13951) -Codechange [YAPP]: A train leaving a tile should unreserve the track it came from if it was reserved. (michi_cc)
2008-08-02 22:53:37 +00:00
rubidium
e9c33fb288
(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc)
2008-08-02 22:53:21 +00:00
rubidium
0dfaa88c1e
(svn r13949) -Codechange [YAPP]: Declare the functions for processing conditional orders as non-static. (michi_cc)
2008-08-02 22:53:05 +00:00
rubidium
a706766690
(svn r13948) -Add [YAPP]: Extend NPF with a function to find a safe tile and reserve a path. (michi_cc)
2008-08-02 22:52:50 +00:00
rubidium
4f5f3846a0
(svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc)
2008-08-02 22:52:36 +00:00
rubidium
cd041b6944
(svn r13946) -Add [YAPP]: Implement track reserving for NPF as well. (michi_cc)
2008-08-02 22:52:22 +00:00
rubidium
773f19da05
(svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc)
2008-08-02 22:52:08 +00:00
rubidium
53cc7e8a5c
(svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc)
2008-08-02 22:51:53 +00:00
rubidium
2b153abd93
(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc)
2008-08-02 22:51:38 +00:00
rubidium
ecc509195a
(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc)
2008-08-02 22:51:23 +00:00
rubidium
8c7983727e
(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc)
2008-08-02 22:51:07 +00:00
rubidium
abc46b1e86
(svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc)
2008-08-02 22:50:52 +00:00
rubidium
c91c12adde
(svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc)
2008-08-02 22:50:38 +00:00
rubidium
908591b40a
(svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc)
2008-08-02 22:50:22 +00:00
rubidium
3e055b32bf
(svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc)
2008-08-02 22:50:04 +00:00
rubidium
07a43863c4
(svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc)
2008-08-02 22:49:39 +00:00
rubidium
60006ad24c
(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc)
2008-08-02 22:49:23 +00:00
rubidium
5c55922a06
(svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc)
2008-08-02 22:49:10 +00:00
rubidium
d6645818b4
(svn r13933) -Codechange [YAPP]: Handle through and PBS signals correctly in the signal code. (michi_cc)
2008-08-02 22:48:57 +00:00
rubidium
fe4f23dba2
(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc)
2008-08-02 22:48:43 +00:00
rubidium
ad4fdb76fc
(svn r13931) -Codechange [YAPP]: Retain the reservation state when building/removing waypoints or level crossings. (michi_cc)
2008-08-02 22:48:27 +00:00
rubidium
9295bd3f7c
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
2008-08-02 22:48:14 +00:00
rubidium
f6555cf6f8
(svn r13929) -Codechange [YAPP]: Reserving and unreserving of single tracks is now possible. (michi_cc)
2008-08-02 22:48:01 +00:00
rubidium
2bb8825538
(svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc)
2008-08-02 22:47:48 +00:00
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
2008-08-02 22:47:34 +00:00
rubidium
ec7cc49825
(svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc)
2008-08-02 22:47:20 +00:00
frosch
770d293788
(svn r13923) -Feature: Show [total-]cargo info in depot when [ctrl-]right-clicking on vehicle.
2008-08-02 12:43:45 +00:00
frosch
0fc769bb6c
(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window.
2008-08-02 11:26:25 +00:00
peter1138
b92520ddfd
(svn r13921) -Codechange (r11473): Use the correct enum...
2008-08-02 10:17:45 +00:00
belugas
d0d285ed57
(svn r13920) -Codechange: uniformise the definition with the declaration of DrawFrameRect
2008-08-02 02:50:40 +00:00
belugas
c5cecdd2e3
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-08-02 02:28:17 +00:00
rubidium
d67ef3573c
(svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list.
2008-08-01 23:08:11 +00:00
bjarni
862ba19279
(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
2008-08-01 17:43:11 +00:00
rubidium
ad36ea6b29
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
2008-08-01 15:07:31 +00:00
smatz
7c0b1172e1
(svn r13911) -Fix (r13806): do not consider crashed train as waiting at signal, v->direction doesn't have to match track anyway
2008-08-01 13:25:19 +00:00
rubidium
c5a4e90338
(svn r13910) -Document: string drawing related functions and types (Alberth)
2008-08-01 09:34:34 +00:00
rubidium
47592b9288
(svn r13909) -Codechange: use the same type before CmdBuildRailStation as it used in the command itself (Alberth)
2008-08-01 09:26:39 +00:00
rubidium
62c94f1b12
(svn r13908) -Codechange: merge two tables into a single one (Alberth)
2008-08-01 09:17:27 +00:00
belugas
69671d3aef
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
2008-08-01 03:43:53 +00:00
translators
325ef293fd
(svn r13905) -Update: WebTranslator2 update to 2008-08-01 02:27:37
...
brazilian_portuguese - 22 fixed by tucalipe (22)
dutch - 9 fixed by habell (9)
estonian - 4 fixed by kristjans (4)
french - 5 fixed, 1 changed by glx (6)
galician - 105 fixed, 206 changed by Condex (311)
italian - 5 fixed, 2 changed by lorenzodv (7)
korean - 15 fixed by leejaeuk5 (15)
portuguese - 48 fixed by supra90 (48)
slovak - 30 fixed by lengyel (30)
spanish - 9 fixed by eusebio (9)
ukrainian - 22 fixed by mad (22)
2008-08-01 00:31:20 +00:00
glx
513f4c7ca7
(svn r13904) -Fix (r13715): 'cast from/to pointer to/from integer of different size' warnings
2008-07-31 22:55:12 +00:00
rubidium
fb80ed218d
(svn r13903) -Fix: missing eol-style property.
2008-07-31 21:06:19 +00:00
belugas
10f450e2d4
(svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis.
2008-07-31 17:45:52 +00:00
belugas
87f95cd4cf
(svn r13899) -Codechange: Replace numbers with Colours enum on roads gui.
...
save command file before commiting :P
2008-07-31 17:19:47 +00:00
belugas
d2c29c22fb
(svn r13898) -Codechange: Replace remaining numbers with Colours enum on players, roads and rails guis
2008-07-31 17:17:27 +00:00
belugas
d34eedfdb3
(svn r13897) -Codechange: Replace remaining numbers with Colours enum on news guis
...
-Fix: a few misalignements
2008-07-31 16:44:51 +00:00
belugas
5bbb5721df
(svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis
2008-07-31 16:42:11 +00:00
belugas
5c3b347350
(svn r13895) -Codechange: Replace numbers with Colours enum on music gui and on DrawFrameRect calls
...
-Fix: a few misalignements
2008-07-31 14:42:55 +00:00
bjarni
61799786d5
(svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5
2008-07-31 14:00:01 +00:00
smatz
5e2c2db235
(svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible
2008-07-31 13:28:23 +00:00
peter1138
b7e64bb5a6
(svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly.
2008-07-31 05:47:29 +00:00
belugas
1cd0aa4b74
(svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
...
-Fix: "true" is not a color. COLOUR_PALE_GREEN should look better, at least in the code ;)
2008-07-31 03:13:35 +00:00
belugas
22d9d9c588
(svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis.
2008-07-31 02:59:21 +00:00
belugas
1737ce45e3
(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
...
The fact that it goes alphabetically is pure coincidence.
2008-07-31 02:36:01 +00:00
frosch
93d0ca8731
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
2008-07-30 18:23:12 +00:00
smatz
515b55c635
(svn r13884) -Fix (r11822): custom vehicle names from TTD(Patch) games were lost
2008-07-30 17:41:02 +00:00
belugas
faaa637987
(svn r13883) -Codechange: Replace numbers with Colours enum on graph gui
2008-07-30 17:39:26 +00:00
belugas
63f7214abd
(svn r13882) -Codechange: Replace widget numbers with appropriate enums
2008-07-30 17:13:55 +00:00
frosch
c840a63dfd
(svn r13881) -Cleanup (r12751): Remove some dead code.
2008-07-30 17:06:17 +00:00
belugas
c848b9d3c4
(svn r13880) -Codechange: Replace numbers with Colours enum on intro gui, and align a bit the code
2008-07-30 16:23:55 +00:00
belugas
4cc5da9409
(svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui
2008-07-30 16:13:58 +00:00
belugas
96a0010911
(svn r13876) -Codechange: Replace numbers with Colours enum on bridge gui
2008-07-30 14:04:15 +00:00
belugas
486ce7dbc3
(svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing
2008-07-30 02:15:58 +00:00
belugas
60d020059c
(svn r13874) -Change: missing svn:property eol-style
2008-07-30 02:07:49 +00:00
belugas
caf5cac9eb
(svn r13873) -Codechange: remove useless string from all language files affected by r13872. which removed the STR_NEWS_OPEN_CLOSE string
2008-07-30 02:04:44 +00:00
belugas
d358eff64d
(svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own
2008-07-30 01:53:03 +00:00
peter1138
b90dc6cc34
(svn r13870) -Fix [FS#2167]: Callback 10 (visual effect and powered wagons setting) and powered wagons operation were not performed for articulated wagons.
2008-07-29 22:19:37 +00:00
rubidium
ef6e366c08
(svn r13869) -Fix [FS#2153] (r13674): in some cases the sprite cache could be filled with unremovable items.
2008-07-29 21:45:30 +00:00
frosch
814c91843a
(svn r13868) -Fix: Parent scope of industry variables.
2008-07-29 19:51:30 +00:00
belugas
da4dc32a6f
(svn r13867) -Codechange: Fix missing alignment
2008-07-29 15:34:56 +00:00
peter1138
ca703d3701
(svn r13866) -Codechange: Use sortlist for sign windows
2008-07-29 10:26:48 +00:00
peter1138
b49814c537
(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.
2008-07-29 07:51:55 +00:00
belugas
ec58ec4a73
(svn r13864) -Feature(FS #2164 ): All industry creations are now generating a news event, even those funded by a real player.
2008-07-28 23:37:19 +00:00
smatz
88637d9213
(svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work
2008-07-28 15:31:11 +00:00
smatz
686019398f
(svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' parameter
2008-07-28 15:17:47 +00:00
peter1138
81dafb5e69
(svn r13855) -Fix [FS#2157]: Cargo type lookup was incorrect for GRFv7 files without a translation table.
2008-07-28 06:16:34 +00:00
bjarni
78730d4c71
(svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time
2008-07-27 20:43:21 +00:00
frosch
1aa6e00b48
(svn r13851) -Fix (r9393): GetTownByTile() is only valid for houses and roads.
2008-07-27 18:36:11 +00:00
frosch
1f31e117f0
(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.
2008-07-27 15:17:16 +00:00
bjarni
62c053729a
(svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries
2008-07-27 14:16:24 +00:00
frosch
80725edc3d
(svn r13847) -Codechange: Add MAX_ARTICULATED_PARTS and set it to 100.
2008-07-27 12:35:14 +00:00
frosch
2cec059248
(svn r13846) -Fix (r13838): Do not draw water borders inside of industries.
2008-07-27 09:16:23 +00:00
frosch
74c63ac9e2
(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it.
2008-07-27 09:12:18 +00:00
frosch
4da23a6280
(svn r13844) -Fix (r13074, r13591): Power, running cost and capacity of multiheaded engines were (too often) doubled in newspaper resp. offer window.
2008-07-26 22:00:59 +00:00
frosch
91486b116b
(svn r13840) -Fix: Some glitches in the autoreplace GUI.
2008-07-26 17:55:49 +00:00
frosch
16c80d031c
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
2008-07-26 16:14:10 +00:00
peter1138
ea7ed286a6
(svn r13836) -Fix [FS#2074]: Automatically recalculate inflation if NewGRFs are changed and cargo types are added, so that cargo payment rates are correct.
2008-07-26 14:58:08 +00:00
peter1138
49c971c8eb
(svn r13832) -Fix [FS#2152]: FreeType may return a bitmap glyph even if a grey-scale glyph was requested.
2008-07-26 10:21:26 +00:00
peter1138
7a73bff37a
(svn r13831) -Codechange: Make purchase list order NewGRF property an extended byte.
2008-07-26 07:43:20 +00:00
smatz
05c2a8eba4
(svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries
2008-07-25 22:37:34 +00:00
smatz
ce7585101d
(svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description
2008-07-25 19:50:40 +00:00
peter1138
7cdd6ef33c
(svn r13825) -Revert (r13821 partially): preview_player_rank wasn't a PlayerByte value in r12143, and still isn't a PlayerByte value.
2008-07-25 17:33:53 +00:00
rubidium
64833bb84f
(svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before trying to get information about the roadstop...
2008-07-25 13:20:50 +00:00
rubidium
3a706b0f2d
(svn r13822) -Fix [FS#2166]: building through the wrong side of a drive through station was allowed.
2008-07-25 10:10:11 +00:00
rubidium
1a4ac3ee5c
(svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers.
2008-07-25 10:00:03 +00:00
miham
00d87b537f
(svn r13820) -Update: WebTranslator2 update to 2008-07-25 00:59:06
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 10 fixed by arnaullv (10)
czech - 12 fixed, 3 changed by Hadez (15)
danish - 21 fixed by ThomasA (21)
dutch - 16 fixed by habell (16)
estonian - 37 fixed by kristjans (37)
french - 19 fixed by glx (19)
italian - 19 fixed by lorenzodv (19)
korean - 10 fixed by leejaeuk5 (10)
simplified_chinese - 97 fixed, 17 changed by ww9980 (114)
slovak - 87 fixed by lengyel (87)
spanish - 10 fixed by eusebio (10)
ukrainian - 2 fixed by mad (2)
2008-07-24 22:59:29 +00:00
peter1138
b98deeb5cc
(svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset.
2008-07-24 18:29:01 +00:00
smatz
97eeb07201
(svn r13817) -Cleanup (r13816): no need to check for ENABLE_NETWORK, _networking is defined anyway
2008-07-24 16:23:55 +00:00
smatz
aae2aa64c4
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
2008-07-24 15:19:26 +00:00
rubidium
9bee994898
(svn r13814) -Fix (r13810): MSVC (as usual) does stupid things. This time it is copying around a struct it created itself, causing bad things to happen if you don't explicitly set all variables to something remotely sane in the constructor.
2008-07-24 08:46:34 +00:00
rubidium
81c50c6c32
(svn r13810) -Fix: small memory leak when tar files would be found.
2008-07-23 21:42:55 +00:00
rubidium
a050a78525
(svn r13809) -Fix: memory leak each time a "new ai" got (re)started.
2008-07-23 20:42:13 +00:00
rubidium
1560fe3298
(svn r13807) -Fix: memory leak when loading groups.
2008-07-23 18:41:15 +00:00
smatz
c0e11a797c
(svn r13806) -Fix [FS#2162]: checking for train waiting at other side of two-way signal was broken
2008-07-23 18:23:12 +00:00
smatz
4835e300c4
(svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp
2008-07-23 15:01:50 +00:00
glx
ec6aff4870
(svn r13799) -Fix (r13730): {RAW_STRING} should be used in english.txt only
2008-07-23 14:58:43 +00:00
glx
ac9459c46c
(svn r13797) -Fix [FS#2160](r13715): crash when displaying save/load errors
2008-07-23 13:15:54 +00:00
rubidium
52982de589
(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios.
2008-07-23 13:10:08 +00:00
rubidium
24bb768450
(svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either.
2008-07-22 23:45:55 +00:00
rubidium
af21ac537e
(svn r13794) -Fix: helicopters leaving a heliport could get stuck after processing conditional orders.
2008-07-22 23:29:08 +00:00
peter1138
9a6b7a90e0
(svn r13789) -Fix (r13781): Saved preset was not automatically selected.
2008-07-22 20:52:30 +00:00
smatz
06a52be95c
(svn r13787) -Codechange: resize the red error message box if needed
2008-07-22 19:25:47 +00:00
peter1138
49769dffba
(svn r13784) -Codechange: Truncate vehicle names in purchase list to width of window.
2008-07-22 16:13:42 +00:00
glx
1f0939f4e2
(svn r13782) -Cleanup: removed a useless declaration
2008-07-22 15:02:18 +00:00
peter1138
6e0af9fdfe
(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file.
2008-07-22 14:17:29 +00:00
rubidium
14a747e490
(svn r13776) -Fix: some revision checking code was unintentionally disabled.
2008-07-21 18:49:50 +00:00
glx
317868261a
(svn r13775) -Codechange: enforce the validity of a NetworkAction (chat packet) issued by a client
2008-07-21 15:50:55 +00:00
peter1138
e6aa4e1eb1
(svn r13774) -Codechange: Add support for changing vehicle purchase list position for all vehicle types.
2008-07-21 14:42:25 +00:00
rubidium
aafd8393cc
(svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas.
2008-07-21 13:05:43 +00:00
peter1138
e6a1f1c012
(svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming)
2008-07-20 21:23:28 +00:00
peter1138
00e052ad39
(svn r13760) -Codechange: With multiple NewGRF engine sets, engine IDs may not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types.
2008-07-20 21:21:51 +00:00
rubidium
fec49bcc83
(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
2008-07-20 19:21:18 +00:00
smatz
690859bf57
(svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases
2008-07-20 15:50:41 +00:00
rubidium
77fdefea19
(svn r13754) -Fix (r13731): one could not join companies from the command line.
2008-07-20 13:29:59 +00:00
rubidium
b607b51d93
(svn r13753) -Cleanup (r13752): save before commit instead of the other way around is usually better.
2008-07-20 12:59:27 +00:00
rubidium
a6e314bbba
(svn r13752) -Fix [FS#2130]: correctly restore conditional orders when they are put 'into' backup.
2008-07-20 07:41:43 +00:00
rubidium
7c3fc13087
(svn r13740) -Fix (r13731): one could only join the first company.
2008-07-19 20:24:41 +00:00
rubidium
c4467aa8fb
(svn r13739) -Fix (r13731): some variables would be erroneously zeroed, causing autoclean and company passwords not to work.
2008-07-19 20:23:51 +00:00
rubidium
bfa66f70b3
(svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on the same axis as connected, even when the tunnel faces the wrong direction.
2008-07-19 10:10:21 +00:00
smatz
f2da045731
(svn r13733) -Fix (r13731): gcc2.95 compilation
2008-07-18 21:01:30 +00:00
rubidium
5f280d0e50
(svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus.
2008-07-18 20:44:35 +00:00
rubidium
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
2008-07-18 16:40:29 +00:00
rubidium
891bec7e23
(svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages.
2008-07-18 16:26:51 +00:00
rubidium
e48d86fad0
(svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
2008-07-18 12:20:31 +00:00
smatz
b3bafb1d9c
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
2008-07-18 12:20:30 +00:00
smatz
927507818f
(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken
2008-07-18 12:11:46 +00:00
smatz
69cb2f088f
(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)
2008-07-17 23:43:47 +00:00
rubidium
6e1aaa2c69
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
2008-07-17 21:15:57 +00:00
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
2008-07-17 20:13:01 +00:00
rubidium
c2d2f817de
(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started.
2008-07-17 16:38:26 +00:00
rubidium
227085622a
(svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.
2008-07-17 15:16:11 +00:00
rubidium
39beec190b
(svn r13716) -Fix [FS#2144]: any player could construct new companies.
2008-07-17 15:14:42 +00:00
rubidium
ab234cf90c
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
...
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-17 13:47:04 +00:00
rubidium
c913be73d8
(svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih.
2008-07-17 12:02:09 +00:00
rubidium
60a6582590
(svn r13713) -Fix: possible crash on creating a network packet.
2008-07-17 11:47:57 +00:00
rubidium
2e4f32023c
(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.
2008-07-17 11:19:20 +00:00
miham
88848d78b5
(svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
...
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 78 fixed, 230 changed by thetitan (3), groupsky (305)
catalan - 3 fixed by arnaullv (3)
dutch - 3 fixed by webfreakz (3)
italian - 3 changed by lorenzodv (3)
korean - 4 fixed, 5 changed by leejaeuk5 (9)
russian - 3 fixed by Smoky555 (3)
slovenian - 4 fixed by Necrolyte (4)
spanish - 3 fixed by eusebio (3)
swedish - 4 fixed by daishan (4)
ukrainian - 2 fixed by mad (2)
2008-07-15 23:27:28 +00:00
frosch
33cd16981c
(svn r13706) -Fix (r13695): Small typo.
2008-07-15 17:13:50 +00:00
belugas
5b48371867
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
2008-07-15 00:34:34 +00:00
rubidium
0f4d9a8e49
(svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.
2008-07-14 21:01:49 +00:00
rubidium
797ccc8b49
(svn r13703) -Update: the other language files due to a few changed strings in r13702.
2008-07-14 20:36:21 +00:00
rubidium
be722412fa
(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.
2008-07-14 20:18:06 +00:00
glx
9895afb43e
(svn r13701) -Codechange: add some more info in crash.log
2008-07-14 20:04:54 +00:00
rubidium
71820bf129
(svn r13700) -Fix: possible buffer overflow in string truncation code.
2008-07-14 18:22:15 +00:00
rubidium
b7c69ba5f0
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
2008-07-14 17:31:41 +00:00
frosch
1c17405721
(svn r13698) -Fix (r13697): MorphOS compilation.
2008-07-13 19:44:05 +00:00
frosch
1655a6f2a8
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
2008-07-13 16:09:00 +00:00
belugas
f666fd5a9b
(svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
...
Less confusion, hopefully. Suggested by Eddi.
2008-07-13 02:43:46 +00:00
rubidium
53436082a2
(svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound.
2008-07-12 22:30:10 +00:00
rubidium
e74743227b
(svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.
2008-07-12 22:28:34 +00:00
frosch
2b6dee7f64
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
2008-07-12 14:49:43 +00:00
rubidium
56379fff51
(svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache.
2008-07-12 14:03:36 +00:00
smatz
447ec39f49
(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not
2008-07-09 20:55:47 +00:00
belugas
33150af3e2
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
2008-07-09 02:18:51 +00:00
belugas
cb452bcc7d
(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).
2008-07-08 23:07:58 +00:00
rubidium
d974acac89
(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
...
-Fix [FS#2102]: but now in a hopefully beter way.
2008-07-08 15:10:23 +00:00
rubidium
03d32e12fb
(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
2008-07-07 16:04:38 +00:00
rubidium
fbdc1c0476
(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.
2008-07-07 09:23:54 +00:00
rubidium
3a793ceea9
(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load.
2008-07-06 11:08:40 +00:00
rubidium
22249a7317
(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
2008-07-04 21:43:17 +00:00
rubidium
0cc206e662
(svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such.
2008-07-04 19:00:11 +00:00
rubidium
b5f7633883
(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
2008-07-04 18:42:04 +00:00
rubidium
173f0f4cd5
(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.
2008-07-04 14:45:51 +00:00
rubidium
f37a47c0cb
(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.
2008-07-03 18:00:36 +00:00
belugas
aede445e2a
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
2008-07-03 01:08:35 +00:00
frosch
4cb2fba8fb
(svn r13671) -Cleanup: Zeros for sell.
2008-07-01 18:56:40 +00:00
belugas
ce721a579f
(svn r13670) -Codechange : Merge some very alike events handlers.
2008-07-01 00:04:09 +00:00
frosch
e9e453cf8b
(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.
2008-06-30 19:54:03 +00:00
belugas
ac3896feaf
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
2008-06-30 16:59:35 +00:00
rubidium
f06daceb16
(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.
2008-06-30 15:13:40 +00:00
belugas
4f5eae2789
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
2008-06-30 14:58:58 +00:00
rubidium
7ed892411a
(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.
2008-06-30 14:49:50 +00:00
rubidium
6a216ee4f6
(svn r13661) -Fix: server crashing when banning the rconning client.
2008-06-30 14:48:44 +00:00
frosch
ecc5d648df
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
frosch
06049563da
(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.
2008-06-27 20:59:30 +00:00
skidd13
9335a28cb5
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
2008-06-27 17:46:43 +00:00
belugas
de86235274
(svn r13646) -Change: typos and miss-aligned enum values
2008-06-27 16:16:35 +00:00
frosch
3e5f10fca6
(svn r13645) -Codechange: Convert a macro into an inlined member function.
2008-06-27 15:01:18 +00:00
belugas
dde4de5e20
(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
...
Thanks to glx :)
2008-06-27 02:26:51 +00:00
belugas
e8cddf8baa
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
2008-06-27 01:26:13 +00:00
belugas
32ea99a741
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
2008-06-26 17:43:56 +00:00
belugas
6d1e5a3f5b
(svn r13641) -Fix: Misleading enum name.
2008-06-26 17:13:39 +00:00
smatz
1834a2f670
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
2008-06-26 16:47:29 +00:00
smatz
114c820c56
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
...
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
2008-06-26 15:46:19 +00:00
smatz
0b75129c24
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
2008-06-26 00:40:42 +00:00
miham
35c8cdb5fa
(svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
...
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian - 25 fixed by thetitan (11), kokobongo (14)
catalan - 9 fixed, 4 changed by arnaullv (13)
croatian - 5 fixed by knovak (5)
czech - 8 fixed, 9 changed by Hadez (17)
dutch - 9 fixed by habell (9)
french - 12 fixed by glx (10), belugas (2)
italian - 12 fixed by lorenzodv (12)
korean - 8 fixed, 7 changed by leejaeuk5 (15)
russian - 9 fixed by Smoky555 (9)
slovenian - 18 fixed by Necrolyte (18)
spanish - 9 fixed by eusebio (9)
swedish - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian - 12 fixed, 2 deleted, 55 changed by mad (69)
2008-06-25 21:37:59 +00:00
frosch
17de6f9ced
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
2008-06-25 20:04:27 +00:00
rubidium
7e50278d8e
(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.
2008-06-25 19:33:11 +00:00
frosch
4e6d827ea6
(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().
2008-06-25 18:46:05 +00:00
smatz
644fa40339
(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions
2008-06-25 17:45:05 +00:00
skidd13
7a0ad3af52
(svn r13630) -Update: apply english.txt changes from r13628 to other languages
2008-06-25 17:37:12 +00:00
frosch
983e5a96f0
(svn r13629) -Fix [FS#2108](r13603): diameter != radius
2008-06-25 17:30:53 +00:00
skidd13
41b09d4027
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
...
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-06-25 17:30:16 +00:00
smatz
7c7e08df59
(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
...
So disallow removing signals from nonexistent track
2008-06-24 23:38:10 +00:00
rubidium
fdbb1f475b
(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.
2008-06-24 15:58:01 +00:00
rubidium
c3009c34ee
(svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full.
2008-06-24 13:49:13 +00:00
rubidium
5b973282de
(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos.
2008-06-24 13:47:15 +00:00
rubidium
47933d2ddb
(svn r13621) -Fix: building roadbits in the wrong direction on bridges or building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
2008-06-24 11:42:01 +00:00
smatz
61847389d6
(svn r13619) -Codechange: use 'const char *' instead of std::string for blitter and driver names
...
Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
2008-06-24 09:15:45 +00:00
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +00:00
skidd13
6e1dd7f719
(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly
2008-06-23 22:51:21 +00:00
rubidium
469ecf4bd2
(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.
2008-06-23 08:49:09 +00:00
rubidium
67e610a8a8
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
2008-06-23 08:38:07 +00:00
skidd13
b4ef380c49
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
2008-06-22 15:41:38 +00:00
skidd13
640e547886
(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead)
2008-06-22 15:21:51 +00:00
belugas
31b002dab0
(svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables for Houses.
...
This var will return the manhattan distance of the nearest house that match a given criteria.
The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID
The search radius can be defined too, up to 64.
2008-06-21 23:59:38 +00:00
smatz
37b8e87454
(svn r13602) -Codechange: little speedup for 8bpp-optimized blitter
2008-06-21 20:58:34 +00:00
smatz
2ca4b8b2e4
(svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable
2008-06-21 18:59:15 +00:00
belugas
a6e0e2d837
(svn r13597) -Codechange: Enumification of the Map menu items.
...
The rework allowed to remove a function, by merging two quite similar ones.
2008-06-21 01:40:56 +00:00
frosch
4236dd3be5
(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'.
2008-06-20 21:14:10 +00:00
smatz
c406ea35ec
(svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was broken
2008-06-20 20:40:47 +00:00
skidd13
fd49e1c379
(svn r13592) -Fix: window size remembering was broken
2008-06-20 14:54:47 +00:00
peter1138
52c06f1baa
(svn r13591) -Codechange: Support CB36 in the vehicle offer window.
2008-06-20 07:23:00 +00:00
belugas
1f4475d518
(svn r13590) -Codechange: Enumification of the Save/Load menu items
2008-06-20 01:55:00 +00:00
smatz
1cf74e7667
(svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis
2008-06-19 20:06:55 +00:00
belugas
bee7934220
(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
2008-06-19 20:04:24 +00:00