Commit Graph

245 Commits (6515371cf5ee6de2b4d2e0f3027b4b0c61dd898c)

Author SHA1 Message Date
rubidium 9910a06dc7 (svn r24477) -Merge: documentation updates from 1.2. 12 years ago
yexo e1351773a0 (svn r24468) -Add [FS#5219]: API compatibility scripts for Goal Scripts (Hirundo) 12 years ago
frosch c8f6159464 (svn r24441) -Update: Version number to 1.3 in some more files. 12 years ago
alberth 1c6e746f9d (svn r24406) -Feature: Allow game scripts to monitor cargo pickups and deliveries done by companies. 12 years ago
alberth 67f599f9db (svn r24395) -Doc: Fixed argument references in @param descriptions. 12 years ago
frosch 358a2bd6ed (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. 12 years ago
frosch 4d67037508 (svn r24366) -Doc: Improve description of ScriptVehicle::GetCargoLoad. 12 years ago
michi_cc d372fb3b8e (svn r24353) -Fix [FS#5215] (r23506): [NoAI] A TileIndex isn't a station id, so don't use it as one. 12 years ago
frosch 4ff2274428 (svn r24327) -Doc: [Script] Improve documentation of ScriptCompany::GetQuarterlyIncome/Expenses(). 12 years ago
frosch deda762b8f (svn r24317) -Feature: Add dropdowns to AI configurations, if all values have labels. 13 years ago
frosch 565892f77e (svn r24302) -Fix: [Script] ScriptTown::GetGrowthRate() returned wrong values after usage of SetGrowthRate(). 13 years ago
frosch 1008ceddb8 (svn r24291) -Add: [Script] ScriptEventRoadReconstruction. 13 years ago
frosch 4e074cdbf7 (svn r24290) -Add: [Script] ScriptEventExclusiveTransportRights. 13 years ago
frosch 8824063087 (svn r24289) -Add: [Script] Base class for script events involving a company and a town. 13 years ago
frosch 39b942bc17 (svn r24288) -Fix: squirrel_export should match stuff like 'virtual', 'static' and 'const' only as whole words. 13 years ago
frosch e519610e4c (svn r24286) -Add: [GS] Some more GSNews::NewsItem::NewsTypes. 13 years ago
frosch 2aa43d6c8b (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead. 13 years ago
frosch 261870502a (svn r24279) -Fix: Someone forgot a call to squirrel_export somewhen. 13 years ago
alberth 48b43bf4cf (svn r24237) -Feature: Descriptions explaining the meaning of advanced settings. 13 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 13 years ago
frosch 21f63bd589 (svn r24178) -Fix [FS#5110]: The object name from property A was not displayed in the object GUI. 13 years ago
rubidium bb8ec1d813 (svn r24152) -Fix [FS#5157]: [NoAI] Do not return the last 'cached' speed of vehicles when they are stopped/crashed 13 years ago
rubidium 16478a4374 (svn r24151) -Fix: typo in script documentation 13 years ago
michi_cc 90fa700cc7 (svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan) 13 years ago
rubidium 856896c36e (svn r24121) -Merge: documentation update from 1.2 13 years ago
yexo d7c065b625 (svn r24029) -Change: [NoAI] make AIEngine::IsArticulated return true if the articulated callback flag is set, don't try to run the callback. 13 years ago
rubidium 3b7d290f3e (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs 13 years ago
rubidium ea113816c0 (svn r24006) -Fix [FS#5088]: AI used in names in API for GSOrder 13 years ago
rubidium e8d9ab4dd5 (svn r23969) -Codechange: trunk heads to 1.3 now 13 years ago
michi_cc 64c5299b4d (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
smatz bb9b240a86 (svn r23941) -Add: support for clang 13 years ago
smatz bb1f2b37ac (svn r23938) -Codechange: declare ScriptScanner::Initialize() and make it abstract, make the other overloaded Initialize() protected 13 years ago
rubidium 35415e1a3f (svn r23936) -Feature [FS#5047]: readme/licence/changelog viewer for AI and game scripts (LordAro) 13 years ago
rubidium 6256d64553 (svn r23932) -Codechange: split the NewGRF text window into its own source files 13 years ago
michi_cc 7f06f392f7 (svn r23931) -Change: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type. 13 years ago
rubidium 46894cc2b7 (svn r23927) -Fix [FS#5056]: 32bpp animated blitter was optimised a bit too far regarding not needing to update the colour mapping when (re)initialising the palette 13 years ago
rubidium 1d51db5f8d (svn r23925) -Fix (r23924): remove some remnants from generated files as well 13 years ago
rubidium 48e1ec7d60 (svn r23924) -Fix [FS#5054]: [NoGo] "Some" news messages would cause an assertion to be triggered due to a missing proper location for the viewport of the news message, so only allow building when valid data for the viewport is provided or no viewport is used 13 years ago
rubidium 37a8a8c5dc (svn r23837) -Feature [FS#4994]: [NoGo] Allow querying orders of vehicles 13 years ago
rubidium d79328ec86 (svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question window's title from a (small) set of options 13 years ago
rubidium 464d51905a (svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says 13 years ago
yexo 9d92eefbc9 (svn r23801) -Fix: reading the utf-8 BOM from AI/GS files on big-endian machines failed 13 years ago
rubidium 314616727b (svn r23778) -Fix [FS#4957]: trim all control codes and the likes from strings being passed into the AI. If the AI would be displaying them later we would be showing those control codes as question marks. 13 years ago
rubidium 4ad23bbf98 (svn r23777) -Codechange: refactor allocating memory and fetching strings into a single function for scripts 13 years ago
smatz ad78a5f1d3 (svn r23770) -Fix: compilation with GCC 4.7 13 years ago
frosch 7ed4b6d069 (svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain d76c2ff76e (svn r23739) -Fix (r23738): owh vim, when can you learn to copy/paste tabs correctly? 13 years ago
truebrain d3567c0ac3 (svn r23738) -Fix (r23731): forgot to sync the new window with the script API 13 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
truebrain 59de5e9570 (svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17 13 years ago
truebrain af7958f5c4 (svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable 13 years ago
yexo b01854e790 (svn r23651) -Feature: [NoGo] GSText now accepts string arguments as parameters to the constructor 13 years ago
yexo 9bf3fb5156 (svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation 13 years ago
truebrain 8faa8f2342 (svn r23648) -Revert (r23646): partial revert; nobody has to know about my local changes and attempts 13 years ago
truebrain 190a68b350 (svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one. 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain 8ac2d13c79 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 13 years ago
truebrain 8bff646cf2 (svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network 13 years ago
truebrain 20bc2efeba (svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope 13 years ago
truebrain 95b199e313 (svn r23632) -Add: GSCompanyMode, to change company in GameScripts 13 years ago
truebrain 867b263900 (svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only) 13 years ago
truebrain ccf9b01f5d (svn r23630) -Add: a Goal GUI to show your current goals 13 years ago
truebrain 102c7ae60e (svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript 13 years ago
truebrain 2fc120d4d1 (svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only) 13 years ago
truebrain 09ef12ab03 (svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only) 13 years ago
truebrain 6961332f05 (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI 13 years ago
truebrain 1367fc9deb (svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only) 13 years ago
truebrain 10b0f4a879 (svn r23624) -Add: ScriptVehicle/ScriptStation/ScriptSign::GetOwner, to get the owner of those objects (GameScript only) 13 years ago
truebrain 1d84fb277e (svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript 13 years ago
truebrain bc78328918 (svn r23622) -Add: a set of events to trigger in a GameScript 13 years ago
truebrain ac9324f270 (svn r23621) -Add: allow manipulation of signs via GameScripts 13 years ago
truebrain b00fcef81a (svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only) 13 years ago
truebrain c56e79db7c (svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan 1970 of the real system (GameScript only) 13 years ago
truebrain 3a799f1145 (svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only) 13 years ago
truebrain 37954d5098 (svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only) 13 years ago
truebrain 79071a2482 (svn r23616) -Add: ScriptGameSettings::SetValue, to set gamesettings (GameScript only) 13 years ago
truebrain ae134dd2f6 (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
truebrain 4f801a38d0 (svn r23614) -Add: more API functions exposed to NoGo (part 1) 13 years ago
truebrain d4582d2704 (svn r23613) -Add: allow IsDeveloperOnly in info.nut, to indicate if you can select this GS via the GUI (optional, defaults to false) 13 years ago
truebrain ff7797c421 (svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library) 13 years ago
truebrain fb2f2a0285 (svn r23611) -Add: run the begin of the script already while generating, and don't sleep on DoCommand while doing so 13 years ago
truebrain e3a518f9b1 (svn r23610) -Add: Doxygen files for NoGo API (Yexo) 13 years ago
truebrain 14325e2391 (svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory 13 years ago
truebrain f66f27d249 (svn r23604) -Add: initial support for GameScripts 13 years ago
truebrain 3c7627fb7f (svn r23597) -Codechange: fix up squirrel export script a bit 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
rubidium 68b25fcf3d (svn r23521) -Codechange: use the actual enum values from the 'core' in the API when they refer to the in-game values in the cases where that is possible and sensible 13 years ago
rubidium f2eb56fec6 (svn r23520) -Fix-ish: wrong @param name causing missing documentation 13 years ago
rubidium 81366cd189 (svn r23519) -Change: do not export enum values in the AI documentation 13 years ago
frosch 3c2768a157 (svn r23516) -Fix [FS#4886]: ScriptSign::BuildSign() returned wrong result if the sign name was too long. 13 years ago
frosch 93a0bb32cb (svn r23515) -Cleanup: Remove unused ScriptObject::GetNewTunnelEndtile() and relatives. 13 years ago
frosch 17d6fad9e5 (svn r23514) -Fix: squirrel_export.sh failed for svn working copies. 13 years ago
michi_cc f27995568e (svn r23506) -Add: [NoAI] Support for dealing with aircraft range. 13 years ago
truebrain 43fbfa2414 (svn r23486) -Fix (r22764): 3 for the price of 1: fix up ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting) 13 years ago
yexo a8f0dfd5be (svn r23461) -Fix: handle a missing airport newgrf as graceful as possible by not crashing when loading such savegame or when an airport is removed 13 years ago
yexo 15dc9acb01 (svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID) 13 years ago
yexo 4430cadfa1 (svn r23452) -Codechange: document instead of writing to stderr that ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT 13 years ago
rubidium bff33e348c (svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout into account resulting in wrong noise levels or nearests towns (patch by Zuu) 13 years ago
yexo 5677505b3f (svn r23439) -Fix: Use the DEBUG macro to output the reason for a compile failure in info.nut instead of printing it directly to stderr 13 years ago