Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-21 | Codechange: merge duplicated logic to scroll in lists by key into a single ↵ | Rubidium | |
function | |||
2021-03-10 | Add: make modal windows update more smooth | Patric Stout | |
Basically, modal windows had their own thread-locking for what drawing was possible. This is a bit nonsense now we have a game-thread. And it makes much more sense to do things like NewGRFScan and GenerateWorld in the game-thread, and not in a thread next to the game-thread. This commit changes that: it removes the threads for NewGRFScan and GenerateWorld, and just runs the code in the game-thread. On regular intervals it allows the draw-thread to do a tick, which gives a much smoother look and feel. It does slow down NewGRFScan and GenerateWorld ever so slightly as it spends more time on drawing. But the slowdown is not measureable on my machines (with 700+ NewGRFs / 4kx4k map and a Debug build). Running without a game-thread means NewGRFScan and GenerateWorld are now blocking. | |||
2021-02-08 | Fix: mention our websites with https:// (instead of http://) (#8657) | Patric Stout | |
It is 2021. Nobody should advertise http anymore. Not even us. | |||
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2020-06-01 | Fix #8024: make online content gui more responsive while loading | Yexo | |
Previously the internal content list was invalidated and sorted for every new item added. Now the sorting is delayed until the GUI is drawn, which means we only sort once per GUI tick. Since the amount of incoming items per GUI tick is not controlled by the GUI but rather by network speed, we were previously doing a lot of duplicate work per tick, causing the mouse cursor to lag while the list was initialized. | |||
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-04-13 | Codechange: use std::sort() in GUIList | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-29 | Fix #7434: Incorrect use of vector iterator. (#7437) | PeterN | |
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Include() with include() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Find() with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replaced SmallVector::Get() const with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-24 | Codechange: Use override keyword in networking classes. | peter1138 | |
2019-03-24 | Codechange: Use override specifier in Window-derived classes. | peter1138 | |
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-01-28 | Add: allow opening of one TextfileWindow per type | glx | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2015-12-10 | (svn r27469) -Fix (r27468): Don't fetch all content info from content server ↵ | zuu | |
when showing a online content window with exactly one type of content. | |||
2015-12-10 | (svn r27468) -Fix (r27444): Game Scripts were not displayed in the content ↵ | zuu | |
download window when opened from the AI/GS settings window. | |||
2015-11-14 | (svn r27444) -Add: When viewing online content of a particular type, hide ↵ | zuu | |
content of other types unless they have been (auto)selected for download. | |||
2015-11-14 | (svn r27443) -Fix: Negoation in comment was wrong. | zuu | |
2015-05-17 | (svn r27288) -Fix: Slow network content GUI in MSVC Debug builds due to ↵ | michi_cc | |
repeated string resolving. | |||
2014-09-25 | (svn r26921) -Codechange: Adjust content window listing to fit icon size. | peter1138 | |
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-12-20 | (svn r26167) -Fix [FS#5834]: Certain hotkeys crashed the content GUI when ↵ | frosch | |
the list was empty. | |||
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 r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵ | frosch | |
widgets. | |||
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-03-17 | (svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf. | frosch | |
2013-02-18 | (svn r25024) -Feature: Searching of (missing) content via GrfCrawler. | frosch | |
2013-02-18 | (svn r25023) -Change: Regroup buttons in content download GUI to put ↵ | frosch | |
item-specifc stuff next to each other. | |||
2013-02-09 | (svn r24983) -Change: Apply the same name sorting rules to content and ↵ | frosch | |
NewGRF list as for the server list. | |||
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-14 | (svn r24736) -Cleanup: The third parameter of Textbuf::Initialize only makes ↵ | frosch | |
sense if it is smaller than the second one, also its unit is not pixels. |