Jonathan G Rennison
f89e8b76d6
Fix increased number of NewGRFs support.
...
Improve error handling if multiplayer limit is exceeded.
8 years ago
Jonathan G Rennison
90cd312428
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fios.h
8 years ago
frosch
8bd3a8a991
(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum number of NewGRFs in a game.
...
-Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF.
-Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs.
8 years ago
frosch
dc024f0e3a
(svn r27724) -Cleanup: Remove pointless usage of IsOpenTTDBaseGRF. System GRFs are never listed in the NewGRF GUI.
8 years ago
Jonathan G Rennison
20a090b077
Show warning dialog if NewGRFs use too many string IDs.
...
Show when reloading/changing NewGRF config, or starting new game.
8 years ago
michi_cc
44918010df
(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists.
9 years ago
peter1138
d3332d106b
(svn r26954) -Codechange: GUI-scale for AI/GS settings and NewGRF settings windows.
10 years ago
frosch
7b3ead329b
(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.
10 years ago
alberth
c24998e79f
(svn r26613) -Feature: Upgrade currently active newgrfs to newest installed version.
10 years ago
alberth
ac23e46713
(svn r26610) -Feature: Select an editable preset name for saving.
10 years ago
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
11 years ago
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
11 years ago
frosch
24c7134bff
(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat.
11 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
201b3d8aa2
(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns
11 years ago
rubidium
926fb4c6c5
(svn r26084) -Fix: don't allow executing the palette toggling code when it's not editable
11 years ago
rubidium
d32a858d30
(svn r26053) -Fix: possible use-after-free
11 years ago
planetmaker
98b67470f8
(svn r25794) -Change: No point to toggle a NewGRF's palette if its author declared one.
11 years ago
planetmaker
db562f8c70
(svn r25792) -Change: Clarify the relevance of the permissible palettes
11 years ago
michi_cc
872acc5287
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
11 years ago
frosch
538159cb1d
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
11 years ago
frosch
c45190337c
(svn r25536) -Cleanup: No need to set scrollbar capacity anywhere but in OnResize.
11 years ago
frosch
7dac11fbb2
(svn r25533) -Codechange: Use SetCapacityFromWidget more often.
11 years ago
frosch
ac73a5fea6
(svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets depend on their number of rows, since that changes when resizing the window.
11 years ago
frosch
f6d27acb51
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
11 years ago
frosch
3716b3b892
(svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible.
11 years ago
frosch
7a0c415346
(svn r25307) -Fix: Do not focus the editbox in the NewGRF window, if there is no editbox visible.
11 years ago
frosch
13badddd75
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
12 years ago
frosch
16feb5c4e9
(svn r25290) -Add: Assign string names to notable windows.
12 years ago
frosch
25adefca23
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
12 years ago
frosch
356ecf05c4
(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF list as for the server list.
12 years ago
peter1138
0e12bfcaa6
(svn r24932) -Fix [FS#5158]: Prevent more NewGRFs being selected than is possible to load.
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
peter1138
64a19cb75e
(svn r24853) -Fix: Extend widget data member to 32 bits so that sprite IDs >= 2^16 can be used.
12 years ago
frosch
eb20798aae
(svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations.
12 years ago
alberth
19adc87262
(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb)
12 years ago
frosch
7b3d6cc31f
(svn r24743) -Change: Unify the behaviour of ESC in filter editboxes.
12 years ago
frosch
18dcd2e6a4
(svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead.
12 years ago
frosch
ec27bcb6a6
(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.
12 years ago
frosch
0ab8e7939b
(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.
12 years ago
frosch
f1d40ca6f2
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
12 years ago
frosch
08e92e6f23
(svn r24733) -Codechange: Move handling of editbox keys to window class.
12 years ago
frosch
c12caa20aa
(svn r24729) -Codechange: Unify the handling of HEBR_EDITING.
12 years ago
frosch
e0f59fb049
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
12 years ago
frosch
e95b757c11
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
12 years ago
frosch
3b06409153
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
yexo
5951be7ca7
(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)
12 years ago
frosch
56383c577a
(svn r24337) -Feature: Allow filtering for multiple words (separated by whitespace resp. quoted) in the sign list, content- and NewGRF-guis.
12 years ago
frosch
9b196d0fb4
(svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions.
12 years ago
frosch
69f836e57b
(svn r24318) -Feature: Add dropdowns to NewGRF configurations, if all values have labels.
13 years ago