zuu
be8645e137
(svn r25383) -Fix (r25376): Remove now redundant menu entries for story book and goals
11 years ago
zuu
a724a9924b
(svn r25376) -Feature: Allow access to goal list and story book of other companies than your own
11 years ago
zuu
eaede14b8f
(svn r25372) -Add: Allow opening a goal list window specific to a company
11 years ago
zuu
8980cb427d
(svn r25369) -Add: allow opening a story window specific to a company
11 years ago
zuu
a2d84868e7
(svn r25344) -Feature: GUI for viewing story pages
11 years ago
frosch
3ff6d19238
(svn r25335) -Change: Revisit the map menu in scenario editor: Remove linkgraph legend, add industry list.
11 years ago
frosch
2547523c0f
(svn r25304) -Change: Move the GS goals window from the subsidies to the league menu.
11 years ago
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
11 years ago
frosch
8c4714ad90
(svn r25289) -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc.
11 years ago
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
11 years ago
rubidium
50ae992b47
(svn r25263) -Add: legend for linkgraph overlay (fonsinchen)
12 years ago
frosch
3ce8d2ce70
(svn r24846) -Add: Advanced settings to disable certain sound effects.
12 years ago
frosch
647ee0de64
(svn r24842) -Remove: News settings window.
12 years ago
frosch
04a24969ea
(svn r24806) -Feature [FS#3148]: Ask for confirmation before creating giant screenshots.
12 years ago
frosch
ff6880f9dd
(svn r24791) -Remove: Difficulty settings window.
12 years ago
alberth
fb892f4b20
(svn r24763) -Feature: Add industry type and cargo dropdown selection for easier navigating in the industry chain window.
12 years ago
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
rubidium
927734e6ce
(svn r24065) -Feature-ish [FS#5101]: debug option for showing the redrawn dirty blocks/rectangles
13 years ago
rubidium
e3c665a3cb
(svn r23985) -Fix [FS#5074]: inconsistent quit/abandon/exit game/scenario/editor strings
13 years ago
rubidium
2f49c9af85
(svn r23867) -Fix [FS#5020]: make the colour of the dropdown items for opening the vehicle list for which the company has no vehicles looking less horrid
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
167813aded
(svn r23696) -Fix (r23695): 5 <-> 6... today is not my day
13 years ago
rubidium
8b223f0274
(svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots
13 years ago
truebrain
3ada3b9cc5
(svn r23630) -Add: a Goal GUI to show your current goals
13 years ago
truebrain
5718c2e2e3
(svn r23607) -Add: wire GameScript in all the GUIs
13 years ago
frosch
4e4a87bd3c
(svn r23579) -Fix (r23525): Most up/down arrows stopped working.
13 years ago
rubidium
1470e41fe4
(svn r23548) -Codechange: unify and document toolbar widgets
13 years ago
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
truebrain
df0afdf0dc
(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
13 years ago
peter1138
e11c39b60b
(svn r23019) -Codechange: Support resized company colour icon in dropdown lists that use it.
13 years ago
planetmaker
3fb66890ee
(svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu)
13 years ago
planetmaker
b09c863e1c
(svn r22677) -Doc: A few doxygen sprinkles in toolbar_gui.cpp
13 years ago
planetmaker
3045c3fd2a
(svn r22675) -Change: Add a menu entry for the sprite bounding box debuging feature in the help menu and enable bounding boxes only in conjunction with the newgrf developer tools
13 years ago
alberth
9bc3d8861f
(svn r22514) -Feature: Save heightmap in scenario editor.
14 years ago
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
14 years ago
rubidium
1a515e6344
(svn r22405) -Document: some more "random-ish" tidbits
14 years ago
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
yexo
c7038d8b4d
(svn r22071) -Fix (r20075): some hotkey names in hotkey.cfg for the scenario editor toolbar were completely bogus
14 years ago
rubidium
bc3ce1e53b
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
4682434bc9
(svn r21867) -Codechange: move creating the rail type dropdown to a more general location
14 years ago
rubidium
2f6c840ebf
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
14 years ago
rubidium
b8c9988d9f
(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
6371b75bcc
(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
7ab524b048
(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
b22945350f
(svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game
14 years ago
alberth
366eaebc3e
(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
a61cdd719d
(svn r21591) -Codechange: Align case functions.
14 years ago
alberth
24aedc08da
(svn r21590) -Codechange: All click handling functions of the main toolbar return CBF_NONE.
14 years ago
alberth
35a8e91d01
(svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, introduce a ShowLandInfo() function.
14 years ago
rubidium
b6c2216749
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
planetmaker
c45d88ea6c
(svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu)
14 years ago
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
planetmaker
5565ae1ac0
(svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs
14 years ago
yexo
e5f1161edd
(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
12a7e2fde0
(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
532003504e
(svn r20807) -Codechange: don't clamp the width of the main toolbar to 640 pixels
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
56a263070f
(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
71ff3c4bb4
(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
0796ba3d26
(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
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
yexo
1ec328f725
(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
2828f36aa4
(svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't work in the scenario editor (jawsper)
14 years ago
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
yexo
6997637208
(svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor
14 years ago
yexo
19f86951d9
(svn r20073) -Feature: customizable hotkeys for the road toolbar
14 years ago
yexo
26be68ae98
(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
9b66684b81
(svn r20068) -Feature: customizable hotkeys for the rail toolbar
14 years ago
yexo
ddf11b7d3f
(svn r20065) -Feature: customizable hotkeys for the main toolbar
14 years ago
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
rubidium
062dd0e24c
(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
c72e2dde60
(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
2e90f7f8b9
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
15 years ago
peter1138
ef8deb2edd
(svn r19431) -Codechange: Append rail type speed limit (if set) to rail type selection list, and toolbar title.
15 years ago
terkhen
bf2c06bedb
(svn r19397) -Add: Enter the starting year at the scenario editor by clicking at the date panel.
15 years ago
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
15 years ago
terkhen
2329eacfe8
(svn r19076) -Codechange: Move graph functions to their own header.
15 years ago
terkhen
b9f06f3f29
(svn r19062) -Codechange: Move smallmap related functions to their own header.
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
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
ebe99fd493
(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
a6146f5f51
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
15 years ago
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
458c73aecb
(svn r18318) -Codechange: add an enum value for manual window placement
15 years ago
frosch
bdd0f8762d
(svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in dropdowns with company icon.
15 years ago
frosch
5c6b7fd88d
(svn r18307) -Fix: some coding style.
15 years ago
frosch
b4626547b5
(svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items.
15 years ago
frosch
a37ca47882
(svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT).
15 years ago
rubidium
bd39a3b4c4
(svn r18289) -Codechange: if using RTL draw the toolbar in the reverse direction so the buttons overlap 'nicely'
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
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
fb168e25ad
(svn r18261) -Codechange: center the company icons in the toolbar dropdowns
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
777d5ce12e
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
15 years ago
rubidium
0fc733f3a0
(svn r18165) -Codechange: make company dropdowns RTL aware
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
95af4f40f3
(svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel
15 years ago
rubidium
aeb9f8e715
(svn r18092) -Codechange: remove support for the unnested widgets
15 years ago
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
cbeba59fc2
(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
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
rubidium
7f8a062f3f
(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
1000445382
(svn r17985) -Codechange: make the toolbar container support non-resizable widgets and subclassing of itself.
15 years ago
rubidium
8678730ce3
(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
32b568a7e9
(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
b2946819e4
(svn r17970) -Codechange: some coding style / improvement of constant usage
15 years ago
rubidium
fd29b7b526
(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
090c762921
(svn r17938) -Feature: non-automatic screenshot name can be entered in console
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
2b7d09b73e
(svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar button
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
15511678e3
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
15 years ago
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
frosch
734edc178d
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
alberth
118d5e9fac
(svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor did not raise again.
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
rubidium
36a28fe3d2
(svn r16951) -Change: order the strings in the options dropdown slightly more logical
15 years ago
rubidium
65d4d8b46c
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
15 years ago
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
smatz
da57fe63f3
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
16 years ago
smatz
af07333c78
(svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open
16 years ago
smatz
10d1ef5447
(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
rubidium
bdbbe3a09b
(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
2664f2a2d9
(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
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
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
glx
9fcff01850
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
16 years ago
rubidium
93fe44a3c5
(svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier.
16 years ago
rubidium
8a758beec3
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
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
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
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
peter1138
3728df8323
(svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label.
16 years ago
rubidium
8dae160d0f
(svn r15425) -Codechange: some color->colour changes and type safety.
16 years ago
rubidium
861e9cefb3
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
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
rubidium
7da743a0dc
(svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
glx
a92f472714
(svn r15254) -Fix (r15242): of course MSVC requires a cast
16 years ago
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago