Commit Graph

220 Commits

Author SHA1 Message Date
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
yexo 7284d716bc (svn r24490) -Fix (r24487): forgot to run script/api/squirrel_export.sh 2012-08-21 19:03:11 +00:00
yexo 053770d4a6 (svn r24488) -Feature [FS#5236]: add buttons to view textfiles from the online content window (LordAro) 2012-08-20 21:03:50 +00:00
yexo fe31aa28c4 (svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the path instead of a boolean (LordAro) 2012-08-20 21:01:40 +00:00
rubidium b5a8022364 (svn r24477) -Merge: documentation updates from 1.2. 2012-08-16 18:47:10 +00:00
yexo 54aa43c81b (svn r24468) -Add [FS#5219]: API compatibility scripts for Goal Scripts (Hirundo) 2012-08-13 19:22:26 +00:00
frosch 77b5e72541 (svn r24441) -Update: Version number to 1.3 in some more files. 2012-07-29 16:28:54 +00:00
alberth eb56e5c0b1 (svn r24406) -Feature: Allow game scripts to monitor cargo pickups and deliveries done by companies. 2012-07-15 17:11:14 +00:00
alberth 2ab7c82b31 (svn r24395) -Doc: Fixed argument references in @param descriptions. 2012-07-10 18:37:54 +00:00
frosch 08a8c3a773 (svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked. 2012-07-07 15:39:46 +00:00
frosch a6244ed0dc (svn r24366) -Doc: Improve description of ScriptVehicle::GetCargoLoad. 2012-07-01 21:16:47 +00:00
michi_cc ef394916c9 (svn r24353) -Fix [FS#5215] (r23506): [NoAI] A TileIndex isn't a station id, so don't use it as one. 2012-06-23 15:02:20 +00:00
frosch c0e209162a (svn r24327) -Doc: [Script] Improve documentation of ScriptCompany::GetQuarterlyIncome/Expenses(). 2012-06-06 13:13:05 +00:00
frosch be0b94400d (svn r24317) -Feature: Add dropdowns to AI configurations, if all values have labels. 2012-06-01 15:19:59 +00:00
frosch 543540def8 (svn r24302) -Fix: [Script] ScriptTown::GetGrowthRate() returned wrong values after usage of SetGrowthRate(). 2012-05-30 14:54:44 +00:00
frosch 95d3d6fdef (svn r24291) -Add: [Script] ScriptEventRoadReconstruction. 2012-05-26 14:16:45 +00:00
frosch 8dc553a039 (svn r24290) -Add: [Script] ScriptEventExclusiveTransportRights. 2012-05-26 14:16:38 +00:00
frosch 66a37e28a6 (svn r24289) -Add: [Script] Base class for script events involving a company and a town. 2012-05-26 14:16:32 +00:00
frosch 9ad9d72c4a (svn r24288) -Fix: squirrel_export should match stuff like 'virtual', 'static' and 'const' only as whole words. 2012-05-26 14:16:27 +00:00
frosch 5187c2b721 (svn r24286) -Add: [GS] Some more GSNews::NewsItem::NewsTypes. 2012-05-26 14:16:12 +00:00
frosch a8c88f43b6 (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead. 2012-05-26 14:16:03 +00:00
frosch 8bce6453d3 (svn r24279) -Fix: Someone forgot a call to squirrel_export somewhen. 2012-05-26 08:19:33 +00:00
alberth 0db235aa1d (svn r24237) -Feature: Descriptions explaining the meaning of advanced settings. 2012-05-12 10:13:03 +00:00
rubidium 41e5c839e0 (svn r24179) -Codechange: move some variables of Town to TownCache 2012-04-25 20:50:13 +00:00
frosch cd50c86294 (svn r24178) -Fix [FS#5110]: The object name from property A was not displayed in the object GUI. 2012-04-24 20:01:34 +00:00
rubidium 8d56856791 (svn r24152) -Fix [FS#5157]: [NoAI] Do not return the last 'cached' speed of vehicles when they are stopped/crashed 2012-04-18 19:21:54 +00:00
rubidium eeb781b429 (svn r24151) -Fix: typo in script documentation 2012-04-18 19:03:12 +00:00
michi_cc aa47d6c7f2 (svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan) 2012-04-17 19:43:18 +00:00
rubidium 25987e2e8b (svn r24121) -Merge: documentation update from 1.2 2012-04-15 18:59:04 +00:00