Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Codechange: Un-bitstuff all remaining commands. | Michael Lutz | |
2021-12-16 | Codechange: Template DoCommandP to automagically reflect the parameters of ↵ | Michael Lutz | |
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing. | |||
2021-12-16 | Codechange: Move command arguments to the back of the networked command ↵ | Michael Lutz | |
function calls. | |||
2021-09-23 | Feature: Add selected toolbar buttons to MacBook Pro Touch Bar | Danny de Bruijne | |
2021-09-18 | Fix: add back 'Spectate' option to company toolbar menu (#9556) | Patric Stout | |
This was removed in ce7406f88b, but people used this to quickly mark themselves as away. Co-authored-by: dP <dp@dpointer.org> | |||
2021-04-30 | Codechange: Apply minimum size to toolbar widgets | Peter Nelson | |
2021-04-24 | Add: move "New Company" inside the Online Players GUI | Patric Stout | |
2021-04-24 | Feature: rework in-game Online Players GUI | Patric Stout | |
The GUI now more clearly shows some basic information about the server you joined, your client name (and the ability to change it), and what players are in which company. It also contains useful buttons to press to join companies, chat with other people, and for admins to kick/ban people. Additionally, renamed "advertised" to "visibility"; this has to do with future additions, but also because it is more clear in wording. | |||
2021-02-28 | Add: settings to limit your fast-forward game speed | Patric Stout | |
By default this setting is set to 2500% normal game speed. | |||
2021-01-08 | Change: always allow to click on the toolbar icons for road/rail/dock/airport | Patric Stout | |
This change allows a user to see what is available and what will become available before it is available, instead of only disabling the button with no further explanation. It also always allows building roads and canals, even if no vehicles are available for road / water. For rail/road/tram, a dropdown with available types is shown. If none are available, it reads "None". If the type is not yet available, it is greyed out. For dock/airport, this always open the toolbar, but building airports, docks, and depots buttons are disabled till vehicles are available for those. Road is the only exception, with the primary road always being available. Here too, stations and depots are disabled till vehicles become available. It does mean you can now always build roads to for example help towns grow. | |||
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2020-07-27 | Codechange: Spell 'Viewport' consistently | TechGeekNZ | |
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent. | |||
2020-06-27 | Cleanup: Give `TakeScreenshot` a more sensible name | TechGeekNZ | |
2020-06-27 | Cleanup: Remove redundant implementation of TakeScreenshot | TechGeekNZ | |
2020-04-10 | Add: Hotkey for Land Info in normal mode | arikover | |
- added a hotkey for land_info in normal mode - no default key is set | |||
2020-01-01 | Feature: Screenshot window | pnda | |
2020-01-01 | Fix #7887: missing beep for some main toolbar buttons | glx | |
2019-12-21 | Codechange: Replace vehicle related FOR_ALL with range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-05-01 | Feature: Add NotRoadTypes (NRT) | peter1138 | |
2019-05-01 | Codechange: Untangle game and scenario toolbars. | Peter Nelson | |
2019-04-29 | Add: Icons on air/water/landscape construction menus (#7485) | pnda | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-09 | Codechange: Switch DropDownList to directly use std::vector, thus making ↵ | Michael Lutz | |
AutoDeleteSmallVector obsolete. DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate copy-free code for most situations. | |||
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-24 | Codechange: Use override specifier in Window-derived classes. | peter1138 | |
2019-03-24 | Codechange: Use override specifier for DropDownListItem 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-03-10 | Feature: Add road icon to road construction drop down list. | peter1138 | |
2019-03-10 | Remove: Unnecessary virtual destructors on drop down list items. | peter1138 | |
2019-03-10 | Codechange: Use Colours type instead of byte. | peter1138 | |
2019-02-24 | Fix c3dbe836b4: also compile without ENABLE_NETWORK defined again | Patric Stout | |
2019-02-17 | Fix 1585eb1a3: wrong default selection for goals and story book | glx | |
2019-02-16 | Add: News menu entry and shortcut for deleting all messages. (#7240) | Joan Josep | |
2019-02-16 | Fix: use more descriptive "spectator" strings for story book and goal ↵ | glx | |
dropdown menus | |||
2019-02-04 | Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actions | glx | |
2019-01-22 | Add: Draw network password indicator lock in company drop down list. (#7079) | PeterN | |
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-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-04-30 | Fix: Spelling errors (#6769) | Joan Josep | |
2016-10-30 | (svn r27671) -Codechange: Replace magic numbers in the toolbar with the ↵ | frosch | |
already existing WID_TN_xxx. (Wolf01) | |||
2016-09-04 | (svn r27653) -Fix(r27647): Rename FileOperation enum and values to ↵ | alberth | |
SaveLoadOperation to avoid nameclash with windows compiler toolkit. | |||
2016-09-04 | (svn r27648) -Codechange: Remove remaining _saveload_mode usage. | alberth | |
2016-08-15 | (svn r27626) -Codechange: Do not use the cursor sprite as PlaceObject status ↵ | frosch | |
in the main toolbar. | |||
2015-03-07 | (svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects. | frosch | |
2015-02-14 | (svn r27150) -Fix (r27146): Forgot scenario toolbar. | frosch | |
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-09 | (svn r26986) -Change: Rename 'Advanced Settings' to just 'Settings'. | frosch | |