smatz
cf54bc425f
(svn r23706) -Codechange: prevent 'unknown command' doxygen errors
2012-01-01 17:36:19 +00:00
truebrain
733516639d
(svn r23534) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 16:39:48 +00:00
truebrain
49e88dcbf0
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
2011-12-15 22:22:55 +00:00
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
truebrain
da63ce43fa
(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
2011-12-15 19:54:23 +00:00
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
frosch
930c6c7779
(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18.
2011-11-08 17:26:13 +00:00
frosch
6365d92776
(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts.
2011-11-08 17:24:43 +00:00
frosch
c6783955aa
(svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour.
2011-08-06 13:56:27 +00:00
frosch
e43d74c438
(svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour.
2011-07-03 14:49:19 +00:00
frosch
e7971ab5df
(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
2011-07-03 13:49:29 +00:00
frosch
7b251297c9
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
2011-05-06 21:13:29 +00:00
frosch
7cc3d3e143
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
2011-05-04 17:45:16 +00:00
terkhen
a88fe7c2aa
(svn r22343) -Change: Remove pixel limiter for query strings.
2011-04-17 18:42:17 +00:00
frosch
db3a8d1abf
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
2011-03-13 21:34:21 +00:00
frosch
4b4a40a72e
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
2011-03-13 21:31:29 +00:00
frosch
1a14c133c6
(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-03-08 20:52:59 +00:00
alberth
8c3041b3c9
(svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density.
2011-02-06 18:26:50 +00:00
alberth
f838069a44
(svn r22000) -Codechange: Introduce an enum for the industry density setting.
2011-02-06 18:11:39 +00:00
alberth
ad2049848a
(svn r21927) -Change: Comment-style fixes.
2011-01-30 12:58:54 +00:00
rubidium
54c0dec6aa
(svn r21909) -Fix: some missing spaces
2011-01-26 08:14:36 +00:00
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
alberth
fdf0be0da8
(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.
2010-12-30 13:16:31 +00:00
alberth
7d989073d4
(svn r21627) -Codechange: Remove _place_proc global variable.
2010-12-24 15:08:19 +00:00
rubidium
004b2b6001
(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed
2010-12-12 14:14:26 +00:00
terkhen
3524d55c6a
(svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window.
2010-12-04 22:54:11 +00:00
terkhen
64c200a25e
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
2010-11-27 22:52:12 +00:00
terkhen
6352166908
(svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name.
2010-11-27 22:42:24 +00:00
alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
alberth
063931d435
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
2010-10-30 17:51:07 +00:00
alberth
42f6245a31
(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille).
2010-10-23 20:51:48 +00:00
alberth
f502c82fa5
(svn r21019) -Add: Use center of industry to focus on in the industry gui.
2010-10-23 20:34:12 +00:00
planetmaker
310de59b0f
(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small
2010-10-19 21:48:20 +00:00
frosch
88a1b8c8d9
(svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most NewGRF industries.
...
The NewGRF either has to use properties 12/13, or it needs to set property 0B to 'primary industry'.
So it will not work for bank-like industries which use pure production-callback production.
2010-10-04 20:20:50 +00:00
frosch
75f0653bdf
(svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing production rates does not work (anymore), so allow changing the production multiplier instead.
2010-10-04 20:12:38 +00:00
frosch
1bbf059934
(svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick().
2010-10-04 20:00:23 +00:00
frosch
83a94cd560
(svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero.
2010-10-04 19:45:27 +00:00
frosch
ec38c7d687
(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow.
2010-10-04 19:35:40 +00:00
frosch
ebb4f36f34
(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview.
2010-10-04 19:14:43 +00:00
frosch
a2ad453239
(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows.
2010-10-03 15:49:44 +00:00
frosch
221c1a259f
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
2010-09-22 19:47:01 +00:00
frosch
563afd0717
(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses.
2010-09-05 19:46:04 +00:00
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
alberth
a51d34c048
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
2010-08-15 14:06:43 +00:00
frosch
1bc01bc4b6
(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions.
2010-08-15 10:14:08 +00:00
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
4817d5dcd6
(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.
2010-08-12 08:37:01 +00:00
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
rubidium
13fbe57957
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
2010-08-10 16:17:51 +00:00