truebrain
|
ecb725b34b
|
(svn r23738) -Fix (r23731): forgot to sync the new window with the script API
|
2012-01-03 20:38:41 +00:00 |
rubidium
|
e40eb8177a
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
2012-01-03 20:26:05 +00:00 |
truebrain
|
34d90da509
|
(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
|
2012-01-03 16:36:24 +00:00 |
truebrain
|
ac306fc138
|
(svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable
|
2011-12-21 15:06:00 +00:00 |
yexo
|
5988659eea
|
(svn r23651) -Feature: [NoGo] GSText now accepts string arguments as parameters to the constructor
|
2011-12-21 14:55:28 +00:00 |
yexo
|
a55478aaa6
|
(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation
|
2011-12-21 14:30:08 +00:00 |
truebrain
|
e1f04b89c3
|
(svn r23648) -Revert (r23646): partial revert; nobody has to know about my local changes and attempts
|
2011-12-21 12:28:02 +00:00 |
truebrain
|
da8777d4e5
|
(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.
|
2011-12-21 12:25:10 +00:00 |
truebrain
|
1c9bec1999
|
(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)
|
2011-12-20 17:57:56 +00:00 |
truebrain
|
102f811d02
|
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
|
2011-12-19 21:06:06 +00:00 |
truebrain
|
b0ac529a6f
|
(svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network
|
2011-12-19 21:05:57 +00:00 |
truebrain
|
9b6b2cabc1
|
(svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope
|
2011-12-19 21:05:36 +00:00 |
truebrain
|
cc3f42794d
|
(svn r23632) -Add: GSCompanyMode, to change company in GameScripts
|
2011-12-19 21:05:25 +00:00 |
truebrain
|
403cd3acdb
|
(svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only)
|
2011-12-19 21:05:14 +00:00 |
truebrain
|
3ada3b9cc5
|
(svn r23630) -Add: a Goal GUI to show your current goals
|
2011-12-19 21:03:17 +00:00 |
truebrain
|
084f4e6aac
|
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
|
2011-12-19 21:02:33 +00:00 |
truebrain
|
5858c53420
|
(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)
|
2011-12-19 21:01:12 +00:00 |
truebrain
|
e0ffe4faf2
|
(svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only)
|
2011-12-19 21:01:03 +00:00 |
truebrain
|
ad48ab9237
|
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
|
2011-12-19 21:00:55 +00:00 |
truebrain
|
894216083d
|
(svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only)
|
2011-12-19 21:00:48 +00:00 |
truebrain
|
d85a628dde
|
(svn r23624) -Add: ScriptVehicle/ScriptStation/ScriptSign::GetOwner, to get the owner of those objects (GameScript only)
|
2011-12-19 21:00:40 +00:00 |
truebrain
|
3a535690d4
|
(svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript
|
2011-12-19 21:00:32 +00:00 |
truebrain
|
77b7366c29
|
(svn r23622) -Add: a set of events to trigger in a GameScript
|
2011-12-19 20:59:36 +00:00 |
truebrain
|
e7cd301d3c
|
(svn r23621) -Add: allow manipulation of signs via GameScripts
|
2011-12-19 20:59:29 +00:00 |
truebrain
|
afcf07ac8a
|
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
|
2011-12-19 20:59:19 +00:00 |
truebrain
|
c7c1deaf41
|
(svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan 1970 of the real system (GameScript only)
|
2011-12-19 20:59:12 +00:00 |
truebrain
|
55de5d336c
|
(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only)
|
2011-12-19 20:58:59 +00:00 |
truebrain
|
5ff98b45c1
|
(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)
|
2011-12-19 20:57:51 +00:00 |
truebrain
|
e53b2f2ab0
|
(svn r23616) -Add: ScriptGameSettings::SetValue, to set gamesettings (GameScript only)
|
2011-12-19 20:57:43 +00:00 |
truebrain
|
9359c6fc47
|
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
|
2011-12-19 20:57:34 +00:00 |
truebrain
|
436cf09923
|
(svn r23614) -Add: more API functions exposed to NoGo (part 1)
|
2011-12-19 20:57:23 +00:00 |
truebrain
|
1616961ea2
|
(svn r23613) -Add: allow IsDeveloperOnly in info.nut, to indicate if you can select this GS via the GUI (optional, defaults to false)
|
2011-12-19 20:57:08 +00:00 |
truebrain
|
963802e9a7
|
(svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library)
|
2011-12-19 20:56:59 +00:00 |
truebrain
|
83f2785f54
|
(svn r23611) -Add: run the begin of the script already while generating, and don't sleep on DoCommand while doing so
|
2011-12-19 20:56:50 +00:00 |
truebrain
|
cbe43abe5d
|
(svn r23610) -Add: Doxygen files for NoGo API (Yexo)
|
2011-12-19 20:56:42 +00:00 |
truebrain
|
12aa5b6a58
|
(svn r23604) -Add: initial support for GameScripts
|
2011-12-19 20:50:54 +00:00 |
truebrain
|
e75153d8ac
|
(svn r23597) -Codechange: fix up squirrel export script a bit
|
2011-12-19 20:44:31 +00:00 |
rubidium
|
3d88c74389
|
(svn r23526) -Codechange: unify cargos vs cargoes
|
2011-12-15 21:56:00 +00:00 |
rubidium
|
18d929aa21
|
(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
|
2011-12-15 18:40:15 +00:00 |
rubidium
|
bb564bc34d
|
(svn r23520) -Fix-ish: wrong @param name causing missing documentation
|
2011-12-15 18:36:29 +00:00 |
rubidium
|
1eb17c8307
|
(svn r23519) -Change: do not export enum values in the AI documentation
|
2011-12-15 18:35:46 +00:00 |
frosch
|
dad042585c
|
(svn r23516) -Fix [FS#4886]: ScriptSign::BuildSign() returned wrong result if the sign name was too long.
|
2011-12-14 20:26:54 +00:00 |
frosch
|
0a7b49e398
|
(svn r23515) -Cleanup: Remove unused ScriptObject::GetNewTunnelEndtile() and relatives.
|
2011-12-14 20:13:18 +00:00 |
frosch
|
7f3227cd5c
|
(svn r23514) -Fix: squirrel_export.sh failed for svn working copies.
|
2011-12-14 19:59:49 +00:00 |
michi_cc
|
a085ea9e4b
|
(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.
|
2011-12-13 00:43:59 +00:00 |
truebrain
|
a8960f64be
|
(svn r23486) -Fix (r22764): 3 for the price of 1: fix up ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting)
|
2011-12-10 21:07:04 +00:00 |
yexo
|
c9be5d50da
|
(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
|
2011-12-09 19:30:30 +00:00 |
yexo
|
b5d707b7a0
|
(svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID)
|
2011-12-08 23:28:43 +00:00 |
yexo
|
ca57514b9f
|
(svn r23452) -Codechange: document instead of writing to stderr that ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT
|
2011-12-08 23:28:02 +00:00 |
rubidium
|
de46e9647b
|
(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)
|
2011-12-06 21:02:57 +00:00 |
truebrain
|
4df85af950
|
(svn r23431) -Fix: typo in @param variable
|
2011-12-04 15:48:15 +00:00 |
michi_cc
|
0e5e8fff12
|
(svn r23416) -Add: [NoAI] API for querying infrastructure costs.
|
2011-12-03 23:40:57 +00:00 |
truebrain
|
13c3993e86
|
(svn r23397) -Change: remove the AI_ prefix from all AIEvent enums
|
2011-12-02 23:40:16 +00:00 |
truebrain
|
c3026bc601
|
(svn r23396) -Fix: squirrel export script did not ignore Doxygen blocks, causing funny results in some corner cases
|
2011-12-02 23:40:09 +00:00 |
yexo
|
1bc1a41937
|
(svn r23392) -Fix: [NoAI] assigning 'null' to an AIList element to remove it didn't work
|
2011-12-01 22:23:13 +00:00 |
truebrain
|
a8b22e5292
|
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
|
2011-12-01 12:04:10 +00:00 |
truebrain
|
eab19b9ff3
|
(svn r23378) -Fix: set SVN properties correctly
|
2011-11-30 14:02:15 +00:00 |
truebrain
|
0f9954ec1b
|
(svn r23374) -Add: Doxygen files for the NoAI API (Yexo)
|
2011-11-29 23:31:55 +00:00 |
truebrain
|
7158aaea31
|
(svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel C++ glue templates to script/api/template
|
2011-11-29 23:29:20 +00:00 |
truebrain
|
e60747a604
|
(svn r23372) -Move: move squirrel export script to script/api/
|
2011-11-29 23:29:12 +00:00 |
truebrain
|
549e072041
|
(svn r23371) -Change: rename the DOXYGEN_AI_DOCS tag to DOXYGEN_API
|
2011-11-29 23:27:34 +00:00 |
truebrain
|
4d91f645c1
|
(svn r23370) -Add: support @api tag in API header files, to select which API should receive the defined classes and functions
|
2011-11-29 23:27:26 +00:00 |
truebrain
|
2c877b074e
|
(svn r23369) -Codechange: use script includes when possible, not ai includes
|
2011-11-29 23:27:17 +00:00 |
truebrain
|
e0d4c75cf4
|
(svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore
|
2011-11-29 23:27:08 +00:00 |
truebrain
|
880f377fa6
|
(svn r23367) -Codechange: refactor GetSetting to ScriptInstance, to avoid global variable in script_controller
|
2011-11-29 23:27:01 +00:00 |
truebrain
|
34d7f01ccc
|
(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig
|
2011-11-29 23:26:35 +00:00 |
truebrain
|
ae8540f5e0
|
(svn r23361) -Codechange: move multiplayer DoCommand callback code so other script users can call their own
|
2011-11-29 23:21:42 +00:00 |
truebrain
|
3da8b5097a
|
(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it reusable by other script API instances
|
2011-11-29 23:21:33 +00:00 |
truebrain
|
75c4bd280a
|
(svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its own file)
|
2011-11-29 23:21:24 +00:00 |
truebrain
|
bbd9facb44
|
(svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to its own file)
|
2011-11-29 23:21:13 +00:00 |
truebrain
|
99cb93ef6f
|
(svn r23357) -Codechange: move AIStorage to ScriptStorage
|
2011-11-29 23:21:04 +00:00 |
truebrain
|
98103121d4
|
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
|
2011-11-29 23:15:35 +00:00 |
truebrain
|
afdb67a353
|
(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium)
|
2011-11-29 23:07:38 +00:00 |