summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
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'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-09(svn r11609) -Fix [FS#1524]: wrong error messages were shown when trying to ↵rubidium
build some industries in the scenario editor.
2007-12-09(svn r11607) -Codechange: Enumify the industry widgetsskidd13
-Feature: Enable doubleclick in the found new industries window to build an industries
2007-12-08(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now ↵glx
done in *allocT functions.
2007-12-08(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove ↵belugas
its now useless counterpart function
2007-12-08(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the ↵belugas
now useless RaiseWindowButtons function
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-15(svn r11440) -Codechange: replace magic numbers with enumified ↵rubidium
WindowHighlightMode constants. Patch by SmatZ.
2007-11-13(svn r11427) -Fix: Forgot to Truncate the string "Many Random Industries" in ↵belugas
the funding industry window. In some languages, it gets drawn outside of the gui.
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-11-03(svn r11372) -Fix [FS#1394]: don't stop on first invalid cargo type when ↵glx
displaying industry acceptance
2007-10-29(svn r11356) -Fix (r11305): funding industries in MP game was causing desyncglx
2007-10-25(svn r11340) -Fix[FS#1362]: Newindustries can provide no production at ↵belugas
start. So the Modifying Production cheat was a bit puzzled on how to deal with it. This will help a bit.
2007-10-17(svn r11287) -Codechange: add support for pushing paramaters into ↵rubidium
NewIndustries' error messages. Patch by Csaboka.
2007-10-17(svn r11284) -Codechange: don't reset build industry cursor if it failedglx
2007-10-12(svn r11247) -Fix: The Industry's name to fund could be larger than the ↵belugas
window itself. Now, it fits within the physical allowed space
2007-10-10(svn r11242) -Codechange: When displaying the industry funding gui, present ↵belugas
the industries in the same order as they are available. Prior of this, they were separated in processing/organic and extractive. Now, all are mixed, just filtered when required. This will allow easy comparison with TTDPatch's list. (glx and me)
2007-09-28(svn r11178) -Fix: don't check newgrf callback 22 in scenario editorglx
2007-09-27(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14Cglx
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-07-24(svn r10675) -Codechange: unhardcode the industry types used in several ↵rubidium
locations of the source code.
2007-07-20(svn r10637) -Fix: Enable the Random Industries in scenario editor if ↵belugas
setting Number of Industries is not NONE. Spotted by skiddl13. Thanks to glx for help in finding and better looking code :)
2007-07-19(svn r10624) -Fix [FS#1047]: the production of banks could not be modified ↵rubidium
(either in scenario editor or with the cheat).