Commit Graph

250 Commits

Author SHA1 Message Date
rubidium
fb9dbf30fa (svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore) 2014-05-11 18:02:11 +00:00
fonsinchen
38ee1c7b92 (svn r26563) -Fix (r26558): Don't pass explicit template arguments to std::make_pair. 2014-05-04 19:03:54 +00:00
fonsinchen
cee5920fcc (svn r26558) -Fix: be more explicit about the type of iterators in the waiting cargo API 2014-05-04 15:16:58 +00:00
fonsinchen
7836470f60 (svn r26557) -Fix: clean up, test (somewhat), and complete the API for waiting cargo 2014-05-04 13:57:48 +00:00
frosch
32c9d71baf (svn r26529) -Merge: documentation updates from 1.4 branch 2014-04-27 15:45:53 +00:00
frosch
f5545aa0b1 (svn r26526) -Remove: Ability to set map generation seed via GUI. If you really need it, use the console. 2014-04-27 15:15:28 +00:00
frosch
9430dfe7fa (svn r26525) -Remove: Screenshot format setting from GUI. 2014-04-27 15:13:46 +00:00
rubidium
034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
rubidium
1ab6ab9094 (svn r26492) -Fix (r26491): obviously it's too late 2014-04-23 21:33:29 +00:00
rubidium
1535ad6327 (svn r26491) -Fix: compilation failure when networking is disabled 2014-04-23 21:32:41 +00:00
rubidium
6ecc602050 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 2014-04-23 21:12:09 +00:00
frosch
24c7134bff (svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat. 2014-04-23 20:44:42 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
peter1138
ed8f6f1a0f (svn r26450) -Feature: Hierarchical vehicle subgroups. 2014-04-08 21:09:06 +00:00
frosch
50729655ec (svn r26406) -Change: heading for 1.5 now 2014-03-17 20:02:30 +00:00
zuu
886d3a06f7 (svn r26398) -Codechange/fix (26396): A tab that should be a space 2014-03-11 22:08:58 +00:00
zuu
ad639258f8 (svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station 2014-03-10 22:18:53 +00:00
alberth
e3583b4cd1 (svn r26320) -Add: Label for both the filter category and filter type in the advanced settings window. 2014-02-09 13:04:50 +00:00
zuu
3d2a8bb1e9 (svn r26307) -Add: [nogo] Allow GS to hide story page date 2014-02-06 19:50:34 +00:00
zuu
6a571811c7 (svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, GetDate, SetDate 2014-02-06 19:48:19 +00:00
zuu
ea7483a419 (svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page 2014-02-06 19:41:56 +00:00
zuu
2d250c571f (svn r26304) -Fix (26303): Forgot to add new files 2014-02-06 19:36:19 +00:00
zuu
a6e0f162ed (svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pages 2014-02-06 19:25:39 +00:00
zuu
0317163f1b (svn r26302) -Doc: [nogo] ScriptStory::Remove does remove both the page and its elements 2014-02-06 19:24:01 +00:00
zuu
33bcc9d24a (svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method returning bool 2014-02-06 18:50:25 +00:00
frosch
83b7021d9f (svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one. 2014-01-26 14:54:34 +00:00
frosch
69c0a9d32b (svn r26270) -Fix-ish: If ScriptTown::FoundTown fails to generate a new random town name, don't bother sending a command, but fail immediately. 2014-01-20 22:34:22 +00:00
zuu
61f3172d17 (svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect independent of advanced setting for that 2013-12-17 20:41:51 +00:00
frosch
a8d1e188b3 (svn r26153) -Doc [FS#5826]: Fix copy-pasty. (krinn) 2013-12-09 18:38:07 +00:00
frosch
1af98ee64c (svn r26150) -Revert (r26120): EnforcePrecondition alters the last-error status and is only meant for commands. 2013-12-08 18:20:14 +00:00
frosch
52c2c53c02 (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 2013-12-08 15:44:09 +00:00
frosch
0bedd475e3 (svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders. 2013-12-08 15:13:06 +00:00
rubidium
a7ac207c8f (svn r26138) -Fix [FS#5821] (r26105-ish): [Script] scripts could trigger the internal IsValidRoadType assertion 2013-11-29 18:06:14 +00:00
rubidium
ebf46b7e4f (svn r26137) -Merge: documentation updates from 1.3 branch 2013-11-29 13:15:02 +00:00
rubidium
0e6e408cd3 (svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition 2013-11-26 12:48:56 +00:00
rubidium
0bf1d73556 (svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID 2013-11-26 12:46:21 +00:00
rubidium
ffa7693524 (svn r26093) -Fix (r26092): compilation error 2013-11-24 19:53:35 +00:00
rubidium
30a390b759 (svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names 2013-11-24 19:46:16 +00:00
rubidium
157a3d3be4 (svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED() 2013-11-23 18:13:30 +00:00
frosch
83fea1c6ca (svn r26038) -Fix: Doxygen syntax. 2013-11-18 20:09:09 +00:00
zuu
66216a9578 (svn r26012) -Add: new goal type that show a story page when clicked 2013-11-16 17:41:57 +00:00
zuu
a40808ee04 (svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, is not the name given by GetName but GetInstanceName 2013-11-16 12:33:45 +00:00
frosch
e07dccd84f (svn r25995) -Fix (r25785) [FS#5801]: [NoGo] GS failed to rename towns. (Zydeco) 2013-11-14 18:04:31 +00:00
frosch
d2624c6947 (svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration. 2013-11-12 17:57:32 +00:00
frosch
88175c2503 (svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate. 2013-11-12 17:57:12 +00:00
frosch
fc3040af02 (svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth rate set previously via GSTown::SetGrowthRate. 2013-11-12 17:56:35 +00:00
frosch
45a394d38e (svn r25966) -Fix: [NoGo] Properly validate the range of the growth rate passed to GSTown::SetGrowthRate, instead of masking it to 16 bit. 2013-11-12 15:15:02 +00:00
rubidium
83b8388765 (svn r25959) -Fix: clang warnings; either because type safety was assumed, or because technically the wrong value was tested 2013-11-09 06:52:08 +00:00
frosch
6bceb8b7ab (svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain. 2013-11-07 18:17:21 +00:00
frosch
cc1f14a4b4 (svn r25924) -Fix: [Script] Documentation for ScriptTown::GetGrowthRate. 2013-10-28 11:09:02 +00:00