Commit Graph

8018 Commits (fa5920025c65ca11cbcbc7e832954f4349151014)

Author SHA1 Message Date
frosch 9bbf2ca405 (svn r18409) -Change [FS#3349]: Recolour the bubble generator just like any other industry. (planetmaker) 15 years ago
frosch a23b215b5a (svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it. 15 years ago
rubidium 0406d7176a (svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting 15 years ago
rubidium dcb317b3a8 (svn r18406) -Cleanup: remove some unneeded constants and code 15 years ago
rubidium 556061ef6b (svn r18405) -Fix (r18405): RVs didn't like to stop when the 'next' drive through station tile didn't have a compatible road type 15 years ago
rubidium 0fed86a779 (svn r18404) -Codechange: link drive through stops better together
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
15 years ago
belugas 53416773ee (svn r18403) -Codechange: Re-arrange header of table _original_house_specs 15 years ago
rubidium 6600610e47 (svn r18402) -Codechange: unify/centralise the code for crashing vehicles 15 years ago
rubidium 2e2aa3e7da (svn r18401) -Fix: drive through road stops did not get flooded 15 years ago
translators 8e2f402990 (svn r18400) -Update from WebTranslator v3.0:
traditional_chinese - 52 changes by josesun
greek - 17 changes by fumantsu
15 years ago
rubidium a044ef74b9 (svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return } 15 years ago
rubidium f9c2daee4c (svn r18398) -Fix [FS#3343]: the tree 'which one to draw' hash wasn't anywhere near random and thus showed a very visible repeated pattern when only one tree type was used 15 years ago
rubidium 86529556b1 (svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled 15 years ago
yexo 1d0ea2e0f9 (svn r18396) -Fix [FS#3169]: planes turned too much at the end of the runway when landing at the intercontinental airport~ 15 years ago
yexo 9092708359 (svn r18395) -Fix (r17415): helicopters can turn freely even while in the air 15 years ago
rubidium 5dfcf55384 (svn r18394) -Fix (r18373): one couldn't manually send a RV to a depot... but why compilers haven't complained about this? 15 years ago
translators 57e351a6d0 (svn r18393) -Update from WebTranslator v3.0:
traditional_chinese - 2 changes by josesun
german - 3 changes by planetmaker
italian - 1 changes by lorenzodv
portuguese - 10 changes by JayCity
romanian - 22 changes by kkmic
15 years ago
frosch 5a775cb93f (svn r18392) -Fix (r13956)[FS#3345]: [YAPP] Trains on bridges were not found, when searching for the origin of a reservation. (Hirundo) 15 years ago
frosch 48efc698bb (svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads. 15 years ago
peter1138 57bcb5f903 (svn r18390) -Fix (r17776): [SDL] Reinstate pointer update on 'idle' loop. 15 years ago
rubidium f49c1dcd78 (svn r18389) -Fix: some minor documentation alignment issues 15 years ago
rubidium e4dd60d428 (svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop 15 years ago
translators a5759dba37 (svn r18387) -Update from WebTranslator v3.0:
catalan - 3 changes by arnau
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 11 changes by planetmaker
hungarian - 2 changes by IPG
portuguese - 1 changes by JayCity
spanish - 3 changes by Terkhen
15 years ago
rubidium 17141f6923 (svn r18386) -Codechange: make the NPF functions static and remove unused functions 15 years ago
rubidium 6278f0b8a9 (svn r18385) -Cleanup: remove the now unneeded multistop slot management code 15 years ago
rubidium c0def29c99 (svn r18384) -Fix (r18351): attempt to 'work around' MSVC's IMO stupid warning 15 years ago
rubidium b7b540c169 (svn r18383) -Fix (r18375): triggering NOT_REACHED for some waypoints 15 years ago
rubidium 2f640cb195 (svn r18382) -Codechange: make road vehicles behave more like trains 'around' stations and use pathfinder penalties to determine to which 'part' to go. Note that the pathfinder penalties for drive through stops are currently only looking at the occupation of the first in a row, but this is to change later on. 15 years ago
frosch 992bc6c345 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 15 years ago
frosch a3bd5f5234 (svn r18380) -Fix (r9301): One could not share orders between buses carrying different cargos. 15 years ago
rubidium 4ddbe1793e (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 15 years ago
rubidium 720875fd55 (svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h 15 years ago
rubidium 0f7cee89d8 (svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops. 15 years ago
rubidium 31e1c606fd (svn r18376) -Codechange: simplify setting the destination 15 years ago
rubidium f602955600 (svn r18375) -Codechange: use Station::GetTileArea to get the tile area for CalcClosestStationTile 15 years ago
rubidium 1503951313 (svn r18374) -Cleanup: remove some unused code 15 years ago
rubidium 3eaf87992e (svn r18373) -Codechange: unify some road pathfinder functions 15 years ago
rubidium be2c6f2167 (svn r18372) -Codechange: push some extra type safety into YAPF 15 years ago
rubidium 1c2214b430 (svn r18371) -Codechange: unify calling of the train pathfinders 15 years ago
rubidium ec68bd67e3 (svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders 15 years ago
rubidium 2d1827dfa6 (svn r18369) -Fix [FS#3339] (rbeginning): off-by-one in the preconfigured music lists 15 years ago
rubidium 46e9043b14 (svn r18368) -Fix: alignment of comment and 'add' some missing comments 15 years ago
rubidium 2341c2e283 (svn r18367) -Codechange: unify the ship pathfinder 'calls' 15 years ago
rubidium d63429af1e (svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself 15 years ago
rubidium 47fb92b986 (svn r18365) -Cleanup: remove duplicate table 15 years ago
rubidium 2f3053508d (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 15 years ago
rubidium 501d2ba0d8 (svn r18363) -Feature: do not require advanced settings multistrings to start at 0 15 years ago
rubidium cbb87c41d5 (svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future 15 years ago
frosch b5a07b3c70 (svn r18361) -Fix: Remove unneeded usage of invalid pointer. Also thank Hirundo and SmatZ. 15 years ago
translators dc1338c2a8 (svn r18359) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
croatian - 114 changes by UnderwaterHesus
hungarian - 26 changes by IPG
15 years ago
frosch 083b6ee509 (svn r18358) -Cleanup: More usage of EPV_CYCLES_(DARK|GLITTER)_WATER. 15 years ago
rubidium 1298b75dc5 (svn r18353) -Fix: string colours can't have a case 15 years ago
translators b9498fb96b (svn r18352) -Update from WebTranslator v3.0:
afrikaans - 35 changes by Maccie123
traditional_chinese - 1 changes by josesun
croatian - 221 changes by UnderwaterHesus
danish - 129 changes by embql
dutch - 7 changes by habell
finnish - 4 changes by Tve4
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
polish - 1 changes by silver_777
portuguese - 3 changes by JayCity
serbian - 3 changes by etran
spanish - 1 changes by Terkhen
15 years ago
rubidium a32968e17e (svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level 15 years ago
smatz 6c22463dd9 (svn r18350) -Codechange: catch SIGILL under unix-like systems as well 15 years ago
alberth 9da59e01a2 (svn r18349) -Fix (r18347): Older compilers want explicit assignments. 15 years ago
alberth 01e17c6828 (svn r18348) -Doc: Doxygen fixes, and removal of an old @note. 15 years ago
alberth b85262d622 (svn r18347) -Codechange: Compute width of labels in news settings window once. 15 years ago
alberth e1e86b872c (svn r18346) -Codechange: Compute size of face part display buttons only once in face window. 15 years ago
alberth 57ea707cc4 (svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead. 15 years ago
rubidium c0ae932b4d (svn r18344) -Change [FS#2923]: do not split up articulated vehicles in the train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too. Based on work by frosch123. 15 years ago
rubidium 506b3abdd6 (svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparent 15 years ago
rubidium 8c11679381 (svn r18342) -Fix: erroneous spaces before ; 15 years ago
frosch e2b619392c (svn r18341) -Fix: Replace some GetNextVehicle() with GetNextUnit() where needed. 15 years ago
translators b2504ae28d (svn r18340) -Update from WebTranslator v3.0:
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
greek - 30 changes by 
hungarian - 2 changes by alyr
indonesian - 4 changes by prof
portuguese - 5 changes by JayCity
russian - 19 changes by Lone_Wolf
spanish - 2 changes by Terkhen
15 years ago
rubidium 80fe9e3dd2 (svn r18339) -Cleanup: remove SKIP support from strgen too 15 years ago
rubidium 359493bc36 (svn r18338) -Codechange: remove the need for {SKIP} 15 years ago
alberth 8ce12572a8 (svn r18337) -Codechange: Remove 2x2 {SKIP} in the company finances window + strings. 15 years ago
alberth ee0b708ea5 (svn r18336) -Cleanup (r18092): Remove declaration of an already removed function. 15 years ago
alberth acf091da8e (svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking. 15 years ago
alberth 30e834860a (svn r18334) -Codechange: No need to test a pointer after using it. 15 years ago
alberth 94f1f51943 (svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view. 15 years ago
rubidium 948512883b (svn r18332) -Fix: the MSVC compile warnings 15 years ago
rubidium 55897be79b (svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp. 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
frosch 2672dace25 (svn r18329) -Remove: [strgen] Support for {SETX} and {SETXY}. Let it rest in peace as NewGRF relict. 15 years ago
frosch c942f95a6d (svn r18328) -Codechange: Remove last usage of {SETX} from strings. 15 years ago
translators 463012191c (svn r18327) -Update from WebTranslator v3.0:
catalan - 26 changes by arnau
traditional_chinese - 24 changes by josesun
finnish - 4 changes by jpx_
french - 2 changes by glx
greek - 30 changes by 
italian - 6 changes by lorenzodv
polish - 8 changes by silver_777
portuguese - 4 changes by JayCity
spanish - 2 changes by Terkhen
15 years ago
frosch 318ce40496 (svn r18326) -Fix (r18325): Missing signedness conversion. 15 years ago
frosch 74c43d6b3c (svn r18325) -Codechange: Use GetSpriteSize() instead of hard {SETX}. Also make the 'current order'-arrow in order and timetable GUI RTL aware. 15 years ago
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium d2535d70ee (svn r18323) -Fix [FS#3330]: credits were drawn on the border of the window 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 877307a0eb (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 15 years ago
rubidium 0b31433eea (svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc. 15 years ago
frosch 420bc91436 (svn r18319) -Fix: Timetable window wrt. big/small fonts. 15 years ago
rubidium fedb593293 (svn r18318) -Codechange: add an enum value for manual window placement 15 years ago
alberth ea6e621024 (svn r18317) -Codechange: Merge both face windows into a single window description and widget parts array. 15 years ago
alberth 87b9be8ef4 (svn r18316) -Codechange: Introduce selection widgets to enable turning parts of the face window on and off. 15 years ago
alberth f7b6e99800 (svn r18315) -Codechange: Remove fixed minimal sizes of the other widgets in both face windows. 15 years ago
frosch 3dc3683e8c (svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies. 15 years ago
alberth b20b135581 (svn r18313) -Codechange: Decide the size of the widgets displaying values of parts in the advanced face window dynamically. 15 years ago
alberth e86cfa5ed8 (svn r18312) -Codechange: Simplify the nested widget part arrays of both face windows, and move a bit towards merging. 15 years ago
rubidium 74b737f958 (svn r18311) -Codechange: no need to hardcode locations of some 'random' windows 15 years ago
alberth 4cdf3189f8 (svn r18310) -Codechange: Introduce widgets for the names of the parts in the advanced face editing window, 15 years ago
translators ee9cf2f589 (svn r18309) -Update from WebTranslator v3.0:
croatian - 44 changes by UnderwaterHesus
french - 18 changes by glx
german - 4 changes by planetmaker
greek - 31 changes by fumantsu
hungarian - 18 changes by alyr
italian - 19 changes by lorenzodv
polish - 11 changes by silver_777
portuguese - 3 changes by JayCity
serbian - 4 changes by etran
spanish - 14 changes by Terkhen
swedish - 28 changes by Chrill
15 years ago
frosch 119638793b (svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in dropdowns with company icon. 15 years ago
frosch 7900d30c2c (svn r18307) -Fix: some coding style. 15 years ago
frosch fb10e6a19e (svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items. 15 years ago
frosch 372aa6ff5f (svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT). 15 years ago
rubidium 32a97b05bf (svn r18304) -Codechange: don't use SETX for the arrival/departure panel; some languages don't have short abbreviations :( 15 years ago
frosch 2bbaf9f2eb (svn r18303) -Fix: Widget indices are valid when >= 0. 15 years ago
smatz 73136f78b3 (svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when generating new game 15 years ago
translators 6a5707f2af (svn r18301) -Update from WebTranslator v3.0:
dutch - 20 changes by habell
finnish - 10 changes by jpx_
german - 20 changes by planetmaker
greek - 30 changes by 
hungarian - 1 changes by alyr
italian - 19 changes by lorenzodv
portuguese - 18 changes by JayCity
serbian - 20 changes by etran
spanish - 10 changes by Terkhen
15 years ago
rubidium a718cea273 (svn r18299) -Update: the ai changelog document 15 years ago
frosch ea3c6e1b1e (svn r18297) -Fix: Preserve timetable-start when auto-replacing/-renewing. 15 years ago
rubidium ee805c31c0 (svn r18296) -Codechange: show the next 4 orders instead of the first 4 orders in the ship/aircraft vehicle lists 15 years ago
frosch c925d29df2 (svn r18295) -Fix [FS#bigos](r18283): Missed one PR_TERRAFORM. 15 years ago
rubidium f8ddca3451 (svn r18294) -Feature: set the start time of a timetable 15 years ago
rubidium 04b2a002ff (svn r18293) -Codechange: add a window to set the date. Based on work by PhilSophus and Maedhros. 15 years ago
rubidium bd9c679873 (svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus. 15 years ago
rubidium 371a220960 (svn r18291) -Codechange: rework the calculation of the 'days till year' macro a bit so it can be properly reused and add a MAX_DAY 15 years ago
rubidium bfe73ab81a (svn r18290) -Codechange: be more strict about what vehicles may use timetables 15 years ago
rubidium a14d00c478 (svn r18289) -Codechange: if using RTL draw the toolbar in the reverse direction so the buttons overlap 'nicely' 15 years ago
translators 18ee65dffe (svn r18288) -Update from WebTranslator v3.0:
catalan - 3 changes by arnau
czech - 7 changes by SmatZ
dutch - 11 changes by habell
finnish - 19 changes by jpx_
french - 9 changes by glx
german - 9 changes by dihedral, planetmaker
greek - 46 changes by fumantsu
hungarian - 31 changes by Petert, alyr
polish - 16 changes by silver_777
portuguese - 9 changes by JayCity
romanian - 13 changes by kkmic
serbian - 9 changes by etran
spanish - 6 changes by Terkhen
15 years ago
rubidium fe1dcdd635 (svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should 15 years ago
frosch 841cd2cc32 (svn r18286) -Fix (r18280): Number of platforms and platform length start with 1. 15 years ago
rubidium dea921ad62 (svn r18285) -Feature: show the expected arrival/departure dates in the timetable window. Based on work by PhilSophus. 15 years ago
frosch 0f31a2f7e4 (svn r18284) -Cleanup (r18268, r18283): Replace magic value with enum. 15 years ago
frosch 13a72bb345 (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
15 years ago
frosch dc71450b0f (svn r18282) -Codechange: Remove IndustrySpec::raw_industry_cost_multiplier and use 8 * cost_multiplier instead. 15 years ago
smatz f7466979b9 (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
translators ef11ef56a9 (svn r18279) -Update from WebTranslator v3.0:
traditional_chinese - 3 changes by josesun
finnish - 2 changes by jpx_
greek - 34 changes by fumantsu
hungarian - 3 changes by alyr
polish - 3 changes by silver_777
spanish - 4 changes by Terkhen
15 years ago
frosch edde2b4b2b (svn r18278) -Cleanup (r1): No need to set a cost multiplier for raw-industry-construction of banks. They have never been raw industries. 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
frosch f4fb782fbf (svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return -1, if the industry is neither buildable nor prospectable. 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium 46f90bef77 (svn r18273) -Codechange: do not require widget numbers for default widgets (close, sticky, resize buttons and the caption), except when you want to use SetStringParameter for the caption ofcourse. Also remove the requirement for some of the WDF flags; no need to test for both the flag whether a feature is used and whether the feature is in action. 15 years ago
rubidium 5669e483c5 (svn r18272) -Codechange: make FindScrollbar a const function 15 years ago
rubidium 9cc710ad22 (svn r18271) -Fix [FS#3315]: road vehicles wouldn't reserve a road stop in tunnels/on bridges so when they leave wormhole they're still focussed on the main road stop causing unneededly long queues 15 years ago
rubidium ff1a4a9028 (svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function 15 years ago
rubidium 9068245629 (svn r18269) -Fix [FS#3326]: crash because there was no (hidden) one way widget for the tram toolbar 15 years ago
frosch f60a437d36 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
rubidium ea0fd4656a (svn r18267) -Codechange: make the music window big font aware 15 years ago
frosch fe65c7f833 (svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost. 15 years ago
rubidium bc48c70c46 (svn r18265) -Codechange: make the finance overview window big font aware 15 years ago
rubidium b4da187ae6 (svn r18264) -Codechange: make the company league window big font aware 15 years ago
rubidium 4b8f180ffd (svn r18263) -Codechange: make the town views resizable 15 years ago
rubidium 5b8b625415 (svn r18262) -Codechange: make the status bar big font aware 15 years ago
rubidium 919691da86 (svn r18261) -Codechange: center the company icons in the toolbar dropdowns 15 years ago
rubidium 8b67964172 (svn r18260) -Codechange: make the company station view big font aware 15 years ago
rubidium 33b6170517 (svn r18259) -Codechange: make the graphs big font aware 15 years ago
translators 546d27c216 (svn r18258) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
greek - 30 changes by 
hungarian - 2 changes by alyr
indonesian - 6 changes by fanioz
polish - 1 changes by silver_777
portuguese - 18 changes by JayCity
russian - 13 changes by Lone_Wolf
15 years ago
rubidium 79c677d61b (svn r18257) -Fix: glitch when the news message is wider than the status bar 15 years ago
rubidium 3ebe581b4a (svn r18256) -Codechange: make the vehicle details window big font aware 15 years ago
rubidium df8d95738d (svn r18255) -Codechange: make the town authority window big font aware 15 years ago
rubidium 54d1efc4cd (svn r18254) -Codechange: make the highscore windows big font aware-ish till the point that it still fits within the graphics 15 years ago
frosch f48f252a2d (svn r18253) -Codechange: Convert the linked list of loaded GRFFiles into a SmallVector. 15 years ago
rubidium 8c049c7c34 (svn r18252) -Fix: crash when news is shown when the end game window is opened (status bar goes missing for a while etc.) 15 years ago