Commit Graph

272 Commits (5e11550e8fdbf3cbd975c54af56c555adb3f68e9)

Author SHA1 Message Date
frosch e43d74c438 (svn r22631) -Fix: Additional text in fund industry window is NewGRF supplied and thus should have a default colour. 13 years ago
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. 13 years ago
frosch 7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 13 years ago
frosch 7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 13 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 13 years ago
frosch db3a8d1abf (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
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. 14 years ago
alberth 8c3041b3c9 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 14 years ago
alberth f838069a44 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 14 years ago
alberth ad2049848a (svn r21927) -Change: Comment-style fixes. 14 years ago
rubidium 54c0dec6aa (svn r21909) -Fix: some missing spaces 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
alberth fdf0be0da8 (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 14 years ago
alberth 7d989073d4 (svn r21627) -Codechange: Remove _place_proc global variable. 14 years ago
rubidium 004b2b6001 (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 14 years ago
terkhen 3524d55c6a (svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window. 14 years ago
terkhen 64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 14 years ago
terkhen 6352166908 (svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name. 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
alberth 42f6245a31 (svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille). 14 years ago
alberth f502c82fa5 (svn r21019) -Add: Use center of industry to focus on in the industry gui. 14 years ago
planetmaker 310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 14 years ago
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.
14 years ago
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. 14 years ago
frosch 1bbf059934 (svn r20899) -Codechange: Switch order of if-tests in IndustryViewWindow::OnClick(). 14 years ago
frosch 83a94cd560 (svn r20898) -Change: When entering a production rate, round to nearest possible rate instead towards zero. 14 years ago
frosch ec38c7d687 (svn r20897) -Codechange: Store the result of IsProductionAlterable() in a member variable of IndustryViewWindow. 14 years ago
frosch ebb4f36f34 (svn r20895) -Codechange: Use an enum to identify the rows of buttons in the industryview. 14 years ago
frosch a2ad453239 (svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows. 14 years ago
frosch 221c1a259f (svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists. 14 years ago
frosch 563afd0717 (svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses. 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
alberth a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
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. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
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.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
rubidium 13fbe57957 (svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits 14 years ago
alberth 9b10773428 (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 14 years ago
alberth 15f407acea (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 14 years ago
alberth 5967b81124 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 14 years ago
alberth a90c30d614 (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 14 years ago
alberth 9fed86a814 (svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'. 14 years ago
alberth 03e8fe7c0e (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 14 years ago
alberth 5f9d74467f (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago