Commit Graph

111 Commits (4a3d484a96eafd27cf320a65a28e750da41f3e61)

Author SHA1 Message Date
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 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
truebrain c43cdbfc75 (svn r23431) -Fix: typo in @param variable 13 years ago
michi_cc 351da038eb (svn r23416) -Add: [NoAI] API for querying infrastructure costs. 13 years ago
truebrain 974f1ee8d1 (svn r23397) -Change: remove the AI_ prefix from all AIEvent enums 13 years ago
truebrain c3ae66089a (svn r23396) -Fix: squirrel export script did not ignore Doxygen blocks, causing funny results in some corner cases 13 years ago
yexo b78549d43b (svn r23392) -Fix: [NoAI] assigning 'null' to an AIList element to remove it didn't work 13 years ago
truebrain ac0f5398c2 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 13 years ago
truebrain c34ccfa205 (svn r23378) -Fix: set SVN properties correctly 13 years ago
truebrain 0c83901a2b (svn r23374) -Add: Doxygen files for the NoAI API (Yexo) 13 years ago
truebrain bef1451f18 (svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel C++ glue templates to script/api/template 13 years ago
truebrain 6ba935b347 (svn r23372) -Move: move squirrel export script to script/api/ 13 years ago
truebrain 967d3baf04 (svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_API 13 years ago
truebrain 8d2df694a1 (svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions 13 years ago
truebrain d319ccec27 (svn r23369) -Codechange: use script includes when possible, not ai includes 13 years ago
truebrain 275670b55d (svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore 13 years ago
truebrain fe41ceb477 (svn r23367) -Codechange: refactor GetSetting to ScriptInstance, to avoid global variable in script_controller 13 years ago
truebrain e7c77353ce (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig 13 years ago
truebrain ff5775638c (svn r23361) -Codechange: move multiplayer DoCommand callback code so other script users can call their own 13 years ago
truebrain a3768b109b (svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances 13 years ago
truebrain 6f874962cd (svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file) 13 years ago
truebrain 1e13fa3dee (svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file) 13 years ago
truebrain b4112dcf8e (svn r23357) -Codechange: move AIStorage to ScriptStorage 13 years ago
truebrain af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
truebrain eab012ec8b (svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium) 13 years ago