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.
15 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
rubidium
b841250913
(svn r17272) -Fix [FS#3115]: game options window sub frames wouldn't resize when another did
15 years ago
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
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.
15 years ago
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.
15 years ago
rubidium
9ee2a66c86
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
35d5a197d6
(svn r17138) -Fix: some MSVC 64 bits compiler warnings
15 years ago
rubidium
f118932643
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
smatz
e707c82412
(svn r17131) -Codechange: apply coding style to some switch statements
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
4b2592dbc0
(svn r17062) -Change: unify the naming of some 125 strings
15 years ago
frosch
55e07d0606
(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
96cc9c2de1
(svn r16954) -Codechange: make the Game Options window use the nested widget system.
15 years ago
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
rubidium
cb0409fe52
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
8c17c6cb2b
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
rubidium
594070194f
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
rubidium
e067d4a4b8
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
rubidium
24305a68ee
(svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive".
15 years ago
alberth
058bb5d6c3
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
15 years ago
alberth
9b070b5405
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
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
16 years ago
rubidium
0eaec8edca
(svn r16474) -Fix [FS#2933]: could set company related settings via query window
16 years ago
yexo
279746236b
(svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games
16 years ago
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.
16 years ago
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
frosch
5507a5b233
(svn r16342) -Feature(tte): Display base graphics description in game options window.
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
16 years ago
rubidium
53887e07bb
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
16 years ago
alberth
d0655084e0
(svn r16152) -Codechange: Added nested widgets for advanced settings and for custom currency windows.
16 years ago
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.
16 years ago
alberth
55336c4a9d
(svn r16142) -Codechange: Use widgets in the custom currency window.
16 years ago
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.
16 years ago
alberth
a2a2b183a5
(svn r16082) -Codechange: Completed the widget numbers of the advanced settings window.
16 years ago
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.
16 years ago
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
yexo
e02d31cd3a
(svn r15874) -Codechange: New widgets for the game options window.
16 years ago
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.
16 years ago
yexo
4a4ee9fb37
(svn r15866) -Codechange: New widgets for the difficulty window.
16 years ago
rubidium
716fa8b501
(svn r15840) -Codechange: complete the game option window widget enum and unify the naming.
16 years ago
yexo
84fb615344
(svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible.
16 years ago
yexo
b61a681f02
(svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN.
16 years ago
rubidium
9038733f1a
(svn r15812) -Codechange: use the new DrawString API in another set of GUIs
16 years ago
rubidium
f11300d1f9
(svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API
16 years ago
rubidium
9003641095
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
16 years ago
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
16 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
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.
16 years ago
yexo
2860399397
(svn r15570) -Fix: Too long strings in the advanced settings window are now truncated.
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
986224519a
(svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling.
16 years ago
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.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
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.
16 years ago
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
16 years ago
rubidium
09fca459a7
(svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command.
16 years ago
peter1138
6899955b0c
(svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
peter1138
c57f5ed668
(svn r15238) -Fix (r15236): Missed a file
16 years ago
Yexo
db3ee34b44
(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.
16 years ago
Yexo
8fabd3982d
(svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused.
16 years ago
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
16 years ago
rubidium
7947e78daa
(svn r14999) -Change [FS#2523]: move service at helipad to the servicing options
16 years ago
rubidium
f6f6f15604
(svn r14980) -Change: shuffle around some more settings to make them more logically grouped/ordered
16 years ago
rubidium
238c0a5d1f
(svn r14978) -Codechange: simplify the control flow of the OnClick of the settings window
16 years ago
rubidium
496f6aed3c
(svn r14974) -Change: reorder/reorganise the entries of the settings window (Alberth)
16 years ago
rubidium
8e42e20ebe
(svn r14973) -Codechange: recursively fold subpages (Alberth)
16 years ago
rubidium
7039c84c6a
(svn r14970) -Change: move all (patch) settings to a single "page" (Alberth)
16 years ago
rubidium
8ad56c4229
(svn r14969) -Codechange: make drawing trees possible (Alberth)
16 years ago
rubidium
52108959c9
(svn r14967) -Codechange: split the drawing of the window into several smaller functions (Alberth)
16 years ago
rubidium
d6d8411a5f
(svn r14966) -Codechange: simplify and generalise finding patch entries (Alberth)
16 years ago
rubidium
eec72275f1
(svn r14965) -Codechange: remember the patch entry instead of the page and index of the entry for handling the "input box" (Alberth)
16 years ago
rubidium
1fbc41f1fd
(svn r14964) -Codechange: hide the length of a patch page behind a function (Alberth)
16 years ago
rubidium
6a359a586b
(svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth)
16 years ago
rubidium
32d5369675
(svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages
16 years ago
rubidium
850e45b1f1
(svn r14961) -Update: remove the string from r14960 from the other languages too.
16 years ago
rubidium
3f1da12faf
(svn r14960) -Codechange: add some this where appropriate (Alberth)
16 years ago
rubidium
b26cee21f6
(svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling
16 years ago
rubidium
c8c61e36bd
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
16 years ago
frosch
cf1e926e37
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
16 years ago
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.
16 years ago
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.
16 years ago
smatz
ec7244d971
(svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated
16 years ago
rubidium
c9e8fd307e
(svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai)
16 years ago
glx
502607410e
(svn r14816) -Fix: signed/unsigned warnings (MSVC)
16 years ago
smatz
09cd9a8017
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
16 years ago
rubidium
18b27692aa
(svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth)
16 years ago
rubidium
fcee426b80
(svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth)
16 years ago
rubidium
d9bc99658b
(svn r14798) -Codechange: move variable declaration to first use of variable (Alberth)
16 years ago
rubidium
489584b85e
(svn r14797) -Codechange: replace even more magic numbers with constants (Alberth)
16 years ago
rubidium
c3954f2e38
(svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth)
16 years ago
rubidium
6913ae5a5f
(svn r14795) -Codechange: replace a magic number with a constant (Alberth)
16 years ago
rubidium
8ff93c2c14
(svn r14794) -Document: a few functions/variables (Alberth)
16 years ago
rubidium
35f5783c62
(svn r14792) -Feature: make the date format for default savegame/screenshot names configurable
16 years ago
rubidium
1357b0a4c2
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
16 years ago
rubidium
31d496342f
(svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type.
16 years ago
rubidium
683b65ee18
(svn r14755) -Codechange: remove ending year as it can't be changed anyways.
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
64c973ccc5
(svn r14658) -Change: allow changing town names when there are no towns in the scenario yet.
16 years ago
peter1138
ca5ed4b2cc
(svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick)
16 years ago
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
rubidium
e9f5a19544
(svn r14462) -Codechange: replace magic number with already existing constant (Albert)
16 years ago
frosch
c20c3be91d
(svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'.
16 years ago
rubidium
6a931d67cd
(svn r14390) -Codechange: replace magic constants with symbolic constants.
16 years ago
smatz
606f4defdc
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
16 years ago
peter1138
2cb555ed11
(svn r14018) -Fix (r14017): Typos prevented compilation.
16 years ago
belugas
ef22740ccb
(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button
16 years ago
rubidium
60006ad24c
(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc)
16 years ago
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
16 years ago
belugas
69671d3aef
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
16 years ago
belugas
10f450e2d4
(svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis.
16 years ago
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'.
16 years ago
frosch
ecc5d648df
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
16 years ago
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
smatz
2299181c4b
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
17 years ago
rubidium
9e811a2f8b
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
17 years ago
rubidium
d58080fd44
(svn r13335) -Fix: remove rogue (debugging) printf.
17 years ago
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.
17 years ago
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.
17 years ago
rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
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.
17 years ago
rubidium
5fa0946c08
(svn r13242) -Codechange: remove _opt_ptr.
17 years ago
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
17 years ago
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
2e25df3ddf
(svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp.
17 years ago
rubidium
fc7e8100e1
(svn r13158) -Codechange: make a class of the GameOptionsWindow.
17 years ago
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
17 years ago
rubidium
b84adf1d89
(svn r13112) -Codechange: make classes of the patches and custom currency windows.
17 years ago
glx
534bf5b402
(svn r13097) -Codechange: make a class of the GameDifficultyWindow.
17 years ago
rubidium
f23026cce8
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
17 years ago
rubidium
f438700402
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
17 years ago
rubidium
2eef026fe3
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
17 years ago
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
17 years ago
rubidium
e6c944a6c4
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
belugas
cdd22af5a1
(svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values.
17 years ago
peter1138
a00371c8db
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
17 years ago
rubidium
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
17 years ago
rubidium
5992dad01f
(svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
...
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
17 years ago
smatz
febc5150c9
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
17 years ago
rubidium
ef2be7d0fc
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
rubidium
2edd403656
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
17 years ago
peter1138
926f5d548d
(svn r12293) -Feature: Ability to change aircraft speed factor, from so
...
called 'realistic' (matching other vehicles) (1/1) to original TTD
speed (1/4). Note this option defaults to original TTD speed.
17 years ago
peter1138
a0fda5b969
(svn r12175) -Fix (r12174): Ensure the patches window is centred properly.
17 years ago
peter1138
b3f304cde3
(svn r12174) -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists.
17 years ago
smatz
507728f46b
(svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
17 years ago
glx
e2de86f951
(svn r12087) -Fix: MSVC warnings
17 years ago
glx
b68f398cac
(svn r12080) -Fix: update waypoint signs when changing language
17 years ago
maedhros
21eef65e77
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
17 years ago
skidd13
4991dcecc7
(svn r11978) -Codechange: Replace some global variables with window owned ones
17 years ago
peter1138
ad54075acc
(svn r11902) -Codechange: use new dropdown widget for game options window
17 years ago
glx
3d61a1adc5
(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown
17 years ago
glx
69c18efdca
(svn r11886) -Add: sort the strings in languages dropdown
17 years ago
peter1138
bc438a3033
(svn r11884) -Cleanup: leftover use of widget numbers instead of enum
17 years ago
peter1138
e4c05f8d78
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago
rubidium
acc7c9eb01
(svn r11771) -Codechange: split settings.h into better separated headers.
17 years ago
belugas
23fab42b2f
(svn r11754) -Fix(r11753): One too much command separator (;). Thanks glx for spotting
17 years ago
belugas
c59ea520a7
(svn r11753) -Codechange: re-indent the switch case structures, as to be more code style oriented.
...
Hoping it makes the whole file easier to follow/read
17 years ago
belugas
b0ef12e0e9
(svn r11752) -Fix(r11745): Silence a MSVC warning (glx)
17 years ago
belugas
8f94ac8f03
(svn r11751) -Codechange: Enumify some widgets (and others) and while at it, apply some code style
17 years ago
skidd13
ade37de6c6
(svn r11745) -Codechange: Unify the spinner widget drawing of the difficulty settings window and make its disabled state min max aware.
17 years ago
belugas
3dd61f423a
(svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
...
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed.
As for the reason it did not work, each computer/OS has its reason.
17 years ago
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
skidd13
59d6c5e157
(svn r11698) -Change: Make the abort/accept process of the difficulty window a bit less confusing
...
-Change: Make the highscore button in the difficulty window a bit more obvious
-Codechange: Enumify the window-widgets of the difficulty window
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
17 years ago
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
17 years ago
rubidium
d582aea639
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
17 years ago
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
17 years ago
rubidium
ff7ff890f9
(svn r11646) -Codechange: check whether (some) characters are missing in the current 'font' for the 'currently' chosen language and give a warning when that does happen.
17 years ago
rubidium
ec90ce7e98
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
17 years ago
rubidium
527b72749d
(svn r11555) -Codechange: use the new members introduced in r11551.
17 years ago
rubidium
08ab4e1850
(svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB.
17 years ago
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
skidd13
eeaa348f8b
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
17 years ago