Commit Graph

109 Commits (9e811a2f8be9c69807acef3c727e4022be2cd9c0)

Author SHA1 Message Date
rubidium 923e21129c (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
skidd13 b80425fdf9 (svn r13311) -Codechange: Use GUIList for the industry directory window
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
17 years ago
skidd13 83c442cc57 (svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object 17 years ago
peter1138 0ce9343fb6 (svn r13291) -Fix (r13266): qsort passed wrong sizeof data 17 years ago
peter1138 02b5ffa13f (svn r13266) -Codechange: Use SmallVector in GUIList 17 years ago
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 17 years ago
rubidium 4625695653 (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 31a266b5b3 (svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent 17 years ago
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 17 years ago
glx fa72187bbf (svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening 17 years ago
glx 17a1873843 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 17 years ago
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 17 years ago
rubidium dddfaaac7d (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 17 years ago
glx 18c33e1569 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 17 years ago
glx 56c3f828cd (svn r13050) -Codechange: make a class of IndustryViewWindow. 17 years ago
glx c708ab3b48 (svn r13047) -Codechange: remove vp_d 17 years ago
rubidium e63137f47f (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 17 years ago
glx 356473efa5 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 17 years ago
glx 6ad199d127 (svn r13032) -Codechange: make industry view window resizable and truncate strings 17 years ago
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 17 years ago
rubidium f438700402 (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
glx bc514a7f51 (svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings 17 years ago
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 17 years ago
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 17 years ago
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 17 years ago
rubidium d03994098b (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
glx fb938a2cb3 (svn r12970) -Codechange: coding style for some function names 17 years ago
glx 963dce0d47 (svn r12965) -Codechange: add support for callback 37 in industries directory window 17 years ago
glx e7678a03cc (svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows 17 years ago
glx 1050f07ed1 (svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory 17 years ago
belugas 0eab2c07c2 (svn r12956) -Codechange: Code-style application on switch-case aligment 17 years ago
peter1138 4595d2c3b1 (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 22140d82c6 (svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. 17 years ago
rubidium 24b5c91039 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 17 years ago
rubidium b1d1a4ac66 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 17 years ago
peter1138 f8294b1386 (svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the industry view window. The window is now shown the correct size so the resize button is also removed. 17 years ago
glx 226e48cf83 (svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type display for industries) 17 years ago
smatz 0ca3977af8 (svn r12049) -Fix (r10496)(r10619): memset on multibyte array with wrong byte count 17 years ago
rubidium 1629699094 (svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712. 17 years ago
belugas d3990083d3 (svn r11987) -Feature[newGRF]: Allow the industry view window to be resized only when callback 3A (Show additional text in industry window) is available for the current industry.
This now allows grf authors to specify longer than 3 lines of text.
17 years ago
peter1138 68707808c0 (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 dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium 6c954cad5f (svn r11801) -Codechange: remove some unneeded includes from some header files. 17 years ago
rubidium 0e517fe023 (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
peter1138 fa83291a76 (svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused. 17 years ago
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 429521a7d1 (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