alberth
|
42714792dc
|
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
|
15 years ago |
alberth
|
a8e5d36868
|
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
|
15 years ago |
rubidium
|
39e6dbd5e3
|
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
|
15 years ago |
alberth
|
543b86307f
|
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
|
15 years ago |
smatz
|
8718babe90
|
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
|
15 years ago |
rubidium
|
34570f4e93
|
(svn r16842) -Cleanup: add some spaces around a few operators
|
15 years ago |
alberth
|
4458a1ec32
|
(svn r16840) -Codechange: Small merge in town directory widget content method.
|
15 years ago |
alberth
|
43ee12137b
|
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
|
15 years ago |
alberth
|
9cfbe11e3a
|
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
|
15 years ago |
alberth
|
4d577b8cc1
|
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
|
15 years ago |
alberth
|
14d5eb0427
|
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
|
15 years ago |
alberth
|
2509f55d87
|
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
|
15 years ago |
alberth
|
0365d15306
|
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
|
15 years ago |
alberth
|
0b66eb938f
|
(svn r16558) -Codechange: Switch found-town window to nested widgets.
|
16 years ago |
alberth
|
e47ca002d2
|
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
|
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
|
650cb3694e
|
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
|
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
|
0f30d27872
|
(svn r16049) -Codechange: Added nested widgets to town windows.
|
16 years ago |
alberth
|
26630d4870
|
(svn r16047) -Codechange: Extracting widget number enums from their window classes.
|
16 years ago |
alberth
|
bc960f7406
|
(svn r16043) -Codechange: Prepare town-view widgets for nesting.
|
16 years ago |
alberth
|
da83135dd4
|
(svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants.
|
16 years ago |
alberth
|
93c243a27f
|
(svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays.
|
16 years ago |
alberth
|
a71d7c7a61
|
(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo)
|
16 years ago |
alberth
|
bbd546b792
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
16 years ago |
rubidium
|
12f1abbce0
|
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
|
16 years ago |
rubidium
|
dcd5ad8b19
|
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
|
16 years ago |
rubidium
|
7f468dc142
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
16 years ago |
rubidium
|
c3e87f345d
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
frosch
|
b95fa2b7a3
|
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
|
16 years ago |
smatz
|
cb13180774
|
(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow
|
16 years ago |
smatz
|
b8438555df
|
(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN
|
16 years ago |
rubidium
|
a7693c6059
|
(svn r15425) -Codechange: some color->colour changes and type safety.
|
16 years ago |
smatz
|
801ff9c9ca
|
(svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window
|
16 years ago |
smatz
|
2806d7b0a0
|
(svn r15356) -Codechange: make PlaceProc_Town and some global variables a static function/variables of the scenedit window
|
16 years ago |
smatz
|
b42f87d245
|
(svn r15353) -Feature(tte): make it possible to have cities of various sizes
|
16 years ago |
smatz
|
f561fa2891
|
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
|
16 years ago |
smatz
|
e80255c4ae
|
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
|
16 years ago |
rubidium
|
a49197f522
|
(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
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
peter1138
|
b85389dca5
|
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
|
16 years ago |
peter1138
|
cb760eff4c
|
(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required.
|
16 years ago |
peter1138
|
9b9a0fed8d
|
(svn r15087) -Codechange: Less hardcoding of y positions in town authority window.
|
16 years ago |
frosch
|
eb6df17b1a
|
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
|
16 years ago |
smatz
|
b00e510140
|
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
|
16 years ago |
rubidium
|
e83cca7d13
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
16 years ago |
smatz
|
698f05e756
|
(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
-Codechange: rewrite parts of code responsible for caching index of nearest town
|
16 years ago |
rubidium
|
52ac592422
|
(svn r14528) -Codechange: cache the closest town for all road tiles instead of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
|
16 years ago |
rubidium
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
f56e630e5c
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
smatz
|
e543181b12
|
(svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies)
|
16 years ago |
smatz
|
ffa39caf3d
|
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
|
16 years ago |
rubidium
|
c816cc37fd
|
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
|
16 years ago |
belugas
|
7ef5369306
|
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
|
16 years ago |
rubidium
|
cde65455ac
|
(svn r13731) -Codechange: make a pool of the array of players.
|
16 years ago |
rubidium
|
6898a76c5f
|
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
|
16 years ago |
belugas
|
e9a1142e0d
|
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
|
16 years ago |
skidd13
|
96e898699c
|
(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls
|
17 years ago |
rubidium
|
e7a501100a
|
(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
|
33e18c236d
|
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
|
17 years ago |
peter1138
|
6c7e6861f8
|
(svn r13297) -Codechange: Use GUIList for the town directory window
|
17 years ago |
rubidium
|
dc77647ea4
|
(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 |
smatz
|
8d51e95c44
|
(svn r13244) -Fix: allow only one town directory window to be opened
|
17 years ago |
belugas
|
08671d2e78
|
(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 |
peter1138
|
cfc45e97ab
|
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
|
17 years ago |
belugas
|
47f1263fd8
|
(svn r13210) -Codechange: make town (previously named t) a private member of the different Town guis and assign it only once, at creation
|
17 years ago |
belugas
|
165df7420b
|
(svn r13209) -Codechange: Privatize what should be private.
|
17 years ago |
rubidium
|
162e2e074b
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
17 years ago |
peter1138
|
b9cfaa6637
|
(svn r13180) -Codechange: make a window class of the TownDirectoryWindow.
|
17 years ago |
smatz
|
1d9ad55eda
|
(svn r13176) -Fix (r13153): town window was glitchy while opening
|
17 years ago |
rubidium
|
4268afe340
|
(svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow.
|
17 years ago |
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 years ago |
rubidium
|
5b712cf81e
|
(svn r13113) -Codechange: make a class of the TownAuthorityWindow.
|
17 years ago |
rubidium
|
2c96ce4506
|
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
|
17 years ago |
rubidium
|
0f7d925121
|
(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
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
rubidium
|
c28ce39e3c
|
(svn r12987) -Codechange: split viewport and tile selection.
|
17 years ago |
rubidium
|
9db77e3808
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
17 years ago |
rubidium
|
1ce0b03bf0
|
(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 |
peter1138
|
78c0929b18
|
(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items.
|
17 years ago |
rubidium
|
51c7ba39a4
|
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
|
17 years ago |
rubidium
|
ca1f8fbe2e
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
belugas
|
aedde3ab4a
|
(svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one.
|
17 years ago |
belugas
|
bf1d42c23d
|
(svn r12705) -Codechange: enumification of some more widgets
|
17 years ago |
belugas
|
7e601e6bd2
|
(svn r12704) -Codechange: code style cleanup, mostly switch case alignment
|
17 years ago |
rubidium
|
672087ecf6
|
(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik.
|
17 years ago |
maedhros
|
75719795c9
|
(svn r12391) -Feature: Show whether a town is a "city" in the town description title bar.
|
17 years ago |
belugas
|
738491992a
|
(svn r12159) -Codechange: Enumify some widget magical numbers
-Cleanup: apply a bit of code style. Mostly re-indenting switch cases
|
17 years ago |
peter1138
|
04da1e1d45
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
17 years ago |
rubidium
|
9c0c798dd8
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
81bf9f8503
|
(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
|
00c9d3ef20
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
17 years ago |
rubidium
|
1f6043458c
|
(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
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
8427b8bad2
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |