Commit Graph

196 Commits

Author SHA1 Message Date
alberth a026ee9b4c (svn r21110) -Add: Tidy up the buttons of the active newgrfs list. 2010-11-07 13:54:49 +00:00
alberth 5962e1db3a (svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable. 2010-11-07 13:54:04 +00:00
alberth f961fe626b (svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget. 2010-11-07 13:51:34 +00:00
planetmaker 9a0a76cc32 (svn r20992) -Fix (r20958): Show either version and minimum compatible version or neither 2010-10-18 17:47:42 +00:00
frosch 38c350fad5 (svn r20960) -Add: Allow setting 'minimal compatible version' via Action14. (planetmaker)
Note: Setting 'VRSN' also sets 'MINV' resulting in the Grf being only compatible to the same version. Set 'MINV' after 'VRSN' if your Grf is compatible to older versions.
2010-10-17 12:14:49 +00:00
frosch 3972c790c2 (svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions. 2010-10-17 12:12:13 +00:00
frosch 98250ad8da (svn r20951) -Codechange: Add SmallMap::Contains() and use it. 2010-10-16 20:34:43 +00:00
yexo 15212cf948 (svn r20812) -Fix [FS#4125]: crash when confirming newgrf changes with the newgrf parameter window open 2010-09-15 22:46:18 +00:00
frosch 06678a8ac2 (svn r20779) -Add [FS#4025]: If GRFs do not have action14 parameter information, allow to set the number of parameters in the GUI explicitly. 2010-09-09 20:49:56 +00:00
yexo cf2032d0f8 (svn r20694) -Fix [FS#4087]: empty newgrf presets were not selectable 2010-08-30 10:52:27 +00:00
rubidium 7b16c7650b (svn r20670) -Add: support for action F
-Add: a window to select (NewGRF) objects
2010-08-28 19:43:41 +00:00
yexo f6f218cf6b (svn r20604) -Feature: add a reset button to the newgrf parameters window 2010-08-23 22:25:50 +00:00
yexo a36159614a (svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14 2010-08-23 21:47:07 +00:00
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