Commit Graph

135 Commits

Author SHA1 Message Date
frosch
85c4d4e531 (svn r22616) -Codechange: Fix typo. 2011-07-02 11:31:20 +00:00
frosch
4ea00f2390 (svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection. 2011-06-11 21:12:28 +00:00
yexo
1171fdc889 (svn r22499) -Fix: don't lower the arrow buttons in the newgrf/AI parameter windows if they're clicked when disabled 2011-05-27 18:02:55 +00:00
frosch
7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
frosch
7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
rubidium
2c1555b13c (svn r22396) -Document: some AI doxygen stuff 2011-05-01 09:24:19 +00:00
frosch
f802ea5001 (svn r22386) -Fix [FS#4602]: When the last AI company gets removed, the 'dead' state was not reset in the AI debug window. 2011-04-30 17:08:18 +00:00
terkhen
a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch
8c8349d5da (svn r22249) -Codechange: Process some more invalidation of IDs during command scope. 2011-03-13 21:35:50 +00:00
frosch
2a4c4ab528 (svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope. 2011-03-13 21:34:49 +00:00
frosch
91a29a6bef (svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself. 2011-03-13 21:32:40 +00:00
frosch
4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
yexo
b6680625d3 (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
0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
846721b375 (svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs 2010-11-18 23:31:06 +00:00
rubidium
cc5fd40a74 (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
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
frosch
cb2b666229 (svn r20951) -Codechange: Add SmallMap::Contains() and use it. 2010-10-16 20:34:43 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
yexo
3c5923a62f (svn r20604) -Feature: add a reset button to the newgrf parameters window 2010-08-23 22:25:50 +00:00
rubidium
92c7418e96 (svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI 2010-08-19 22:06:20 +00:00
yexo
a4fbfa268b (svn r20558) -Codechange: use one generic function to create a list of company buttons 2010-08-19 12:56:31 +00:00
yexo
7df9805233 (svn r20556) -Fix (r20555): a tempory copy/pasted line ended up in the commit 2010-08-19 11:36:12 +00:00
yexo
8204ad16f5 (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
134760a904 (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
9f3e6ca197 (svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI. 2010-08-13 07:34:28 +00:00
frosch
ba8d961664 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 2010-08-12 16:44:51 +00:00
frosch
2d5ef5e5a8 (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
4817d5dcd6 (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
341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
yexo
6fcdf71825 (svn r20293) -Doc: add more doxygen comments in ai_gui.cp 2010-08-01 22:08:29 +00:00
yexo
5642ef777e (svn r20292) -Codechange: remove some unused variables from AIConfigWindow 2010-08-01 22:03:55 +00:00
yexo
844e62546b (svn r20271) -Doc: add doxygen comments to several items under src/ai/ 2010-07-31 22:16:34 +00:00
alberth
a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
terkhen
67f32213b1 (svn r20141) -Fix: Initialize the state of OnKeyPress at the AI debug window (Zuu). 2010-07-14 12:03:30 +00:00
frosch
a5bea603ea (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
ee53807e51 (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
677f149b13 (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
0195074581 (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
08ec1074a8 (svn r19545) -Fix (r19544): typo 2010-04-02 17:43:25 +00:00
yexo
cdfe7f7834 (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
84e1093c65 (svn r19526) -Fix (r19395): clients would crash while connecting to a server with AIs 2010-03-30 22:37:45 +00:00
Yexo
25e5be2b51 (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
1ebaa68cd2 (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
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
yexo
e482d6d627 (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
8f55972a63 (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
a43a9e6307 (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