Commit Graph

15886 Commits (b5b06351ac85aa999ab8b926437c29a561057f7b)

Author SHA1 Message Date
Jonathan G Rennison 3a7a81e02f Add GUI support for else if, or if and else blocks.
Add another drop-down to change between these.
Opening if blocks cannot be converted to/from these.
9 years ago
Jonathan G Rennison fedf618978 Add last visited station condition. 9 years ago
Jonathan G Rennison 2296fc85e6 Add next order condition variable. 9 years ago
Jonathan G Rennison ffed0c194a Add current order (station, waypoint or depot) condition variable.
Adjust item bit allocations:
* Increase cond flags from 2 bits to 3 bits, for future expansion.
* Use 2 bits remaining in adjacent gap for an auxiliary type field.
  This is used for the type (station, waypoint, etc.) of order tests.
Perform a linear scan of the program pool when deleting a station,
waypoint or depot.
9 years ago
Jonathan G Rennison 0be3b053d5 Add maximum train speed condition variable. 9 years ago
Jonathan G Rennison 627288277e Implement reset, copy, share and unshare of trace restrict programs.
Add documentation on data storage model, wrt lookup, mapping and sharing.
9 years ago
Jonathan G Rennison 5f1b148cf9 Initial minimal working tracerestrict implementation.
This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance.
9 years ago
frosch 13a726b18f (svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side. 9 years ago
frosch 730c2177bf (svn r27342) -Add: Optionally return the number of sprites in the spriteset from GetCustomRailSprite. 9 years ago
frosch bd50600f5b (svn r27341) -Fix [FS#6332]: Do not rerandomise the town name when only cost-estimating the founding. 9 years ago
frosch 67ae231f1b (svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to a file no its own. (Cif) 9 years ago
translators 932aaa8cb5 (svn r27339) -Update from WebTranslator v3.0:
frisian - 42 changes by BAJansen
9 years ago
translators 55c177c26d (svn r27338) -Update from WebTranslator v3.0:
frisian - 8 changes by BAJansen
9 years ago
translators f6a3faf927 (svn r27337) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
9 years ago
translators 28f9637aed (svn r27336) -Update from WebTranslator v3.0:
greek - 36 changes by Jubilee
9 years ago
translators 28e885dd51 (svn r27335) -Update from WebTranslator v3.0:
greek - 24 changes by Jubilee
9 years ago
frosch 80df194341 (svn r27334) -Revert (r27232) [FS#6342]: No idea what the plan was, but making the main noise coefficients the same for all smoothness types certainly wasn't. 9 years ago
translators 99ed8df797 (svn r27333) -Update from WebTranslator v3.0:
greek - 7 changes by Jubilee
9 years ago
frosch 86825a745c (svn r27332) -Change: Enable YAPF cache debugging with desync debug level 2. 9 years ago
frosch 2af1fa921a (svn r27331) -Cleanup (r26999): Make variety distribution curves more sane. 9 years ago
frosch f16fc69e95 (svn r27330) -Fix [FS#6335]: Make variety distribution not assume that sea level is at height 0.2 / 3 * TGPGetMaxHeight(). 9 years ago
frosch 04e9978f1f (svn r27329) -Fix: Add more height_t type-correctness to TGP code. 9 years ago
frosch fc902d354f (svn r27328) -Codechange: Add an assertion to check for uninitialised variables when tracing variety distribution's control curves. 9 years ago
translators d25934580f (svn r27327) -Update from WebTranslator v3.0:
korean - 1 changes by telk5093
9 years ago
translators 81ec32199f (svn r27326) -Update from WebTranslator v3.0:
simplified_chinese - 6 changes by Gavin
9 years ago
translators b50eddaea2 (svn r27325) -Update from WebTranslator v3.0:
catalan - 4 changes by juanjo
9 years ago
frosch d1c2eae95d (svn r27324) -Fix: Remove corner-case optimisation for line drawing, which failed for dashed lines. (noticed by adf88) 9 years ago
frosch e55f1adfa8 (svn r27323) -Fix: Spelling. 9 years ago
frosch 70e2c23772 (svn r27322) -Fix: Clipping of inclined lines did not account for the 'horizontal width' being bigger than the 'real width'. (adf88) 9 years ago
translators 1d9c78ef6b (svn r27321) -Update from WebTranslator v3.0:
korean - 2 changes by telk5093
9 years ago
frosch c5a4b89915 (svn r27320) -Codechange: Do not drop order backups when loading a savegame for replaying. 9 years ago
translators d3bfb5422f (svn r27319) -Update from WebTranslator v3.0:
frisian - 1 changes by BAJansen
9 years ago
translators d9f8045255 (svn r27318) -Update from WebTranslator v3.0:
frisian - 9 changes by BAJansen
9 years ago
translators d64d56b5a8 (svn r27317) -Update from WebTranslator v3.0:
frisian - 458 changes by BAJansen
9 years ago
frosch 42630dfa01 (svn r27316) -Doc: Improve documentation on ScriptCargo::GetCargoLabel 9 years ago
frosch a1ca479a65 (svn r27315) -Fix: Norwegian bokmal 9 years ago
translators 8f84989389 (svn r27314) -Update from WebTranslator v3.0:
norwegian_bokmal - 4 changes by eirik174
9 years ago
frosch 90d50d78c0 (svn r27313) -Fix [FS#6317]: Adding tram to town-owned bridges assigned an incorrect owner to the tram and did not count infrastructure counts properly. (marcole) 9 years ago
frosch d4db9cb109 (svn r27312) -Fix-ish [FS#6317]: Preserve town ownership of bridges when removing road from a road+tram bridge. (marcole) 9 years ago
frosch c0015d6a7c (svn r27311) -Fix: Mark infrastructure window dirty in more cases. (marcole) 9 years ago
translators a2f13f0fe2 (svn r27310) -Update from WebTranslator v3.0:
norwegian_bokmal - 79 changes by eirik174
9 years ago
frosch 0efffb6df4 (svn r27309) -Change [FS#6283]: Auto-complete partial roads when building level-crossings. (adf88) 9 years ago
frosch 07b83b8869 (svn r27308) -Fix [FS#6283]: Prevent breaking of tram-reversal points by adding more road pieces. (adf88) 9 years ago
frosch 81bdf8928e (svn r27307) -Fix [FS#6259]: Error message window with manager face failed with GUI zoom. (Johnnei) 9 years ago
frosch b1763f1e77 (svn r27306) -Fix (r27305): Confused tiles. 9 years ago
frosch 19d1cda92e (svn r27305) -Fix [FS#6320]: Account for road-bridges and drive-through-stops in CanFollowRoad. 9 years ago
frosch 4117c5b747 (svn r27304) -Fix [FS#6321-ish]: Improve password window layout for big font sizes. 9 years ago
frosch d07b686927 (svn r27303) -Fix [FS#6321]: SetMinimalSize was ignored for WWT_EDITBOX. 9 years ago
frosch 891021cdd3 (svn r27302) -Fix [FS#6313] (r26550): Updating timetables need to check the timetable flags from the real order instead of from a copy. (marcole) 9 years ago
frosch 6f2937855a (svn r27301) -Fix [FS#6313] (r26550): Modifying timetable times or speeds always confirmed all pre-estimated values. 9 years ago
frosch 04aa61ffac (svn r27300) -Fix [FS#6306]: Silence GCC warning (Cif) 9 years ago
translators 3ed9f24d19 (svn r27296) -Update from WebTranslator v3.0:
estonian - 93 changes by Jaropower
9 years ago
frosch 14052de6b2 (svn r27295) -Add: [strgen] Default plural subparameter positions for CARGO_xxx string control codes. 9 years ago
frosch 7f5e63324d (svn r27294) -Fix: Invalid plural references in various translations. 9 years ago
translators 25b87fe4a9 (svn r27293) -Update from WebTranslator v3.0:
traditional_chinese - 4 changes by siu238X
danish - 4 changes by beruic
9 years ago
frosch 5053ba6a6e (svn r27292) -Codechange: Unify language file range comments. 9 years ago
frosch fa83524eb4 (svn r27291) -Fix (r27278) [FS#6303]: Some savegame data was discarded again during loading. 9 years ago
rubidium dde669e6d3 (svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them 9 years ago
rubidium 809161ebf2 (svn r27289) -Fix: some uninitialised instance variables 9 years ago
michi_cc a41f197379 (svn r27288) -Fix: Slow network content GUI in MSVC Debug builds due to repeated string resolving. 9 years ago
alberth ada765a7e1 (svn r27287) -Doc: Clarify radius and semantics of the industry producing/accepting tile functions. 9 years ago
alberth ad8a7aee30 (svn r27286) -Fix-ish(r27140): Also fix typo in the documentation. 9 years ago
alberth 56c9765f72 (svn r27285) -Codechange: Use LG_ORIGINAL instead of a magic 0 to indicate the original landscape generator. 9 years ago
translators ffb6f3cea0 (svn r27284) -Update from WebTranslator v3.0:
latin - 1 changes by Supercheese
9 years ago
translators a976ec28b4 (svn r27283) -Update from WebTranslator v3.0:
belarusian - 4 changes by KorneySan
brazilian_portuguese - 20 changes by Tucalipe
9 years ago
frosch a7849377dd (svn r27282) -Fix [FS#6254]: Enforce the company's default service intervals when purchasing another company. (Johnnei) 9 years ago
frosch eccbe842b3 (svn r27281) -Codechange: Do not shadow local variables with other local variables in sub-scopes. 9 years ago
frosch 0ed553c0a7 (svn r27280) -Fix (r24998): Cloning/autoreplace/autorenew did not copy custom service intervals. (Johnnei) 9 years ago
frosch f3ae301125 (svn r27279) -Feature: [NewGRF] Increase the maximum amount of industry types to 128 per NewGRF and 240 in total. 9 years ago
frosch 17d9b77db6 (svn r27278) -Fix: Handle savegames with an unexpected amount of industry-builder or NewGRF entity-mapping more gracefully. 9 years ago
frosch 4a6036208a (svn r27277) -Codechange: Make _displayed_industries a std::bitset. 9 years ago
translators c348ebfeb1 (svn r27269) -Update from WebTranslator v3.0:
latvian - 20 changes by Parastais
9 years ago
translators e7fa640566 (svn r27268) -Update from WebTranslator v3.0:
hebrew - 1 changes by oofnik
9 years ago
frosch 4b01ce36eb (svn r27267) -Change: [NewGRF] Translate industry variable A6. 9 years ago
translators cf629bfb97 (svn r27264) -Update from WebTranslator v3.0:
korean - 1 changes by telk5093
9 years ago
translators 8803df32aa (svn r27262) -Update from WebTranslator v3.0:
croatian - 97 changes by UnderwaterHesus
9 years ago
translators be00f631da (svn r27261) -Update from WebTranslator v3.0:
swedish - 1 changes by abbedabb
9 years ago
frosch 09caebf357 (svn r27260) -Fix (r27244): economy.allow_town_roads should not affect town placement during world generation. 9 years ago
frosch 071b574e2c (svn r27259) -Fix (r27244): Incorrect merge. (_dp_) 9 years ago
frosch 108aa4e7af (svn r27258) -Fix [FS#6287]: ScriptList::RemoveList failed to remove a list from itself. 9 years ago
translators edad1a1ce5 (svn r27257) -Update from WebTranslator v3.0:
korean - 4 changes by telk5093
9 years ago
frosch be30f224c7 (svn r27256) -Change [FS#6165]: Do not consider cargo that is already being loaded as waiting cargo wrt. the station rating. 9 years ago
frosch 53ee8c696b (svn r27255) -Fix [FS#6270]: Combined button+dropdown widgets in order and autoreplace GUI had incorrect hitbox when using GUI zoom. (_dp_) 9 years ago
frosch 9c75b61e5f (svn r27254) -Fix [FS#6264]: When building a lock on DC_AUTO-removable water-based objects, the water class was always set to canal. 9 years ago
frosch db7dc5a6e9 (svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost of extra roads was not being counted. (adf88) 9 years ago
frosch f690713802 (svn r27252) -Fix [FS#6281]: Invalid infrastructure counting when crossing tram tracks with railroads. (adf88) 9 years ago
frosch e9c3ca62cd (svn r27251) -Feature [FS#6252]: Make Ctrl+Remove-Roadstop also remove the road, just like for rail stations. (adf88) 9 years ago
frosch 9714f95c63 (svn r27249) -Fix [FS#6240]: In some cases town growth failure was considered as success. (_dp_) 9 years ago
frosch f27dc40c8a (svn r27248) -Fix [FS#6257]: Town labels on smallmap and zoomed-out viewports were not centered. (_dp_) 9 years ago
frosch c1505cfcdb (svn r27247) -Cleanup: Make GrowTownAtRoad return a bool. 9 years ago
frosch 269d702cc8 (svn r27246) -Codechange: Deduplicate code between removing part of a rail station and removing the whole rail station. (adf88) 9 years ago
frosch 7fdc4da4b9 (svn r27245) -Fix [FS#6251]: Removing a rail waypoint used the remove-rail-station cost. (adf88) 9 years ago
frosch ddae581ac8 (svn r27244) -Change [FS#6245]: Do not consider road junctions with trivial dead ends as branch points during town growth. (_dp_) 9 years ago
frosch c9e9dacc6b (svn r27243) -Fix (r26816) [FS#6285]: Duplicate frees due to pool item classes not having copy constructors. 9 years ago
translators e09d7e6fe4 (svn r27242) -Update from WebTranslator v3.0:
lithuanian - 17 changes by Stabilitronas
9 years ago
translators dbc025798d (svn r27241) -Update from WebTranslator v3.0:
latin - 5 changes by Supercheese
9 years ago
translators 7fbcc64801 (svn r27240) -Update from WebTranslator v3.0:
lithuanian - 31 changes by Stabilitronas
9 years ago
translators 5d6ee8da6c (svn r27239) -Update from WebTranslator v3.0:
latin - 3 changes by Supercheese
lithuanian - 92 changes by Stabilitronas
9 years ago
translators 9c8fb872aa (svn r27238) -Update from WebTranslator v3.0:
latin - 2 changes by Supercheese
9 years ago
translators 9508b96bc0 (svn r27237) -Update from WebTranslator v3.0:
latin - 7 changes by Supercheese
9 years ago