Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-02 | Fix: Clicking on scrollbar 'thumb' moved position up instantly. | peter1138 | |
2019-04-13 | Fix 801cbea9c: operator< is not always the best idea | glx | |
Also removes unused and anyway broken SmallMap::SortByKey() function. | |||
2019-04-13 | Codechange: use std::sort() for all std::vector types | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
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::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replaced SmallVector::Find() non-const with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-20 | Codechange: Implement OnTooltip event for custom window tooltips. | peter1138 | |
This avoids windows from needing to know or care about tooltip delay settings. | |||
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-02-22 | Fix #7227: Don't apply mouse-hasn't-moved test to scrollbars. | peter1138 | |
2019-02-21 | Codechange: Change scrolling_scrollbar to mouse_capture_widget, and dispatch ↵ | Peter Nelson | |
OnClick() event if widget is not a scrollbar. This allows any widget to support mouse capture. | |||
2019-02-16 | Add: News menu entry and shortcut for deleting all messages. (#7240) | Joan Josep | |
2019-02-02 | Fix #7058, Fix #7161: Network chat messages did not expire. | Peter Nelson | |
2019-01-20 | Fix: If screen size changes, windows are relocated and dropdown may not fit ↵ | J0an Josep | |
the screen. | |||
2019-01-17 | Fix: Some code and comment typos | nikolas | |
Found with codespell | |||
2019-01-13 | Fix #7050: Missing guard around network chat message function for compiling ↵ | PeterN | |
with networking disabled. (#7058) | |||
2019-01-12 | Fix #6780: Some windows didn't get updated from OnTick() (#7048) | PeterN | |
2019-01-11 | Fix: Always draw dirty blocks, else fast-forward is super fast. | Peter Nelson | |
2019-01-11 | Change: Use GUITimer class instead of bare int/uints. | Peter Nelson | |
2019-01-11 | Change: Animate text effects by real time instead of game ticks. | Peter Nelson | |
2019-01-11 | Change: Switch various window timers to real time instead of game ticks. | 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. | |||
2019-01-04 | Codechange: Use window class as expected. | Juanjo | |
2018-10-31 | Codechange: Turn a define into a constant | Charles Pigott | |
2018-10-31 | Fix: Protect against a few out of bounds or uninitialised usage errors | Charles Pigott | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-07-19 | Feature: Framerate display window (#6822) | Niels Martin Hansen | |
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command. | |||
2018-05-29 | Fix: [OSX] Minor 2D scrolling fixes (#6793) | Alexander Weiss | |
* Codechange: Check for scrollwheel_scrolling first when scrolling viewport instead of first setting normal values and then overwriting them. * Fix #6558: [OSX] Reset 2D scrolling values when not scrolling to prevent unintended window focus changes * Change: [OSX] Include initial scrolling movement when using 2D scrolling to make it more responsive * Fix: [OSX] 2D scrolling not working when setting viewport scroll behaviour to use left mouse button | |||
2018-05-24 | Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch ↵ | Alexander Weiss | |
to zoom | |||
2018-04-28 | Add: Replace independment map scrolling GUI settings with single option, and ↵ | PeterN | |
add choice to not lock cursor position when scrolling. (#6756) | |||
2017-12-09 | (svn r27934) -Fix (r27900): Warning about unsigned unary minus. | michi_cc | |
2017-08-27 | (svn r27901) -Codechange: GetWindowZPriority only needs a WindowClass; this ↵ | frosch | |
way it can also be used for WindowDesc before a Window instance is created. (3298) | |||
2017-08-27 | (svn r27900) -Change [FS#6568]: Remove the gap between windows when ↵ | frosch | |
positioning them after opening. -Fix: Make automatic window-positioning RTL-aware. -Fix: Automatic window-positioning now uses GUI-scale/style dependent sizes/distances instead of fixed pixel values. | |||
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-03-24 | (svn r27826) -Fix (r27825): Wrong code style | peter1138 | |
2017-03-24 | (svn r27825) -Feature [FS#4950]: Add option to close windows with right ↵ | peter1138 | |
click (Flamefire) | |||
2017-03-20 | (svn r27816) -Fix [FS#6421]: Do not search directories when opening ini ↵ | peter1138 | |
files as we already have their full path. | |||
2016-12-25 | (svn r27712) -Codechange: Reduce recursions in DrawOverlappedWindow by ↵ | frosch | |
limiting the area to the window bounds first. (adf88) | |||
2016-08-15 | (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple ↵ | frosch | |
sprites. | |||
2016-05-22 | (svn r27579) -Change [FS#6402]: Performance improvement for dedicated ↵ | frosch | |
servers by skipping drawing calls earlier in the process. (JGR) | |||
2015-10-30 | (svn r27425) -Fix [FS#5842]: Crash when switching to or taking over ↵ | frosch | |
companies, when an order window of a vehicle of the new company was opened. Now close those windows. | |||
2015-03-13 | (svn r27185) -Fix: prevent the compiler from optimizing an assignment away ↵ | rubidium | |
which caused GCC 5 to actually crash | |||
2015-02-13 | (svn r27147) -Fix: Scale (non-custom) default window sizes according to GUI ↵ | frosch | |
zoom. | |||
2015-02-13 | (svn r27146) -Fix: Make statusbar and chat-entry window use the same width ↵ | frosch | |
as the toolbar. Otherwise they lack a size definition. | |||
2014-10-11 | (svn r26990) -Feature: Add option to choose normal, double or quad-size ↵ | peter1138 | |
interface. | |||
2014-09-13 | (svn r26815) -Change: Allow to set the granularity of the tooltip hover time ↵ | planetmaker | |
in milliseconds instead of seconds. New default value is 250ms | |||
2014-05-24 | (svn r26610) -Feature: Select an editable preset name for saving. | alberth | |