Commit Graph

248 Commits

Author SHA1 Message Date
zuu
a58427115c (svn r25305) -Fix [FS#5561]: Game Script APIs that execute a DoCommand were returning the same result as in TestMode during world generation 2013-05-29 19:31:58 +00:00
zuu
168391ad56 (svn r25299) -Feature: Allow more concurrent goals in a game 2013-05-27 21:59:11 +00:00
zuu
a4cddc3e08 (svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed. 2013-05-26 19:54:43 +00:00
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
2013-04-30 17:16:32 +00:00
frosch
5eddbb338b (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 2013-04-13 13:42:08 +00:00
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 2013-04-06 12:36:33 +00:00
rubidium
70454b8d64 (svn r25148) -Fix [FS#5517]: [Script] XXBase::Chance function did not work for large values (>65535) 2013-04-06 11:59:27 +00:00
rubidium
327615c2ce (svn r25136) -Merge: 1.3 release (documentation) updates 2013-03-31 21:14:39 +00:00
alberth
15ec6e26f0 (svn r25094) -Feature: Introduce dropdown for selecting the sort criterion in the town directory window (sbr) 2013-03-17 15:41:40 +00:00
frosch
1b10910af6 (svn r25024) -Feature: Searching of (missing) content via GrfCrawler. 2013-02-18 19:30:24 +00:00
frosch
7e5c649844 (svn r25006) -Fix: Update script_window. 2013-02-16 16:43:05 +00:00
rubidium
7ff6598cd2 (svn r25001) -Change: heading for 1.4 now 2013-02-14 18:58:04 +00:00
zuu
b1016f66ba (svn r24986) -Change: Cleanup goals and cargo monitors of companies when they go bankrupt or are taken over. 2013-02-10 19:49:04 +00:00
rubidium
4e61c1770d (svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parameters 2013-02-08 20:34:27 +00:00
rubidium
2e20291a3d (svn r24957) -Document [FS#5349]: newlines and other special characters are removed/converted 2013-02-02 19:46:46 +00:00
zuu
07ffc90bf4 (svn r24908) -Fix [FS#5419]: Allow GSs to pass negative integer string parameters (frosch123) 2013-01-12 12:48:00 +00:00
planetmaker
c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
frosch
c4c3d00578 (svn r24862) -Add: Settings type filter to adv. settings GUI. 2012-12-26 17:47:02 +00:00
frosch
647ee0de64 (svn r24842) -Remove: News settings window. 2012-12-23 21:06:37 +00:00
frosch
ff6880f9dd (svn r24791) -Remove: Difficulty settings window. 2012-12-05 19:37:15 +00:00
frosch
d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 2012-12-05 19:36:41 +00:00
frosch
812ae4140a (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 2012-12-05 19:36:04 +00:00
frosch
e43bf5dabd (svn r24788) -Change: Detach script settings from difficulty settings. Always allow changing all script settings without setting difficulty to custom. 2012-12-05 19:35:38 +00:00
frosch
a499435351 (svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables. 2012-12-05 19:34:45 +00:00
alberth
732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 2012-12-01 13:12:39 +00:00
frosch
507de921c2 (svn r24769) -Feature [FS#3852]: Add a string filter to the server list. (Eagle_rainbow) 2012-11-27 21:35:52 +00:00
alberth
fb892f4b20 (svn r24763) -Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window. 2012-11-25 15:24:02 +00:00
frosch
06054d7a9d (svn r24750) -Cleanup: Remove old special clear filter button from signs list. 2012-11-14 22:51:05 +00:00
frosch
7699a7dc06 (svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes. 2012-11-13 21:46:58 +00:00
frosch
40c3cd46f1 (svn r24665) -Doc [FS#5353]: [Script] Add note about the compatibility aspects of the enums in ScriptWindow. 2012-11-05 20:03:17 +00:00
frosch
3252d41dcc (svn r24664) -Codechange: Add script to generate enums in script_window.hpp 2012-11-05 19:53:05 +00:00
rubidium
d365156633 (svn r24658) -Merge: release documentation updates from 1.2 2012-10-31 21:40:26 +00:00
zuu
1f764f51f0 (svn r24628) -Fix: Document and enforce precondition start != end for ScriptRoad::RemoveRoad and ScriptRoad::RemoveRoadFull 2012-10-25 19:25:31 +00:00
zuu
0826994821 (svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor 2012-10-22 18:56:21 +00:00
frosch
dee2f39f99 (svn r24584) -Doc: [Script] Improve API documentation. 2012-10-10 19:11:22 +00:00
planetmaker
e0529d4861 (svn r24582) -Fix (r24581): Order distances are not supposed to be compared to map distances 2012-10-09 20:59:29 +00:00
planetmaker
60335b7b79 (svn r24581) -Doc [FS#5318]: Indicate that the return value for script related order distances is the square of the distance 2012-10-09 20:37:20 +00:00
zuu
d39a50e76e (svn r24575) -Add: ScriptController::Break() now also pauses the game (and not only the script) 2012-10-05 19:16:23 +00:00
zuu
4f40acded0 (svn r24574) -Change: remove undocumented return value of ScriptController::Break() 2012-10-05 19:13:44 +00:00
zuu
aa3f776483 (svn r24570) -Fix (r24542): Some documentation was missing 2012-10-03 20:43:32 +00:00
zuu
f10c54633b (svn r24559) -Fix (24542): Blocking script debug on non-dedicated servers is a not too much 2012-09-26 20:16:57 +00:00
zuu
77347682db (svn r24543) -Fix-ish (r24542): Removed unnecessary preprocessor directive 2012-09-21 21:00:32 +00:00
zuu
46605e554e (svn r24542) -Feature: Allow AI/GS script developers to break the execution of their scripts using ScriptController::Break 2012-09-21 20:49:43 +00:00
yexo
d70ecf609c (svn r24538) -Fix-ish: remove compiler warning about initialization order 2012-09-21 20:27:09 +00:00
zuu
f3f4c562ff (svn r24537) -Feature: Scripts can be suspended even if the game is still progressing, thus break-on-log now works also for Game Scripts. 2012-09-21 19:58:18 +00:00
alberth
0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 2012-09-21 09:47:21 +00:00
alberth
461fc1e268 (svn r24531) -Fix: Max script chance was too big. 2012-09-18 19:29:29 +00:00
frosch
bcac3d16b6 (svn r24513) -Add: [Script] ScriptIndustryType::IsProcessingIndustry. 2012-09-08 12:14:00 +00:00
frosch
0c42bc863b (svn r24493) -Doc: Update GS changelog. 2012-08-21 20:07:41 +00:00
frosch
9f9cad1ac9 (svn r24492) -Add: [NoGo] Useful behaviour for GSEngine::IsValidEngine and GSEngine::IsBuildable when outside GSCompanyMode scope. 2012-08-21 19:53:08 +00:00