Commit Graph

289 Commits (547e8233be022a36a37620a076085bd1b424c3ac)

Author SHA1 Message Date
frosch b986a1133c (svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean settings. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain c74ccfff1b (svn r23601) -Fix: fix the conflict in window number 13 years ago
rubidium 8e4b6c3055 (svn r23590) -Codechange: make the string validation settings better expandable 13 years ago
planetmaker 5f74999799 (svn r23543) -Codechange: Document and name consistently widgets of NewGRF window 13 years ago
truebrain d1dc135461 (svn r23529) -Codechange: make all widget enum values unique and make them include the files they need to compile 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
yexo b775d1e829 (svn r23495) -Feature: button in NewGRF window to open URL from action14 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
yexo 442caecab0 (svn r23465) -Feature [FS#4827]: add 'find missing content online' button to 'load savegame' and 'find network game' windows 13 years ago
rubidium 74a025b38c (svn r23288) -Feature: use the monospace font for the NewGRF text windows 13 years ago
frosch 4b6fcf4d32 (svn r23253) -Fix: Several clipping issues with the display of textfiles, esp. with RTL text direction. 13 years ago
frosch 35c90314ca (svn r23251) -Fix: 3-column view of NewGRF GUI had too much space for certain font sizes. 13 years ago
frosch ba6d212079 (svn r23249) -Feature: Also allow viewing of the other two textfiles supplied by BaNaNaS tars, i.e. changelog and license. 13 years ago
frosch 42ba77bd11 (svn r23248) -Codechange: Rename everything related to the NewGRF 'readme' to 'textfile', so it is more generic. 13 years ago
rubidium 023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 13 years ago
rubidium 4d281cce97 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 13 years ago
rubidium ee0fd02d17 (svn r23179) -Codechange: use some tooltips that already existed (monoid) 13 years ago
rubidium 60c0abb883 (svn r23178) -Feature [FS#4780]: in-game readme.txt readmer (LordAro) 13 years ago
peter1138 ae046aad98 (svn r23021) -Codechange: Support resized square and warning icons in NewGRF selection window. 13 years ago
michi_cc 3f7a9ced17 (svn r23002) -Add: Extend palette information in the NewGRF GUI with the 32 bpp state. 13 years ago
rubidium 7496bd66e7 (svn r22820) -Codechange: perform a full (re)draw cycle in the first draw during progress instead of waiting 200ms 13 years ago
rubidium cc6e55a246 (svn r22797) -Add: progress bar for scanning NewGRFs 13 years ago
rubidium bade180f88 (svn r22791) -Codechange: use callback for scanning from the NewGRF window 13 years ago
rubidium afe407322d (svn r22771) -Codechange: unify some NewGRFScan calling code 13 years ago
frosch 3426225c9f (svn r22642) -Change: Disable the 'set parameters' button in the NewGRF GUI, if the GRF specifies to have no parameters and one would not be able to set any parameters anyway. 13 years ago
frosch 1322d59aaa (svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS. 13 years ago
yexo 579bdfae4a (svn r22594) -Fix [FS#4644]: add active NewGRFs to the list of available ones when selecting the empty preset 13 years ago
frosch 4ea00f2390 (svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection. 13 years ago
yexo 1171fdc889 (svn r22499) -Fix: don't lower the arrow buttons in the newgrf/AI parameter windows if they're clicked when disabled 13 years ago
frosch ce9b06aa4c (svn r22442) -Fix: Do not popup fatal NewGRF error messages in the intro screen. The GRFs are not going to be activated there anyway and the GRF settings GUI will not display the errors either. 13 years ago
frosch 7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 13 years ago
frosch 7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 13 years ago
terkhen 23f42e5769 (svn r22345) -Change: Remove pixel limiter for text buffers. 13 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
frosch 56d06b6ef8 (svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7. 14 years ago
terkhen 64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
rubidium 59b6c9a85e (svn r21248) -Codechange: don't run the tar scanner twice upon startup 14 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
alberth 1cb20976e1 (svn r21111) -Add: Remove the buttons below the newgrf details if the list is not editable. 14 years ago
alberth 71a1a32fbe (svn r21110) -Add: Tidy up the buttons of the active newgrfs list. 14 years ago
alberth 390b582989 (svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable. 14 years ago
alberth 4838e827b1 (svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget. 14 years ago
planetmaker 6542190e6f (svn r20992) -Fix (r20958): Show either version and minimum compatible version or neither 14 years ago
frosch f7b6d8e8bb (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.
14 years ago
frosch a7e486360d (svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions. 14 years ago
frosch cb2b666229 (svn r20951) -Codechange: Add SmallMap::Contains() and use it. 14 years ago
yexo 7e683e1da6 (svn r20812) -Fix [FS#4125]: crash when confirming newgrf changes with the newgrf parameter window open 14 years ago
frosch 3cc221410e (svn r20779) -Add [FS#4025]: If GRFs do not have action14 parameter information, allow to set the number of parameters in the GUI explicitly. 14 years ago
yexo fbbc105156 (svn r20694) -Fix [FS#4087]: empty newgrf presets were not selectable 14 years ago
rubidium 0c509c7b48 (svn r20670) -Add: support for action F
-Add: a window to select (NewGRF) objects
14 years ago
yexo 3c5923a62f (svn r20604) -Feature: add a reset button to the newgrf parameters window 14 years ago
yexo 8d451d3d72 (svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14 14 years ago
frosch 9f3e6ca197 (svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 4817d5dcd6 (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.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
yexo 461da5e1d3 (svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings 14 years ago
yexo 165452bad6 (svn r20264) -Fix (r20258): saving a new preset was broken 14 years ago
rubidium a16d3c9988 (svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled 14 years ago
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 14 years ago
yexo f4c46dd701 (svn r20258) -Feature: more user-friendly gui to change NewGRF parameters 14 years ago
rubidium d9393035ea (svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset 14 years ago
yexo cb5cfd7f8c (svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError 14 years ago
terkhen c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
frosch 91c8ef91b1 (svn r20217) -Fix [FS#3969]: Invalidate saveload GUI after rescanning NewGRFs. 14 years ago
frosch df14436b7b (svn r20066) -Fix: When rescanning NewGRFs resp. after content download also check whether compatible grfs are available now. 14 years ago
alberth c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 14 years ago
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. 14 years ago
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. 14 years ago
alberth 0f17755f95 (svn r19849) -Fix: Center sprite and text seperately in the newgrf gui active list. 14 years ago
alberth b628dc0de7 (svn r19848) -Fix (r19837): Center the texts of the inactive newgrfs. 14 years ago
alberth 1a18933f35 (svn r19845) -Feature: Dynamically switch between 2 and 3 column NewGRF gui for improved user experience. 14 years ago
alberth 2f1c4bc8fe (svn r19841) -Feature: Setup NewGRFs from a single window. 14 years ago
alberth 4749e5da27 (svn r19840) -Add: Add 'rescan' functionality to the NewGRF window. 14 years ago
alberth ae27a0287c (svn r19838) -Change: Add filter capability to the availables list. 14 years ago
alberth 47360b029e (svn r19837) -Change: Display list of available (non-active) grfs in the NewGRF window. 14 years ago
alberth 5e24305e0d (svn r19836) -Codechange: Move sprite palette selection code in NewGRF gui to its own method. 14 years ago
alberth 39723ed247 (svn r19834) -Change: Replace matrix list widget in NewGRF gui by a panel with black background. 14 years ago
alberth ff47831aba (svn r19833) -Change: Modify NewGRF window towards having combined lists, add captions. 14 years ago
alberth 4808ca2643 (svn r19832) -Codechange: Rename variables list->actives, sel->active_sel. 14 years ago
alberth 52affd2240 (svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names. 14 years ago
alberth e43c573476 (svn r19830) -Codechange: Move variable declarations to their first use. 14 years ago
alberth 5037e26562 (svn r19829) -Codechange: Extract assignment from the condition-check in the for statement. 14 years ago
alberth 95b10740a9 (svn r19823) -Fix: Ensure that both texts of the newgrf gui download button fit. 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
frosch 65019bdf72 (svn r19597) -Fix: Removing NewGRFs from the GUI list leaked. 14 years ago
smatz c77cb04f81 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 14 years ago
alberth 1921b27c65 (svn r19576) -Codechange: Unduplicating parse_intlist(). 14 years ago
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago