summaryrefslogtreecommitdiff
path: root/src/ai/ai_gui.cpp
AgeCommit message (Collapse)Author
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar ↵rubidium
capacity/matrix initialisation
2009-11-15(svn r18101) -Fix (r15188): AI settings window used window-relative pixel ↵peter1138
positions
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-30(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with ↵rubidium
InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-02(svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappersrubidium
2009-08-28(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first ↵yexo
available company slot causing other AIs to be started
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-09(svn r17130) -Fix [FS#3099]: Last line of output in the AI debug window did ↵alberth
not fit entirely.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-08-02(svn r17044) -Codechange: ai windows use nested widget tree.alberth
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-09(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.alberth
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.