Commit Graph

12452 Commits

Author SHA1 Message Date
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
smatz 1f29e38b83 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 2009-07-16 19:00:13 +00:00
alberth b6889daf8d (svn r16848) -Fix: Trying to reduce a nested widget window further than the smallest alowed size should not crash the game. 2009-07-16 18:31:33 +00:00
translators 539480e845 (svn r16847) -Update from WebTranslator v3.0:
esperanto - 5 changes by tradukanto
norwegian_bokmal - 58 changes by CyberKenny
russian - 4 changes by Lone_Wolf
2009-07-16 17:45:13 +00:00
rubidium b4253a94f2 (svn r16846) -Codechange: make the content download status window only use nested widgets 2009-07-16 16:48:16 +00:00