Commit Graph

6590 Commits (f5e3a27f6e0eed1779cbad9483ac3e76560facd9)

Author SHA1 Message Date
smatz 3564579dc4 (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age 15 years ago
rubidium 196dd0974f (svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks. 15 years ago
translators ad880457cf (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 5310721e96 (svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains. 15 years ago
alberth 1c22a6b997 (svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets. 15 years ago
frosch f9e085f004 (svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage. 15 years ago
alberth 543b86307f (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 15 years ago
rubidium fec1178abb (svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing 15 years ago
rubidium a78751ee9a (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 15 years ago
rubidium b4f5a1eebb (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 15 years ago
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. 15 years ago
yexo 58b3260c48 (svn r16866) -Fix (r16865): forgot to run squirrel_export.sh 15 years ago
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) 15 years ago
rubidium 3927fd6be7 (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 15 years ago
rubidium 4ca5ce8904 (svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations 15 years ago
rubidium a475a81706 (svn r16862) -Codechange: make waypoints use the same system of station station spec lists. 15 years ago
rubidium f59346a863 (svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints) 15 years ago
rubidium 0e6b735b45 (svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints 15 years ago
rubidium 46d94fdfed (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 15 years ago
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
15 years ago
smatz 0b4b9dd764 (svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed 15 years ago
alberth 70472e2d98 (svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites. 15 years ago
rubidium 70bf10b34a (svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station. 15 years ago
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. 15 years ago
smatz ff542e8d3c (svn r16853) -Codechange: make CargoSpec const at two places 15 years ago
smatz cb13cf2543 (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs 15 years ago
rubidium 8f4ad741aa (svn r16851) -Codechange: use StationSpecList in waypoint too 15 years ago
rubidium 5a38d8e007 (svn r16850) -Codechange: unify some naming of variables between waypoints and stations. 15 years ago
smatz 8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago
alberth 832c116b5b (svn r16848) -Fix: Trying to reduce a nested widget window further than the smallest alowed size should not crash the game. 15 years ago
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
15 years ago
rubidium 98b6faa2f6 (svn r16846) -Codechange: make the content download status window only use nested widgets 15 years ago
alberth fe9f5cbc46 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 15 years ago
alberth 613d091375 (svn r16844) -Doc (r13182): Remove documentation of removed window event handling function. 15 years ago
alberth 2e298f90a9 (svn r16843) -Codechange: More documentation for the WWT_MATRIX widget, and better variable names in matrix rendering function. 15 years ago
rubidium 34570f4e93 (svn r16842) -Cleanup: add some spaces around a few operators 15 years ago
rubidium e39646d93b (svn r16841) -Cleanup: spaces/tabs where they don't belong 15 years ago
alberth 4458a1ec32 (svn r16840) -Codechange: Small merge in town directory widget content method. 15 years ago
alberth 1aa6de3873 (svn r16839) -Codechange: Remove obsolete FillNestedArray(). 15 years ago
alberth 62fc8bd6c5 (svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize. 15 years ago
alberth 0dcb1a320d (svn r16837) -Codechange: Collect largest used index while constructing nested widget tree. 15 years ago
yexo 6e467e8ae0 (svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD 15 years ago
translators 0b749ffa66 (svn r16833) -Fix: WT3 made its first bug .. it is growing up! 15 years ago
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
15 years ago
alberth 4969d387d3 (svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window. 15 years ago
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
15 years ago
rubidium 6cf59514d1 (svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse... 15 years ago
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. 15 years ago
rubidium 873adde908 (svn r16825) -Codechange: unify dirtying when updating the viewport signs. 15 years ago
rubidium 79deeee323 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 15 years ago
smatz a2ce1e6e8f (svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick() 15 years ago
frosch 3a76b9be2b (svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle. 15 years ago
frosch 23599a1ed4 (svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part. 15 years ago
frosch 1fbbf29987 (svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length. 15 years ago
translators fc8bb190b0 (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
15 years ago
rubidium fd980be463 (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 15 years ago
smatz 64de470917 (svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft 15 years ago
smatz 98b8479f56 (svn r16813) -Codechange: make IsEngineCountable() member of Vehicle 15 years ago
rubidium 0a1b4912ef (svn r16811) -Change: introduce a plural 'rule' for Korean 15 years ago
smatz 2de68b2894 (svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected 15 years ago
smatz 2185ab8656 (svn r16808) -Fix (r16338): don't crash when loading savegame with invalid references 15 years ago
peter1138 1e50346943 (svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value. 15 years ago
rubidium 5e3326d4d7 (svn r16802) -Fix [FS#3031]: service orders didn't behave like conditional orders; if a train doesn't need service it didn't completely skip the order, it would first send the vehicle towards the depot and would then realise it doesn't need to go there making it possible that the vehicle leaves that station on the wrong side. 15 years ago
rubidium 5fe30de455 (svn r16801) -Fix [FS#3022]: cargo payments weren't destroyed when a vehicle was destructed. This only happened when you crashed a vehicle while it was unloading. 15 years ago
translators 8bb45a35c1 (svn r16800) -Update from WebTranslator v3.0:
simplified_chinese - 29 changes by ww9980
galician - 108 changes by Condex
german - 2 changes by Roujin
indonesian - 3 changes by prof
korean - 5 changes by telk5093
romanian - 2 changes by kkmic
russian - 28 changes by Lone_Wolf
15 years ago
frosch fb9ec40e44 (svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8. 15 years ago
alberth 95ac767add (svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations. 15 years ago
alberth aac49ba01c (svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets. 15 years ago
alberth 5d9e94a2b4 (svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium) 15 years ago
rubidium 8cad64558f (svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge. 15 years ago
yexo c7647e2e15 (svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly 15 years ago
translators bc1efe627e (svn r16793) -Update from WebTranslator v3.0:
portuguese - 102 changes by SupSuper
russian - 3 changes by Lone_Wolf
spanish - 11 changes by Terkhen
15 years ago
rubidium ff725906a7 (svn r16791) -Codechange: unify (and document) the Remove[StationType] functions. 15 years ago
yexo f8844424cc (svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles 15 years ago
yexo bd8f92d3ff (svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows. 15 years ago
yexo 79285c580b (svn r16788) -Fix: with modified_catchment off the build road station window would not display all possible cargos in the Accepts/Supplies lists 15 years ago
yexo a656094395 (svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button 15 years ago
yexo c633a98e0b (svn r16786) -Fix [FS#3027] (r16752): only one tile was selected when the build airport window was opened instead of an area with the size of the airport 15 years ago
rubidium 026f3c8feb (svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too 15 years ago
peter1138 07dbd830b6 (svn r16784) -Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality. 15 years ago
rubidium 8a8731b3f0 (svn r16783) -Change: make it more clear that the squirrel_export script needs gawk. 15 years ago
translators db34656972 (svn r16782) -Update from WebTranslator v3.0:
catalan - 33 changes by arnaullv
dutch - 2 changes by habell
french - 2 changes by belugas
galician - 18 changes by Condex
german - 8 changes by Roujin
hungarian - 11 changes by alyr
italian - 2 changes by lorenzodv
persian - 67 changes by Gajet9
russian - 48 changes by Lone_Wolf
spanish - 27 changes by Terkhen
swedish - 1 changes by Chrill
15 years ago
rubidium 62f770a5fc (svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive". 15 years ago
alberth 4f78ef88b0 (svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky. 15 years ago
alberth 99455ffb49 (svn r16779) -Fix: Take real smallest size of nested widgets into account for initial window position. 15 years ago
alberth b417938f74 (svn r16778) -Codechange: Split window initialization in a data part and a size/position part. 15 years ago
translators 1ac852a1f9 (svn r16777) -Update from WebTranslator v3.0:
catalan - 65 changes by arnaullv
simplified_chinese - 4 changes by ww9980
finnish - 2 changes by jpx_
german - 65 changes by Roujin
icelandic - 4 changes by baldur
russian - 2 changes by svgr
spanish - 61 changes by Terkhen
vietnamese - 1 changes by sephiroth2m
15 years ago
rubidium e448ef9d10 (svn r16773) -Fix (r16014): forgot to remove obsoleted aliases 15 years ago
rubidium 74f56861e9 (svn r16772) -Fix [FS#3019]: don't use the same error message for turning around road vehicles and flipping parts of trains in the depot 15 years ago
rubidium f8c0926c1a (svn r16771) -Fix: API export was forgotten causing API to think variables were uint; doesn't matter much as int was converted to uint and then back. 15 years ago
translators 1a3f111d59 (svn r16768) -Update from WebTranslator v3.0:
german - 2 changes by planetmaker
persian - 38 changes by Gajet9
romanian - 10 changes by kkmic
serbian - 93 changes by etran
slovak - 2 changes by James
vietnamese - 68 changes by sephiroth2m
15 years ago
yexo 484bda00de (svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore 15 years ago
rubidium e4ef68405c (svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet. 15 years ago
rubidium 770ad0c022 (svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names 15 years ago
rubidium bb78e5bb14 (svn r16764) -Codechange: unify the way viewport signs are marked dirty 15 years ago
rubidium b9e4c6653c (svn r16763) -Add: initial translation of Vietnamese. 15 years ago
translators 5310e10674 (svn r16762) -Update from WebTranslator v3.0:
dutch - 1 changes by Yexo
finnish - 32 changes by jpx_
german - 47 changes by Roujin, planetmaker
indonesian - 16 changes by fanioz
russian - 6 changes by Lone_Wolf
15 years ago
rubidium 4989b4afb9 (svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign 15 years ago
rubidium 52abc92d1f (svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station 15 years ago
rubidium 44ebf9a474 (svn r16759) -Codechange: some coding style in station.cpp 15 years ago