Commit Graph

6683 Commits (a6cbf0d419569989d54f6df37232e9e771acafa8)

Author SHA1 Message Date
rubidium e473e69ba4 (svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants 15 years ago
rubidium 2543b1b20a (svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first 15 years ago
translators 6d1a431e8e (svn r16973) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by Gavin
esperanto - 20 changes by tradukanto
german - 3 changes by Roujin
15 years ago
rubidium 39ac44ad49 (svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height. 15 years ago
alberth 4ef012abfa (svn r16970) -Codechange: Transparency window uses nested widgets only. 15 years ago
alberth 2d673309e7 (svn r16969) -Codechange: Normalizing transparency gui widget numbers. 15 years ago
translators b7caac9563 (svn r16968) -Update from WebTranslator v3.0:
danish - 14 changes by silentStatic
finnish - 1 changes by jpx_
greek - 1 changes by kinglee
malay - 26 changes by rionix88
persian - 2 changes by 100ra
brazilian_portuguese - 6 changes by Tucalipe
slovak - 37 changes by James
spanish - 2 changes by Terkhen
swedish - 4 changes by Chrill
15 years ago
rubidium b76cad419e (svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy rail 15 years ago
rubidium 2ec12a3f58 (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP 15 years ago
rubidium 47a37b6093 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 15 years ago
translators 4aa2785757 (svn r16964) -Update from WebTranslator v3.0:
greek - 303 changes by fumantsu
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
spanish - 25 changes by Terkhen
turkish - 1 changes by niw3
15 years ago
alberth 9856cc9d0a (svn r16963) -Codechange: Added NWidgetViewport widget. 15 years ago
rubidium 2dd998ab06 (svn r16962) -Codechange: more work towards multi tile waypoints 15 years ago
alberth 0081bb9a96 (svn r16961) -Codechange: Moving some methods up in the class hierarchy to avoid code duplication. 15 years ago
alberth 75ccf9de3a (svn r16960) -Doc: Added some viewport and vehicle type doxygen strings. 15 years ago
rubidium 5b576e6e7a (svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations. 15 years ago
translators 83b61a75c3 (svn r16958) -Update from WebTranslator v3.0:
english_US - 2 changes by agenthh
frisian - 54 changes by huddekul
greek - 272 changes by fumantsu
russian - 8 changes by Lone_Wolf
serbian - 59 changes by etran
spanish - 122 changes by Terkhen
15 years ago
frosch 55e07d0606 (svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window. 15 years ago
rubidium 6de80c9278 (svn r16956) -Update: 'pre' translate some strings that can't be translated, like {BLACK}{STRING} 15 years ago
rubidium 47793328b6 (svn r16955) -Fix (r16954): removed a few strings too many from the translations 15 years ago
rubidium 96cc9c2de1 (svn r16954) -Codechange: make the Game Options window use the nested widget system. 15 years ago
alberth e3033ee895 (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 15 years ago
alberth e5bfc5660d (svn r16952) -Codechange: Use a label for the world population in the town directory window. 15 years ago
rubidium 36a28fe3d2 (svn r16951) -Change: order the strings in the options dropdown slightly more logical 15 years ago
rubidium 8e92d536d3 (svn r16950) -Codechange: unduplicate waypoint + station sign drawing 15 years ago
rubidium 65d4d8b46c (svn r16949) -Codechange: unify the way the DisplayOption enums are written 15 years ago
rubidium 4017439c37 (svn r16948) -Codechange: some code reductions and usage of wrapper functions 15 years ago
rubidium 7440ec7a73 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 15 years ago
alberth 59c48fee8b (svn r16946) -Doc: Adding docs for some string parameter manipulation functions. 15 years ago
rubidium 63f2da7492 (svn r16945) -Fix (r16940): comments got swapped 15 years ago
rubidium 7a24fba918 (svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct 15 years ago
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
15 years ago
rubidium 3ec35e4e8d (svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct 15 years ago
rubidium 9e9c397bf6 (svn r16941) -Document: some map accessors 15 years ago
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 15 years ago
rubidium cf38a5bee6 (svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written. 15 years ago
rubidium 2c6b5237f6 (svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile 15 years ago
alberth 07447a1766 (svn r16937) -Codechange: Make the station build window look good when resized. 15 years ago
alberth bbcb985938 (svn r16936) -Fix [FS#3053]: Rail station build window with NewGRFs could crash due to uninitialized string parameter. 15 years ago
alberth feb83756a2 (svn r16935) -Codechange: Improve wording of .lng file error message (found by cmoiromain). 15 years ago
rubidium 803cf87885 (svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not 15 years ago
rubidium c1ffbc3bce (svn r16933) -Fix [FS#3054] (r16694): vehicles would wait "very long" when they had nothing to unload and gradual loading was disabled. 15 years ago
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
15 years ago
smatz 92f021a0a2 (svn r16931) -Cleanup (r16922): one semicolon too much 15 years ago
rubidium e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 15 years ago
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. 15 years ago
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
15 years ago
rubidium 1e6b1a7613 (svn r16927) -Change: make the 'there is no AI' error message translatable 15 years ago
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. 15 years ago
rubidium 16ad8df175 (svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa. 15 years ago
rubidium fefc880971 (svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :) 15 years ago
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 15 years ago
rubidium b04ba7dcea (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 15 years ago
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. 15 years ago
rubidium 2962d8f0fc (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 15 years ago
rubidium c17c31b5b6 (svn r16919) -Codechange: unify some more StringID w.r.t. their naming 15 years ago
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
15 years ago
rubidium 3bcfa7c52a (svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings 15 years ago
smatz 13a7c550ad (svn r16916) -Fix (r16909): station acceptance was reset after game load 15 years ago
rubidium 5f3a097b86 (svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints 15 years ago
rubidium 6e3d999dce (svn r16914) -Codechange: split Station and BaseStation into different files 15 years ago
alberth da9d9a27fe (svn r16913) -Codechange: Signal, train depot, and waypoint windows switched to using nested widget tree. 15 years ago
rubidium cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
rubidium df9941f729 (svn r16910) -Update: remove removed strings from the other language files 15 years ago
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.
15 years ago
rubidium 2646a99d29 (svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/ 15 years ago
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? 15 years ago
alberth 8083d67780 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 15 years ago
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
15 years ago
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 15 years ago
rubidium 0658d6cb3d (svn r16900) -Codechange: prepare the waypoint window for buoys 15 years ago
frosch f09df64608 (svn r16899) -Fix (r16896): Missing 'return'. 15 years ago
alberth 4ba0e2301a (svn r16898) -Codechange: Station build window uses nested widget tree. 15 years ago
rubidium ed5ced71c8 (svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too 15 years ago
rubidium 43eda3dfbf (svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints 15 years ago
alberth c63338cd81 (svn r16895) -Codechange: Build dock window uses nested widget tree. 15 years ago
frosch d5a4c89365 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 15 years ago
alberth e3752f3ef8 (svn r16893) -Codechange: Ship depot build window uses nested widget tree. 15 years ago
alberth 03abe67e88 (svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase. 15 years ago
alberth 2a5784c53d (svn r16891) -Codechange: Docks toolbar uses nested widget tree. 15 years ago
alberth 1978c7dc87 (svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used. 15 years ago
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
15 years ago
rubidium 2ca679f5a9 (svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints 15 years ago
rubidium 87dba11ca1 (svn r16887) -Fix (r16884): erroneous semicolon. 15 years ago
rubidium e3053660c6 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
rubidium dc943b35e0 (svn r16885) -Codechange: reduce (string) duplication with vehicle lists 15 years ago
frosch 7b92d9efe4 (svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it. 15 years ago
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
15 years ago
alberth a9474bf032 (svn r16882) -Codechange: Introduce a line_height variable in the station picker window. 15 years ago
rubidium 21921441d0 (svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs. 15 years ago
rubidium 42e1bdacbc (svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function. 15 years ago
alberth d509ad3213 (svn r16879) -Codechange: Use coordinates of widgets for custom rendering. 15 years ago
alberth 3361602f1b (svn r16878) -Codechange: Let WWT_LABEL widgets do the drawing rather than OnPaint. 15 years ago
smatz af13707e00 (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age 15 years ago
rubidium 3fcfb9b248 (svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks. 15 years ago
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
15 years ago
frosch d3a95e9bbd (svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains. 15 years ago
alberth eed8b07d69 (svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets. 15 years ago
frosch e8c2992ae6 (svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage. 15 years ago
alberth 36576371c0 (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 15 years ago