summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2009-02-04(svn r15343) -Add [NoAI]: Add AITown::GetRoadLayout so AIs can get the road ↵Yexo
layout per town.
2009-02-03(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular ↵rubidium
references (by enabling the GC).
2009-02-03(svn r15328) -Fix (r15327): Load(data, version) was called instead of ↵Yexo
Load(version, data).
2009-02-03(svn r15327) -Fix (r15027): AIs could access the map and other data in their ↵Yexo
constructor and Load() function while the savegame was not completely loaded.
2009-02-03(svn r15324) -Codechange: unify the class used for comparing of strings for ↵smatz
std::map
2009-02-02(svn r15322) -Fix (r15175): The AI list window didn't display information ↵Yexo
about the selected AI if it wasn't visible.
2009-02-01(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.frosch
2009-02-01(svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h ↵frosch
instead of mph. (Documentation by Rubidium)
2009-02-01(svn r15306) -Codechange: Deduplicate code by adding ↵frosch
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-27(svn r15284) -Fix [FS#2582] (r15045): Parameters were popped from the ↵Yexo
squirrel stack twice.
2009-01-26(svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of ↵smatz
st->town
2009-01-26(svn r15277) -Fix (r15027): Building bridges in AITestMode always returned ↵Yexo
false.
2009-01-25(svn r15270) -Change [API CHANGE]: remove AIEventTestglx
2009-01-25(svn r15263) -Codechange: added Engine::GetCost() to remove some code ↵glx
duplication.
2009-01-24(svn r15262) -Fix: AIEvents were not freed, when they were not queued for ↵frosch
any AI.
2009-01-24(svn r15261) -Add: added Engine::GetRunningCost() to remove some code ↵glx
duplication. Also stops AIs decrementing vehicle counter of first company
2009-01-24(svn r15255) -Fix (r15027): AIVehicle::GetLength() returned only the length ↵frosch
of the first part of articulated road vehicles.
2009-01-24(svn r15252) -Fix (r15027): AIMarine::AreWaterTilesConnected() reported ↵frosch
aqueducts being connected with all surrounding tiles. Also add some type safety.
2009-01-23(svn r15244) -Fix (r15027): The station tile of an oilrig-like industry is ↵frosch
not neccessarily the first industry tile.
2009-01-23(svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries ↵frosch
'features'.
2009-01-23(svn r15228) -Fix [FS#2571]: possible crash when an AI/Library doesn't have ↵glx
a required function
2009-01-23(svn r15226) -Fix (r15214): broken AI content downloadglx
2009-01-23(svn r15215) -Fix: various MSVC x64 compiler warningsrubidium
2009-01-23(svn r15214) -Fix [NoAI]: ignore case for ai/library main script path on windowsglx
2009-01-21(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)glx
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-21(svn r15188) -Feature: You can now change the number of AIs from the AI ↵Yexo
config window.
2009-01-21(svn r15187) -Fix: assert when an AI called AIRoad::GetNeighbourRoadCount on ↵Yexo
a tile at the north edge (bug found by SmatZ).
2009-01-21(svn r15186) -Fix: Select the currently selected AI instead of the second on ↵Yexo
in the list. -Feature: Double clicking on a slot in the AI config window results in opening the list of AIs.
2009-01-21(svn r15185) -Fix (r15175): It was impossible to select AIs that had a ↵Yexo
different instance name then their name.
2009-01-21(svn r15184) -Cleanup: remove extra spacesglx
2009-01-21(svn r15182) -Fix: After updating an AI select the latest version for the ↵Yexo
next game.
2009-01-20(svn r15175) -Feature: Add the option to select the AIs to start in a new ↵Yexo
game and configure them via the gui.
2009-01-20(svn r15171) -Fix (r15027): Buffer underflow in case there are no settings ↵Yexo
to save for an AI.
2009-01-19(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, ↵peter1138
therefore it does not belong in _gui.
2009-01-18(svn r15139) -Fix [NoAI]: a wrong tile got returned for hangar tiles when ↵rubidium
the station sign isn't over st->airport_tile.
2009-01-17(svn r15133) -Fix: Crash if no NoAIs are present.peter1138
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
2009-01-17(svn r15124) -Fix: last memory leak related to NoAItruebrain
2009-01-17(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value ↵truebrain
should not be free'd, which is should .. so make them 'char *'
2009-01-17(svn r15122) -Codechange: add a security assert, to make sure something ↵truebrain
never happens
2009-01-17(svn r15121) -Fix: more mem-leak fixes (this should make SmatZ so happy ;) :p)truebrain
2009-01-17(svn r15120) -Fix: more mem-leak fixestruebrain
2009-01-17(svn r15118) -Fix: fix a minor mem-leaktruebrain
2009-01-16(svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo)truebrain
2009-01-16(svn r15107) -Fix [NoAI]: don't use so much explicit string copies if it is ↵truebrain
not required
2009-01-16(svn r15106) -Fix [NoAI]: printf-ing of garbage.rubidium
2009-01-16(svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo)truebrain
2009-01-16(svn r15101) -Change [API CHANGE]: more consistant naming for consts:truebrain
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