Commit Graph

659 Commits

Author SHA1 Message Date
frosch 9bce12a0ce (svn r24859) -Codechange: Make the dropdown handling of the adv. settings GUI more generic. 2012-12-26 17:42:29 +00:00
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 2012-12-23 21:09:09 +00:00
frosch 345c3203d7 (svn r24845) -Add: News ticker sound setting to adv. settings window. 2012-12-23 21:08:42 +00:00
frosch bc84f30fc1 (svn r24844) -Add: News display settings to adv. settings window. 2012-12-23 21:08:02 +00:00
frosch 74ad6012ca (svn r24793) -Change: Move script opcodes setting from Economy to AI settings. 2012-12-05 19:39:48 +00:00
frosch 6bb43a6561 (svn r24792) -Add: Readd difficulty settings to advanced settings unless they are already present in other settings windows. 2012-12-05 19:38:44 +00:00
frosch ff6880f9dd (svn r24791) -Remove: Difficulty settings window. 2012-12-05 19:37:15 +00:00
frosch d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 2012-12-05 19:36:41 +00:00
frosch 812ae4140a (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 2012-12-05 19:36:04 +00:00
frosch 22dc45738d (svn r24787) -Fix: Unify checks for editability of settings. 2012-12-05 19:35:09 +00:00
frosch 5b2da98ca3 (svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow) 2012-12-05 19:34:25 +00:00
alberth 732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 2012-12-01 13:12:39 +00:00
frosch c283a41248 (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. 2012-11-14 22:50:39 +00:00
frosch f5d8ba5d7f (svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead. 2012-11-14 22:50:35 +00:00
frosch 6e6d94a2d1 (svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString. 2012-11-14 22:50:26 +00:00
frosch f6d4200f86 (svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor. 2012-11-14 22:50:17 +00:00
frosch 2c22fe98dd (svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged. 2012-11-13 21:47:07 +00:00
frosch c4d7c8dd42 (svn r24733) -Codechange: Move handling of editbox keys to window class. 2012-11-13 21:47:02 +00:00
frosch 6d1fe626f5 (svn r24729) -Codechange: Unify the handling of HEBR_EDITING. 2012-11-13 21:46:46 +00:00
frosch 336fcbc50e (svn r24728) -Codechange: Unify usage of OnOSKInput. 2012-11-13 21:46:40 +00:00
frosch 137adb3496 (svn r24726) -Codechange: Move editbox mouseloop handling to Window class. 2012-11-13 21:46:33 +00:00
frosch 17025fa6ea (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. 2012-11-13 21:46:19 +00:00
frosch 03736af2ae (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 2012-11-11 16:10:43 +00:00
michi_cc 2c171f2f29 (svn r24675) -Fix (r24632): MSVC performance warning. 2012-11-08 21:46:54 +00:00
frosch dc930b6689 (svn r24672) -Add [FS#5356]: Remember the basic/advanced/expert filter selection. 2012-11-08 11:20:32 +00:00
frosch 69a62452be (svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow) 2012-11-08 10:04:00 +00:00
frosch 79a1e6450b (svn r24670) -Change: Drop 'signal density' from adv. settings GUI. It is more suited to be only changed via the signal GUI. 2012-11-08 10:02:09 +00:00
frosch c27a026d17 (svn r24669) -Fix: Auto-expand advanced settings only when selecting a 'deviation' filter. 2012-11-08 09:58:37 +00:00
yexo 73858a75b3 (svn r24650) -Fix (r24647, r24648): fixing logic errors is hard 2012-10-29 20:23:17 +00:00
yexo c4fa82adba (svn r24648) -Fix (r24647): svn diff != || 2012-10-29 20:08:30 +00:00
yexo 23054a3ab5 (svn r24647) -Feature: add new filter option to the advanced settings window to show only changed settings (Eagle_rainbow) 2012-10-29 19:53:13 +00:00
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. 2012-10-27 15:26:34 +00:00
frosch 2d550a7579 (svn r24632) -Feature: Add text filtering to advanced settings. 2012-10-27 15:26:17 +00:00
frosch 716014c410 (svn r24631) -Feature: Add buttons to expand/collapse all to advanced settings GUI. 2012-10-27 15:25:57 +00:00
frosch 72fc771039 (svn r24590) -Feature: More options for the auto-scroll setting. (adf88) 2012-10-13 09:16:20 +00:00
yexo 5192155253 (svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro) 2012-08-13 18:52:47 +00:00
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. 2012-07-17 20:18:18 +00:00
frosch f7c9620271 (svn r24316) -Feature: Allow setting adv. settings with limited range using a dropdown list. 2012-06-01 15:19:38 +00:00
frosch 65f51240cd (svn r24313) -Fix: Some obiwans wrt. clicking on setting buttons. 2012-06-01 15:08:40 +00:00
frosch b71b4015a2 (svn r24311) -Add: DrawDropDownButton() to draw dropdown buttons independent of actual widgets. 2012-06-01 14:41:47 +00:00
frosch 056f779334 (svn r24310) -Codechange: Add named constants for the dimensions of settings buttons, and generally make their usage more consistent. 2012-06-01 14:41:09 +00:00
frosch 198de5397e (svn r24309) -Codechange: Split some functions from gui.h to settings_gui.h 2012-06-01 10:44:45 +00:00
frosch f9df5f65c7 (svn r24298) -Feature: Display default values for adv. settings in the settings description. 2012-05-28 13:34:46 +00:00
frosch 09bdd4c773 (svn r24297) -Codechange: Split DParam-setup for drawing setting values to a separate function. 2012-05-28 13:32:38 +00:00
frosch 41c8df35db (svn r24296) -Codechange: No need to pass a member variable to a member function. 2012-05-28 13:29:05 +00:00
alberth 749041427b (svn r24239) -Add: Highlight setting that has its help text displayed. 2012-05-12 10:17:20 +00:00
alberth 0db235aa1d (svn r24237) -Feature: Descriptions explaining the meaning of advanced settings. 2012-05-12 10:13:03 +00:00
alberth 2dd71035d0 (svn r24236) -Add: Add code to retrieve help strings from the setting tree and compute max height. 2012-05-12 10:11:41 +00:00
alberth 34a11d4b8d (svn r24233) -Codechange: Rename 'val_str' to 'str_val' to better match with 'strval' in the ini files. 2012-05-12 10:07:18 +00:00
alberth 88224d001d (svn r24210) -Feature: Split the renew-months setting text in two string values (one before life time and one after). 2012-05-06 15:03:45 +00:00
alberth b5981bca90 (svn r24208) -Codechange: Cleanup in the drawing routine. 2012-05-06 14:59:26 +00:00
alberth 11f21917d6 (svn r24206) -Codechange: Move colouring of advanced setting options to the drawing code. 2012-05-06 14:56:13 +00:00
frosch e1fda49027 (svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so. 2012-05-01 15:53:51 +00:00
michi_cc 708d5b6712 (svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88) 2012-04-17 19:43:29 +00:00
frosch 161b6c348b (svn r24037) -Feature: Allow display of baseset textfiles. (LordAro) 2012-03-17 15:45:37 +00:00
frosch 45df862fb0 (svn r23775) -Change: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used. 2012-01-08 16:58:10 +00:00
frosch 69e197c87f (svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean settings. 2012-01-05 19:32:51 +00:00
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
truebrain 561b25d031 (svn r23601) -Fix: fix the conflict in window number 2011-12-19 20:50:21 +00:00
truebrain e4887d4dc4 (svn r23551) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:27:50 +00:00
truebrain 2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
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
2011-12-15 19:54:23 +00:00
frosch 1ea449630d (svn r23497) -Add: Advanced display setting to control the linewidth in graphs. (ChillCore) 2011-12-11 15:55:31 +00:00
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 2011-12-10 13:54:10 +00:00
michi_cc d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 2011-12-03 23:40:46 +00:00
truebrain 9dde1287aa (svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend 2011-12-01 12:04:22 +00:00
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 2011-12-01 12:03:34 +00:00
peter1138 4e97261315 (svn r23314) -Add: Add settings to restrict viewport zoom levels. 2011-11-24 12:20:14 +00:00
truebrain 00db8b8008 (svn r23313) -Fix: economy.fund_buildings was not shown in the GUI 2011-11-23 21:23:41 +00:00
rubidium 0a4a75b0af (svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings) 2011-11-20 11:52:11 +00:00
rubidium b8866be093 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 2011-11-19 22:15:44 +00:00
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 2011-11-12 13:00:29 +00:00
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. 2011-07-02 12:58:37 +00:00
frosch 1688470eb9 (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 2011-07-02 12:49:44 +00:00
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. 2011-05-03 20:30:26 +00:00
terkhen 10caf391a1 (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch 338cc7874d (svn r22315) -Fix (r22314): Update comment as well. 2011-04-10 16:10:06 +00:00
frosch fa7c1d8a34 (svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list. 2011-04-10 16:08:14 +00:00
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.
2011-04-10 15:30:08 +00:00
frosch ec9540a12a (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
alberth 9fe65f93fe (svn r22210) -Add: Add a variable for the value strings in the settings tables. 2011-03-06 15:51:44 +00:00
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 2011-03-05 11:16:44 +00:00
planetmaker e145d632cd (svn r21984) -Fix: Compilation without AI was broken 2011-02-05 19:36:02 +00:00
terkhen a4b08dddd1 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 2011-02-05 13:46:09 +00:00
rubidium 0fe0225751 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 2011-02-04 16:40:38 +00:00
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
2011-02-04 15:40:35 +00:00
rubidium 46b3d114a8 (svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting 2011-02-04 15:37:23 +00:00
rubidium 4355231f67 (svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join 2011-02-04 15:29:50 +00:00
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 2011-02-04 15:13:20 +00:00
smatz 3057a26fd5 (svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year 2011-02-04 14:11:14 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium 62128e8263 (svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour 2011-01-16 21:10:41 +00:00
yexo 3ca65ab7b3 (svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object 2011-01-02 00:34:21 +00:00
glx aa7a587ca3 (svn r21680) -Fix (r21656): of course MSVC complains 2010-12-31 16:13:34 +00:00
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) 2010-12-29 13:32:35 +00:00
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 2010-12-21 10:06:21 +00:00
rubidium e3b391249d (svn r21505) -Change: generalise the lost_train_warning setting to lost_vehicle_warning 2010-12-13 21:53:23 +00:00
alberth 997551c599 (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 2010-12-11 15:14:28 +00:00
rubidium df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 2010-12-07 21:08:08 +00:00
alberth f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium 5a503d505b (svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo) 2010-11-18 14:01:20 +00:00
rubidium 19cbf9b479 (svn r21228) -Fix: some MSVC 64 bits warnings 2010-11-17 19:43:15 +00:00
rubidium 3136775bbe (svn r21220) -Codechange: give a string a much better name 2010-11-17 17:52:10 +00:00
rubidium a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 2010-11-13 23:40:36 +00:00
rubidium 8aba642ed5 (svn r21164) -Codechange: replace the hardcoded array of language metadata with a list 2010-11-13 12:09:30 +00:00
rubidium 68b94e61e0 (svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers 2010-11-13 11:38:01 +00:00
rubidium f4e4056aed (svn r21161) -Codechange: make the currently used language easier accessible 2010-11-13 11:25:58 +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
rubidium cab122efef (svn r21010) -Fix [FS#4102]: the detailed performance rating window would occasionally be too narrow. Based on a patch by Krille 2010-10-22 16:33:07 +00:00
yexo 9b5808a89d (svn r20727) -Fix [FS#4106]: compilation with --disable-ai was broken (cirdan) 2010-09-03 20:32:33 +00:00
rubidium 8fd9728e19 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 2010-08-28 18:37:49 +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
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 a3a24f4c68 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 2010-08-05 12:09:08 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +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 fa3d9d04d3 (svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely. 2010-07-14 15:08:31 +00:00
michi_cc a75583bbb6 (svn r20048) -Feature: Add a setting to forbid towns building level crossings. 2010-07-02 16:34:07 +00:00
frosch 475c2959bd (svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble. 2010-03-21 15:16:05 +00:00
terkhen b443a3ee0a (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 2010-03-06 12:58:33 +00:00
terkhen c958c2c31f (svn r19345) -Feature: Realistic acceleration for road vehicles. 2010-03-06 12:56:57 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
rubidium 21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 2010-02-10 16:24:05 +00:00
terkhen 52312ea17f (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 2010-02-08 23:46:35 +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 fa01b25f74 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 2010-01-28 22:34:14 +00:00
peter1138 c83d57f228 (svn r18905) -Fix (r18902): Compile error on 64-bit with gcc 2010-01-23 22:25:00 +00:00
rubidium 299d405680 (svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work 2010-01-23 19:33:18 +00:00
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 2010-01-21 23:19:50 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
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". 2010-01-03 21:29:20 +00:00
peter1138 739aea3e1a (svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen) 2009-12-31 10:41:03 +00:00
rubidium a8d6d18b22 (svn r18608) -Change: add the concept of music sets 2009-12-22 21:40: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 5e2b7e0238 (svn r18522) -Feature: add the possibility to not make new tree tiles in-game 2009-12-17 16:59:33 +00:00
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) 2009-12-13 19:33:07 +00:00
rubidium a7beae8733 (svn r18363) -Feature: do not require advanced settings multistrings to start at 0 2009-12-01 22:27:12 +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
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium 6befa88d82 (svn r18285) -Feature: show the expected arrival/departure dates in the timetable window. Based on work by PhilSophus. 2009-11-25 16:17:06 +00:00
smatz f0c64208cf (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 2009-11-24 21:18:11 +00:00
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium 14300d309c (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium e170c14cfd (svn r18197) -Codechange: make the advanced settings window RTL aware and more big font aware 2009-11-20 14:52:55 +00:00
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
2009-11-19 22:49:04 +00:00
rubidium c24755c032 (svn r18189) -Codechange: remove some now unneeded strings 2009-11-19 18:08:35 +00:00
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) 2009-11-19 17:57:27 +00:00
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
alberth 44aacfc59f (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium 9771eb4037 (svn r17873) -Codechange: make the advanced settings window nested 2009-10-25 21:18:12 +00:00
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. 2009-10-24 14:53:55 +00:00
rubidium d5d2354296 (svn r17790) -Feature: translatable base sound/graphics set descriptions 2009-10-17 20:34:09 +00:00
rubidium d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
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. 2009-09-30 21:07:54 +00:00
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. 2009-09-26 17:43:06 +00:00
rubidium 2b61d49f30 (svn r17641) -Codechange: remove the {N:...} that's not needed anymore since the currency window is nested. 2009-09-26 10:06:48 +00:00
rubidium 02bf984273 (svn r17640) -Codechange: make the custom currency window nested 2009-09-26 10:01:53 +00:00
rubidium 862754d36d (svn r17639) -Codechange: let the difficulty settings GUI make really use the nested widget features 2009-09-26 08:30:02 +00:00
rubidium 025876aa25 (svn r17637) -Codechange: move the game difficulty window's window/widget description below the window class 2009-09-25 19:42:57 +00:00
rubidium 2080c0990c (svn r17636) -Codechange: make the difficulty setting window nested 2009-09-25 19:36:09 +00:00
rubidium 2049d60e34 (svn r17588) -Fix [FS#3220]: erroneous message about changing the difficulty level 2009-09-20 17:19:45 +00:00
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 2009-09-19 11:31:12 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
rubidium 1dfa38bb1f (svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers 2009-09-02 08:28:50 +00:00
rubidium b841250913 (svn r17272) -Fix [FS#3115]: game options window sub frames wouldn't resize when another did 2009-08-23 19:22:33 +00:00
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 2fd1b000e5 (svn r17241) -Change: make a distinction between missing and corrupted data files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files. 2009-08-20 17:02:44 +00:00
rubidium 3108ff7ac6 (svn r17167) -Fix: don't resize the 'base grf status' text part in the game options window when there is no base graphics set that misses files. 2009-08-13 19:54:18 +00:00
rubidium 9ee2a66c86 (svn r17139) -Change: add the concept of sound sets 2009-08-09 19:50:44 +00:00
rubidium 35d5a197d6 (svn r17138) -Fix: some MSVC 64 bits compiler warnings 2009-08-09 19:06:35 +00:00
rubidium f118932643 (svn r17133) -Codechange: generalise the code that searches for base graphics 2009-08-09 16:54:03 +00:00
smatz e707c82412 (svn r17131) -Codechange: apply coding style to some switch statements 2009-08-09 14:40:34 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
frosch 55e07d0606 (svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window. 2009-07-25 15:58:48 +00:00
rubidium 96cc9c2de1 (svn r16954) -Codechange: make the Game Options window use the nested widget system. 2009-07-25 15:10:52 +00:00
rubidium e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 2009-07-23 19:31:50 +00:00
rubidium cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
rubidium 8c17c6cb2b (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 2009-07-18 08:41:58 +00:00
rubidium 594070194f (svn r16842) -Cleanup: add some spaces around a few operators 2009-07-16 10:13:33 +00:00
rubidium e067d4a4b8 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 2009-07-13 22:33:25 +00:00
rubidium 24305a68ee (svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive". 2009-07-10 16:32:12 +00:00
alberth 058bb5d6c3 (svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change. 2009-06-28 20:09:40 +00:00
alberth 9b070b5405 (svn r16677) -Codechange: Dimension width and height are unsigned. 2009-06-27 20:53:45 +00:00
yexo c7bd6c8d34 (svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
2009-06-21 13:26:30 +00:00
rubidium 0eaec8edca (svn r16474) -Fix [FS#2933]: could set company related settings via query window 2009-05-31 09:31:56 +00:00
yexo 279746236b (svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games 2009-05-26 12:53:34 +00:00
yexo a10e5f707a (svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies. 2009-05-26 11:40:14 +00:00
smatz 10d1ef5447 (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead 2009-05-22 15:23:47 +00:00
frosch 5507a5b233 (svn r16342) -Feature(tte): Display base graphics description in game options window. 2009-05-17 18:21:21 +00:00
yexo 31eff1d4c3 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 2009-05-15 23:55:06 +00:00
rubidium 5f81ba886c (svn r16297) -Codechange: silence more ICC warnings 2009-05-13 17:39:00 +00:00
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 2009-04-26 14:52:56 +00:00
alberth d0655084e0 (svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows. 2009-04-26 07:43:19 +00:00
rubidium 802d31aab6 (svn r16144) -Fix (r16129): setting the custom digit grouping separator required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators. 2009-04-25 20:16:56 +00:00
alberth 55336c4a9d (svn r16142) -Codechange: Use widgets in the custom currency window. 2009-04-25 17:51:10 +00:00
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
alberth a2a2b183a5 (svn r16082) -Codechange: Completed the widget numbers of the advanced settings window. 2009-04-18 15:31:49 +00:00
rubidium 5790293af6 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 2009-04-12 14:11:14 +00:00
alberth 9d2738b9c4 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00
yexo e02d31cd3a (svn r15874) -Codechange: New widgets for the game options window. 2009-03-28 11:17:38 +00:00
yexo e701019992 (svn r15868) -Codechange: remove the close box from the widget array instead of doing it in the constructor of the difficulty window. This makes it work again in rtl languages. 2009-03-28 02:54:40 +00:00
yexo 4a4ee9fb37 (svn r15866) -Codechange: New widgets for the difficulty window. 2009-03-28 02:11:41 +00:00
rubidium 716fa8b501 (svn r15840) -Codechange: complete the game option window widget enum and unify the naming. 2009-03-25 00:08:47 +00:00
yexo 84fb615344 (svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible. 2009-03-24 20:03:02 +00:00
yexo b61a681f02 (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 2009-03-23 00:08:59 +00:00
rubidium 9038733f1a (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 2009-03-22 14:39:20 +00:00
rubidium f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
rubidium 9003641095 (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
rubidium 45f189fdca (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium 7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
2009-03-02 22:57:47 +00:00
yexo 2860399397 (svn r15570) -Fix: Too long strings in the advanced settings window are now truncated. 2009-02-24 22:23:47 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium 986224519a (svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling. 2009-02-08 17:46:08 +00:00
peter1138 748d4d2fb9 (svn r15412) -Fix: Clearing custom engine names could cause desyncs due to be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented. 2009-02-08 12:58:14 +00:00
rubidium 377ce6c5bf (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 2009-02-08 12:25:13 +00:00
peter1138 967491a22d (svn r15389) -Feature: Add ability to select which base graphics set is used from the Game Options window. The change takes effect when the window is closed. This option can only be used from the intro menu, as reloading graphics during a game may cause issues. 2009-02-07 01:01:02 +00:00
smatz 832e392855 (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-04 20:17:25 +00:00
rubidium 09fca459a7 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 2009-02-04 16:09:16 +00:00
peter1138 6899955b0c (svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40. 2009-01-31 21:27:36 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
peter1138 c57f5ed668 (svn r15238) -Fix (r15236): Missed a file 2009-01-23 21:05:25 +00:00
Yexo db3ee34b44 (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 2009-01-21 02:31:55 +00:00
Yexo 8fabd3982d (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 2009-01-19 01:16:50 +00:00
truebrain a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
rubidium 7947e78daa (svn r14999) -Change [FS#2523]: move service at helipad to the servicing options 2009-01-12 00:06:22 +00:00
rubidium f6f6f15604 (svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered 2009-01-10 19:48:11 +00:00
rubidium 238c0a5d1f (svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window 2009-01-10 19:22:05 +00:00
rubidium 496f6aed3c (svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth) 2009-01-10 17:35:19 +00:00
rubidium 8e42e20ebe (svn r14973) -Codechange: recursively fold subpages (Alberth) 2009-01-10 17:27:11 +00:00
rubidium 7039c84c6a (svn r14970) -Change: move all (patch) settings to a single "page" (Alberth) 2009-01-10 17:14:59 +00:00
rubidium 8ad56c4229 (svn r14969) -Codechange: make drawing trees possible (Alberth) 2009-01-10 17:13:41 +00:00
rubidium 52108959c9 (svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth) 2009-01-10 16:51:27 +00:00
rubidium d6d8411a5f (svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth) 2009-01-10 16:49:30 +00:00
rubidium eec72275f1 (svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth) 2009-01-10 16:46:10 +00:00
rubidium 1fbc41f1fd (svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth) 2009-01-10 16:44:51 +00:00
rubidium 6a359a586b (svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth) 2009-01-10 16:42:28 +00:00
rubidium 32d5369675 (svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages 2009-01-10 16:39:18 +00:00
rubidium 850e45b1f1 (svn r14961) -Update: remove the string from r14960 from the other languages too. 2009-01-10 16:29:31 +00:00
rubidium 3f1da12faf (svn r14960) -Codechange: add some this where appropriate (Alberth) 2009-01-10 16:26:17 +00:00
rubidium b26cee21f6 (svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling 2009-01-09 19:34:05 +00:00
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 2009-01-08 16:35:45 +00:00
frosch cf1e926e37 (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 2009-01-07 17:40:17 +00:00
rubidium 84dee1e738 (svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-07 16:11:27 +00:00
rubidium 9888afd6d0 (svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value. 2009-01-07 08:26:09 +00:00
smatz ec7244d971 (svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated 2009-01-04 20:41:32 +00:00
rubidium c9e8fd307e (svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai) 2009-01-04 14:51:49 +00:00
glx 502607410e (svn r14816) -Fix: signed/unsigned warnings (MSVC) 2009-01-03 19:39:22 +00:00
smatz 09cd9a8017 (svn r14815) -Codechange: separate 'highscore' code from 'company' code 2009-01-03 18:44:20 +00:00
rubidium 18b27692aa (svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth) 2009-01-03 11:24:27 +00:00
rubidium fcee426b80 (svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth) 2009-01-03 11:07:43 +00:00
rubidium d9bc99658b (svn r14798) -Codechange: move variable declaration to first use of variable (Alberth) 2009-01-03 11:03:53 +00:00
rubidium 489584b85e (svn r14797) -Codechange: replace even more magic numbers with constants (Alberth) 2009-01-03 11:00:40 +00:00
rubidium c3954f2e38 (svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth) 2009-01-03 10:56:38 +00:00
rubidium 6913ae5a5f (svn r14795) -Codechange: replace a magic number with a constant (Alberth) 2009-01-03 10:53:49 +00:00
rubidium 8ff93c2c14 (svn r14794) -Document: a few functions/variables (Alberth) 2009-01-03 10:52:22 +00:00
rubidium 35f5783c62 (svn r14792) -Feature: make the date format for default savegame/screenshot names configurable 2009-01-03 00:58:59 +00:00
rubidium 1357b0a4c2 (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) 2009-01-02 22:42:05 +00:00
rubidium 31d496342f (svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type. 2008-12-29 15:46:14 +00:00
rubidium 683b65ee18 (svn r14755) -Codechange: remove ending year as it can't be changed anyways. 2008-12-28 16:09:58 +00:00
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 2008-12-28 14:37:19 +00:00
rubidium 64c973ccc5 (svn r14658) -Change: allow changing town names when there are no towns in the scenario yet. 2008-12-05 22:46:39 +00:00
peter1138 ca5ed4b2cc (svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick) 2008-11-23 12:35:02 +00:00
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00
rubidium e9f5a19544 (svn r14462) -Codechange: replace magic number with already existing constant (Albert) 2008-10-13 03:40:48 +00:00
frosch c20c3be91d (svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'. 2008-09-28 15:42:15 +00:00
rubidium 6a931d67cd (svn r14390) -Codechange: replace magic constants with symbolic constants. 2008-09-23 15:24:15 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
peter1138 2cb555ed11 (svn r14018) -Fix (r14017): Typos prevented compilation. 2008-08-08 06:02:06 +00:00
belugas ef22740ccb (svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button 2008-08-08 03:37:00 +00:00
rubidium 60006ad24c (svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc) 2008-08-02 22:49:23 +00:00
rubidium df99103a31 (svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc) 2008-08-02 22:47:34 +00:00
belugas 69671d3aef (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 2008-08-01 03:43:53 +00:00
belugas 10f450e2d4 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 2008-07-31 17:45:52 +00:00
rubidium ab234cf90c (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-17 13:47:04 +00:00
frosch ecc5d648df (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 2008-06-28 15:44:24 +00:00
smatz fee2adb299 (svn r13618) -Codechange: move tar-specific declarations to separate file
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +00:00
smatz 2299181c4b (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 2008-06-16 19:38:41 +00:00
rubidium 9e811a2f8b (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 2008-06-05 11:26:38 +00:00
rubidium d58080fd44 (svn r13335) -Fix: remove rogue (debugging) printf. 2008-05-29 21:35:49 +00:00
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
rubidium cd8e589fa9 (svn r13256) -Codechange: merge the OPTS and PATS chuncks.
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
2008-05-26 00:31:36 +00:00
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 2008-05-25 22:36:44 +00:00
rubidium 4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
rubidium 5fa0946c08 (svn r13242) -Codechange: remove _opt_ptr. 2008-05-25 12:57:39 +00:00
belugas fc35ad9ee9 (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots),  Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-05-24 02:54:47 +00:00