frosch
|
9e3c107ffe
|
(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
|
2010-01-04 19:42:29 +00:00 |
|
smatz
|
f708b9a80a
|
(svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files
|
2009-12-19 23:53:15 +00:00 |
|
alberth
|
5a97b64d73
|
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
|
2009-10-31 19:46:51 +00:00 |
|
rubidium
|
982b8ee5fc
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
|
rubidium
|
83be7b09ea
|
(svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running code from the global scope
|
2009-09-15 16:18:10 +00:00 |
|
rubidium
|
3e3927cfcc
|
(svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the 'global' scope
|
2009-09-15 16:16:28 +00:00 |
|
rubidium
|
a8975e9e72
|
(svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to a specific depot
|
2009-09-09 09:46:08 +00:00 |
|
rubidium
|
62e990823d
|
(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
|
2009-09-01 12:57:04 +00:00 |
|
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
yexo
|
d6a3178646
|
(svn r17233) -Fix (r17232): typo
|
2009-08-20 11:02:35 +00:00 |
|
yexo
|
172d4dd23e
|
(svn r17232) -Fix (r17223): Kill an AI when it tries to Sleep / execute a DoCommand during Save() instead of failing to save
|
2009-08-20 10:58:22 +00:00 |
|
yexo
|
48f70be5f8
|
(svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed as they should
|
2009-08-20 10:45:57 +00:00 |
|
yexo
|
6b0520b3b4
|
(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects incorrectly but crash the AI instead
|
2009-08-20 10:39:39 +00:00 |
|
yexo
|
c22f60c812
|
(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand / Sleep instead of just printing an error message in the AI Debug Window
|
2009-08-19 16:14:15 +00:00 |
|
yexo
|
418c88f94d
|
(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
|
2009-08-18 18:51:42 +00:00 |
|
yexo
|
ee384495b9
|
(svn r17125) -Cleanup: remove an unused variable
|
2009-08-08 22:09:53 +00:00 |
|
rubidium
|
d61be2637e
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
|
yexo
|
127ceaf828
|
(svn r17043) -Change [NoAI]: Load the API before compiling an AI script so AIs can subclass API classes and use API constants as part of their own constants
|
2009-08-02 18:26:32 +00:00 |
|
yexo
|
86b89fda98
|
(svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
|
2009-07-31 22:30:54 +00:00 |
|
yexo
|
6e467e8ae0
|
(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD
|
2009-07-15 19:47:06 +00:00 |
|
yexo
|
4c227b6b78
|
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
|
2009-06-17 13:12:08 +00:00 |
|
smatz
|
a2567c84a0
|
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
2009-06-10 22:05:01 +00:00 |
|
smatz
|
f67ea11992
|
(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
|
2009-06-10 19:23:25 +00:00 |
|
yexo
|
de04ae2cda
|
(svn r16425) -Change [FS#2869]: Stop an AI when it takes too long to initialize or load
|
2009-05-25 21:55:47 +00:00 |
|
yexo
|
2d8609080f
|
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
|
2009-05-23 14:54:55 +00:00 |
|
smatz
|
0c10daa243
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
2009-05-17 01:00:56 +00:00 |
|
smatz
|
d495dc5dbc
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
|
yexo
|
d1ab79a902
|
(svn r16174) -Fix (r16093) [FS#2863]: crash when starting a game/loading a game with no AIs available.
|
2009-04-26 19:30:31 +00:00 |
|
rubidium
|
27b831935f
|
(svn r16149) -Fix [FS#2860]: when there's no AI and an AI is started... *boom*
|
2009-04-25 22:40:24 +00:00 |
|
yexo
|
f96429a494
|
(svn r16093) -Feature [FS#2808]: Add GetURL() as possible function to info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
|
2009-04-19 15:14:23 +00:00 |
|
yexo
|
4b8d1a58a2
|
(svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI.
|
2009-03-19 23:38:51 +00:00 |
|
yexo
|
473cc5076a
|
(svn r15708) -Feature [FS#2728]: Pop up the AI Debug Window if one of the AIs crashed and show a message that the user should report the crash.
|
2009-03-14 01:32:04 +00:00 |
|
yexo
|
28c49b694a
|
(svn r15668) -Fix: a few typos.
|
2009-03-11 07:32:31 +00:00 |
|
yexo
|
89fc2b2b08
|
(svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type).
|
2009-03-04 22:37:25 +00:00 |
|
glx
|
85ea21a5d0
|
(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs
|
2009-02-21 00:43:18 +00:00 |
|
yexo
|
d9caae1635
|
(svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel.
|
2009-02-20 10:03:16 +00:00 |
|
yexo
|
69df9f2787
|
(svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
|
2009-02-19 07:40:08 +00:00 |
|
yexo
|
3e53890348
|
(svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game.
|
2009-02-13 17:17:34 +00:00 |
|
yexo
|
8ef2024b96
|
(svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it.
|
2009-02-10 19:22:09 +00:00 |
|
frosch
|
d5a6fcce54
|
(svn r15359) -Add [NoAI]: AIEventVehicleCrashed::CRASH_RV_UFO, AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
|
2009-02-05 17:38:47 +00:00 |
|
frosch
|
f6fa77d5f9
|
(svn r15358) -Add [NoAI]: AIEventVehicleCrashed::GetCrashReason()
|
2009-02-05 17:28:37 +00:00 |
|
rubidium
|
2eebb52592
|
(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC).
|
2009-02-03 22:42:42 +00:00 |
|
Yexo
|
e628c5360d
|
(svn r15328) -Fix (r15327): Load(data, version) was called instead of Load(version, data).
|
2009-02-03 21:05:32 +00:00 |
|
Yexo
|
9569bb12f3
|
(svn r15327) -Fix (r15027): AIs could access the map and other data in their constructor and Load() function while the savegame was not completely loaded.
|
2009-02-03 20:49:08 +00:00 |
|
smatz
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
|
Yexo
|
283a265d8a
|
(svn r15284) -Fix [FS#2582] (r15045): Parameters were popped from the squirrel stack twice.
|
2009-01-27 13:11:11 +00:00 |
|
glx
|
53fe1afa1f
|
(svn r15270) -Change [API CHANGE]: remove AIEventTest
|
2009-01-25 19:06:00 +00:00 |
|
peter1138
|
6644fa86ee
|
(svn r15133) -Fix: Crash if no NoAIs are present.
|
2009-01-17 22:22:53 +00:00 |
|
truebrain
|
fac5cee3d3
|
(svn r15124) -Fix: last memory leak related to NoAI
|
2009-01-17 15:38:37 +00:00 |
|
truebrain
|
bd520ca562
|
(svn r15101) -Change [API CHANGE]: more consistant naming for consts:
INVALID_TOWN_RATING -> TOWN_RATING_INVALID
INVALID_TRANSPORT -> TRANSPORT_INVALID
INVALID_ORDER -> ORDER_INVALID
INVALID_GROUP -> GROUP_INVALID
GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP
VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/..
MY_COMPANY -> COMPANY_SELF
FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
|
2009-01-16 00:05:26 +00:00 |
|