Commit Graph

12430 Commits

Author SHA1 Message Date
alberth
1c22a6b997 (svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets. 2009-07-18 15:29:16 +00:00
frosch
f9e085f004 (svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage. 2009-07-18 12:34:19 +00:00
alberth
543b86307f (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
fec1178abb (svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing 2009-07-18 10:39:52 +00:00
rubidium
a78751ee9a (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 2009-07-18 10:01:31 +00:00
rubidium
b4f5a1eebb (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 2009-07-18 08:41:58 +00:00
frosch
12ea92a257 (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
58b3260c48 (svn r16866) -Fix (r16865): forgot to run squirrel_export.sh 2009-07-17 21:45:57 +00:00
yexo
b0441f6c8c (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
3927fd6be7 (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 2009-07-17 21:06:06 +00:00
rubidium
4ca5ce8904 (svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations 2009-07-17 20:51:24 +00:00
rubidium
a475a81706 (svn r16862) -Codechange: make waypoints use the same system of station station spec lists. 2009-07-17 20:40:29 +00:00
rubidium
f59346a863 (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
0e6b735b45 (svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints 2009-07-17 20:21:24 +00:00
rubidium
46d94fdfed (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
ad74419fb7 (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
0b4b9dd764 (svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed 2009-07-17 13:54:06 +00:00
alberth
70472e2d98 (svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites. 2009-07-17 10:38:07 +00:00
rubidium
70bf10b34a (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
9b879dc988 (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
ff542e8d3c (svn r16853) -Codechange: make CargoSpec const at two places 2009-07-16 21:37:59 +00:00
smatz
cb13cf2543 (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 2009-07-16 20:40:06 +00:00
rubidium
8f4ad741aa (svn r16851) -Codechange: use StationSpecList in waypoint too 2009-07-16 20:29:08 +00:00
rubidium
5a38d8e007 (svn r16850) -Codechange: unify some naming of variables between waypoints and stations. 2009-07-16 20:15:28 +00:00
smatz
8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 2009-07-16 19:00:13 +00:00
alberth
832c116b5b (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
26970a7093 (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
98b6faa2f6 (svn r16846) -Codechange: make the content download status window only use nested widgets 2009-07-16 16:48:16 +00:00
alberth
fe9f5cbc46 (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
613d091375 (svn r16844) -Doc (r13182): Remove documentation of removed window event handling function. 2009-07-16 15:36:52 +00:00
alberth
2e298f90a9 (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
34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 2009-07-16 10:13:33 +00:00
rubidium
e39646d93b (svn r16841) -Cleanup: spaces/tabs where they don't belong 2009-07-16 10:01:32 +00:00
alberth
4458a1ec32 (svn r16840) -Codechange: Small merge in town directory widget content method. 2009-07-15 23:04:26 +00:00
alberth
1aa6de3873 (svn r16839) -Codechange: Remove obsolete FillNestedArray(). 2009-07-15 22:55:43 +00:00
alberth
62fc8bd6c5 (svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize. 2009-07-15 22:51:37 +00:00
alberth
0dcb1a320d (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 2009-07-15 22:17:08 +00:00
yexo
6e467e8ae0 (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
0b749ffa66 (svn r16833) -Fix: WT3 made its first bug .. it is growing up! 2009-07-15 17:53:02 +00:00
translators
150daec67a (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
4969d387d3 (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
6a84a48990 (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
6cf59514d1 (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
2f6f510452 (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
873adde908 (svn r16825) -Codechange: unify dirtying when updating the viewport signs. 2009-07-13 23:15:13 +00:00
rubidium
24f59f4eb0 (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
6aa101ee11 (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
eda24142c9 (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
79deeee323 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 2009-07-13 22:33:25 +00:00
smatz
a2ce1e6e8f (svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick() 2009-07-13 22:07:07 +00:00