yexo
|
698737f485
|
(svn r19198) -Codechange: store the size of stations in savegames
|
2010-02-22 14:17:07 +00:00 |
|
rubidium
|
9c02767a92
|
(svn r19119) -Fix [FS#3616]: removing towns (in the scenario editor) that had stations/depots refer to them or vehicles were on the town's road could cause a crash
|
2010-02-13 14:02:36 +00:00 |
|
frosch
|
88019e64e1
|
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
|
2010-01-30 18:34:48 +00:00 |
|
frosch
|
af50e0a4cf
|
(svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description.
|
2010-01-30 16:29:52 +00:00 |
|
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
|
rubidium
|
2b97f38cd1
|
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
|
2010-01-11 18:46:09 +00:00 |
|
rubidium
|
ebfdcf575d
|
(svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box
|
2009-12-31 18:12:10 +00:00 |
|
alberth
|
a87748df8a
|
(svn r18596) -Fix: Add padding to several town generation buttons and labels for nice and consistent layout.
|
2009-12-21 21:12:41 +00:00 |
|
alberth
|
91872aca48
|
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
|
2009-12-21 16:24:29 +00:00 |
|
alberth
|
5a083f183e
|
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
|
2009-12-20 20:08:39 +00:00 |
|
rubidium
|
ac4ef286f4
|
(svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable
|
2009-12-09 17:10:57 +00:00 |
|
frosch
|
9dd74395c8
|
(svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow.
|
2009-12-08 19:59:21 +00:00 |
|
frosch
|
7d905fae22
|
(svn r18416) -Fix (r15559): Only consider valid cargos in town GUI.
|
2009-12-06 16:15:58 +00:00 |
|
frosch
|
ae97bf029c
|
(svn r18328) -Codechange: Remove last usage of {SETX} from strings.
|
2009-11-28 20:15:16 +00:00 |
|
rubidium
|
293dfd7c3e
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
2009-11-28 14:42:35 +00:00 |
|
frosch
|
830231e2bd
|
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
|
2009-11-24 22:15:42 +00:00 |
|
smatz
|
f0c64208cf
|
(svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others)
|
2009-11-24 21:18:11 +00:00 |
|
rubidium
|
8d6e323ef8
|
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
|
2009-11-24 21:13:36 +00:00 |
|
rubidium
|
14300d309c
|
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
|
2009-11-24 18:05:55 +00:00 |
|
rubidium
|
69b6d9309a
|
(svn r18274) -Codechange: remove the unused WDF flags
|
2009-11-24 17:28:29 +00:00 |
|
rubidium
|
12f5032adf
|
(svn r18263) -Codechange: make the town views resizable
|
2009-11-23 21:34:33 +00:00 |
|
rubidium
|
4b555968c4
|
(svn r18255) -Codechange: make the town authority window big font aware
|
2009-11-23 14:04:03 +00:00 |
|
alberth
|
450e40b997
|
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
|
2009-11-22 18:28:14 +00:00 |
|
alberth
|
2b6f792513
|
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
|
2009-11-22 18:26:01 +00:00 |
|
rubidium
|
8b5a010f3a
|
(svn r18179) -Codechange: make the town authority window RTL aware
|
2009-11-19 10:56:14 +00:00 |
|
rubidium
|
5f2ddfbc5a
|
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
|
2009-11-17 19:16:48 +00:00 |
|
rubidium
|
626de6b128
|
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
|
2009-11-16 20:34:57 +00:00 |
|
rubidium
|
3d2d7af88f
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
2009-11-15 10:26:01 +00:00 |
|
frosch
|
ba1fc280e3
|
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
|
2009-11-07 22:47:54 +00:00 |
|
alberth
|
44aacfc59f
|
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
|
2009-10-31 19:46:51 +00:00 |
|
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.
|
2009-10-24 14:53:55 +00:00 |
|
rubidium
|
d1d35b95b6
|
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
|
2009-10-17 14:29:10 +00:00 |
|
rubidium
|
4ab569544b
|
(svn r17752) -Fix [FS#3231]: OSK could reset town name to an already used town name for the 'Generate Town' window
|
2009-10-10 12:47:04 +00:00 |
|
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
2009-10-04 17:16:41 +00:00 |
|
rubidium
|
09124e2186
|
(svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window wasn't updated properly (based on patch of Terkhen)
|
2009-09-27 10:44:25 +00:00 |
|
smatz
|
1da745c9ad
|
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
|
2009-09-22 13:54:54 +00:00 |
|
smatz
|
93d275f1be
|
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
|
2009-09-21 20:22:56 +00:00 |
|
smatz
|
15511678e3
|
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
|
2009-09-21 18:16:00 +00:00 |
|
alberth
|
bae15616f7
|
(svn r17587) -Codechange: Town authority window uses pure nested widgets.
|
2009-09-20 14:46:15 +00:00 |
|
alberth
|
46cd3ee944
|
(svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window.
|
2009-09-20 10:25:03 +00:00 |
|
alberth
|
17a52eb852
|
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
|
2009-09-20 10:08:10 +00:00 |
|
alberth
|
116c77c342
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
2009-09-19 11:31:12 +00:00 |
|
rubidium
|
9d7fe9bd86
|
(svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases
|
2009-09-19 10:19:15 +00:00 |
|
alberth
|
fa33b92b0f
|
(svn r17569) -Codechange: Town view window runs with nested widgets.
|
2009-09-18 19:59:05 +00:00 |
|
smatz
|
95dd198053
|
(svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject()
|
2009-09-14 20:40:07 +00:00 |
|
alberth
|
9fd22f727f
|
(svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well.
|
2009-09-05 11:27:28 +00:00 |
|
rubidium
|
900aedf270
|
(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers
|
2009-09-02 08:48:29 +00:00 |
|
smatz
|
352d07b1b5
|
(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns
|
2009-09-01 14:05:27 +00:00 |
|
rubidium
|
0d3ab7c72d
|
(svn r17323) -Codechange: replace some magic numbers with constants in the town directory.
|
2009-08-30 15:25:20 +00:00 |
|
rubidium
|
0007a599c3
|
(svn r17321) -Codechange: minor coding style fixes for the town directory
|
2009-08-30 14:39:59 +00:00 |
|
rubidium
|
aca7ba714a
|
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
|
2009-08-23 19:03:09 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
smatz
|
e707c82412
|
(svn r17131) -Codechange: apply coding style to some switch statements
|
2009-08-09 14:40:34 +00:00 |
|
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
|
alberth
|
e3033ee895
|
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
|
2009-07-25 11:54:53 +00:00 |
|
alberth
|
e5bfc5660d
|
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
|
2009-07-25 11:32:53 +00:00 |
|
rubidium
|
e3053660c6
|
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
|
2009-07-20 11:21:57 +00:00 |
|
alberth
|
36576371c0
|
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
|
2009-07-18 10:46:55 +00:00 |
|
smatz
|
1f29e38b83
|
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
|
2009-07-16 19:00:13 +00:00 |
|
rubidium
|
594070194f
|
(svn r16842) -Cleanup: add some spaces around a few operators
|
2009-07-16 10:13:33 +00:00 |
|
alberth
|
6767a59827
|
(svn r16840) -Codechange: Small merge in town directory widget content method.
|
2009-07-15 23:04:26 +00:00 |
|
alberth
|
d65c6cae54
|
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
|
2009-07-04 15:35:36 +00:00 |
|
alberth
|
2385aeae3c
|
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
|
2009-07-04 14:13:23 +00:00 |
|
alberth
|
527dd3dcf7
|
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
|
2009-07-03 22:25:59 +00:00 |
|
alberth
|
50ca187524
|
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
|
2009-07-03 21:38:41 +00:00 |
|
alberth
|
baab325b54
|
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
|
2009-06-28 22:23:26 +00:00 |
|
alberth
|
d5a42ee825
|
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
|
2009-06-28 21:23:37 +00:00 |
|
alberth
|
bc7e9514d2
|
(svn r16558) -Codechange: Switch found-town window to nested widgets.
|
2009-06-10 20:48:22 +00:00 |
|
alberth
|
19ccf6912c
|
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
|
2009-06-04 14:34:38 +00:00 |
|
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
2009-05-17 01:00:56 +00:00 |
|
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
|
rubidium
|
53887e07bb
|
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
|
2009-04-26 14:52:56 +00:00 |
|
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.
|
2009-04-21 23:40:56 +00:00 |
|
rubidium
|
329cabab4f
|
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
|
2009-04-19 10:31:30 +00:00 |
|
alberth
|
eaa98482e4
|
(svn r16049) -Codechange: Added nested widgets to town windows.
|
2009-04-12 19:30:47 +00:00 |
|
alberth
|
848404eea5
|
(svn r16047) -Codechange: Extracting widget number enums from their window classes.
|
2009-04-12 19:25:59 +00:00 |
|
alberth
|
f17d6df0a6
|
(svn r16043) -Codechange: Prepare town-view widgets for nesting.
|
2009-04-12 17:47:33 +00:00 |
|
alberth
|
d0f91fbea2
|
(svn r16040) -Codechange: Use coordinates from the widget for the town-view viewport instead of magic constants.
|
2009-04-12 15:30:16 +00:00 |
|
alberth
|
0196f06744
|
(svn r16039) -Codechange: Completing widget number enums of town windows and adding them as comment to the widget arrays.
|
2009-04-12 15:17:27 +00:00 |
|
alberth
|
e85e8ca4db
|
(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo)
|
2009-04-12 06:01:24 +00:00 |
|
alberth
|
9d2738b9c4
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
2009-03-29 09:49:11 +00:00 |
|
rubidium
|
57174a9301
|
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
|
2009-03-22 12:01:21 +00:00 |
|
rubidium
|
d837fc4d03
|
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
|
2009-03-21 23:45:34 +00:00 |
|
rubidium
|
f9def73be6
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
2009-03-15 15:12:06 +00:00 |
|
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
|
frosch
|
a987c7299b
|
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
|
2009-02-23 20:03:38 +00:00 |
|
smatz
|
42747e222c
|
(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow
|
2009-02-17 00:21:08 +00:00 |
|
smatz
|
0878541cf2
|
(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN
|
2009-02-16 23:23:33 +00:00 |
|
rubidium
|
8dae160d0f
|
(svn r15425) -Codechange: some color->colour changes and type safety.
|
2009-02-09 02:09:47 +00:00 |
|
smatz
|
6dff31d34b
|
(svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window
|
2009-02-05 16:51:23 +00:00 |
|
smatz
|
ef4282f8de
|
(svn r15356) -Codechange: make PlaceProc_Town and some global variables a static function/variables of the scenedit window
|
2009-02-05 15:59:40 +00:00 |
|
smatz
|
324b54132c
|
(svn r15353) -Feature(tte): make it possible to have cities of various sizes
|
2009-02-05 15:28:01 +00:00 |
|
smatz
|
aa692a99a9
|
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
|
2009-02-05 13:33:37 +00:00 |
|
smatz
|
df2a387fc3
|
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
|
2009-02-04 22:52:34 +00:00 |
|
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.
|
2009-02-04 16:45:07 +00:00 |
|
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
|
peter1138
|
481c2164d0
|
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
|
2009-01-19 12:07:01 +00:00 |
|
peter1138
|
1ee0c4caf4
|
(svn r15088) -Fix [FS#2536]: Resize company list in town authority window if required.
|
2009-01-15 12:50:59 +00:00 |
|
peter1138
|
4f4408f37e
|
(svn r15087) -Codechange: Less hardcoding of y positions in town authority window.
|
2009-01-15 12:36:24 +00:00 |
|
frosch
|
cf1e926e37
|
(svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker)
|
2009-01-07 17:40:17 +00:00 |
|