Commit Graph

183 Commits

Author SHA1 Message Date
frosch 7e5309a28a (svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI. 2010-08-13 07:34:28 +00:00
frosch 9e538acc03 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
frosch 71ca58c2bb (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.
2010-08-12 08:37:01 +00:00
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
terkhen 80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
yexo b65a9eb856 (svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings 2010-07-31 21:24:59 +00:00
yexo adf94b8529 (svn r20264) -Fix (r20258): saving a new preset was broken 2010-07-31 20:28:10 +00:00
rubidium 5f8cfba77a (svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled 2010-07-31 20:04:14 +00:00
rubidium ac280af8bc (svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs 2010-07-31 14:40:50 +00:00
yexo 5a2862814a (svn r20258) -Feature: more user-friendly gui to change NewGRF parameters 2010-07-31 12:15:12 +00:00
rubidium e469a94a2d (svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset 2010-07-31 09:40:43 +00:00
yexo 1ca16aa979 (svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError 2010-07-31 09:32:44 +00:00
terkhen 88ca183191 (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth 4203e641f8 (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
frosch b71aabdfb7 (svn r20217) -Fix [FS#3969]: Invalidate saveload GUI after rescanning NewGRFs. 2010-07-25 14:33:17 +00:00
frosch 4f51623d12 (svn r20066) -Fix: When rescanning NewGRFs resp. after content download also check whether compatible grfs are available now. 2010-07-03 20:02:14 +00:00
alberth 22b9bc5157 (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
frosch 717d134947 (svn r19986) -Fix (r19841): One could add and remove Grfs from the list via doubleclicking even if editing the list is not allowed. 2010-06-13 14:58:14 +00:00
frosch 56fbbdeafd (svn r19972) -Change: Use the md5sum from the previous save of the game for BaNaNaS instead of the initial (when the grf was added) md5sum from the gamelog. Neither method is 'better', but this way it is independent from the gamelog. 2010-06-13 14:11:32 +00:00
alberth bee74bd82b (svn r19849) -Fix: Center sprite and text seperately in the newgrf gui active list. 2010-05-17 21:14:50 +00:00
alberth 255a3331bf (svn r19848) -Fix (r19837): Center the texts of the inactive newgrfs. 2010-05-17 20:49:41 +00:00
alberth 255bb5bb1f (svn r19845) -Feature: Dynamically switch between 2 and 3 column NewGRF gui for improved user experience. 2010-05-16 19:19:51 +00:00
alberth 637ee45545 (svn r19841) -Feature: Setup NewGRFs from a single window. 2010-05-16 19:11:16 +00:00
alberth e49cb2d320 (svn r19840) -Add: Add 'rescan' functionality to the NewGRF window. 2010-05-16 19:06:40 +00:00
alberth d233845370 (svn r19838) -Change: Add filter capability to the availables list. 2010-05-16 19:02:43 +00:00
alberth b7a8497ccd (svn r19837) -Change: Display list of available (non-active) grfs in the NewGRF window. 2010-05-16 18:58:13 +00:00
alberth 219ae56f8a (svn r19836) -Codechange: Move sprite palette selection code in NewGRF gui to its own method. 2010-05-16 18:52:11 +00:00
alberth 9c3b9690fb (svn r19834) -Change: Replace matrix list widget in NewGRF gui by a panel with black background. 2010-05-16 18:47:08 +00:00
alberth 22b868f4d5 (svn r19833) -Change: Modify NewGRF window towards having combined lists, add captions. 2010-05-16 18:41:59 +00:00
alberth cf6e1165b5 (svn r19832) -Codechange: Rename variables list->actives, sel->active_sel. 2010-05-16 18:34:55 +00:00
alberth f0779f0163 (svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names. 2010-05-16 18:30:02 +00:00
alberth c4b29c5124 (svn r19830) -Codechange: Move variable declarations to their first use. 2010-05-16 18:25:05 +00:00
alberth 8b582edb38 (svn r19829) -Codechange: Extract assignment from the condition-check in the for statement. 2010-05-16 18:22:07 +00:00
alberth 3b8c4440c5 (svn r19823) -Fix: Ensure that both texts of the newgrf gui download button fit. 2010-05-15 08:44:10 +00:00
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
frosch f835f67a39 (svn r19597) -Fix: Removing NewGRFs from the GUI list leaked. 2010-04-10 13:00:34 +00:00
smatz 5eb1e3d033 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 2010-04-07 20:28:02 +00:00
alberth 1e48b2332e (svn r19576) -Codechange: Unduplicating parse_intlist(). 2010-04-07 20:09:53 +00:00
yexo 404df87b1f (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
yexo a9c8dbc0a0 (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
alberth 33a96b5ef3 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
yexo 6406b75b8f (svn r19094) -Codechange: don't check for NULL values before calling StrEmpty 2010-02-11 14:58:51 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
yexo ea227aa033 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar 2010-01-29 15:50:56 +00:00
yexo 81882039e3 (svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range 2010-01-29 15:45:53 +00:00
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00