Commit Graph

484 Commits (b2895dfcd056798bb82957a55394a941c61376f5)

Author SHA1 Message Date
frosch 69a62452be (svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow) 12 years ago
frosch 79a1e6450b (svn r24670) -Change: Drop 'signal density' from adv. settings GUI. It is more suited to be only changed via the signal GUI. 12 years ago
frosch c27a026d17 (svn r24669) -Fix: Auto-expand advanced settings only when selecting a 'deviation' filter. 12 years ago
yexo 73858a75b3 (svn r24650) -Fix (r24647, r24648): fixing logic errors is hard 12 years ago
yexo c4fa82adba (svn r24648) -Fix (r24647): svn diff != || 12 years ago
yexo 23054a3ab5 (svn r24647) -Feature: add new filter option to the advanced settings window to show only changed settings (Eagle_rainbow) 12 years ago
frosch d33439721c (svn r24633) -Add: Autoexpand the adv. settings tree, if a filter term is entered immediately after opening the window without any manual expanding/collapsing. 12 years ago
frosch 2d550a7579 (svn r24632) -Feature: Add text filtering to advanced settings. 12 years ago
frosch 716014c410 (svn r24631) -Feature: Add buttons to expand/collapse all to advanced settings GUI. 12 years ago
frosch 72fc771039 (svn r24590) -Feature: More options for the auto-scroll setting. (adf88) 12 years ago
yexo 5192155253 (svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro) 12 years ago
frosch cd867eb573 (svn r24411) -Add [FS#5244-ish]: Display the a setting type in the adv. settings description which explains the scope of changes to a particular setting. 12 years ago
frosch f7c9620271 (svn r24316) -Feature: Allow setting adv. settings with limited range using a dropdown list. 12 years ago
frosch 65f51240cd (svn r24313) -Fix: Some obiwans wrt. clicking on setting buttons. 12 years ago
frosch b71b4015a2 (svn r24311) -Add: DrawDropDownButton() to draw dropdown buttons independent of actual widgets. 12 years ago
frosch 056f779334 (svn r24310) -Codechange: Add named constants for the dimensions of settings buttons, and generally make their usage more consistent. 12 years ago
frosch 198de5397e (svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h 12 years ago
frosch f9df5f65c7 (svn r24298) -Feature: Display default values for adv. settings in the settings description. 12 years ago
frosch 09bdd4c773 (svn r24297) -Codechange: Split DParam-setup for drawing setting values to a separate function. 12 years ago
frosch 41c8df35db (svn r24296) -Codechange: No need to pass a member variable to a member function. 12 years ago
alberth 749041427b (svn r24239) -Add: Highlight setting that has its help text displayed. 12 years ago
alberth 0db235aa1d (svn r24237) -Feature: Descriptions explaining the meaning of advanced settings. 12 years ago
alberth 2dd71035d0 (svn r24236) -Add: Add code to retrieve help strings from the setting tree and compute max height. 12 years ago
alberth 34a11d4b8d (svn r24233) -Codechange: Rename 'val_str' to 'str_val' to better match with 'strval' in the ini files. 12 years ago
alberth 88224d001d (svn r24210) -Feature: Split the renew-months setting text in two string values (one before life time and one after). 12 years ago
alberth b5981bca90 (svn r24208) -Codechange: Cleanup in the drawing routine. 12 years ago
alberth 11f21917d6 (svn r24206) -Codechange: Move colouring of advanced setting options to the drawing code. 12 years ago
frosch e1fda49027 (svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so. 12 years ago
michi_cc 708d5b6712 (svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88) 12 years ago
frosch 161b6c348b (svn r24037) -Feature: Allow display of baseset textfiles. (LordAro) 12 years ago
frosch 45df862fb0 (svn r23775) -Change: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used. 13 years ago
frosch 69e197c87f (svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean settings. 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 561b25d031 (svn r23601) -Fix: fix the conflict in window number 13 years ago
truebrain e4887d4dc4 (svn r23551) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
truebrain 2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
truebrain df0afdf0dc (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
frosch 1ea449630d (svn r23497) -Add: Advanced display setting to control the linewidth in graphs. (ChillCore) 13 years ago
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
michi_cc d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 13 years ago
truebrain 9dde1287aa (svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend 13 years ago
truebrain cc12942d70 (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
peter1138 4e97261315 (svn r23314) -Add: Add settings to restrict viewport zoom levels. 13 years ago
truebrain 00db8b8008 (svn r23313) -Fix: economy.fund_buildings was not shown in the GUI 13 years ago
rubidium 0a4a75b0af (svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings) 13 years ago
rubidium b8866be093 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 13 years ago
rubidium 7fd1e1df81 (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 13 years ago
frosch c544dca519 (svn r22618) -Fix [FS#4653]: When changing difficulty settings over the network, do not just reopen the difficulty window if any game options window is opened; instead invalidate them properly. 13 years ago
frosch 1688470eb9 (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 13 years ago
frosch bfd09004fe (svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option. 13 years ago
terkhen 10caf391a1 (svn r22343) -Change: Remove pixel limiter for query strings. 13 years ago
frosch 338cc7874d (svn r22315) -Fix (r22314): Update comment as well. 13 years ago
frosch fa7c1d8a34 (svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list. 13 years ago
frosch 93276c1c03 (svn r22312) -Codechange: Add GameOptionsWindow::BuildDropDownList() for construction of all dropdown lists in the GameOptionsWindow.
-Change: Sort the items in the currency dropdown; separate the "Custom" item with a horizontal line from the rest.
-Change: Separate default and NewGRF-supplied townnames with a horizontal line and only sort them within these groups.
-Fix: Resize all dropdown lists in the GameOptionsWindow, so no text is truncated.
13 years ago
frosch ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
alberth 9fe65f93fe (svn r22210) -Add: Add a variable for the value strings in the settings tables. 13 years ago
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 14 years ago
planetmaker e145d632cd (svn r21984) -Fix: Compilation without AI was broken 14 years ago
terkhen a4b08dddd1 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 14 years ago
rubidium 0fe0225751 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 14 years ago
rubidium c85d350310 (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
rubidium 46b3d114a8 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 14 years ago
rubidium 4355231f67 (svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join 14 years ago
rubidium 4c5ca17486 (svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it 14 years ago
smatz 3057a26fd5 (svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium 62128e8263 (svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour 14 years ago
yexo 3ca65ab7b3 (svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object 14 years ago
glx aa7a587ca3 (svn r21680) -Fix (r21656): of course MSVC complains 14 years ago
planetmaker 6331923653 (svn r21656) -Fix [FS#4345] (r3722, r15301): Use a bool instead of uint8 to store a bool and use the dedicated accessor function when reading boolean settings (glx, rubidium) 14 years ago
rubidium c874040636 (svn r21557) -Change: close the query windows when changing the language as often the strings are partly translated, which causes trouble in some cases 14 years ago
rubidium e3b391249d (svn r21505) -Change: generalise the lost_train_warning setting to lost_vehicle_warning 14 years ago
alberth 997551c599 (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 14 years ago
rubidium df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 14 years ago
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 5a503d505b (svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo) 14 years ago
rubidium 19cbf9b479 (svn r21228) -Fix: some MSVC 64 bits warnings 14 years ago
rubidium 3136775bbe (svn r21220) -Codechange: give a string a much better name 14 years ago
rubidium a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 14 years ago
rubidium 8aba642ed5 (svn r21164) -Codechange: replace the hardcoded array of language metadata with a list 14 years ago
rubidium 68b94e61e0 (svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers 14 years ago
rubidium f4e4056aed (svn r21161) -Codechange: make the currently used language easier accessible 14 years ago
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
rubidium cab122efef (svn r21010) -Fix [FS#4102]: the detailed performance rating window would occasionally be too narrow. Based on a patch by Krille 14 years ago
yexo 9b5808a89d (svn r20727) -Fix [FS#4106]: compilation with --disable-ai was broken (cirdan) 14 years ago
rubidium 8fd9728e19 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch d496ec65b9 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 14 years ago
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
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.
14 years ago
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
yexo a3a24f4c68 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth 4203e641f8 (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
terkhen fa3d9d04d3 (svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely. 14 years ago
michi_cc a75583bbb6 (svn r20048) -Feature: Add a setting to forbid towns building level crossings. 14 years ago
frosch 475c2959bd (svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble. 14 years ago
terkhen b443a3ee0a (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 15 years ago
terkhen c958c2c31f (svn r19345) -Feature: Realistic acceleration for road vehicles. 15 years ago
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
rubidium 21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago
terkhen 52312ea17f (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
yexo fa01b25f74 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 15 years ago
peter1138 c83d57f228 (svn r18905) -Fix (r18902): Compile error on 64-bit with gcc 15 years ago
rubidium 299d405680 (svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work 15 years ago
rubidium 7ec3d9a0c6 (svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 069b6a9fab (svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses". 15 years ago
peter1138 739aea3e1a (svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen) 15 years ago
rubidium a8d6d18b22 (svn r18608) -Change: add the concept of music sets 15 years ago
alberth 5a083f183e (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
rubidium 5e2b7e0238 (svn r18522) -Feature: add the possibility to not make new tree tiles in-game 15 years ago
rubidium 0e78fdb54c (svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap) 15 years ago
rubidium a7beae8733 (svn r18363) -Feature: do not require advanced settings multistrings to start at 0 15 years ago
rubidium 1f0da3710f (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 6befa88d82 (svn r18285) -Feature: show the expected arrival/departure dates in the timetable window. Based on work by PhilSophus. 15 years ago
smatz f0c64208cf (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 14300d309c (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium e170c14cfd (svn r18197) -Codechange: make the advanced settings window RTL aware and more big font aware 15 years ago
rubidium da25f121ac (svn r18195) -Codechange: move the child padding calculation/handling to WWT_FRAME
-Fix (r18168): crash when switching languages when a non-standard font height is used
15 years ago
rubidium c24755c032 (svn r18189) -Codechange: remove some now unneeded strings 15 years ago
rubidium 64d65cc635 (svn r18187) -Codechange: make the advanced face selection, custom currency, difficulty, news settings, signal, sign and vehicle details window RTL aware (use the arrow widget) 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 15 years ago
alberth 44aacfc59f (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium 9771eb4037 (svn r17873) -Codechange: make the advanced settings window nested 15 years ago
rubidium ca0521f89f (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
rubidium d5d2354296 (svn r17790) -Feature: translatable base sound/graphics set descriptions 15 years ago
rubidium d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium c847f5c04e (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. 15 years ago
rubidium ac99610a05 (svn r17644) -Fix [FS#3219]: some inconsistencies with the difficulty settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor. 15 years ago
rubidium 2b61d49f30 (svn r17641) -Codechange: remove the {N:...} that's not needed anymore since the currency window is nested. 15 years ago
rubidium 02bf984273 (svn r17640) -Codechange: make the custom currency window nested 15 years ago
rubidium 862754d36d (svn r17639) -Codechange: let the difficulty settings GUI make really use the nested widget features 15 years ago
rubidium 025876aa25 (svn r17637) -Codechange: move the game difficulty window's window/widget description below the window class 15 years ago
rubidium 2080c0990c (svn r17636) -Codechange: make the difficulty setting window nested 15 years ago
rubidium 2049d60e34 (svn r17588) -Fix [FS#3220]: erroneous message about changing the difficulty level 15 years ago
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 1dfa38bb1f (svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers 15 years ago