terkhen
a88fe7c2aa
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
frosch
4b4a40a72e
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
yexo
30f55a402c
(svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus
14 years ago
rubidium
cb2c7f871f
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
9ff9e1d1ca
(svn r21867) -Codechange: move creating the rail type dropdown to a more general location
14 years ago
rubidium
95e0695e02
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
14 years ago
rubidium
abc1828d30
(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available
14 years ago
rubidium
dc94c94599
(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
14 years ago
rubidium
21a134983e
(svn r21817) -Change: only show rail/road types that will eventually be available in-game. For example don't show trams when there is no tram NewGRF loaded
14 years ago
yexo
b6680625d3
(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
14 years ago
alberth
628820de39
(svn r21592) -Codechange: Return unique values for placing a sign and land-info querying, store the callback information locally, and use it instead of the global _place_proc.
14 years ago
alberth
4a500d24fb
(svn r21591) -Codechange: Align case functions.
14 years ago
alberth
bf5aea4898
(svn r21590) -Codechange: All click handling functions of the main toolbar return CBF_NONE.
14 years ago
alberth
03aa5395ac
(svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, introduce a ShowLandInfo() function.
14 years ago
rubidium
c7066d00af
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
planetmaker
5ea8947a0c
(svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu)
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
planetmaker
98de280343
(svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs
14 years ago
yexo
f1c4ac2c40
(svn r21054) -Fix [FS#4188] (r19397): scenario starting year was not set correctly when changed by clicking on the date panel and entering a new value
14 years ago
frosch
0571d871d4
(svn r20962) -Fix [FS#4166](r20956): Determine tile under cursor before opening the new viewport. It might appear just below the cursor.
14 years ago
yexo
fee8c84de9
(svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
0318ddc279
(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all
14 years ago
michi_cc
38d9d87434
(svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi)
14 years ago
michi_cc
901a526f8c
(svn r20507) -Change: Remove the shortcut hints from the screenshot menu strings (as they're configurable now) and rename "Giant screenshot" to "Whole map screenshot".
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
yexo
f357bf9674
(svn r20201) -Feature [FS#3926]: add several new hotkeys to the global hotkey list and to the order windows. None of them has a default keybinding.
14 years ago
yexo
cafe07dde8
(svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't work in the scenario editor (jawsper)
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
yexo
721a62e12e
(svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor
14 years ago
yexo
1e05ef9480
(svn r20073) -Feature: customizable hotkeys for the road toolbar
14 years ago
yexo
d96aa7abfa
(svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
...
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
14 years ago
yexo
df1a47daf7
(svn r20068) -Feature: customizable hotkeys for the rail toolbar
14 years ago
yexo
2105d5e187
(svn r20065) -Feature: customizable hotkeys for the main toolbar
14 years ago
alberth
c2a871d10b
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
rubidium
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
738e71af4a
(svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets.
15 years ago
frosch
a4413f4cf6
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
15 years ago
peter1138
bbfc0a49e5
(svn r19431) -Codechange: Append rail type speed limit (if set) to rail type selection list, and toolbar title.
15 years ago
terkhen
23e2cffebd
(svn r19397) -Add: Enter the starting year at the scenario editor by clicking at the date panel.
15 years ago
alberth
e3b24801e2
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
terkhen
01f8bc2578
(svn r19076) -Codechange: Move graph functions to their own header.
15 years ago
terkhen
c39a4b22aa
(svn r19062) -Codechange: Move smallmap related functions to their own header.
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
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
7f1bf45c03
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
15 years ago
rubidium
0da7a4dc91
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
15 years ago
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
fedb593293
(svn r18318) -Codechange: add an enum value for manual window placement
15 years ago
frosch
119638793b
(svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in dropdowns with company icon.
15 years ago
frosch
7900d30c2c
(svn r18307) -Fix: some coding style.
15 years ago
frosch
fb10e6a19e
(svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items.
15 years ago
frosch
372aa6ff5f
(svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT).
15 years ago
rubidium
a14d00c478
(svn r18289) -Codechange: if using RTL draw the toolbar in the reverse direction so the buttons overlap 'nicely'
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
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
919691da86
(svn r18261) -Codechange: center the company icons in the toolbar dropdowns
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
75e513d5b5
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
15 years ago
rubidium
8e24df4d45
(svn r18165) -Codechange: make company dropdowns RTL aware
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
d4cbcc145b
(svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel
15 years ago
rubidium
1f6f15a126
(svn r18092) -Codechange: remove support for the unnested widgets
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
2396f693a2
(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
15 years ago
rubidium
b2d7edddfa
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
rubidium
6be5448536
(svn r17986) -Codechange: make the scenario 'main' toolbar nested. Also make it implement the 'switch' toolbar feature when it gets really small.
15 years ago
rubidium
c4c6ed7df0
(svn r17985) -Codechange: make the toolbar container support non-resizable widgets and subclassing of itself.
15 years ago
rubidium
752c4e30c5
(svn r17973) -Fix: 'save' toolbar button didn't change when clicking it
...
-Fix: wrong widgets (e.g. finances and company) could be visually disabled, based on the state of the zoom in/out buttons. However, they were still clickable
-Codechange: make the main toolbar a nested window
15 years ago
rubidium
9fc2e8d269
(svn r17971) -Codechange: make the code of the toolbar more uniform; give the switch bar a tooltip and unify the naming of sprites.
15 years ago
rubidium
c3243891a4
(svn r17970) -Codechange: some coding style / improvement of constant usage
15 years ago
rubidium
f6e661a3d0
(svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing
15 years ago
smatz
a80f582a8a
(svn r17938) -Feature: non-automatic screenshot name can be entered in console
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
24dbdac0ac
(svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar button
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
13437a998e
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
15 years ago
smatz
f85b8c4e09
(svn r17596) -Codechange: constify some tables
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
frosch
263952f557
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
alberth
9c6d5f155a
(svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor did not raise again.
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
rubidium
e6c1f389fc
(svn r16951) -Change: order the strings in the options dropdown slightly more logical
15 years ago
rubidium
37cd0ef443
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
15 years ago
rubidium
4874578e79
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
smatz
61e668929f
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
16 years ago
smatz
72165d32c8
(svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open
16 years ago
smatz
d6e203ebe2
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
f08ff3e707
(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios.
16 years ago
rubidium
241af768f0
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
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
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
alberth
bbd546b792
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
glx
583c756679
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
16 years ago