Commit Graph

6861 Commits (c539b59da369020aa9f5b1d48ba952381dea6632)

Author SHA1 Message Date
smatz e2c404958d (svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter 15 years ago
alberth 153cfa8c70 (svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class. 15 years ago
yexo 5d0ae8ad47 (svn r17125) -Cleanup: remove an unused variable 15 years ago
smatz 13e23141b4 (svn r17124) -Codechange: store subsidies in a pool (instead of an array) 15 years ago
alberth 8d809d5f4c (svn r17123) -Codechange (r17122): Use this for calling methods. 15 years ago
alberth 2cd3b5f44c (svn r17122) -Codechange: Message history window uses nested widget tree. 15 years ago
frosch efcaefd178 (svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle sprite changes. 15 years ago
smatz 87014fec05 (svn r17120) -Fix (r17114): {STRING2} isn't supposed to be in other lang files except english.txt 15 years ago
smatz 046be0a199 (svn r17119) -Codechange: replace constants in subsidy.cpp by enum values 15 years ago
frosch 134c5f3f9a (svn r17118) -Fix: Mark industry tiles dirty when trigger are triggered. 15 years ago
smatz 0bb34a5d1f (svn r17117) -Fix (r1): don't create pax subsidy when source town, not destination town, has good service 15 years ago
translators e28bf66c6d (svn r17116) -Update from WebTranslator v3.0:
galician - 12 changes by Condex
greek - 114 changes by fumantsu
turkish - 2 changes by niw3
15 years ago
smatz b43fd7266e (svn r17115) -Add [NoAI]: AISubsidy::SubsidyParticipantType, AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management
-Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
15 years ago
smatz ab9c71f0d9 (svn r17114) -Update (r17113): use {STRING} instead of {STATION} in related strings in other language files too 15 years ago
smatz 2a430d981f (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
yexo eff8cb8390 (svn r17112) -Change [NoAI]: AIVehicleList_Station now also works for waypoints 15 years ago
yexo 3dcc195dfa (svn r17111) -Fix (r17110): forgot to include ai_log.hpp 15 years ago
yexo 2d1c64948a (svn r17110) -Fix [NoAI]: Print a warning message in the AI console when a deprecated function is used 15 years ago
smatz ba2f6f0a66 (svn r17109) -Fix (r15027): squirrel_export.sh failed for some locales 15 years ago
frosch 28b5adbcbc (svn r17108) -Fix (r17107): ST_INDUSTRY and ST_TOWN got swapped when setting up cargo subsidy. 15 years ago
smatz 74d3382b94 (svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed 15 years ago
smatz 39e145e586 (svn r17106) -Codechange: move computation of station's catchment rectagle to separate function 15 years ago
smatz 33288c9d50 (svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough 15 years ago
smatz 3532592e7d (svn r17104) -Codechange: move code related to subsidy awarding to separate procedure 15 years ago
rubidium c2a3e28d9d (svn r17103) -Update: pretranslate a bunch of strings that can't be translated 15 years ago
translators f41b016863 (svn r17102) -Update from WebTranslator v3.0:
polish - 69 changes by Adam123
spanish - 1 changes by Terkhen
15 years ago
smatz 135f80f95b (svn r17101) -Revert [FS#3065](r16546): large table on stack caused stack overflow on some architectures 15 years ago
rubidium ba4fd897b8 (svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work 15 years ago
rubidium 3ecf335718 (svn r17096) -Fix [FS#3091]: news message about ordered refits failing wasn't very clear 15 years ago
rubidium ee2b7de8f4 (svn r17095) -Codechange: make ParseStringChoice a bit safer 15 years ago
rubidium 6ae880a40d (svn r17094) -Update: AI changelog 15 years ago
translators e83f72c3c7 (svn r17092) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by Gavin
frisian - 36 changes by huddekul
german - 57 changes by Roujin
spanish - 48 changes by Terkhen
15 years ago
smatz 50d03a8751 (svn r17091) -Fix (r17089)(r17090): regression test was right 15 years ago
smatz 88a2d688da (svn r17089) -Codechange: move RunVehicleDayProc() to vehicle.cpp 15 years ago
smatz 0ab39b52d0 (svn r17088) -Codechange: split IncreaseDate() to more procedures 15 years ago
smatz a3e69a5b3c (svn r17086) -Cleanup (r16654): remove code used only for debugging 15 years ago
smatz adcc5338f3 (svn r17085) -Codechange: unify the place where vehicle's cargo ages 15 years ago
smatz 9c25f1bdb7 (svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types 15 years ago
translators 7fcebf0997 (svn r17076) -Update: reflect the changes Rubidium made in the last few days to all languages 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
translators 2fe966fd8c (svn r17074) -Update from WebTranslator v3.0:
simplified_chinese - 8 changes by Gavin
dutch - 50 changes by Rubidium, TrueBrain
finnish - 4 changes by jpx_
french - 47 changes by glx
frisian - 38 changes by huddekul
galician - 20 changes by Condex
german - 2 changes by Roujin
indonesian - 7 changes by fanioz
romanian - 9 changes by kkmic
russian - 51 changes by Lone_Wolf, MajestiC
spanish - 1 changes by Terkhen
15 years ago
smatz 9dcdc14310 (svn r17073) -Codechange: constify iec_prefixes[], change the code around a bit 15 years ago
rubidium 808254c488 (svn r17072) -Fix: don't let squirrel export make a 'stub' for ai_changelog.hpp 15 years ago
smatz 47b111449b (svn r17071) -Fix: give a better error message when trying to make road one-way when it doesn't belong to you 15 years ago
rubidium e0ba8e6b56 (svn r17070) -Codechange: some minor fixes to the order in english.txt 15 years ago
smatz 29287ce104 (svn r17069) -Fix (r17004): invalid read when converting old waypoints 15 years ago
rubidium 5351db3703 (svn r17068) -Change: make a number of strings more consistent with their relatives 15 years ago
rubidium 6b59a238ae (svn r17067) -Fix (r17064): local authority window got messed up a bit; also move OS names to a more logical place. 15 years ago
rubidium 04927226bd (svn r17066) -Codechange: unify the order of {TINYFONT}/{BIGFONT} and {<colour>} 15 years ago
rubidium c9048bc6f8 (svn r17065) -Codechange: reorder last 1/3 of the strings. Hope it makes a bit more sense now 15 years ago
rubidium 8a20e528a5 (svn r17064) -Codechange: reorder another 1/3 of the strings 15 years ago
rubidium f5b1f23bb2 (svn r17063) -Fix: terraform toolbar had the wrong tooltip for building trees. 15 years ago
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
translators 16e89ac4d5 (svn r17061) -Update from WebTranslator v3.0:
dutch - 313 changes by TrueBrain, Yexo
english_US - 5 changes by agenthh
korean - 24 changes by telk5093
portuguese - 112 changes by SupSuper
serbian - 98 changes by etran
swedish - 20 changes by hgj
turkish - 50 changes by niw3
15 years ago
rubidium 3914bfecf6 (svn r17060) -Codechange: reorder 1/3 of the strings so they are more logically grouped (rest still needs to be done) 15 years ago
yexo 113d276ca5 (svn r17059) -Codechange: Rename a few strings to reflect their usage 15 years ago
belugas a2b996106e (svn r17058) -Codechange: magic numbers removal.
Two values used intead of just one, as it gives more possibilities to those who dare...
15 years ago
translators 37d01c7758 (svn r17057) -Update from WebTranslator v3.0:
arabic_egypt - 28 changes by kasakg
simplified_chinese - 4 changes by Gavin
dutch - 12 changes by habell
english_US - 54 changes by agenthh
finnish - 9 changes by jpx_
french - 8 changes by glx
frisian - 65 changes by huddekul
russian - 9 changes by Lone_Wolf
serbian - 126 changes by etran
slovak - 9 changes by James
15 years ago
alberth f7a6fe81e8 (svn r17056) -Codechange: Reduce width of the drop-down in the bridge gui. 15 years ago
alberth 51c29deb70 (svn r17055) -Codechange: Improve aligning of bridge sprites and descriptions in bridge gui. 15 years ago
alberth 3539a054f6 (svn r17054) -Codechange: Bridge gui uses nested widgets only. 15 years ago
rubidium b6cfe4d2fe (svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw 15 years ago
rubidium 37d4277271 (svn r17052) -Codechange: move state changes out of OnPaint for the graph windows 15 years ago
rubidium 8589fb27a0 (svn r17051) -Codechange: make the graph legend window use nested widgets 15 years ago
rubidium d1bc38a619 (svn r17050) -Codechange: replace custom implementation of TILE_LOOP with TILE_LOOP. 15 years ago
yexo 8112cb8aff (svn r17049) -Fix [NoAI]: documentation of AITile::LevelTiles was wrong 15 years ago
alberth 926c8b6fef (svn r17048) -Codechange: Airport toolbar and airport builder window use nested widgets. 15 years ago
frosch aad988c99a (svn r17047) -Fix: Mark house tiles dirty when triggers were triggered. 15 years ago
frosch 1c7a2cca23 (svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the north tile. 15 years ago
frosch 20520baffb (svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important. 15 years ago
alberth 38600459a5 (svn r17044) -Codechange: ai windows use nested widget tree. 15 years ago
yexo 8c2709d97f (svn r17043) -Change [NoAI]: Load the API before compiling an AI script so AIs can subclass API classes and use API constants as part of their own constants 15 years ago
translators 059328e85e (svn r17042) -Update from WebTranslator v3.0:
catalan - 35 changes by arnaullv
danish - 3 changes by silentStatic
english_US - 30 changes by agenthh
frisian - 133 changes by huddekul
german - 6 changes by Roujin
hungarian - 9 changes by alyr
indonesian - 8 changes by prof
italian - 3 changes by lorenzodv
norwegian_bokmal - 4 changes by CyberKenny
spanish - 3 changes by Terkhen
turkish - 14 changes by niw3
15 years ago
rubidium 2675eb4619 (svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key 15 years ago
rubidium a7b0040e30 (svn r17040) -Fix [FS#3081]: inconsistency between signs of stations and waypoints 15 years ago
rubidium 74cec1f0c4 (svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa 15 years ago
rubidium 95c204ebee (svn r17038) -Fix (r17015): don't download the stuff we already have 15 years ago
frosch 7f49d3b45c (svn r17037) -Fix (r17036): 'Polygonal Capabilities' are a core feature of windows. 15 years ago
frosch a6cbf0d419 (svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h. 15 years ago
rubidium 053ba65836 (svn r17035) -Add: case to Turkish 15 years ago
alberth 6d05326143 (svn r17030) -Codechange: Better descriptions for buoys. 15 years ago
translators d8dc40dd68 (svn r17029) -Update from WebTranslator v3.0:
catalan - 3 changes by arnaullv
simplified_chinese - 7 changes by Gavin
danish - 31 changes by silentStatic
dutch - 6 changes by Yexo
frisian - 54 changes by huddekul
greek - 40 changes by fumantsu
hungarian - 1 changes by IPG
indonesian - 3 changes by prof
italian - 6 changes by lorenzodv
korean - 6 changes by telk5093
portuguese - 23 changes by SupSuper
serbian - 98 changes by BlueEyedFiend
spanish - 15 changes by Terkhen
turkish - 9 changes by niw3
urdu - 30 changes by yasirniazkhan
15 years ago
rubidium de877e783f (svn r17028) -Fix (r17019): a function and class were not mentioned in the changelog 15 years ago
alberth 5d083f3039 (svn r17025) -Codechange: Waypoint window using all the new goodies (based on work by Rubidium). 15 years ago
alberth 6a1af7f74f (svn r17024) -Codechange: Allow InitNested to be done in two parts. 15 years ago
alberth 47075fdbca (svn r17023) -Revert (r16839): FillNestedArray() was less obsolete than anticipated. 15 years ago
alberth 9e682bb2f7 (svn r17022) -Codechange: Use nested widgets for the console window. 15 years ago
alberth 9734c0922c (svn r17021) -Codechange: Use nested widgets for the main window. 15 years ago
frosch 1cd07265f8 (svn r17020) -Fix: Recenter viewport of waypoint-gui after moving the sign. 15 years ago
yexo b4abe942cb (svn r17019) -Doc: add AI API changelog 15 years ago
alberth c0c2e02fb7 (svn r17018) -Fix [FS#1833]: Take width of station type names into account in station builder window. 15 years ago
alberth ebd24adaff (svn r17017) -Fix (r17008): Setup padding for WWT_MATRIX. 15 years ago
yexo fc03fef4ae (svn r17016) -Add [NoAI]: AICompany::Get/Set PresidentGender 15 years ago
rubidium ae71df349e (svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking 15 years ago
yexo 3631f40637 (svn r17014) -Add [NoAI]: AIEngine::GetDesignDate 15 years ago
rubidium 5186d1d4f6 (svn r17013) -Fix [FS#3074]: concatenating strings in Squirrel when non-ASCII strings were received from OpenTTD failed. The number of bytes in an UTF-8 encoded string isn't always the same as the number of characters in the decoded (into wchars) string 15 years ago
yexo 8d768f5b30 (svn r17012) -Add [NoAI]: AIBaseStation::GetConstructionDate 15 years ago
yexo 8c05194c02 (svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
15 years ago
alberth b129184d57 (svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height. 15 years ago
rubidium 8181a0a2ad (svn r17007) -Fix (r15896): WT2 reverted the ISO code of Serbian 15 years ago
rubidium 3c06534286 (svn r17006) -Fix (r17005): gcc compile failure 15 years ago
yexo c2ed884012 (svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDING 15 years ago
rubidium 0bb3d7030f (svn r17004) -Fix (r16909): StationRect of loading buoys/waypoints wasn't correctly set when loading 'old' games. 15 years ago
translators 9f2f4f8364 (svn r17003) -Update from WebTranslator v3.0:
dutch - 5 changes by habell
french - 3 changes by glx
german - 4 changes by planetmaker
indonesian - 21 changes by prof
portuguese - 6 changes by SupSuper
15 years ago
rubidium a148a991bb (svn r17002) -Change: also support distant join for waypoints 15 years ago
rubidium 097e79a86d (svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases. 15 years ago
rubidium c2fdb85c0d (svn r17000) -Change: allow overbuilding/extending waypoints 15 years ago
rubidium 45c9a747db (svn r16999) -Fix (r16993): AIs couldn't build waypoints anymore 15 years ago
rubidium 5bbf83ebbe (svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations 15 years ago
yexo 60b68de98e (svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type 15 years ago
yexo 70cb4c27fe (svn r16995) -Codechange: apply some code style to CmdBuildBridge 15 years ago
translators 600b7f90b9 (svn r16994) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by Gavin
finnish - 5 changes by jpx_
german - 6 changes by Roujin
hungarian - 2 changes by IPG
italian - 7 changes by lorenzodv
15 years ago
rubidium 5592eb4955 (svn r16993) -Change: make the rail waypoint builder draggable 15 years ago
rubidium 4a1f6547c6 (svn r16992) -Add [NoAI]: function to clear waypoint(s) in a certain rectangle on the map 15 years ago
rubidium de99f212dc (svn r16991) -Change: make 'remove waypoint' draggable 15 years ago
rubidium 37e6f6a003 (svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints. 15 years ago
rubidium a52cd653d4 (svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints. 15 years ago
rubidium 959a5e690b (svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints 15 years ago
rubidium e6480d823a (svn r16987) -Codechange: simplify the code to loop train station for the station demolish code 15 years ago
yexo 30a1f1416a (svn r16986) -Fix [NoAI]: AIBridge::GetPrice returned incorrect values 15 years ago
rubidium bfcf32c64e (svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions 15 years ago
frosch d51c4b6f6e (svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine. 15 years ago
rubidium 3a6c0a9f22 (svn r16983) -Change: work around a bogus GCC 4.4+ warning that can't be disabled 15 years ago
translators 0930c3c098 (svn r16982) -Update from WebTranslator v3.0:
catalan - 10 changes by arnaullv
dutch - 2 changes by Yexo
french - 4 changes by glx
german - 2 changes by planetmaker
russian - 3 changes by Lone_Wolf
spanish - 2 changes by Terkhen
15 years ago
rubidium 63c29124de (svn r16981) -Fix [FS#3062]: the last manually added server would not be saved 15 years ago
belugas 57dd3a7ad9 (svn r16979) -Codechange[FS#3066]: Add notion of Ctrl_Click in the tooltip for Loan borrow/repay buttons (planetmaker) 15 years ago
belugas bc1e027d16 (svn r16978) -Fix(r16977): tab indentation instead of space indentation at beginning of a line, please 15 years ago
belugas 482732c08a (svn r16977) -Fix(r1772)[FS#3059]: make it so that failing to generate many random towns in scenario editor returns a failing message.
Fix by therken
Doxygen comments by me
15 years ago
rubidium e473e69ba4 (svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants 15 years ago
rubidium 2543b1b20a (svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first 15 years ago
translators 6d1a431e8e (svn r16973) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by Gavin
esperanto - 20 changes by tradukanto
german - 3 changes by Roujin
15 years ago
rubidium 39ac44ad49 (svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height. 15 years ago
alberth 4ef012abfa (svn r16970) -Codechange: Transparency window uses nested widgets only. 15 years ago
alberth 2d673309e7 (svn r16969) -Codechange: Normalizing transparency gui widget numbers. 15 years ago
translators b7caac9563 (svn r16968) -Update from WebTranslator v3.0:
danish - 14 changes by silentStatic
finnish - 1 changes by jpx_
greek - 1 changes by kinglee
malay - 26 changes by rionix88
persian - 2 changes by 100ra
brazilian_portuguese - 6 changes by Tucalipe
slovak - 37 changes by James
spanish - 2 changes by Terkhen
swedish - 4 changes by Chrill
15 years ago
rubidium b76cad419e (svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy rail 15 years ago
rubidium 2ec12a3f58 (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP 15 years ago
rubidium 47a37b6093 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 15 years ago
translators 4aa2785757 (svn r16964) -Update from WebTranslator v3.0:
greek - 303 changes by fumantsu
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
spanish - 25 changes by Terkhen
turkish - 1 changes by niw3
15 years ago
alberth 9856cc9d0a (svn r16963) -Codechange: Added NWidgetViewport widget. 15 years ago
rubidium 2dd998ab06 (svn r16962) -Codechange: more work towards multi tile waypoints 15 years ago
alberth 0081bb9a96 (svn r16961) -Codechange: Moving some methods up in the class hierarchy to avoid code duplication. 15 years ago
alberth 75ccf9de3a (svn r16960) -Doc: Added some viewport and vehicle type doxygen strings. 15 years ago
rubidium 5b576e6e7a (svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations. 15 years ago
translators 83b61a75c3 (svn r16958) -Update from WebTranslator v3.0:
english_US - 2 changes by agenthh
frisian - 54 changes by huddekul
greek - 272 changes by fumantsu
russian - 8 changes by Lone_Wolf
serbian - 59 changes by etran
spanish - 122 changes by Terkhen
15 years ago
frosch 55e07d0606 (svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window. 15 years ago
rubidium 6de80c9278 (svn r16956) -Update: 'pre' translate some strings that can't be translated, like {BLACK}{STRING} 15 years ago
rubidium 47793328b6 (svn r16955) -Fix (r16954): removed a few strings too many from the translations 15 years ago
rubidium 96cc9c2de1 (svn r16954) -Codechange: make the Game Options window use the nested widget system. 15 years ago
alberth e3033ee895 (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 15 years ago