alberth
e3033ee895
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
2009-07-25 11:54:53 +00:00
alberth
e5bfc5660d
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
2009-07-25 11:32:53 +00:00
rubidium
36a28fe3d2
(svn r16951) -Change: order the strings in the options dropdown slightly more logical
2009-07-25 11:02:15 +00:00
rubidium
8e92d536d3
(svn r16950) -Codechange: unduplicate waypoint + station sign drawing
2009-07-25 10:56:36 +00:00
rubidium
65d4d8b46c
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
2009-07-25 10:54:42 +00:00
rubidium
4017439c37
(svn r16948) -Codechange: some code reductions and usage of wrapper functions
2009-07-25 10:39:58 +00:00
rubidium
7440ec7a73
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
2009-07-25 08:54:19 +00:00
alberth
59c48fee8b
(svn r16946) -Doc: Adding docs for some string parameter manipulation functions.
2009-07-25 07:49:49 +00:00
rubidium
63f2da7492
(svn r16945) -Fix (r16940): comments got swapped
2009-07-24 19:17:45 +00:00
rubidium
7a24fba918
(svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct
2009-07-24 19:09:48 +00:00
translators
d11ec2d1af
(svn r16943) -Update from WebTranslator v3.0:
...
simplified_chinese - 5 changes by Gavin
dutch - 1 changes by webfreakz
german - 1 changes by Roujin
indonesian - 1 changes by prof
korean - 5 changes by darkttd
portuguese - 7 changes by carlosjor
russian - 1 changes by Lone_Wolf
spanish - 30 changes by Terkhen
2009-07-24 17:45:27 +00:00
rubidium
3ec35e4e8d
(svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct
2009-07-24 17:05:17 +00:00
rubidium
9e9c397bf6
(svn r16941) -Document: some map accessors
2009-07-24 15:27:31 +00:00
rubidium
c3d2c47faa
(svn r16940) -Codechange: make the pathfinders behave the same when finding waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
2009-07-24 15:18:25 +00:00
rubidium
cf38a5bee6
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
2009-07-24 11:47:12 +00:00
rubidium
2c6b5237f6
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
2009-07-24 11:15:11 +00:00
alberth
07447a1766
(svn r16937) -Codechange: Make the station build window look good when resized.
2009-07-24 09:56:37 +00:00
alberth
bbcb985938
(svn r16936) -Fix [FS#3053]: Rail station build window with NewGRFs could crash due to uninitialized string parameter.
2009-07-24 09:45:39 +00:00
alberth
feb83756a2
(svn r16935) -Codechange: Improve wording of .lng file error message (found by cmoiromain).
2009-07-24 09:14:36 +00:00
rubidium
803cf87885
(svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not
2009-07-24 07:38:10 +00:00
rubidium
c1ffbc3bce
(svn r16933) -Fix [FS#3054] (r16694): vehicles would wait "very long" when they had nothing to unload and gradual loading was disabled.
2009-07-24 00:08:48 +00:00
translators
f5731ca473
(svn r16932) -Update from WebTranslator v3.0:
...
all languages - update for latest commits which moved around lots of strings
dutch - 5 changes by Yexo
norwegian_bokmal - 1 changes by CyberKenny
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2009-07-23 22:26:12 +00:00
smatz
92f021a0a2
(svn r16931) -Cleanup (r16922): one semicolon too much
2009-07-23 22:01:25 +00:00
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
2009-07-23 19:31:50 +00:00
frosch
20c1e42be1
(svn r16929) -Change: There is no point in not randomising engine introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine.
2009-07-23 18:45:53 +00:00
translators
fb47193e65
(svn r16928) -Update from WebTranslator v3.0:
...
czech - 1 changes by SmatZ
dutch - 1 changes by Yexo
english_US - 6 changes by agenthh
french - 5 changes by glx
german - 1 changes by planetmaker
hungarian - 12 changes by IPG, alyr
indonesian - 5 changes by prof
italian - 4 changes by lorenzodv
norwegian_bokmal - 66 changes by CyberKenny
persian - 1 changes by 100ra
romanian - 4 changes by kkmic
russian - 3 changes by Lone_Wolf, Smoky555
spanish - 21 changes by Terkhen
swedish - 3 changes by Kindling
turkish - 19 changes by niw3
2009-07-23 17:45:47 +00:00
rubidium
1e6b1a7613
(svn r16927) -Change: make the 'there is no AI' error message translatable
2009-07-23 15:39:21 +00:00
rubidium
5f9ee68eac
(svn r16926) -Fix (r16925): if checking whether a station can be adjoined, don't check whether 'the other station you have already found' to be valid but the station that you just found. Especially because you won't have found as station until you have found one.
2009-07-23 12:13:53 +00:00
rubidium
16ad8df175
(svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa.
2009-07-23 12:02:09 +00:00
rubidium
fefc880971
(svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :)
2009-07-23 08:47:14 +00:00
rubidium
f48cc9d4bf
(svn r16923) -Codechange: move Cmd*Buoy* to waypoint_cmd.cpp and make them behave more like waypoints, e.g. reuse station signs of recently deleted buoys
2009-07-23 00:14:05 +00:00
rubidium
b04ba7dcea
(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place
2009-07-22 23:39:35 +00:00
rubidium
9980af2898
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22 22:44:56 +00:00
rubidium
2962d8f0fc
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
2009-07-22 20:17:07 +00:00
rubidium
c17c31b5b6
(svn r16919) -Codechange: unify some more StringID w.r.t. their naming
2009-07-22 19:12:20 +00:00
translators
9aaec4d2f2
(svn r16918) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
czech - 71 changes by SmatZ
dutch - 8 changes by Yexo
english_US - 5 changes by agenthh
esperanto - 3 changes by LaPingvino
finnish - 4 changes by jpx_
german - 4 changes by planetmaker
norwegian_bokmal - 136 changes by CyberKenny
persian - 127 changes by 100ra
romanian - 1 changes by kkmic
russian - 9 changes by Lone_Wolf, MajestiC
spanish - 5 changes by Terkhen
ukrainian - 1 changes by Madvin
2009-07-22 17:45:41 +00:00
rubidium
3bcfa7c52a
(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings
2009-07-22 16:56:36 +00:00
smatz
13a7c550ad
(svn r16916) -Fix (r16909): station acceptance was reset after game load
2009-07-22 15:10:58 +00:00
rubidium
5f3a097b86
(svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints
2009-07-22 12:43:29 +00:00
rubidium
6e3d999dce
(svn r16914) -Codechange: split Station and BaseStation into different files
2009-07-22 11:35:35 +00:00
alberth
da9d9a27fe
(svn r16913) -Codechange: Signal, train depot, and waypoint windows switched to using nested widget tree.
2009-07-22 10:34:21 +00:00
rubidium
cb0409fe52
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
2009-07-22 10:18:19 +00:00
rubidium
df9941f729
(svn r16910) -Update: remove removed strings from the other language files
2009-07-22 09:00:49 +00:00
rubidium
68ead6b84f
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22 08:59:57 +00:00
rubidium
2646a99d29
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
2009-07-22 08:52:41 +00:00
rubidium
8405d7d7e7
(svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
2009-07-21 22:37:10 +00:00
alberth
8083d67780
(svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently.
2009-07-21 22:25:21 +00:00
translators
639a829f87
(svn r16903) -Update from WebTranslator v3.0:
...
simplified_chinese - 2 changes by Gavin
danish - 5 changes by Bjarni
dutch - 1 changes by habell
finnish - 17 changes by jpx_
hungarian - 1 changes by alyr
italian - 1 changes by lorenzodv
korean - 1 changes by darkttd
russian - 15 changes by Lone_Wolf
serbian - 90 changes by BlueEyedFiend
welsh - 24 changes by welshdragon
2009-07-21 17:45:33 +00:00
rubidium
f7b3067fb3
(svn r16901) -Fix [FS#3046] (rpbs): when marking trains stuck don't reset the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
2009-07-21 17:14:05 +00:00
rubidium
0658d6cb3d
(svn r16900) -Codechange: prepare the waypoint window for buoys
2009-07-21 16:30:01 +00:00
frosch
f09df64608
(svn r16899) -Fix (r16896): Missing 'return'.
2009-07-21 16:20:02 +00:00
alberth
4ba0e2301a
(svn r16898) -Codechange: Station build window uses nested widget tree.
2009-07-21 11:40:30 +00:00
rubidium
ed5ced71c8
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
2009-07-21 11:20:34 +00:00
rubidium
43eda3dfbf
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
2009-07-21 11:11:05 +00:00
alberth
c63338cd81
(svn r16895) -Codechange: Build dock window uses nested widget tree.
2009-07-21 10:46:32 +00:00
frosch
d5a4c89365
(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().
2009-07-20 19:58:33 +00:00
alberth
e3752f3ef8
(svn r16893) -Codechange: Ship depot build window uses nested widget tree.
2009-07-20 19:45:12 +00:00
alberth
03abe67e88
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
2009-07-20 19:44:28 +00:00
alberth
2a5784c53d
(svn r16891) -Codechange: Docks toolbar uses nested widget tree.
2009-07-20 18:43:02 +00:00
alberth
1978c7dc87
(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used.
2009-07-20 18:39:38 +00:00
translators
38d88f10fe
(svn r16889) -Update from WebTranslator v3.0:
...
danish - 40 changes by silentStatic
french - 1 changes by glx
galician - 37 changes by Condex
german - 1 changes by planetmaker
russian - 17 changes by Lone_Wolf
serbian - 2 changes by BlueEyedFiend
2009-07-20 17:45:25 +00:00
rubidium
2ca679f5a9
(svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints
2009-07-20 16:30:37 +00:00
rubidium
87dba11ca1
(svn r16887) -Fix (r16884): erroneous semicolon.
2009-07-20 13:16:15 +00:00
rubidium
e3053660c6
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
2009-07-20 11:21:57 +00:00
rubidium
dc943b35e0
(svn r16885) -Codechange: reduce (string) duplication with vehicle lists
2009-07-20 11:12:59 +00:00
frosch
7b92d9efe4
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
2009-07-19 19:17:41 +00:00
translators
3999dbe7f7
(svn r16883) -Update from WebTranslator v3.0:
...
simplified_chinese - 5 changes by Gavin
traditional_chinese - 4 changes by ww9980
russian - 12 changes by Lone_Wolf
slovak - 7 changes by James
2009-07-19 17:45:17 +00:00
alberth
a9474bf032
(svn r16882) -Codechange: Introduce a line_height variable in the station picker window.
2009-07-19 17:28:20 +00:00
rubidium
21921441d0
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
2009-07-19 16:57:04 +00:00
rubidium
42e1bdacbc
(svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function.
2009-07-19 15:58:47 +00:00
alberth
d509ad3213
(svn r16879) -Codechange: Use coordinates of widgets for custom rendering.
2009-07-19 15:40:43 +00:00
alberth
3361602f1b
(svn r16878) -Codechange: Let WWT_LABEL widgets do the drawing rather than OnPaint.
2009-07-19 15:18:26 +00:00
smatz
af13707e00
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
2009-07-18 19:54:35 +00:00
rubidium
3fcfb9b248
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
2009-07-18 18:39:17 +00:00
translators
73453e61d6
(svn r16875) -Update from WebTranslator v3.0:
...
simplified_chinese - 46 changes by EraserKing, Gavin
indonesian - 5 changes by prof
russian - 18 changes by Lone_Wolf
ukrainian - 2 changes by nsergiy
2009-07-18 17:45:16 +00:00
frosch
d3a95e9bbd
(svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains.
2009-07-18 17:38:18 +00:00
alberth
eed8b07d69
(svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets.
2009-07-18 15:29:16 +00:00
frosch
e8c2992ae6
(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage.
2009-07-18 12:34:19 +00:00
alberth
36576371c0
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
2009-07-18 10:46:55 +00:00
rubidium
2b374824dc
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
2009-07-18 10:39:52 +00:00
rubidium
861a2163f6
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
2009-07-18 10:01:31 +00:00
rubidium
8c17c6cb2b
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
2009-07-18 08:41:58 +00:00
frosch
f129634f52
(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
2009-07-17 22:00:13 +00:00
yexo
82ac703e2d
(svn r16866) -Fix (r16865): forgot to run squirrel_export.sh
2009-07-17 21:45:57 +00:00
yexo
38768d0ca2
(svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ones and fix a type in the noai documentation (patch by Chruker)
2009-07-17 21:36:26 +00:00
rubidium
4e5af51d1f
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
2009-07-17 21:06:06 +00:00
rubidium
d8f16ea199
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
2009-07-17 20:51:24 +00:00
rubidium
c9cab7ba19
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
2009-07-17 20:40:29 +00:00
rubidium
72d6c3a9ad
(svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints)
2009-07-17 20:30:07 +00:00
rubidium
06ea681b5f
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
2009-07-17 20:21:24 +00:00
rubidium
84df3ba2b4
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
2009-07-17 19:44:13 +00:00
translators
869fb4fa78
(svn r16858) -Update from WebTranslator v3.0:
...
simplified_chinese - 1 changes by Gavin
indonesian - 1 changes by prof
russian - 16 changes by Lone_Wolf
2009-07-17 17:45:14 +00:00
smatz
57d3d4ce5e
(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed
2009-07-17 13:54:06 +00:00
alberth
b9cf3f880b
(svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites.
2009-07-17 10:38:07 +00:00
rubidium
9933df9d89
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
2009-07-16 23:02:39 +00:00
rubidium
a007d609af
(svn r16854) -Fix (r2046): savegames from before this version would get the town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess.
2009-07-16 22:58:06 +00:00
smatz
f16314d0cc
(svn r16853) -Codechange: make CargoSpec const at two places
2009-07-16 21:37:59 +00:00
smatz
77d13eae61
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
2009-07-16 20:40:06 +00:00
rubidium
665fa7f9c1
(svn r16851) -Codechange: use StationSpecList in waypoint too
2009-07-16 20:29:08 +00:00
rubidium
dea1144bcb
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
2009-07-16 20:15:28 +00:00