Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-24 | Codechange: Use override specifer for overriding member declarations | Henry Wilson | |
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template. | |||
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric Stout | |
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to. | |||
2019-03-10 | Remove: Unnecessary specialization of NewGRF preset list item. | peter1138 | |
2019-03-10 | Codechange: Use Colours type instead of byte. | peter1138 | |
2019-01-31 | Fix #7089: Close NewGRF textfile windows when their data is invalid (#7106) | glx22 | |
2019-01-28 | Add: allow opening of one TextfileWindow per type | glx | |
2019-01-26 | Add: more options for translators | glx | |
2019-01-11 | Change: Use GUITimer class instead of bare int/uints. | Peter Nelson | |
2019-01-11 | Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵ | Peter Nelson | |
timers to work with milliseconds instead of ticks. | |||
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-04-30 | Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. | J0an Josep | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-01-14 | (svn r27729) -Codechange: Do not count static NewGRF when checking for the ↵ | frosch | |
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. | |||
2017-01-07 | (svn r27724) -Cleanup: Remove pointless usage of IsOpenTTDBaseGRF. System ↵ | frosch | |
GRFs are never listed in the NewGRF GUI. | |||
2015-08-10 | (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵ | michi_cc | |
conversions in initializer lists. | |||
2014-10-04 | (svn r26954) -Codechange: GUI-scale for AI/GS settings and NewGRF settings ↵ | peter1138 | |
windows. | |||
2014-06-10 | (svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours. | frosch | |
2014-05-24 | (svn r26613) -Feature: Upgrade currently active newgrfs to newest installed ↵ | alberth | |
version. | |||
2014-05-24 | (svn r26610) -Feature: Select an editable preset name for saving. | alberth | |
2014-04-25 | (svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵ | rubidium | |
the return is not NULL) | |||
2014-04-23 | (svn r26486) -Codechange: replace a number of snprintfs with seprintf | rubidium | |
2014-04-23 | (svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵ | frosch | |
and strecat. | |||
2014-04-23 | (svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵ | rubidium | |
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values | |||
2013-11-24 | (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵ | rubidium | |
dropdowns | |||
2013-11-24 | (svn r26084) -Fix: don't allow executing the palette toggling code when it's ↵ | rubidium | |
not editable | |||
2013-11-22 | (svn r26053) -Fix: possible use-after-free | rubidium | |
2013-09-22 | (svn r25794) -Change: No point to toggle a NewGRF's palette if its author ↵ | planetmaker | |
declared one. | |||
2013-09-22 | (svn r25792) -Change: Clarify the relevance of the permissible palettes | planetmaker | |
2013-08-05 | (svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵ | michi_cc | |
just UCS-2 to the window key press handlers. | |||
2013-06-30 | (svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of ↵ | frosch | |
rows and columns from the resize step size. | |||
2013-06-30 | (svn r25536) -Cleanup: No need to set scrollbar capacity anywhere but in ↵ | frosch | |
OnResize. | |||
2013-06-30 | (svn r25533) -Codechange: Use SetCapacityFromWidget more often. | frosch | |
2013-06-30 | (svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets ↵ | frosch | |
depend on their number of rows, since that changes when resizing the window. | |||
2013-06-30 | (svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵ | frosch | |
widgets. | |||
2013-06-15 | (svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible. | frosch | |
2013-05-31 | (svn r25307) -Fix: Do not focus the editbox in the NewGRF window, if there ↵ | frosch | |
is no editbox visible. | |||
2013-05-26 | (svn r25294) -Feature: Add another button to window title bars to resize the ↵ | frosch | |
window to its default size. | |||
2013-05-26 | (svn r25290) -Add: Assign string names to notable windows. | frosch | |
2013-05-26 | (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵ | frosch | |
after construction. | |||
2013-02-09 | (svn r24983) -Change: Apply the same name sorting rules to content and ↵ | frosch | |
NewGRF list as for the server list. | |||
2013-01-22 | (svn r24932) -Fix [FS#5158]: Prevent more NewGRFs being selected than is ↵ | peter1138 | |
possible to load. | |||
2013-01-08 | (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵ | planetmaker | |
Eagle_rainbow) | |||
2012-12-25 | (svn r24853) -Fix: Extend widget data member to 32 bits so that sprite IDs ↵ | peter1138 | |
>= 2^16 can be used. | |||
2012-12-08 | (svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵ | frosch | |
values for size computations. | |||
2012-12-01 | (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵ | alberth | |
various sources (including Eagle_rainbow, MinchinWeb) | |||
2012-11-14 | (svn r24743) -Change: Unify the behaviour of ESC in filter editboxes. | frosch | |
2012-11-14 | (svn r24742) -Codechange: Remove QueryStringBaseWindow and store ↵ | frosch | |
QueryStrings per widget instead. | |||
2012-11-14 | (svn r24740) -Codechange: Remove duplicate members from ↵ | frosch | |
QueryStringBaseWindow and directly use QueryString. | |||
2012-11-14 | (svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor. | frosch | |
2012-11-13 | (svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to ↵ | frosch | |
Window::OnEditboxChanged. |