truebrain
045546d3a1
(svn r23551) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
49e88dcbf0
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
truebrain
da63ce43fa
(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
91843ef9ad
(svn r23497) -Add: Advanced display setting to control the linewidth in graphs. (ChillCore)
13 years ago
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
13 years ago
michi_cc
fc8633e1ac
(svn r23415) -Feature: Infrastructure maintenance costs.
13 years ago
truebrain
36c06f639a
(svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend
13 years ago
truebrain
bf803e40cc
(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
782aee3c2a
(svn r23314) -Add: Add settings to restrict viewport zoom levels.
13 years ago
truebrain
76f6bd8cfd
(svn r23313) -Fix: economy.fund_buildings was not shown in the GUI
13 years ago
rubidium
1713d1ad3e
(svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings)
13 years ago
rubidium
c591589818
(svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent
13 years ago
rubidium
33d71b45fe
(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
9a5f813b6d
(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
1322d59aaa
(svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
13 years ago
frosch
ad541cb188
(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.
14 years ago
terkhen
a88fe7c2aa
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
frosch
d819caa8cb
(svn r22315) -Fix (r22314): Update comment as well.
14 years ago
frosch
9a43108ae9
(svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list.
14 years ago
frosch
e0c7c872e2
(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.
14 years ago
frosch
4b4a40a72e
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
alberth
a7e7e76f7f
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
14 years ago
rubidium
2a7912d415
(svn r22198) -Codechange: make some constants name more explicit
14 years ago
planetmaker
871f80bda8
(svn r21984) -Fix: Compilation without AI was broken
14 years ago
terkhen
67ce7c5c41
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
14 years ago
rubidium
088223e058
(svn r21962) -Feature-ish: GUI setting to disable reversing at signals
14 years ago
rubidium
fd7633def5
(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
7086bb3017
(svn r21959) -Change: replace longbridges with custom maximum bridge and tunnel length setting
14 years ago
rubidium
8ee493b6e9
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
14 years ago
rubidium
c0f39415b9
(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
4aa45d8742
(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
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
79c908d6f3
(svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour
14 years ago
yexo
8ae90addd6
(svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object
14 years ago
glx
3da0c86304
(svn r21680) -Fix (r21656): of course MSVC complains
14 years ago
planetmaker
bb07f9a3aa
(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
cd2d0f1ec1
(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
2d661c3e84
(svn r21505) -Change: generalise the lost_train_warning setting to lost_vehicle_warning
14 years ago
alberth
f2a59e197c
(svn r21467) -Doc: Add a few doxygen comments to config file settings code.
14 years ago
rubidium
7bed9deb4f
(svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused
14 years ago
alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
034d106179
(svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo)
14 years ago
rubidium
4958bf44d9
(svn r21228) -Fix: some MSVC 64 bits warnings
14 years ago
rubidium
5db8964fbf
(svn r21220) -Codechange: give a string a much better name
14 years ago
rubidium
9bdf6a36f4
(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
9c792914f0
(svn r21164) -Codechange: replace the hardcoded array of language metadata with a list
14 years ago
rubidium
97735fca1e
(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers
14 years ago
rubidium
7c754ca125
(svn r21161) -Codechange: make the currently used language easier accessible
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
rubidium
b89b3c960b
(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
9d5e02a3fa
(svn r20727) -Fix [FS#4106]: compilation with --disable-ai was broken (cirdan)
14 years ago
rubidium
4ad5ef5c43
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
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
c8d8c996c2
(svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ)
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
a50578c3ad
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
terkhen
6154b346e3
(svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely.
14 years ago
michi_cc
a8c6eaeb4a
(svn r20048) -Feature: Add a setting to forbid towns building level crossings.
14 years ago
frosch
a2bf2bfa87
(svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble.
15 years ago
terkhen
f78a386b87
(svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%.
15 years ago
terkhen
e6878d7ba1
(svn r19345) -Feature: Realistic acceleration for road vehicles.
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
rubidium
1c494c6f71
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
15 years ago
terkhen
ad0b94ae44
(svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth).
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
yexo
06d4f3a0f2
(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes
15 years ago
peter1138
52c576936f
(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc
15 years ago
rubidium
8e22ed6bdb
(svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work
15 years ago
rubidium
aa29299d05
(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
9467b7c6d6
(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
f99c8b3f21
(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
a70af30250
(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
42d7f30dcc
(svn r18608) -Change: add the concept of music sets
15 years ago
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
6baaea23de
(svn r18522) -Feature: add the possibility to not make new tree tiles in-game
15 years ago
rubidium
5d6df7a8fd
(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
501d2ba0d8
(svn r18363) -Feature: do not require advanced settings multistrings to start at 0
15 years ago
rubidium
21f2acfd01
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
15 years ago
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
dea921ad62
(svn r18285) -Feature: show the expected arrival/departure dates in the timetable window. Based on work by PhilSophus.
15 years ago
smatz
f7466979b9
(svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others)
15 years ago
rubidium
ab417c6c06
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
15 years ago
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
alberth
8139a8d96f
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
15 years ago
rubidium
5b3e6b2c8a
(svn r18197) -Codechange: make the advanced settings window RTL aware and more big font aware
15 years ago
rubidium
bea622be02
(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
e89df4a68d
(svn r18189) -Codechange: remove some now unneeded strings
15 years ago
rubidium
646757adee
(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
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
rubidium
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
224f4e0197
(svn r18028) -Codechange: unglobalise some functions
15 years ago
alberth
5a97b64d73
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
rubidium
c23503659f
(svn r17873) -Codechange: make the advanced settings window nested
15 years ago
rubidium
c1365b3cc1
(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
0ee61a16ef
(svn r17790) -Feature: translatable base sound/graphics set descriptions
15 years ago
rubidium
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
0855ae61de
(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
27ef5b3255
(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
b324b108d5
(svn r17641) -Codechange: remove the {N:...} that's not needed anymore since the currency window is nested.
15 years ago
rubidium
3fc51649eb
(svn r17640) -Codechange: make the custom currency window nested
15 years ago
rubidium
040d433cff
(svn r17639) -Codechange: let the difficulty settings GUI make really use the nested widget features
15 years ago
rubidium
918607cccd
(svn r17637) -Codechange: move the game difficulty window's window/widget description below the window class
15 years ago
rubidium
623cc13672
(svn r17636) -Codechange: make the difficulty setting window nested
15 years ago
rubidium
7f92151e41
(svn r17588) -Fix [FS#3220]: erroneous message about changing the difficulty level
15 years ago
alberth
d54028fde8
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
1f3f5a8a83
(svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers
15 years ago
rubidium
0f6384ccee
(svn r17272) -Fix [FS#3115]: game options window sub frames wouldn't resize when another did
15 years ago
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
11f4973cf6
(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.
15 years ago
rubidium
9c77b0ce5d
(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.
15 years ago
rubidium
93493827b6
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
dcea681cbb
(svn r17138) -Fix: some MSVC 64 bits compiler warnings
15 years ago
rubidium
cdb969e164
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
smatz
073e163b7f
(svn r17131) -Codechange: apply coding style to some switch statements
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
5bb7b8ad35
(svn r17062) -Change: unify the naming of some 125 strings
15 years ago
frosch
1969cbd6e8
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
15 years ago
rubidium
f49259326d
(svn r16954) -Codechange: make the Game Options window use the nested widget system.
15 years ago
rubidium
4874578e79
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
rubidium
6435dc89fe
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
b4f5a1eebb
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
rubidium
34570f4e93
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
rubidium
79deeee323
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
rubidium
62f770a5fc
(svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive".
15 years ago
alberth
194701b27a
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
15 years ago
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
yexo
679ffee940
(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
16 years ago
rubidium
b7dfc3aa0b
(svn r16474) -Fix [FS#2933]: could set company related settings via query window
16 years ago
yexo
272722f12f
(svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games
16 years ago
yexo
7eb9ad0415
(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.
16 years ago
smatz
d6e203ebe2
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
frosch
3f9fa18671
(svn r16342) -Feature(tte): Display base graphics description in game options window.
16 years ago
yexo
d489f93473
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
rubidium
08655368eb
(svn r16297) -Codechange: silence more ICC warnings
16 years ago
rubidium
650cb3694e
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
alberth
a429cd8810
(svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows.
16 years ago
rubidium
f64e9ce4a1
(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.
16 years ago
alberth
6e951ec614
(svn r16142) -Codechange: Use widgets in the custom currency window.
16 years ago
rubidium
5c5b357043
(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.
16 years ago