Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-24 | Fix: Automatic line breaking of the warning | Niels Martin Hansen | |
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-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-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::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
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 specifier in Window-derived classes. | peter1138 | |
2019-03-24 | Codechange: Use override specifier for DropDownListItem classes. | peter1138 | |
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 virtual destructors on drop down list items. | peter1138 | |
2019-03-10 | Codechange: Use Colours type instead of byte. | peter1138 | |
2019-03-03 | Fix 23960d0f2c: Company livery window shows incorrect groups when opened ↵ | peter1138 | |
from group window in multiplayer. | |||
2019-02-26 | Fix #7281: Unable to select last group in open livery window on group creation. | peter1138 | |
2019-02-02 | Fix: Make livery window resize properly if GUI scale changes whilst open. | Peter Nelson | |
2019-02-01 | Fix 23960d0f2c: Scrollbar was broken for non-group liveries. | Peter Nelson | |
Simplify how list position is determined by using existing functions. Also rename livery_height -> rows and SetLiveryHeight() -> SetRows(), as height implies pixels. | |||
2019-01-31 | Feature: Group liveries, and livery window usability enhancements. (#7108) | PeterN | |
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries. | |||
2019-01-27 | Change: For consistency, add company name to colour scheme window. | Peter Nelson | |
2019-01-27 | Fix: Ignore company colour selection when showing different company's colour ↵ | Peter Nelson | |
scheme. | |||
2019-01-11 | Codechange: Fix typo in variable name: pices -> pieces (#7033) | nikolas | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-07-11 | (svn r27889) -Change: Do not cancel headquarter construction and ↵ | frosch | |
engine-preview-query when shift-clicking (adf88) | |||
2015-10-30 | (svn r27427) -Fix: Use the NewGRF railtype sorting order in the ↵ | frosch | |
infrastructure window. | |||
2015-02-01 | (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵ | frosch | |
ScaleGUITrad(). | |||
2014-09-28 | (svn r26935) -Codechange: Fit company colour selection drop down list to UI ↵ | peter1138 | |
scale. | |||
2014-09-20 | (svn r26856) -Codechange: Ensure company face widgets can fit company face. | peter1138 | |
2014-04-27 | (svn r26527) -Codechange: Rename STR_MAPGEN_RANDOM to STR_FACE_RANDOM | frosch | |
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 | |||
2014-03-18 | (svn r26416) -Fix [FS#5947]: Shares button state was not appropriately ↵ | planetmaker | |
updated when switching setting or company (frosch) | |||
2013-11-24 | (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵ | rubidium | |
dropdowns | |||
2013-06-30 | (svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX ↵ | frosch | |
widgets. | |||
2013-06-29 | (svn r25517) -Fix-ish (r25515) / Feature-ish [FS#5623]: properly align the ↵ | rubidium | |
statistics as well when the infra sharing is turned on | |||
2013-06-29 | (svn r25516) -Codechange: reduce code duplication in infrastructure ↵ | rubidium | |
statistics window | |||
2013-06-29 | (svn r25515) -Feature [FS#5595]: right align the infrastructure statistics | rubidium | |
2013-06-23 | (svn r25442) -Codechange: move height and ascender information into the ↵ | rubidium | |
FontCache instances | |||
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-04 | (svn r24968) -Fix [FS#5379]: company window was not updated when shared were ↵ | rubidium | |
enabled/disabled | |||
2012-12-08 | (svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵ | frosch | |
values for size computations. | |||
2012-11-11 | (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. | frosch | |
2012-10-31 | (svn r24655) -Codechange(r18310): Difference between female and male is no ↵ | alberth | |
longer needed for tie and earrings (found by botankras) | |||
2012-04-17 | (svn r24131) -Add [FS#1952]: Ctrl-Clicking to change colour of all colour ↵ | michi_cc | |
schemes at once. (Roest) | |||
2012-02-11 | (svn r23931) -Change: Scale infrastructure cost of rail tracks by the total ↵ | michi_cc | |
number of all tracks and not independently for each rail type. | |||
2012-01-03 | (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files | rubidium | |
2012-01-01 | (svn r23704) -Doc: Doxygen comment fixes and additions. | alberth | |