Commit Graph

65 Commits (eca73a810c19ed5cfb3f24cb5560d0735e19ea00)

Author SHA1 Message Date
Patric Stout eca73a810c Change: rebrand 1.12.0 to 12.0
One question that keeps popping up: "when do we release 2.0?".
NewGRF will force that at least 1.16 will be 2.0, but to not wait
for this, let's drop the "1." and be for ever done with that
conversation.

We are following in the footstep of giants here.
3 years ago
SamuXarick 120d216b0b
Add: [AI] Get the number of vehicles in a given group (#9462) 3 years ago
Michael Lutz 8706dcd9c1
Add: [Script] Basic information about loaded NewGRFs for scripts. (#9464)
Currently, scripts use various heuristics to detect loaded NewGRFs that are inherently unreliable.
The list of loaded NewGRFs is easily accessible to a human player, and thus giving
scripts the same information is consistent with the current approach to not give scripts
more information than a human player.
3 years ago
Patric Stout 9bfa7198fd
Change: Heading for 1.12 now (#8862) 3 years ago
Patric Stout 9a3dbf3122
Fix 02e770ff: allow estimating CloneVehicle if short on money (#8748)
CheckCompanyHasMoney() was also executed when not using DC_EXEC,
resulting in an error about shortage of money instead of the
estimation.
This mostly is a problem for AI players, as they will have no
way to know how much it would have cost.
3 years ago
Patric Stout 218f40eea2
Add: [Script] ScriptCargo::GetName, to get the human readable name of a cargo (#8544)
Of course this translates into AICargo.GetName() for AIs and
GSCargo.GetName() for GameScripts.
3 years ago
Michael Lutz 1c0ba07c3c Add: [Script] Native priority queue; useful e.g. for pathfinders. 4 years ago
glx 2f264f2c92 Change: Heading for 1.11 now 4 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
glx 12e43c697d Add: [Script] ScriptEventVehicleAutoReplaced. 5 years ago
JMcKiern 04f659e768 Fix: Some typos found using codespell 5 years ago
Max Maton e4414471dd Add: Allow GameScript to demolish without a company
This allows GameScripts to shrink towns as well as grow them.
5 years ago
peter1138 3293f08e0b Add: New RoadType API functions. 5 years ago
peter1138 c02ef3e456 Feature: Add NotRoadTypes (NRT) 5 years ago
glx d0e8060182 Fix 6fc60d8c4f: forgot to update API changelog 5 years ago
PeterN 41563a871b
Add: AI API for vehicle group colours (#7336) 5 years ago
frosch a67ee02529
Change: Heading for 1.10 now (#7319) 5 years ago
Peter Nelson 5a5944867d Add: Add parent_group_id parameter to CreateGroup() 5 years ago
Peter Nelson e0c2ad1b65 Add: AI functions to get/set company colours. 5 years ago
Peter Nelson b62452903a Add: AI functions to set/get vehicle group parent. 5 years ago
SamuXarick 1e5a6765d9 Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 5 years ago
Greg-21 4ba73dac95 Doc: Changed several files to unificate them... (#6964)
...with those from release 1.8 branch.
6 years ago
Samu 1e68b9b3e6 Add: AI/GS GetMonthlyMaintenanceCost (#6897)
API addition which allows AI/GS scripts to retrieve the monthly maintenance cost of an airport type.
6 years ago
frosch 09d4735679 (svn r27993) -Change: Heading for 1.9 now 6 years ago
frosch b69c0acca2 (svn r27950) -Merge: Documentation updates from 1.7 branch 6 years ago
frosch afcef7faa6 (svn r27780) -Update: Numbers 7 years ago
frosch 9fa6e3d83a (svn r27776) -Merge: Documentation updates from 1.6 branch 7 years ago
frosch 0c7c0ada78 (svn r27518) -Update: Numbers 8 years ago
frosch ae1d96cc2f (svn r27463) -Merge: Documentation updates from 1.5 branch 9 years ago
frosch 6477356dd2 (svn r27192) -Change: heading for 1.6 now 9 years ago
rubidium e3791822b2 (svn r27032) -Merge: documentation updates from 1.4 branch 10 years ago
fonsinchen 1a5b2f0e17 (svn r26894) -Feature: Swap method for script lists 10 years ago
fonsinchen 2128f1e929 (svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and via 10 years ago
fonsinchen 73d273ffd6 (svn r26892) -Feature: Script API for retrieving planned flow 10 years ago
frosch 669d593fad (svn r26748) -Merge: documentation updates from 1.4 branch 10 years ago
fonsinchen bb269661d4 (svn r26557) -Fix: clean up, test (somewhat), and complete the API for waiting cargo 10 years ago
frosch 083e02afe1 (svn r26529) -Merge: documentation updates from 1.4 branch 10 years ago
frosch db96a109ff (svn r26406) -Change: heading for 1.5 now 10 years ago
zuu ae23f519f7 (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 10 years ago
zuu 9603014102 (svn r26307) -Add: [nogo] Allow GS to hide story page date 10 years ago
rubidium 354ec53b3c (svn r26137) -Merge: documentation updates from 1.3 branch 11 years ago
frosch 17eb3ee9df (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 11 years ago
frosch 9a41aefcc4 (svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate. 11 years ago
zuu 67ab3108d6 (svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to rename towns 11 years ago
frosch c35591c864 (svn r25607) -Fix [FS#5649]: Various misreferences in AI and GS changelog. 11 years ago
rubidium 5730e63a10 (svn r25213) -Fix [FS#5537]: clarify on which tiles IsDesertTile and IsSnowTile work, i.e. the ones without infrastructure or buildings
-Feature: introduce GetTerrainType which allows one to get that information for tiles with buildings and infrastructure as well
11 years ago
rubidium 7a3d549f2f (svn r25150) -Fix [FS#5514]: [Script] The was no way to differentiate between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating 11 years ago
rubidium 327615c2ce (svn r25136) -Merge: 1.3 release (documentation) updates 11 years ago
rubidium 7ff6598cd2 (svn r25001) -Change: heading for 1.4 now 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago