frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
2011-03-13 21:31:29 +00:00
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
yexo
b22945350f
(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
2011-01-02 12:41:24 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
924a924907
(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs
2010-11-18 23:31:06 +00:00
rubidium
c7f0518f16
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
2010-11-18 22:24:10 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
frosch
98250ad8da
(svn r20951) -Codechange: Add SmallMap::Contains() and use it.
2010-10-16 20:34:43 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
yexo
f6f218cf6b
(svn r20604) -Feature: add a reset button to the newgrf parameters window
2010-08-23 22:25:50 +00:00
rubidium
1231dc7b57
(svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI
2010-08-19 22:06:20 +00:00
yexo
16be24e13a
(svn r20558) -Codechange: use one generic function to create a list of company buttons
2010-08-19 12:56:31 +00:00
yexo
381b14a1e9
(svn r20556) -Fix (r20555): a tempory copy/pasted line ended up in the commit
2010-08-19 11:36:12 +00:00
yexo
44ba57bb79
(svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows
2010-08-19 11:33:15 +00:00
frosch
e77ddc5786
(svn r20523) -Fix [FS#4040]: Do not print a colon for AI settings with empty name.
...
Please note that this is only meant for compatiblity to make settings of 'old' AIs still look nice.
Usage of this 'compatibility feature' is not recommended, as selected lines cannot be highlighted this way as it is done for the NewGRF settings.
2010-08-17 09:49:31 +00:00
frosch
7e5309a28a
(svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI.
2010-08-13 07:34:28 +00:00
frosch
d496ec65b9
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
2010-08-12 16:44:51 +00:00
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
yexo
9dbe84922b
(svn r20293) -Doc: add more doxygen comments in ai_gui.cp
2010-08-01 22:08:29 +00:00
yexo
6bfe29308c
(svn r20292) -Codechange: remove some unused variables from AIConfigWindow
2010-08-01 22:03:55 +00:00
yexo
6d4900ed7c
(svn r20271) -Doc: add doxygen comments to several items under src/ai/
2010-07-31 22:16:34 +00:00
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
2010-07-26 13:08:48 +00:00
terkhen
88830a24ec
(svn r20141) -Fix: Initialize the state of OnKeyPress at the AI debug window (Zuu).
2010-07-14 12:03:30 +00:00
frosch
1d3adb2b66
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-06-05 12:16:12 +00:00
frosch
9db3cde73a
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
2010-05-31 20:22:57 +00:00
yexo
96c1fd6173
(svn r19772) -Fix [FS#3818]: the break-on-log-message feature could trigger an assert (Zuu)
2010-05-09 15:17:09 +00:00
yexo
58fb90c5e9
(svn r19548) -Add: Client setting 'gui.ai_developer_tools' to enable the break on AI string
2010-04-03 17:22:24 +00:00
yexo
d10f6e91b9
(svn r19545) -Fix (r19544): typo
2010-04-02 17:43:25 +00:00
yexo
8165737939
(svn r19544) -Feature [FS#3496]: add an input box to the AI Debug window where you can input a break string (patch by Zuu)
2010-04-02 17:35:20 +00:00
rubidium
f97a41040f
(svn r19526) -Fix (r19395): clients would crash while connecting to a server with AIs
2010-03-30 22:37:45 +00:00
Yexo
dfa528d058
(svn r19395) -Fix [FS#3669]: the AI Debug window didn't open if an AI or library fails to compile when loading a savegame
2010-03-13 00:15:24 +00:00
rubidium
e3fb793a8a
(svn r19388) -Fix [FS#3666]: [NoAI] When reloading a savegame, an AI failing to compile could trigger (trying) to read the not yet loaded information of another AI via the AI Debug window and its "open with the most recently used AI" feature
2010-03-11 21:55:37 +00:00
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
yexo
4c4d1e1bf6
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
...
Only settings with the AICONFIG_INGAME flag can be editted in this way
2010-01-29 21:38:55 +00:00
yexo
81882039e3
(svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range
2010-01-29 15:45:53 +00:00
yexo
a668e801e4
(svn r18946) -Fix: it was possible to change AI settings without changing to the custom difficulty level by using the query text window
2010-01-29 01:03:22 +00:00
rubidium
5ddf56f0e0
(svn r18881) -Codechange: make the AI debug window look nicer when not at its minimum size
2010-01-21 21:08:58 +00:00
yexo
d04441e3f7
(svn r18877) -Change: make the default size of the AI debug window bigger so the 'no ai found' message can be read completely without resizing
2010-01-21 17:13:09 +00:00
rubidium
882b23d3ee
(svn r18749) -Fix [FS#3491]: the AI's name and version in the debug panel weren't properly centered
2010-01-07 11:48:59 +00:00
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
rubidium
5afa990ccf
(svn r18516) -Feature [FS#3359]: moving of AIs in the AI configuration window. Based on a patch by Zuu.
2009-12-16 16:57:26 +00:00
yexo
619e70f94a
(svn r18507) -Change [FS#3340]: move the 'check online content' button from the AI list window to the AI configuration window
2009-12-15 00:33:44 +00:00
smatz
784d6d836d
(svn r18437) -Fix (r16557): background of disabled button in AI GUI wasn't set back to grey after AI bankrupt
2009-12-09 00:08:13 +00:00
rubidium
7d33e62d7b
(svn r18436) -Fix [FS#3357]: unselect an AI in the AI Settings window when it falls out of the range of active AIs
2009-12-08 23:32:32 +00:00
rubidium
736e0c18cc
(svn r18332) -Fix: the MSVC compile warnings
2009-11-29 01:00:03 +00:00
rubidium
1f0da3710f
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
2009-11-28 15:01:49 +00:00