Commit Graph

76 Commits (b4e431bf7cddc259631f947ef45b82cf260b4d13)

Author SHA1 Message Date
rubidium b4e431bf7c (svn r13316) -Codechange: move some functions around to make them grouped more logically. 16 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.
16 years ago
peter1138 6f233b1f8f (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
16 years ago
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium a1137fcdfe (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 16 years ago
rubidium 50203f8786 (svn r13154) -Codechange: make a window class of the news message history window. 16 years ago
rubidium f5681547ef (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 16 years ago
rubidium 152e82ba92 (svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp. 16 years ago
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 6ac20f00bb (svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow. 16 years ago
rubidium 7491b792e2 (svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar. 16 years ago
rubidium 9e4d664a24 (svn r13111) -Documentation: update the documentation of AddNewsItem to reflect reality. Patch by Cirdan. 16 years ago
rubidium d94bef9d5c (svn r13102) -Codechange: make a class of the NewsWindow. 16 years ago
rubidium 76b8970a33 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 16 years ago
rubidium d0c79e1164 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 16 years ago
glx c708ab3b48 (svn r13047) -Codechange: remove vp_d 16 years ago
rubidium 9066a961e7 (svn r13043) -Codechange: remove some duplicate variables from news_d. 16 years ago
rubidium 935434333b (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 16 years ago
rubidium 2ba05f8987 (svn r13021) -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan. 16 years ago
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium e6c944a6c4 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 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. 16 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. 16 years ago
peter1138 57e104f97e (svn r12952) -Cleanup: Indenting and codestyle 16 years ago
glx 46bd824b3e (svn r12842) -Codechange [FS#1604]: scale message history by map size 16 years ago
rubidium fccfcd093b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium 24b5c91039 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 16 years ago
rubidium 222988603f (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago
rubidium acafc26426 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 16 years ago
rubidium 5796fb3b34 (svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly. 16 years ago
rubidium d7bae069e1 (svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown. 16 years ago
rubidium d97c16ee8b (svn r12475) -Codechange: cleanup coding style in news_gui.cpp. 16 years ago
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago
peter1138 ac0fa7f69f (svn r11909) -Codechange: use dropdown widget for player livery, network lobby/setup and news settings windows 17 years ago
peter1138 e4c05f8d78 (svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. 17 years ago
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium 5c4150d304 (svn r11832) -Codechange: get rid of (quite) some VARDEFs. 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 0e517fe023 (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium a3ccdcea36 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 17 years ago
rubidium e5e75bd8f8 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 17 years ago
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 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
rubidium 8f0e68285b (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 433a9f3c09 (svn r11675) -Codechange: split the string types from the string functions. 17 years ago
rubidium d582aea639 (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium 8896bea306 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
glx c21f588a14 (svn r11588) -Codechange: use the new member introduced in r11551 17 years ago