Files
@ r28572:dd3e6f760743
Branch filter:
Location: cpp/openttd-patchpack/source/src/script/api/game_changelog.hpp - annotation
r28572:dd3e6f760743
8.6 KiB
text/x-c++hdr
Update: nlohmann/json to 3.11.3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad r26708:fcfe8e5e499a r23397:3e09f9e42e43 r23397:3e09f9e42e43 r23397:3e09f9e42e43 r26846:5efa43584c79 r27742:b304bebdbb90 r27492:a7f29dd26da9 r26995:e9f51bec27db r26995:e9f51bec27db r28558:9d9a6cccb728 r26846:5efa43584c79 r26892:ee3bfeee4cdf r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27113:6cba6b39bd2a r27114:3a7b4e6d95b2 r27114:3a7b4e6d95b2 r27114:3a7b4e6d95b2 r27114:3a7b4e6d95b2 r27114:3a7b4e6d95b2 r27115:47a0b7e04304 r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27116:1ccc1b40b87f r27553:ad2bff42f7f5 r27553:ad2bff42f7f5 r27851:98395ce429bf r27851:98395ce429bf r26846:5efa43584c79 r26890:e661e1f3708a r26890:e661e1f3708a r26890:e661e1f3708a r28374:799fec80d8df r28420:d7244101c0d9 r28420:d7244101c0d9 r28420:d7244101c0d9 r28420:d7244101c0d9 r28420:d7244101c0d9 r28374:799fec80d8df r28374:799fec80d8df r26708:fcfe8e5e499a r26708:fcfe8e5e499a r26439:70e80b807b7d r26439:70e80b807b7d r26161:98df3643a152 r26160:04b069238def r26612:e1c0fa463732 r26160:04b069238def r26435:b03b1a6191cb r26435:b03b1a6191cb r26435:b03b1a6191cb r25988:ad2fd577c934 r25988:ad2fd577c934 r25871:df053d6fe8cb r25871:df053d6fe8cb r25871:df053d6fe8cb r25961:cdb060badef0 r25961:cdb060badef0 r25961:cdb060badef0 r25961:cdb060badef0 r25961:cdb060badef0 r25987:b9d33db7c49f r25987:b9d33db7c49f r25871:df053d6fe8cb r25054:fc5b19a7cb0f r25054:fc5b19a7cb0f r24220:eba5f923a47c r24625:34b88aded3ce r24220:eba5f923a47c r24220:eba5f923a47c r24220:eba5f923a47c r24481:a5bae7e5e10a r24481:a5bae7e5e10a r24482:081733badf2c r24482:081733badf2c r24481:a5bae7e5e10a r24481:a5bae7e5e10a r24482:081733badf2c r24482:081733badf2c r24688:9c99e0da7aad r24220:eba5f923a47c r24220:eba5f923a47c r24220:eba5f923a47c r24232:b45b40cc7d16 r24220:eba5f923a47c r24687:4a2fa1e7f559 r24687:4a2fa1e7f559 r24808:e7cb02d1ad0d r24687:4a2fa1e7f559 r24096:cb8e221271af r24096:cb8e221271af r23572:dc2917dc6ef5 r23572:dc2917dc6ef5 r23572:dc2917dc6ef5 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r24061:a798207d2b21 r24061:a798207d2b21 r23572:dc2917dc6ef5 r22764:564422d7281f r22764:564422d7281f r22826:e94a22fb9ee5 r23036:932cf9d10a19 r22826:e94a22fb9ee5 r22826:e94a22fb9ee5 r22826:e94a22fb9ee5 r22830:80781225f8f0 r22830:80781225f8f0 r22830:80781225f8f0 r22831:2d7a323f310a r22764:564422d7281f r23249:0dd80ccaa0af r23249:0dd80ccaa0af r23249:0dd80ccaa0af r22572:c2cb47123468 r22572:c2cb47123468 r22826:e94a22fb9ee5 r22572:c2cb47123468 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r23698:1872cc5b7dd7 r22722:8790a73aa324 r22327:f5aaceaaa775 r22572:c2cb47123468 r22327:f5aaceaaa775 r22569:a493dc0f1c55 r21316:52334f119e4d r22327:f5aaceaaa775 r22034:c244a8f7264f r22569:a493dc0f1c55 r22273:03cb0045b240 r22273:03cb0045b240 r22273:03cb0045b240 r22034:c244a8f7264f r21316:52334f119e4d r21451:0bf2db89be68 r21751:e74313e4c9dd r21749:eb934cabf63b r21749:eb934cabf63b r21749:eb934cabf63b r21749:eb934cabf63b r21451:0bf2db89be68 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21451:0bf2db89be68 r22008:9105b2c72c6f r22008:9105b2c72c6f r22008:9105b2c72c6f r22008:9105b2c72c6f r22008:9105b2c72c6f r22569:a493dc0f1c55 r21878:5db7ecf34146 r21878:5db7ecf34146 r21878:5db7ecf34146 r21616:b509fd2ae3b3 r21616:b509fd2ae3b3 r21562:3a3a489566c6 r21562:3a3a489566c6 r21562:3a3a489566c6 r21562:3a3a489566c6 r21616:b509fd2ae3b3 r21616:b509fd2ae3b3 r21616:b509fd2ae3b3 r21616:b509fd2ae3b3 r20043:6b528c4aa319 r20043:6b528c4aa319 r20172:3f30c8c6ef61 r21307:0fc34c69be2d r20745:b1ebcc10c74a r21219:7180bb39d4d9 r21219:7180bb39d4d9 r20947:e99af07846a3 r20289:1f623493c20d r20289:1f623493c20d r20289:1f623493c20d r20289:1f623493c20d r20571:85c710859649 r21451:0bf2db89be68 r21451:0bf2db89be68 r20384:c5dd9b8809ae r21215:9db6a30bdb18 r21217:433ac9b65f88 r20213:7373bc0402e8 r20742:35845025ed4c r20922:151662ea5510 r20742:35845025ed4c r20921:36ca42247c3a r20920:8ff3063af990 r20172:3f30c8c6ef61 r20172:3f30c8c6ef61 r20292:8df9b08a97df r20571:85c710859649 r20172:3f30c8c6ef61 r20172:3f30c8c6ef61 r22569:a493dc0f1c55 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r21055:0daae95bb4c0 r19100:7fe59f0fb0d4 r19100:7fe59f0fb0d4 r19224:da5678df5fbc r19489:8159e7deec22 r19562:18804bdca6dc r19375:5e05c9787ff3 r19376:dd573f88a83f r19371:a29bb8dae376 r19582:dc0eafc8298f r19224:da5678df5fbc r19224:da5678df5fbc r19639:4c858d9638a6 r19680:46fc084fceea r19224:da5678df5fbc r20029:969f10f03aca r20029:969f10f03aca r20029:969f10f03aca r22569:a493dc0f1c55 r19546:9d2e6fd6132b r19546:9d2e6fd6132b r19546:9d2e6fd6132b r18752:7d19f6ab30ad r18752:7d19f6ab30ad r18752:7d19f6ab30ad | /*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file game_changelog.hpp Lists all changes / additions to the API.
*
* Only new / renamed / deleted api functions will be listed here. A list of
* bug fixes can be found in the normal changelog. Note that removed API
* functions may still be available if you return an older API version
* in GetAPIVersion() in info.nut.
*
* \b 14.0
*
* This version is not yet released. The following changes are not set in stone yet.
*
* API additions:
* \li GSIndustry::GetConstructionDate
* \li GSAsyncMode
* \li GSCompanyMode::IsValid
* \li GSCompanyMode::IsDeity
* \li GSTimeMode
* \li GSTown::ROAD_LAYOUT_RANDOM
* \li GSVehicle::IsPrimaryVehicle
* \li GSOrder::SetOrderJumpTo
* \li GSOrder::SetOrderCondition
* \li GSOrder::SetOrderCompareFunction
* \li GSOrder::SetOrderCompareValue
* \li GSOrder::SetStopLocation
* \li GSOrder::SetOrderRefit
* \li GSOrder::AppendOrder
* \li GSOrder::AppendConditionalOrder
* \li GSOrder::InsertOrder
* \li GSOrder::InsertConditionalOrder
* \li GSOrder::RemoveOrder
* \li GSOrder::SetOrderFlags
* \li GSOrder::MoveOrder
* \li GSOrder::SkipToOrder
* \li GSOrder::CopyOrders
* \li GSOrder::ShareOrders
* \li GSOrder::UnshareOrders
* \li GSCompany::IsMine
* \li GSCompany::SetPresidentGender
* \li GSCompany::SetAutoRenewStatus
* \li GSCompany::SetAutoRenewMonths
* \li GSCompany::SetAutoRenewMoney
* \li GSGameSettings::IsDisabledVehicleType
* \li GSGroup::GroupID
* \li GSGroup::IsValidGroup
* \li GSGroup::CreateGroup
* \li GSGroup::DeleteGroup
* \li GSGroup::GetVehicleType
* \li GSGroup::SetName
* \li GSGroup::GetName
* \li GSGroup::SetParent
* \li GSGroup::GetParent
* \li GSGroup::EnableAutoReplaceProtection
* \li GSGroup::GetAutoReplaceProtection
* \li GSGroup::GetNumEngines
* \li GSGroup::GetNumVehicles
* \li GSGroup::MoveVehicle
* \li GSGroup::EnableWagonRemoval
* \li GSGroup::HasWagonRemoval
* \li GSGroup::SetAutoReplace
* \li GSGroup::GetEngineReplacement
* \li GSGroup::StopAutoReplace
* \li GSGroup::GetProfitThisYear
* \li GSGroup::GetProfitLastYear
* \li GSGroup::GetCurrentUsage
* \li GSGroup::SetPrimaryColour
* \li GSGroup::SetSecondaryColour
* \li GSGroup::GetPrimaryColour
* \li GSGroup::GetSecondaryColour
* \li GSGroupList
* \li GSVehicleList_Group
* \li GSVehicleList_DefaultGroup
* \li GSGoal::IsValidGoalDestination
* \li GSGoal::SetDestination
* \li GSIndustry::GetProductionLevel
* \li GSIndustry::SetProductionLevel
*
* API removals:
* \li GSError::ERR_PRECONDITION_TOO_MANY_PARAMETERS, that error is never returned anymore.
*
* Other changes:
* \li GSGroupList accepts an optional filter function
* \li GSIndustryList accepts an optional filter function
* \li GSSignList accepts an optional filter function
* \li GSSubsidyList accepts an optional filter function
* \li GSTownList accepts an optional filter function
* \li GSVehicleList accepts an optional filter function
*
* \b 13.0
*
* API additions:
* \li GSCargo::GetWeight
* \li GSIndustryType::ResolveNewGRFID
* \li GSObjectType::ResolveNewGRFID
* \li GSLeagueTable
*
* Other changes:
* \li GSRoad::HasRoadType now correctly checks RoadType against RoadType
*
* \b 12.0
*
* API additions:
* \li GSNewGRF
* \li GSNewGRFList
* \li GSMarine::BT_LOCK
* \li GSMarine::BT_CANAL
* \li GSTile::IsSeaTile
* \li GSTile::IsRiverTile
* \li GSTile::BT_CLEAR_WATER
* \li GSObjectTypeList
* \li GSObjectType
*
* \b 1.11.0
*
* API additions:
* \li GSCargo::GetName
* \li GSEventStoryPageButtonClick
* \li GSEventStoryPageTileSelect
* \li GSEventStoryPageVehicleSelect
* \li GSIndustry::GetCargoLastAcceptedDate
* \li GSIndustry::GetControlFlags
* \li GSIndustry::GetExclusiveConsumer
* \li GSIndustry::GetExclusiveSupplier
* \li GSIndustry::GetLastProductionYear
* \li GSIndustry::SetControlFlags
* \li GSIndustry::SetExclusiveConsumer
* \li GSIndustry::SetExclusiveSupplier
* \li GSIndustry::SetText
* \li GSStoryPage::MakePushButtonReference
* \li GSStoryPage::MakeTileButtonReference
* \li GSStoryPage::MakeVehicleButtonReference
* \li GSPriorityQueue
*
* Other changes:
* \li GSCompany::ChangeBankBalance takes one extra parameter to refer to a location to show text effect on
* \li GSGoal::Question and GSGoal::QuestionClient no longer require to have any buttons except for the window type GSGoal.QT_QUESTION
*
* \b 1.10.0
*
* API additions:
* \li GSVehicle::BuildVehicleWithRefit
* \li GSVehicle::GetBuildWithRefitCapacity
* \li GSRoad::GetName
* \li GSRoad::RoadVehCanRunOnRoad
* \li GSRoad::RoadVehHasPowerOnRoad
* \li GSRoad::ConvertRoadType
* \li GSRoad::GetMaxSpeed
* \li GSEngine::EnableForCompany
* \li GSEngine::DisableForCompany
*
* \b 1.9.0
*
* API additions:
* \li GSAirport::GetMonthlyMaintenanceCost
* \li GSClient
* \li GSClientList
* \li GSClientList_Company
* \li GSViewport::ScrollEveryoneTo
* \li GSViewport::ScrollCompanyClientsTo
* \li GSViewport::ScrollClientTo
* \li GSGoal::QuestionClient
*
* Other changes:
* \li GSBridge::GetName takes one extra parameter to refer the vehicle type
*
* \b 1.8.0
*
* No changes
*
* API additions:
* \li GSRoad::ERR_ROADTYPE_DISALLOWS_CROSSING
*
* \b 1.7.0 - 1.7.2
*
* No changes
*
* \b 1.6.1 - 1.6.0
*
* No changes
*
* \b 1.5.3 - 1.5.1
*
* No changes
*
* \b 1.5.0
*
* API additions:
* \li GSList::SwapList
* \li GSStation::GetCargoPlanned
* \li GSStation::GetCargoPlannedFrom
* \li GSStation::GetCargoPlannedFromVia
* \li GSStation::GetCargoPlannedVia
* \li GSStation::GetCargoWaitingFromVia
* \li GSStationList_CargoPlannedByFrom
* \li GSStationList_CargoPlannedByVia
* \li GSStationList_CargoPlannedFromByVia
* \li GSStationList_CargoPlannedViaByFrom
* \li GSStationList_CargoWaitingByFrom
* \li GSStationList_CargoWaitingByVia
* \li GSStationList_CargoWaitingFromByVia
* \li GSStationList_CargoWaitingViaByFrom
*
* Other changes:
* \li GSNews::Create takes two extra parameters to refer to a location, station,
* industry, or town. The user can click at the news message to jump to the
* referred location.
*
* \b 1.4.4 - 1.4.3
*
* No changes
*
* \b 1.4.2
*
* Other changes:
* \li GSCargoMonitor delivery and pickup monitor functions have improved boundary checking for
* their parameters, and return \c -1 if they are found out of bounds.
*
* \b 1.4.1
*
* No changes
*
* \b 1.4.0
*
* API additions:
* \li AICargo::GetDistributionType
* \li GSCompany::ChangeBankBalance
* \li GSDate::DATE_INVALID
* \li GSDate::IsValidDate
* \li GSGoal::GT_STORY_PAGE
* \li GSGoal::IsCompleted
* \li GSGoal::SetCompleted
* \li GSGoal::SetProgress
* \li GSGoal::SetText
* \li GSStation::HasCargoRating
* \li GSStation::GetCargoWaitingFrom
* \li GSStation::GetCargoWaitingVia
* \li GSStoryPage
* \li GSStoryPageList
* \li GSStoryPageElementList
* \li GSTile::GetTerrainType
* \li GSTown::FoundTown
* \li GSTown::GetFundBuildingsDuration
* \li GSTown::SetName
* \li GSTown::TOWN_GROWTH_NONE
* \li GSTown::TOWN_GROWTH_NORMAL
*
* Other changes:
* \li GSGoal::New can now create up to 64000 concurrent goals. The old limit was 256 goals.
* \li GSStation::GetCargoRating does return -1 for cargo-station combinations that
* do not have a rating yet instead of returning 69.
*
* \b 1.3.3 - 1.3.2
*
* No changes
*
* \b 1.3.1
*
* API additions:
* \li GSTile::GetTerrainType
*
* \b 1.3.0
*
* API additions:
* \li GSCargoMonitor
* \li GSEngine::IsValidEngine and GSEngine::IsBuildable when outside GSCompanyMode scope
* \li GSEventExclusiveTransportRights
* \li GSEventRoadReconstruction
* \li GSNews::NT_ACCIDENT, GSNews::NT_COMPANY_INFO, GSNews::NT_ADVICE, GSNews::NT_ACCEPTANCE
* \li GSIndustryType::IsProcessingIndustry
* \li GSStation::IsAirportClosed
* \li GSStation::OpenCloseAirport
* \li GSController::Break
* \li GSIndustryType::BuildIndustry, GSIndustryType::CanBuildIndustry, GSIndustryType::ProspectIndustry and GSIndustryType::CanProspectIndustry when outside GSCompanyMode scope
*
* Other changes:
* \li Company specific goals are now removed when a company goes bankrupt or is taken over.
*
* \b 1.2.3 - 1.2.1
*
* No changes
*
* \b 1.2.0
* \li First stable release with the NoGo framework.
*/
|