summaryrefslogtreecommitdiff
path: root/src/ai/ai_gui.cpp
AgeCommit message (Collapse)Author
2009-06-10(svn r16559) -Codechange: introduce Company::IsValidAiID() and ↵smatz
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-06-10(svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background ↵smatz
in the AIDebug window
2009-06-06(svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI ↵yexo
was stopped an a human company took it's CompanyID
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-26(svn r16162) -Codechange: remove needless TC_ colours from DrawString when ↵rubidium
they are part of strings and add some colours to a few strings.
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16094) -Fix: AIDebug window profiled the blitters by invalidating ↵frosch
itself unconditionally on repaint. OTOH it was not invalidated in other cases when needed.
2009-04-19(svn r16093) -Feature [FS#2808]: Add GetURL() as possible function to ↵yexo
info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
2009-04-19(svn r16091) -Change [FS#2778]: Reverse the order of the lines in the AI ↵yexo
debug window
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-25(svn r15852) -Codechange: New widgets for the AI windows.yexo
2009-03-25(svn r15844) -Codechange: allow text alignment to be forced so the console ↵rubidium
and ai debug output don't get swapped (those are untranslateable anyways)
2009-03-24(svn r15835) -Codechange: Prevent using the return value of DrawString as ↵yexo
much as possible.
2009-03-22(svn r15811) -Fix: left != right and as a result of that the ai debug window ↵rubidium
was kinda empty.
2009-03-22(svn r15806) -Codechange: pass both left and right to the vehicle details ↵rubidium
drawing functions instead of only the left.
2009-03-21(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the ↵rubidium
new one.
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-14(svn r15708) -Feature [FS#2728]: Pop up the AI Debug Window if one of the ↵yexo
AIs crashed and show a message that the user should report the crash.
2009-02-23(svn r15562) -Change: Use GetName() to determine the unique AI name instead ↵yexo
of GetInstanceName() to make branching of AIs easier.
2009-02-21(svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when ↵yexo
changing the amount of towns/industries from the newgame gui.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-06(svn r15366) -Add [NoAI]: Add AddLabels() where you can define labels for ↵Yexo
the values of the settings in info.nut
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-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15215) -Fix: various MSVC x64 compiler warningsrubidium
2009-01-21(svn r15191) -Fix (r15188): -1 is not a bool (MSVC warning)glx
2009-01-21(svn r15188) -Feature: You can now change the number of AIs from the AI ↵Yexo
config window.
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-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-15(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir ↵truebrain
required, as with AIs -Add [NoAI]: allow multiple versions of the same AI co-exist -Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent -Change [NoAI]: the name of the AI is now the name used by CreateInstance() -Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks