Commit Graph

12420 Commits

Author SHA1 Message Date
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
alberth d0a47fc1b4 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 2009-07-16 16:22:23 +00:00
alberth 3cba03c5eb (svn r16844) -Doc (r13182): Remove documentation of removed window event handling function. 2009-07-16 15:36:52 +00:00
alberth c00ce64458 (svn r16843) -Codechange: More documentation for the WWT_MATRIX widget, and better variable names in matrix rendering function. 2009-07-16 10:26:13 +00:00
rubidium 594070194f (svn r16842) -Cleanup: add some spaces around a few operators 2009-07-16 10:13:33 +00:00
rubidium fd589b90e8 (svn r16841) -Cleanup: spaces/tabs where they don't belong 2009-07-16 10:01:32 +00:00
alberth 6767a59827 (svn r16840) -Codechange: Small merge in town directory widget content method. 2009-07-15 23:04:26 +00:00
alberth 99215c5010 (svn r16839) -Codechange: Remove obsolete FillNestedArray(). 2009-07-15 22:55:43 +00:00
alberth 9be387761c (svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize. 2009-07-15 22:51:37 +00:00
alberth 92206f2d18 (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 2009-07-15 22:17:08 +00:00
yexo f085d7775b (svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD 2009-07-15 19:47:06 +00:00
translators 91a6af688e (svn r16833) -Fix: WT3 made its first bug .. it is growing up! 2009-07-15 17:53:02 +00:00
translators 4a18ddebc8 (svn r16832) -Update from WebTranslator v3.0:
simplified_chinese - 54 changes by Gavin
german - 4 changes by Araxiel
korean - 31 changes by telk5093
brazilian_portuguese - 2 changes by Tucalipe
russian - 26 changes by Lone_Wolf, Unknown
2009-07-15 17:45:19 +00:00
alberth f1303f1ae8 (svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window. 2009-07-14 21:25:32 +00:00
translators ea1454d694 (svn r16829) -Update from WebTranslator v3.0:
arabic_egypt - 46 changes by kasakg
simplified_chinese - 1 changes by Gavin
esperanto - 205 changes by tradukanto
german - 1 changes by planetmaker
greek - 4 changes by kinglee
korean - 201 changes by darkttd, telk5093
russian - 28 changes by Lone_Wolf
serbian - 89 changes by etran
2009-07-14 17:45:29 +00:00
rubidium 6f0d8acf55 (svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse... 2009-07-14 17:16:32 +00:00
rubidium e3c7a77b40 (svn r16827) -Codechange: make OSX specific files include stdafx.h always as the first file. Also unify OSX specific stuff into osx_stdafx.h and remove unused includes. 2009-07-14 16:43:45 +00:00
rubidium 2b1c43f81f (svn r16825) -Codechange: unify dirtying when updating the viewport signs. 2009-07-13 23:15:13 +00:00
rubidium 0e1dc88b9b (svn r16824) -Fix [FS#2989] (r16294): Mac OS X 10.4 with Xcode 2.5 wouldn't be detected as having Xcode 2.5 or newer. Based on a patch by ln. 2009-07-13 23:12:34 +00:00
rubidium f7c4711012 (svn r16823) -Cleanup: use cxx_host instead of cc_host where possible; cc_host is there only for working around a few stupid compilers. 2009-07-13 23:08:03 +00:00
rubidium 64cc21855f (svn r16822) -Cleanup: remove the "a PPC bool is four bytes in C++ so it needs to be that big in C too" hack 2009-07-13 23:07:11 +00:00
rubidium e067d4a4b8 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 2009-07-13 22:33:25 +00:00
smatz db63e1ad82 (svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick() 2009-07-13 22:07:07 +00:00
frosch 8041d37973 (svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle. 2009-07-13 20:27:54 +00:00
frosch db69c343f1 (svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part. 2009-07-13 19:34:43 +00:00
frosch 3973b1e7cb (svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length. 2009-07-13 19:30:37 +00:00
translators 3922860bb9 (svn r16816) -Update from WebTranslator v3.0:
galician - 229 changes by Condex
indonesian - 1 changes by prof
korean - 2 changes by darkttd
polish - 18 changes by mysteq
russian - 10 changes by Lone_Wolf
2009-07-13 17:45:20 +00:00
rubidium 463b96a746 (svn r16815) -Fix: reduce the toolbar's priority for handling keypresses from most important to least important, so e.g. the order windows' 'd' skips to the next order 2009-07-13 16:41:34 +00:00
smatz b6960e4e17 (svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft 2009-07-13 16:37:27 +00:00
smatz 868c21cbcc (svn r16813) -Codechange: make IsEngineCountable() member of Vehicle 2009-07-13 16:35:22 +00:00
rubidium bb9fee178d (svn r16811) -Change: introduce a plural 'rule' for Korean 2009-07-13 14:42:09 +00:00
rubidium 2956bad7fa (svn r16810) -Fix (r16115): strgen didn't get rebuild when table/strgen_tables.h was changed. 2009-07-13 14:29:58 +00:00
smatz 95c7993451 (svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected 2009-07-13 12:00:56 +00:00