summaryrefslogtreecommitdiff
path: root/src/ai
AgeCommit message (Collapse)Author
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.
2013-02-27(svn r25052) -Fix [FS#5490]: Refactor Script Debug GUI to only set widget ↵frosch
states in OnInvalidateData.
2013-02-14(svn r25001) -Change: heading for 1.4 nowrubidium
2013-01-20(svn r24929) -Fix [FS#5415]: Don't try to pause or unpause crashed scripts.frosch
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-05(svn r24789) -Add: Separate setting to control the default settings of newly ↵frosch
added scripts and random AIs.
2012-12-05(svn r24788) -Change: Detach script settings from difficulty settings. ↵frosch
Always allow changing all script settings without setting difficulty to custom.
2012-12-05(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles ↵frosch
and highscore tables.
2012-11-14(svn r24747) -Fix: Some editboxes had a different colour than the rest of ↵frosch
the window.
2012-11-14(svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵frosch
QueryStrings per widget instead.
2012-11-14(svn r24740) -Codechange: Remove duplicate members from ↵frosch
QueryStringBaseWindow and directly use QueryString.
2012-11-14(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.frosch
2012-11-14(svn r24736) -Cleanup: The third parameter of Textbuf::Initialize only makes ↵frosch
sense if it is smaller than the second one, also its unit is not pixels.
2012-11-13(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to ↵frosch
Window::OnEditboxChanged.
2012-11-13(svn r24733) -Codechange: Move handling of editbox keys to window class.frosch
2012-11-13(svn r24732) -Codechange: Unify handling of OK and CANCEL actions for editboxes.frosch
2012-11-13(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.frosch
2012-11-13(svn r24727) -Fix: In various windows the OSK looked shiny but using it had ↵frosch
no effect whatsoever.
2012-11-13(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.frosch
2012-11-13(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.frosch
2012-11-13(svn r24723) -Fix: AI debug GUI crashed when using disabled buttons via hotkeys.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-11-11(svn r24699) -Codechange: Proper usage of push and toggle buttons in mapgen ↵frosch
and script debug GUI.
2012-09-23(svn r24554) -Add: Hotkeys for widgets in AI Debug windowzuu
2012-09-23(svn r24552) -Fix (r24537): Unpause do no longer continue scriptszuu
2012-09-21(svn r24537) -Feature: Scripts can be suspended even if the game is still ↵zuu
progressing, thus break-on-log now works also for Game Scripts.
2012-09-01(svn r24505) -Add: Select the GS tab if all AI tabs are unselectable in the ↵zuu
AI debug window.
2012-08-21(svn r24489) -Feature [FS#5230]: Display GS dead state in AI debug window.zuu