summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-28(svn r13311) -Codechange: Use GUIList for the industry directory windowskidd13
-Codechange: Replaced the four sort buttons by a dropdown -Codechange: Reduced the default window size
2008-05-27(svn r13294) -Codechange: convert the inheritance of GUIList in ↵skidd13
IndustryDirectoryWindow to a member object
2008-05-27(svn r13291) -Fix (r13266): qsort passed wrong sizeof datapeter1138
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage ↵smatz
more consistent
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13175) -Fix (r13174): sorting criteria and order for industry ↵glx
directory was always reset on window opening
2008-05-18(svn r13174) -Codechange: make a class of the IndustryDirectoryWindow.glx
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-12(svn r13060) -Codechange: update build industry window when ↵glx
raw_industry_construction setting is modified
2008-05-11(svn r13050) -Codechange: make a class of IndustryViewWindow.glx
2008-05-11(svn r13047) -Codechange: remove vp_dglx
2008-05-11(svn r13041) -Fix: calling a virtual function on a not fully constructed ↵rubidium
object is bound to cause errors.
2008-05-10(svn r13036) -Codechange: make a class of the BuildIndustry Window.glx
2008-05-10(svn r13032) -Codechange: make industry view window resizable and truncate ↵glx
strings
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13020) -Codechange: make industry directory window horizontally ↵glx
resizable and truncate strings
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-06(svn r12970) -Codechange: coding style for some function namesglx
2008-05-05(svn r12965) -Codechange: add support for callback 37 in industries ↵glx
directory window
2008-05-05(svn r12964) -Codechange: rewrite callback 37 related code so it will be ↵glx
easier to add supported windows
2008-05-05(svn r12959) -Fix: don't assume no production when the first produced cargo ↵glx
is invalid in industries directory
2008-05-05(svn r12956) -Codechange: Code-style application on switch-case aligmentbelugas
2008-05-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-04-21(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in ↵rubidium
TTDP according to frosch's survey.
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-03-28(svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the ↵peter1138
industry view window. The window is now shown the correct size so the resize button is also removed.
2008-03-28(svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type ↵glx
display for industries)
2008-02-03(svn r12049) -Fix (r10496)(r10619): memset on multibyte array with wrong ↵smatz
byte count
2008-01-29(svn r12006) -Fix: implement FS#1697 without the nasty side effects as ↵rubidium
specified in FS#1712.
2008-01-26(svn r11987) -Feature[newGRF]: Allow the industry view window to be resized ↵belugas
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.
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-01(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so ↵peter1138
that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'