summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
2019-03-03Change: Heading for 1.10 now (#7319)frosch
2019-02-23Add: Show performance of AI and GS in framerate windowNiels Martin Hansen
2019-02-21Fix #7090: Close Query String window after rebuilding AI/GS settingsSamu
2019-02-21Fix #7091: Close dropdown menu windows after rebuilding AI/GS settingsSamu
2019-02-11Fix #7151: AI start date deviation was still applied when not set to a ↵PeterN
random AI. (#7223)
2019-02-04Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actionsglx
2019-02-02Change: Allow AI companies to start immediately.Samu
Allow multiple AIs to possibly start in the same tick. start_date = 0 becomes a special case, where random deviation does not occur. If start_date was not already 0, then a minimum value of 1 must apply.
2019-02-01Fix #6438: Properly invalidate AI Settings window when max no competitor ↵Peter Nelson
setting is changed.
2019-01-28Add: allow opening of one TextfileWindow per typeglx
2019-01-27Fix #7122: OnClick() and DrawWidget() editability was inconsistent in ↵glx22
AISettingsWindow (#7123)
2019-01-12Fix #6780: Some windows didn't get updated from OnTick() (#7048)PeterN
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-03-14(svn r27993) -Change: Heading for 1.9 nowfrosch
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-12(svn r27787) -Fix: Update scrollbar when rebuilding AI/GS setting list.peter1138
2017-03-12(svn r27786) -Fix [FS#6479]: AI configuration changed incorrect parameter ↵peter1138
when some parameters are hidden.
2017-03-11(svn r27780) -Update: Numbersfrosch
2016-05-22(svn r27581) -Fix [FS#6461]: Button size computation in script configuration ↵frosch
window. (adf88)
2016-03-01(svn r27518) -Update: Numbersfrosch
2015-12-10(svn r27468) -Fix (r27444): Game Scripts were not displayed in the content ↵zuu
download window when opened from the AI/GS settings window.
2015-03-17(svn r27193) -Fix (r27192): Incomplete copy/paste.frosch
2015-03-17(svn r27192) -Change: heading for 1.6 nowfrosch
2015-03-15(svn r27187) -Fix: Code style.frosch
2014-10-04(svn r26954) -Codechange: GUI-scale for AI/GS settings and NewGRF settings ↵peter1138
windows.
2014-09-21(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and viafonsinchen
2014-09-06(svn r26774) -Cleanup [Squirrel]: remove _SC macrorubidium
2014-05-11(svn r26583) -Fix [FS#5974]: Game script could be changed in game by double ↵rubidium
clicking
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26487) -Codechange: use lastof instead of lengthof/sizeof for script namesrubidium
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-03-17(svn r26406) -Change: heading for 1.5 nowfrosch
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-07-12(svn r25592) -Fix [FS#5644]: Changing the script difficulty level in-game ↵rubidium
would also change the settings using the default even though they were not allowed to change in-game
2013-06-30(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵frosch
rows and columns from the resize step size.
2013-06-30(svn r25533) -Codechange: Use SetCapacityFromWidget more often.frosch
2013-06-30(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets ↵frosch
depend on their number of rows, since that changes when resizing the window.
2013-06-30(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵frosch
widgets.
2013-06-15(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.frosch
2013-06-15(svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible.frosch
2013-06-15(svn r25412) -Codechange: Make use of Window::OnHotkeyfrosch
2013-06-15(svn r25410) -Codechange: Put all hotkeys of a window into a static ↵frosch
HotkeyList member.
2013-06-15(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.frosch
2013-06-15(svn r25401) -Fix-ish: Add missing includes with prototypes to functions ↵frosch
declared in the cpp file.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-05-12(svn r25236) -Fix [FS#5547]: crash when AI is executing a command as it is ↵rubidium
bankrupted (removed from the game) The command is placed in a queue for processing before it is bankrupted, after that the command is executed. This command yields a failure because the company does not exist, but then it still needs to call the callback. This callback tries to access the AI's virtual machine without any checks, so it starts to read a just freed pointer and segfaults.
2013-03-17(svn r25104) -Fix [FS#5507]: Allow changing GS settings in-game via the ↵zuu
AI/GS config window.