Commit Graph

135 Commits (e067db6821ad5345fb6b57249ff0d612730ccf0d)

Author SHA1 Message Date
frosch 85c4d4e531 (svn r22616) -Codechange: Fix typo. 13 years ago
frosch 4ea00f2390 (svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection. 14 years ago
yexo 1171fdc889 (svn r22499) -Fix: don't lower the arrow buttons in the newgrf/AI parameter windows if they're clicked when disabled 14 years ago
frosch 7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 14 years ago
frosch 7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 14 years ago
rubidium 2c1555b13c (svn r22396) -Document: some AI doxygen stuff 14 years ago
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. 14 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 14 years ago
frosch 8c8349d5da (svn r22249) -Codechange: Process some more invalidation of IDs during command scope. 14 years ago
frosch 2a4c4ab528 (svn r22248) -Codechange: Make OnInvalidateData() process 'delete this;' already in command scope. 14 years ago
frosch 91a29a6bef (svn r22243) -Codechange: Make AIDebugWindow::OnInvalidateData() handle command-/GUI-scope itself. 14 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
yexo b6680625d3 (svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 846721b375 (svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs 14 years ago
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 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
frosch cb2b666229 (svn r20951) -Codechange: Add SmallMap::Contains() and use it. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
yexo 3c5923a62f (svn r20604) -Feature: add a reset button to the newgrf parameters window 14 years ago
rubidium 92c7418e96 (svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI 14 years ago
yexo a4fbfa268b (svn r20558) -Codechange: use one generic function to create a list of company buttons 14 years ago
yexo 7df9805233 (svn r20556) -Fix (r20555): a tempory copy/pasted line ended up in the commit 14 years ago
yexo 8204ad16f5 (svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows 14 years ago
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.
14 years ago
frosch 9f3e6ca197 (svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI. 14 years ago
frosch ba8d961664 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
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.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
yexo 6fcdf71825 (svn r20293) -Doc: add more doxygen comments in ai_gui.cp 14 years ago
yexo 5642ef777e (svn r20292) -Codechange: remove some unused variables from AIConfigWindow 14 years ago
yexo 844e62546b (svn r20271) -Doc: add doxygen comments to several items under src/ai/ 14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
terkhen 67f32213b1 (svn r20141) -Fix: Initialize the state of OnKeyPress at the AI debug window (Zuu). 14 years ago
frosch a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 15 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 15 years ago
yexo 677f149b13 (svn r19772) -Fix [FS#3818]: the break-on-log-message feature could trigger an assert (Zuu) 15 years ago
yexo 0195074581 (svn r19548) -Add: Client setting 'gui.ai_developer_tools' to enable the break on AI string 15 years ago
yexo 08ec1074a8 (svn r19545) -Fix (r19544): typo 15 years ago
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) 15 years ago
rubidium 84e1093c65 (svn r19526) -Fix (r19395): clients would crash while connecting to a server with AIs 15 years ago
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 15 years ago
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 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
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
15 years ago
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 15 years ago
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 15 years ago