Commit Graph

277 Commits

Author SHA1 Message Date
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
yexo 461da5e1d3 (svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings 2010-07-31 21:24:59 +00:00
yexo 165452bad6 (svn r20264) -Fix (r20258): saving a new preset was broken 2010-07-31 20:28:10 +00:00
rubidium a16d3c9988 (svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled 2010-07-31 20:04:14 +00:00
rubidium a777266426 (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 f4c46dd701 (svn r20258) -Feature: more user-friendly gui to change NewGRF parameters 2010-07-31 12:15:12 +00:00
rubidium d9393035ea (svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset 2010-07-31 09:40:43 +00:00
yexo cb5cfd7f8c (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 c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
frosch 91c8ef91b1 (svn r20217) -Fix [FS#3969]: Invalidate saveload GUI after rescanning NewGRFs. 2010-07-25 14:33:17 +00:00
frosch df14436b7b (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 c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
frosch ff670ac489 (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 52c4af211a (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 0f17755f95 (svn r19849) -Fix: Center sprite and text seperately in the newgrf gui active list. 2010-05-17 21:14:50 +00:00
alberth b628dc0de7 (svn r19848) -Fix (r19837): Center the texts of the inactive newgrfs. 2010-05-17 20:49:41 +00:00
alberth 1a18933f35 (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 2f1c4bc8fe (svn r19841) -Feature: Setup NewGRFs from a single window. 2010-05-16 19:11:16 +00:00
alberth 4749e5da27 (svn r19840) -Add: Add 'rescan' functionality to the NewGRF window. 2010-05-16 19:06:40 +00:00
alberth ae27a0287c (svn r19838) -Change: Add filter capability to the availables list. 2010-05-16 19:02:43 +00:00
alberth 47360b029e (svn r19837) -Change: Display list of available (non-active) grfs in the NewGRF window. 2010-05-16 18:58:13 +00:00
alberth 5e24305e0d (svn r19836) -Codechange: Move sprite palette selection code in NewGRF gui to its own method. 2010-05-16 18:52:11 +00:00
alberth 39723ed247 (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 ff47831aba (svn r19833) -Change: Modify NewGRF window towards having combined lists, add captions. 2010-05-16 18:41:59 +00:00
alberth 4808ca2643 (svn r19832) -Codechange: Rename variables list->actives, sel->active_sel. 2010-05-16 18:34:55 +00:00
alberth 52affd2240 (svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names. 2010-05-16 18:30:02 +00:00
alberth e43c573476 (svn r19830) -Codechange: Move variable declarations to their first use. 2010-05-16 18:25:05 +00:00
alberth 5037e26562 (svn r19829) -Codechange: Extract assignment from the condition-check in the for statement. 2010-05-16 18:22:07 +00:00
alberth 95b10740a9 (svn r19823) -Fix: Ensure that both texts of the newgrf gui download button fit. 2010-05-15 08:44:10 +00:00
rubidium a70fd540fc (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 65019bdf72 (svn r19597) -Fix: Removing NewGRFs from the GUI list leaked. 2010-04-10 13:00:34 +00:00
smatz c77cb04f81 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 2010-04-07 20:28:02 +00:00
alberth 1921b27c65 (svn r19576) -Codechange: Unduplicating parse_intlist(). 2010-04-07 20:09:53 +00:00
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
alberth e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
yexo 9a80d81f4c (svn r19094) -Codechange: don't check for NULL values before calling StrEmpty 2010-02-11 14:58:51 +00:00
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
yexo d5025477a3 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar 2010-01-29 15:50:56 +00:00
yexo 8f55972a63 (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 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
yexo 1da504aa73 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too 2010-01-15 20:20:24 +00:00
yexo e7fbbdc81d (svn r18813) -Codechange: deduplicate copying a newgrf config 2010-01-15 18:28:30 +00:00
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium 58b8264854 (svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window' 2010-01-03 15:25:51 +00:00
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
rubidium 25d04c0777 (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 2009-12-15 00:00:51 +00:00