rubidium
7947e78daa
(svn r14999) -Change [FS#2523]: move service at helipad to the servicing options
2009-01-12 00:06:22 +00:00
smatz
1287fddd8f
(svn r14998) -Codechange: warn once about misuse of each sprite, not once about misuse of any sprite
2009-01-11 23:49:51 +00:00
smatz
720eedf7c5
(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in spritecache data could lose its parent
2009-01-11 22:28:30 +00:00
translators
a9e5f9fbe9
(svn r14996) -Update: WebTranslator2 update to 2009-01-11 18:44:49
...
afrikaans - 22 fixed by burgerd (22)
arabic_egypt - 18 fixed by khaloofah (18)
catalan - 16 fixed by arnaullv (16)
czech - 12 fixed by Hadez (12)
dutch - 13 fixed by Excel20 (13)
finnish - 1 fixed by UltimateSephiroth (1)
french - 1 fixed, 1 changed by glx (2)
greek - 8 fixed by paolitotas (8)
hungarian - 16 fixed by alyr (16)
italian - 16 fixed, 8 changed by lorenzodv (24)
lithuanian - 21 fixed by Enternald (21)
polish - 11 fixed by xaxa (11)
slovenian - 41 fixed by Necrolyte (41)
turkish - 22 fixed by Emin (22)
2009-01-11 18:45:12 +00:00
frosch
5c78d35078
(svn r14994) -Fix [FS#Aali]: Better handling of OT_LOADING and OT_LEAVESTATION in ChooseTrainTrack.
2009-01-11 16:33:03 +00:00
frosch
a6fc079c52
(svn r14993) -Fix (r14957, r14975): Do not reverse the train with OT_LEAVESTATION as that breaks PBS prediction.
2009-01-11 15:39:49 +00:00
frosch
f5cff71284
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
2009-01-11 14:26:11 +00:00
frosch
e8796a148f
(svn r14991) -Fix: Command-flags is an uint32.
2009-01-11 14:11:06 +00:00
rubidium
6c880d1c20
(svn r14990) -Codechange: handle articulated RVs and trams more strictly in GetStationTileForVehicle and CanVehicleUseStation (based on idea by Swallow)
2009-01-11 14:09:09 +00:00
rubidium
1ef953e4a5
(svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow)
2009-01-11 14:01:45 +00:00
rubidium
78d3fc59b9
(svn r14986) -Doc: small error in a comment (PhilSophus)
2009-01-10 23:21:46 +00:00
rubidium
f6f6f15604
(svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered
2009-01-10 19:48:11 +00:00
peter1138
510e0ce083
(svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple Action 8s
2009-01-10 19:30:40 +00:00
rubidium
238c0a5d1f
(svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window
2009-01-10 19:22:05 +00:00
translators
e1a351cb1a
(svn r14977) -Update: WebTranslator2 update to 2009-01-10 18:44:17
...
arabic_egypt - 4 fixed by khaloofah (4)
brazilian_portuguese - 26 fixed by tucalipe (26)
bulgarian - 3 fixed by Ar4i (3)
catalan - 3 fixed by arnaullv (3)
croatian - 35 fixed by tifached (35)
czech - 52 fixed, 10 changed by Hadez (62)
danish - 4 fixed by ThomasA (4)
dutch - 6 fixed by Excel20 (4), habell (2)
finnish - 15 fixed by UltimateSephiroth (15)
french - 15 fixed by glx (15)
hungarian - 6 fixed by alyr (6)
indonesian - 6 fixed, 64 changed by fanioz (70)
italian - 3 fixed, 1 changed by lorenzodv (4)
portuguese - 6 fixed by rmrebelo (6)
romanian - 6 fixed by kkmic (6)
2009-01-10 18:44:39 +00:00
frosch
bc786f9e59
(svn r14975) -Fix (r14957): Do not immediatelly move the train when leaving the station and the destination is not yet known.
2009-01-10 17:39:43 +00:00
rubidium
496f6aed3c
(svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth)
2009-01-10 17:35:19 +00:00
rubidium
8e42e20ebe
(svn r14973) -Codechange: recursively fold subpages (Alberth)
2009-01-10 17:27:11 +00:00
rubidium
698fbe891c
(svn r14972) -Update: do r14971 also for the non-English strings (Alberth)
2009-01-10 17:24:26 +00:00
rubidium
7a0d957b05
(svn r14971) -Change: the colour of the patch page text so it becomes more visible as it changed background (Alberth)
2009-01-10 17:23:31 +00:00
rubidium
7039c84c6a
(svn r14970) -Change: move all (patch) settings to a single "page" (Alberth)
2009-01-10 17:14:59 +00:00
rubidium
8ad56c4229
(svn r14969) -Codechange: make drawing trees possible (Alberth)
2009-01-10 17:13:41 +00:00
rubidium
52108959c9
(svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth)
2009-01-10 16:51:27 +00:00
rubidium
d6d8411a5f
(svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth)
2009-01-10 16:49:30 +00:00
rubidium
eec72275f1
(svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth)
2009-01-10 16:46:10 +00:00
rubidium
1fbc41f1fd
(svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth)
2009-01-10 16:44:51 +00:00
rubidium
6a359a586b
(svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth)
2009-01-10 16:42:28 +00:00
rubidium
32d5369675
(svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages
2009-01-10 16:39:18 +00:00
rubidium
850e45b1f1
(svn r14961) -Update: remove the string from r14960 from the other languages too.
2009-01-10 16:29:31 +00:00
rubidium
3f1da12faf
(svn r14960) -Codechange: add some this where appropriate (Alberth)
2009-01-10 16:26:17 +00:00
rubidium
99337bf4a1
(svn r14959) -Fix [FS#2508]: wrong defaults for service interval when switching between service interval in days and service interval in percentages.
2009-01-10 16:24:42 +00:00
smatz
0cd41d1dc6
(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names
...
There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-10 15:54:07 +00:00
frosch
07d1c28025
(svn r14957) -Fix [FS#2516]: Do not abort train movement, when we are just about to reach the end of the platform.
2009-01-10 15:27:57 +00:00
rubidium
db546e607f
(svn r14956) -Fix [FS#1832]: building new station parts didn't allocate a new station spec effectively breaking variable 41. This was due to the limited number of station specs that we can have per station. This fix makes newly build station parts create a new spec until one cannot allocate new station specs anymore and it'll revert to the old behaviour (sharing station specs).
2009-01-10 14:30:01 +00:00
rubidium
1b546505d2
(svn r14955) -Fix: newgrf station specs didn't get deallocated when building a new station part over them.
2009-01-10 14:01:17 +00:00
rubidium
7878405a12
(svn r14954) -Fix [FS#1890]: sharing/cloning/inserting of orders that the/a vehicle (in the shared list) can't go to (wrong station type etc)
2009-01-10 13:00:38 +00:00
rubidium
c8f3630e64
(svn r14953) -Fix (r14952): the "available aircraft" list caused a crash
2009-01-10 10:41:22 +00:00
rubidium
3d6c09b38d
(svn r14952) -Codechange: unify the "can vehicle go to station" tests
2009-01-10 09:51:14 +00:00
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
smatz
c3839648f7
(svn r14948) -Codechange: enumification and more comments in the statusbar code
2009-01-09 23:49:46 +00:00
rubidium
dc1f1664fd
(svn r14947) -Fix [FS#2519]: vehicle following did not update the location from where to smooth scroll, thus any new viewport center would smooth scroll from the location where you were just before you started following the vehicle
2009-01-09 23:30:02 +00:00
rubidium
61f19b6e3e
(svn r14946) -Fix: copying a location from the extra viewport to the main viewport did not cancel vehicle following
2009-01-09 23:28:28 +00:00
frosch
3ca73b0c4c
(svn r14945) -Feature(ette): Support var 0x45 (curvature info) also for road vehicles.
2009-01-09 23:04:51 +00:00
rubidium
cda853872a
(svn r14944) -Cleanup: add spaces around some operators
2009-01-09 22:56:28 +00:00
rubidium
c08f520acf
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
2009-01-09 22:48:57 +00:00
smatz
5fc7fe9648
(svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen
2009-01-09 20:42:17 +00:00
peter1138
5c666fac14
(svn r14939) -Codechange: Follow standard *ChangeInfo() pattern for global variables during reservation. Whilst not strictly necessary for global variables, following the same pattern makes it easier to follow. This also solves the long standing ChangeInfoResult/bool warning for MSVC.
2009-01-09 20:14:07 +00:00
rubidium
b26cee21f6
(svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling
2009-01-09 19:34:05 +00:00
frosch
4fafb723aa
(svn r14936) -Fix: INDUSTRYBEH_ONLY_NEARTOWN bypassed the clear-test and could e.g. result in incomplete clearing of protected houses.
2009-01-09 15:11:35 +00:00
rubidium
0464e9f864
(svn r14935) -Fix [FS#2498]: the new operator may not return NULL, so don't.
2009-01-09 15:01:15 +00:00
rubidium
07c5fb2a02
(svn r14934) -Fix: in (extreme) cases CanAllocateItem could return true when there's not enough space.
2009-01-09 15:00:22 +00:00
rubidium
f0b0691bfe
(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.
2009-01-09 14:59:02 +00:00
rubidium
331b8dd7d4
(svn r14931) -Fix [FS#2512]: the "animation state" of the bubbles was stored in a variable that was not stored in the savegame. Using a variable that gets saved in the savegame solves the desync and makes it a bit clearer.
2009-01-09 09:50:33 +00:00
belugas
729cebda47
(svn r14927) -Codechange: constify widget numbers in network chat gui.
2009-01-08 22:33:54 +00:00
peter1138
0052c85002
(svn r14926) -Feature: Automatically set last engine ageing year to the last 'introduction year plus half model life', to allow engines later than 2050 to appear.
2009-01-08 21:48:59 +00:00
frosch
b522f73ba8
(svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted.
2009-01-08 21:16:19 +00:00
frosch
17a9bab142
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
2009-01-08 21:13:20 +00:00
translators
067b9a15d1
(svn r14922) -Update: WebTranslator2 update to 2009-01-08 18:49:15
...
afrikaans - 20 fixed, 52 changed by wpduplessis (72)
bulgarian - 46 fixed, 1 changed by Ar4i (47)
catalan - 6 fixed by arnaullv (6)
dutch - 3 fixed, 1 changed by habell (4)
finnish - 10 fixed by jpx_ (10)
french - 3 fixed by glx (3)
indonesian - 1 changed by fanioz (1)
italian - 3 fixed by lorenzodv (3)
korean - 23 fixed by leejaeuk5 (23)
norwegian_bokmal - 3 fixed by khh (3)
polish - 3 fixed by xaxa (3)
ukrainian - 21 fixed by znikoz (21)
2009-01-08 18:49:34 +00:00
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